Assign Card
Assign a physical card or bulk created virtual card to a cardholder.
Authorizations
The API token for login provided by UQPay.
Headers
Specifies the sub-account on whose behalf the request is made. This should be set to the account_id, which can be retrieved via the List Connected Accounts endpoint. If omitted or empty, the request is executed using the master account.
More information at Connected Accounts.
A unique identifier (UUID) used to maintain operation idempotency, ensuring that repeated executions of the same operation do not result in unintended effects or duplication. It helps preserve data consistency in the face of network errors, retries, or failures.
Body
Unique identifier for cardholder.
"5135e6cc-28b6-4889-81dc-3b86a09e1395"
Card number.
"4096360800133951"
The currency assigned to the card.
"USD"
Card Mode.
SINGLE, SHARE "SINGLE"
Response
Assign card successfully.
Unique identifier for the card.
"c0cef051-29c5-4796-b86a-cd5b684bfad7"
ID of the card order.
"c0cef051-29c5-4796-b86a-cd5ee34bfad7"
Create time at which the object was created.
"2024-03-21T17:17:32+08:00"
Card status enum. See the Card lifecycle and statuses guide for more information.
PENDING: The request to create the card has been received and is under review.ACTIVE: The request to create the card was successful and the card is ready to use.FROZEN: All incoming authorization requests will be declined. The card can be reactivated to accept new authorizations.BLOCKED: The card was blocked by UQPAY due to suspicious activity.PRE_CANCEL: The card is scheduled for cancellation and is in a waiting period during which all incoming authorization requests are declined. It transitions toCANCELLEDwhen the waiting period ends.CANCELLED: The card cannot be reactivated from this state, all incoming authorization requests will be permanently declined.LOST: The card has been reported as lost to UQPAY.STOLEN: The card has been reported as stolen to UQPAY.FAILED: The request to create a card using Create Card failed.
PENDING, ACTIVE, FROZEN, BLOCKED, PRE_CANCEL, CANCELLED, LOST, STOLEN, FAILED "ACTIVE"
This field will contain the status of the request after processing.
PENDING-The initial status of the order request.PROCESSING- If this status shall be subject to webhooks notification.SUCCESS- The final status of the order request is successful.FAILED- The final status of the order request is failed.
PENDING, PROCESSING, SUCCESS, FAILED 
