Create a Virtual Account
The accountDetails is only required for on-behalf-of collections via Virtual Account.
authorizationAuthorizationBearer <SECRET_API_KEY>Set Your Secret API Key
A unique value, eg. a UUID.
application/jsonDetails of the person or corporate associated with this virtual account. Only required for on-behalf-of collections via Virtual Account.
The name associated with the virtual account.
For DBS, maximum length is 50 characters.
The complete virtual account number including any mandatory prefixes.
OK
*/*Details of the person or corporate associated with this virtual account.
Time at which the object was created. In ISO 8601 format.
The Virtual Account ID.
ID of the Internal Account this virtual account belongs to.
More detailed result code for failure.
Status of the account. One of PENDING, ACTIVE, DELETED, or FAILED.
Time at which the object was last updated. In ISO 8601 format.
The name associated with the virtual account.
For DBS, maximum length is 50 characters.
The complete virtual account number including any mandatory prefixes.
curl -X POST 'https://api.tryacme.com/v1/virtual-accounts' \
-H 'Content-Type: application/json' \
-d '{
"virtualAccountName": "string",
"virtualAccountNumber": "string"
}'{
"accountDetails": {
"address": {
"city": "string",
"country": "string",
"line1": "string",
"line2": "string",
"postalCode": "string",
"state": "string"
},
"alias": "string",
"countryOfIncorporation": "string",
"dateOfBirth": "string",
"dateOfIncorporation": "string",
"idCountry": "string",
"idNumber": "string",
"idType": "string",
"nationality": "string",
"type": "string"
},
"createdAt": "string",
"id": "string",
"internalAccountId": "string",
"resultCode": "string",
"status": "string",
"updatedAt": "string",
"virtualAccountName": "string",
"virtualAccountNumber": "string"
}