Skip to main content
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.
Creates a RainCards application for the authenticated user and issues their card. This is the last step of the partner flow, after the user has completed KYC and logged in via OTP.

Prerequisites

Qash validates all of the following before creating the application. If any is missing, the request fails with 422 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 ready error below.

Request

Response — 202 Accepted

The application is created asynchronously with Rain. A 202 means the request was accepted, not that the card is immediately active — poll Get card status until it reports active.

Errors

All error responses share this shape:
Once the card is issued, use Get card status, Get card details, and the rest of the Cards endpoints — all authenticated with the same access token.