Get Bill
At any given time, you can request a bill to check on the status. It will return the bill object.
HTTP Method: GET
https://api.payright.my/api/v1/merchant/bills/{invoice_no}
or as alternative, you may also supply your invoice reference
https://api.payright.my/api/v1/merchant/bills/{invoice_ref}
Query Parameters
Property
Type
Description
invoice_no*
string
Transaction invoice number that you want to get the status
invoice_ref
string
Transaction invoice reference that you included during create a bill to get the status
Response
{
"status": "ok",
"code": 200,
"data": {
"transaction_details": {
"invoice_no": "Py4a220e2edcrgt",
"fpx_invoice_no": "FPX1734522325oTfQjC8l",
"amount": "240.00",
"status": "PENDING",
"fee": null
},
"customer_details": {
"name": "Khairul Mukmin",
"phone_number": "0112459822",
"email": "[email protected]"
}
},
"uuid": "408e99d8-dbc5-424d-908c-d2a1bec8316d",
"message": null,
"error": null
}
Last updated