Payin Virtual Account
This guide provides sample callback payloads for key Virtual Account events: successful creation and incoming payments (PayIns).
Virtual Account Creation Callback
Upon successfully creating a Virtual Account, Localpayment will send a POST request to your configured callback URL. This notification confirms the account details are active and ready to receive payments.
{
"transactionType": "VirtualAccount",
"data": {
"externalId": "XXXXX",
"internalId": "XXXXX",
"accountNumber": "XXXXX",
"country": "ARG",
"currency": "ARS",
"beneficiary": {
"type": "INDIVIDUAL",
"name": "Beneficiary Name",
"lastname": "Beneficiary Lastname",
"document": {
"type": "XXXXX",
"id": "XXXXX"
},
"bank": {
"account": {
"number": "0000472900016847756532"
}
}
},
"status": {
"code": "200",
"description": "COMPLETED",
"detail": "Virtual account has been created"
},
"errors": []
}
} PayIn (Payment Received) Callback
Once a payment is made to a Virtual Account and cleared, Localpayment will send a PayIn callback. Below are curated examples for different countries.
Last updated
Was this helpful?