This endpoint allows you to create a virtual card either in NG or USD.
Request
{{baseUrl}}/virtual_card/create/:currency
Headers
Parameters | Type | Description | Mandatory |
---|---|---|---|
Authorization | String | public secret key e.g dc_test_1T1eSavlZxy02OT3OWlvbxK4G | Required |
Body Parameters
Parameters | Type | Description | Mandatory |
---|---|---|---|
username | String | The virtual card owner must have a name. | Required |
address | String | A valid address that should not be more than 25 characters. | Required |
Response Sample
"{\"status\": \"success\", \"message\": \"Card created successfully\", \"data\": {\"currency\": \"USD\", \"card_pan\": \"4160462650738875\", \"masked_pan\": \"416046*******8875\", \"card_type\": \"visa\", \"cvv\": \"348\", \"expiry_date\": \"2025-06\", \"name\": \"Dev Center\"}}"