{{refId}}
is required to be include in the the request URL.curl --location -g --request GET 'https://merchantapi-demo.bill24.io/instant_payment/get_single_bill/{{refId}}' \
--header 'Authorization: Bearer {token get from endpoint (Authorization)}' \
--header 'Content-Type: application/json'
{
"code": "000",
"message": "Success",
"message_kh": "ជោគជ័យ",
"data": {
"ref_id": "QwgujSUC6O",
"date": "2025-06-25T00:00:00",
"due_date": "2025-07-02T00:00:00",
"description": "tesing with CPO7",
"currency": "KHR",
"total_amount": 5000,
"customer_sync_code": "98470002",
"bill_status": "paid",
"details": [
{
"item_name": "100KWh",
"description": "for charge",
"quantity": 1,
"price": 5000,
"amount": 5000
}
],
"payment": {
"checkout_link": "https://staging.bill24.io:22034/checkoutv2/2000000000007130550",
"checkout_ref": "2000000000007130550",
"payment_date": "2025-06-27T18:16:10.838821",
"payment_method": "wallet"
}
}
}