Create Virtual Card
Create Virtual Card
Brief Description
- Create Virtual Card
Request Method
- POST
open/api/card/create
Parameters
| Parameter Name | Required | Type | Length | Description |
|---|---|---|---|---|
| vid | Yes | string | Card Segment ID(Fixed at:3e4c0145-8bd0-4a4e-8061-7bafd11b8527) | |
| deposit | Yes | String | 24 | Recharge Amount (USD), 60 represents $0.6 (minimum 60) |
| orderNo | Yes | string | 64 | Custom Customer Transaction ID |
Notes
-
deposit is the virtual card recharge (initial deposit) amount. 1 represents 1 cent, i.e., 1000 represents $10.00. All amounts in this system (e.g., balance) follow this rule.
-
Single recharge amount range: 0.6 USD - 5000 USD
-
vidis the card segment ID. -
To improve user experience, virtual card creation is an asynchronous operation.
Request Example
{
"deposit": "1000",
"vid": "3e4c0145-8bd0-4a4e-8061-7bafd11b8527",
"orderNo": "XXXXXX"
}Return Parameter Description
| Parameter Name | Type | Description |
|---|---|---|
| success | boolean | Success flag |
| error | boolean | Error flag |
| code | long | Return code |
| msg | string | Return information |
| traceId | string | traceId |
| model | object | Return content |
| └cardId | string | Card ID |
Example Return
{
"code": "0",
"msg": "Success",
"model": {
"cardId": "XXXXX"
},
"traceId": "665597457b9XXXXX000187a035002030",
"success": true,
"error": false
}Updated 3 days ago
Did this page help you?
