Creating a virtual card
Request
ENDPOINT
/prepaid/cardMETHOD
POSTRequest Body
Body params
Campo | Tipo | Descrição | Caracteres |
---|---|---|---|
account_key * | string | QI Tech Payment Account Identification Key | uuid |
program_key * | string | Program identification key to issue a card. | uuid |
type * | string | Type of card to be issued (VIRTUAL). | Enumerators |
card_name * | string | Card alias, how this card will be identified. | 15 |
printed_name * | string | Name to be printed on the card (numbers and special characters will not be allowed). | 26 |
cvv_rotation_interval_hours * | int | Interval in hours to update the CVV number. | Number |
Enumerators card_type
Enumerator | Translate |
---|---|
plastic | Physical Card |
virtual | Virtual Card |
Response
STATUS
201Response Body
Erros
STATUS
4XXResponse Body
Code | Status code | Description |
---|---|---|
QIT000001 | 400 | Invalid Json schema. |
CARD000005 | 404 | It was not possible to fetch the Program for the program_key {program_key}. |
CARD000006 | 404 | It was not possible to fetch the Account for the account_key {account_key}. |
CARD000007 | 400 | The type of person is invalid for this program, please try another. |
CARD000008 | 400 | The Card Holder with the status {status} is invalid for the operation. |
CARD000009 | 400 | We're sorry, but the card could not be generated. Please try again later. |
CARD000010 | 404 | It was not possible to fetch the Person for the person_key {owner_person_key}. |
CARD000032 | 403 | Create virtual card is not allowed for program_key {program_key}. |
Webhook
WEBHOOK_TYPE
baas.prepaid_card.card