bni-va-http-sample
{
"service": {
"id": "VIRTUAL_ACCOUNT"
},
"acquirer": {
"id": "BNI"
},
"channel": {
"id": "VIRTUAL_ACCOUNT_BNI"
},
"order": {
"invoice_number": "INV-1640337742",
"amount": 20000
},
"virtual_account_info": {
"virtual_account_number": "8803300000000098",
"merchant_unique_reference": "UNIQUE_00003",
"billing_type": "FIXED",
"identifier":[
{
"name": "BILLING_NUMBER",
"value": "3280300000000001234"
}
]
},
"virtual_account_payment": {
"identifier": [
{
"name": "TRX_ID",
"value": "11901640337564039UNIQUE_00003"
},
{
"name": "PAYMENT_NTB",
"value": "228853"
}
]
},
"transaction": {
"status": "SUCCESS",
"date": "2021-12-24T16:23:39Z",
"original_request_id": "456b001e-adc8-4fb8-a976-95831fb61468"
}
}
BNI VA Notification Explanation
Parameter | Type | Mandatory | Description |
---|---|---|---|
service.id | string | Mandatory | The service that is used for the transaction |
acquirer.id | string | Mandatory | The acquirer that processed the transaction |
channel.id | string | Mandatory | The channel of the transaction |
transaction.status | string | Mandatory | The transaction status to be use to update the status on merchant side Possible value: SUCCESS |
transaction.date | string | Mandatory | The date when the transaction is completed by the customer in ISO 8601 format (UTC + 0) |
transaction.original_request_id | string | Mandatory | The request ID that sent when initiate the payment |
order.invoice_number | string | Mandatory | The invoice number that sent when initate the payment |
order.amount | string | Mandatory | The amount of the transaction |
virtual_account_info. virtual_account_number | string | Optional | The virtual account number that used for the transaction |
virtual_account_info. merchant_unique_reference | string | Optional | The virtual account number that used for the transaction |
virtual_account_info. billing_type | string | Optional | The virtual account number that used for the transaction |
virtual_account_info.identifier | array | Optional | List of transaction identifier that coming from the acquiring. Merchant can save these data for reference. BILLING_NUMBER (N(19)) : Sent by BNI as payment code (customer will use this and input to payment channel instead of VA Number). This will be sent to merchant in inquiry request as a part of virtual_account_info.identifier object. Only applies for direct inquiry feature |
virtual_account_payment.identifier | array | Optional | List of transaction identifier that coming from the acquiring. Merchant can save these data for reference. BILLING_NUMBER (N(19)) : Sent by BNI as payment code (customer will use this and input to payment channel instead of VA Number). This will be sent to merchant in inquiry request as a part of virtual_account_info.identifier object. Only applies for direct inquiry feature |