Last updated 1 year ago
GET {{api_environment_url}}/api/virtual-account/:externalid
GET
{{api_environment_url}}/api/virtual-account/:externalid
{ "externalId": "1661435666", "internalId": "d2a87642-f958-445a-ba02-4f6eb15f0f7ec", "accountNumber": "032.032.00000027", "country": "ARG", "currency": "ARS", "beneficiary": { "type": "INDIVIDUAL", "name": "FirstName", "lastname": "LastName", "document": { "type": "CUIT", "id": "2011111111" }, "bank": { "account": { "number": "0000472900016625668611" } } }, "status": { "code": "200", "description": "COMPLETED", "detail": "Virtual account has been created" }, "errors": [] }
curl --location \ --request GET '{{api_base_url}}/api/virtual-account/1699455163/' \ --header 'Authorization: Bearer {{token}}'
{ "externalId": "1699455163", "internalId": "ab111111-88cf-4ac3-8fe5-49610795a33d", "accountNumber": "{{AcountNumber}}", "country": "ARG", "currency": "ARS", "beneficiary": { "type": "INDIVIDUAL", "name": "FirstName", "lastname": "LastName", "document": { "type": "CUIT", "id": "20115872045" } }, "status": { "code": "100", "description": "INPROGRESS", "detail": "Virtual account in progress" }, "errors": [] }
{ "externalId": "1699455163", "internalId": "ab111111-88cf-4ac3-8fe5-49610795a33d", "accountNumber": "{{accountNumber}}", "country": "ARG", "currency": "ARS", "beneficiary": { "type": "INDIVIDUAL", "name": "FirtName", "lastname": "LastName", "document": { "type": "CUIT", "id": "20115872045" }, "bank": { "account": { "number": "{{BankAccountNumber}}" } } }, "status": { "code": "200", "description": "COMPLETED", "detail": "Virtual account has been created" }, "errors": [] }
You will get the Bank Account Number when the transaction is in COMPLETED status.
externalId*
String