Issue a card
Cards
Issue a card
Create a RainCards application and issue the user’s card after KYC is approved.
POST
Issue a card
Requires
Authorization: Bearer <user-access-token> — the token from Verify login code. No X-Api-Key/X-Api-Secret needed; this is a post-login endpoint.Prerequisites
Qash validates all of the following before creating the application. If any is missing, the request fails with422 rather than partially creating the card:
- The user has an approved KYC verification (see KYC status).
- The user’s personal profile is complete — name, date of birth, government ID, and address.
- The user does not already have a card application in progress or issued.
- The user’s Qash wallet address has been provisioned. This happens automatically shortly after registration; if you call this endpoint immediately after login, retry after a few seconds if you hit the
wallet not readyerror below.
Request
Response — 202 Accepted
The application is created asynchronously with Rain. A202 means the request was accepted, not that the card is immediately active — poll Get card status until it reports active.