Generate Card

With the Create Virtual Card API, you can create virtual cards that your customers can use instantly once the card has been created/issued and funded.

To generate a card, make a POST request to the endpoint:

{{baseurl}}/cards/generate

These are the parameters of the request body.

FieldData TypeDescription
amountnumber >=1Required. This specifies the amount of money to be loaded onto the virtual card. It must be a number greater than or equal to 1.
customerIdString

Required. This identifies the customer who will be using the card.

typeString: value virtualRequired. This indicates the type of card being created. The only valid value currently supported is “virtual”
brandObject: default visaThis specifies the brand of the virtual card. By default, the card will be a VISA brand
referenceStringRequired. Unique reference code to identify a bank account.

Your request payload should look like this:

{
  "customerId": "string",
  "brand": "VISA",
  "reference": "string",
  "amount": 1,
  "type": "virtual"
}