Virtual Accounts
List Virtual Accounts
GET
authorizationheader
AuthorizationBearer <SECRET_API_KEY>Set Your Secret API Key
after?string
An object ID used as a cursor in pagination. If a list request returns 100 objects ending with obj_0KSEVXZ2ZF0AV, a subsequent call can include after=obj_0KSEVXZ2ZF0AV to fetch the next page of the list.
limit?integer
A limit on the number of objects to be returned, between 1 and 100.
Format
int32order?string
Sort list objects in either ascending or descending order.
Value in
- "ASC"
- "DESC"
OK
*/*data?array<VirtualAccountResponse>
hasMore?boolean
curl -X GET 'https://api.tryacme.com/v1/virtual-accounts'Example Response
{
"data": [
{
"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"
}
],
"hasMore": true
}