This operation is to verify the transaction status.
{
"identity_code": "0000012",
"purpose_of_transaction": "INV0000012",
"tran_id": "",
"bank_ref": ""
}
curl --location --request POST 'https://merchantapi-demo.bill24.io/transaction/v2/verify' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer [your token]' \
--header 'Content-Type: application/json' \
--data-raw '{
"identity_code": "0000012",
"purpose_of_transaction": "INV0000012",
"tran_id": "",
"bank_ref": ""
}'
{
"code": "SUCCESS",
"message": "Transaction found",
"message_kh": "ប្រតិបត្តិការបានរកឃើញ",
"data": {
"device_code": "1113",
"channel_code": "CH1",
"customers": [
{
"branch_code": "GB",
"branch_name": "BBB",
"customer_code": "C01",
"customer_name": "BOT",
"customer_name_latin": "BOT",
"bill_no": "123",
"amount": 10000
}
],
"tran_id": "5DD2B215208D",
"tran_date": "2023-12-27T17:09:50.253174",
"tran_amount": 10000,
"fee_amount": 800,
"total_amount": 10800,
"currency": "KHR",
"identity_code": "0000012",
"bank_code": "",
"bank_ref": "",
"purpose_of_transaction": "INV0000012",
"status": "pending",
"description": ""
}
}