username:passwordAuthorization: Basic *****************{
"budgetId": "string",
"channelId": "string",
"otaConfig": {
"airCode": "string",
"isUS": true
},
"cardType": "virtual",
"sceneIds": [
"string"
],
"sceneType": 0,
"list": [
{
"amount": 0,
"callId": "string",
"cardHolder": {
"id": "string",
"label": "string",
"firstName": "string",
"lastName": "string",
"phoneCode": "string",
"phoneNumber": "string",
"email": "string",
"address": {
"line1": "string",
"line2": "string",
"postCode": "string",
"city": "string",
"state": "string",
"country": "string"
},
"createdAt": "2019-08-24T14:15:22Z"
},
"cardHolderId": "string",
"label": "string",
"cardExpireDate": "2019-08-24T14:15:22Z",
"appendFee": {
"actionFeeCnt": 0,
"fxFeeProrate": 0
}
}
]
}curl --location --request POST 'https://service-test.infiniax.com/open-api/v1/cards/batch' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data-raw '{
"budgetId": "string",
"channelId": "string",
"otaConfig": {
"airCode": "string",
"isUS": true
},
"cardType": "virtual",
"sceneIds": [
"string"
],
"sceneType": 0,
"list": [
{
"amount": 0,
"callId": "string",
"cardHolder": {
"id": "string",
"label": "string",
"firstName": "string",
"lastName": "string",
"phoneCode": "string",
"phoneNumber": "string",
"email": "string",
"address": {
"line1": "string",
"line2": "string",
"postCode": "string",
"city": "string",
"state": "string",
"country": "string"
},
"createdAt": "2019-08-24T14:15:22Z"
},
"cardHolderId": "string",
"label": "string",
"cardExpireDate": "2019-08-24T14:15:22Z",
"appendFee": {
"actionFeeCnt": 0,
"fxFeeProrate": 0
}
}
]
}'{
"code": 0,
"message": "string",
"timestamp": 0,
"data": true
}