Virtual Accounts Webhooks
We will be sending the following payload
in the metadata
section of the body for the webhooks listed below:
order.created
order.completed
payment.completed
payment.failed
{
...
"metadata": {
"static_va_account_number": "123617005010", // deprecated: will be removed soon
"static_va_id": "va_Yv9Jm7iEkE2923", // deprecated: will be removed soon
"static_va_reference_id": "va_inq_1234", // deprecated: will be removed soon
"va_account_number": "123617005010",
"va_id": "va_Yv9Jm7iEkE2923",
"va_dpay_reference_id": "va_inq_1234",
}
...
}
We will also be sending the va_ref_id
specified by the merchant in the
order_ref_id
field in theorder.created
andorder.completed
webhookpayment_ref_id
field in thepayment.completed
andpayment.failed
webhook
Refer to this section for more details on webhooks