Example: Check Virtual Account response
curl --location \
--request GET '{{api_base_url}}/api/virtual-account/1699453091/' \
--header 'Authorization: Bearer {{token}}'
{
"externalId": "1699453091",
"internalId": "xxxxxx95-ee39-460f-8e57-b01ca17fa8b5",
"accountNumber": "484.484.00000011",
"country": "MEX",
"currency": "MXN",
"beneficiary": {
"type": "INDIVIDUAL",
"name": "FirtName",
"lastname": "LastName",
"document": {
"type": "RFC",
"id": "LEKF8104019Z5"
}
},
"status": {
"code": "100",
"description": "INPROGRESS",
"detail": "Virtual account in progress"
},
"errors": []
}
{
"externalId": "1699453091",
"internalId": "xxxxxx95-ee39-460f-8e57-b01ca17fa8b5",
"accountNumber": "{{AccountNumber}}",
"country": "MEX",
"currency": "MXN",
"beneficiary": {
"type": "INDIVIDUAL",
"name": "FirtName",
"lastname": "LastName",
"document": {
"type": "RFC",
"id": "LEKF8104014Z5"
},
"bank": {
"account": {
"number": "646000319800000399"
}
}
},
"status": {
"code": "200",
"description": "COMPLETED",
"detail": "Virtual account has been created"
},
"errors": [],
}