Status
Endpoint URL
Search using order number (generated by merchant)
Environment
URL
Method
Sandbox
https://sandbox.securepay.my/api/v1/payments/status/:order_number
GET
Production
https://securepay.my/api/v1/payments/status/:order_number
GET
Search using merchant number (generated by SecurePay)
Environment
URL
Sandbox
https://sandbox.securepay.my/api/v1/payments/status/merchant_reference_number/:merchantrefnumber
Production
https://securepay.my/api/v1/payments/status/merchant_reference_number/:merchantrefnumber
:order_number is a unique order number generated by merchant end for reference.
Credentials
uid (Merchant API UID)
2aaa1633-e63f-4371-9b85-91d936aa56a1
token (Merchant API Auth Token)
ZyUfF8EmyabcMWPcaocX
Example using curl
Response values
Parameter
Description
source
FPX, Credit Card or other
payment_status
true - success payment and false - failed payment
currency
RM - Ringgit Malaysia (other currencies are not supported)
transaction_amount
Amount in RM for this transaction.
transaction_amount_received
Amount received, if payment_status false set to 0.00
order_number
Order Number sent previously by merchant.
merchant_reference_number
This number is generated by securepay platform
exchange_number
This number is generated by securepay platform
buyer_name
Buyer name
buyer_phone
Buyer phone
buyer_email
Buyer email
interface_name
API name
interface_uid
API UID
payment_id
For reference
client_ip
Client IP address
status_url
SecurePay Status URL
retry_url
Any failed payment, can make retry using this links
receipt_url
SecurePay PDF receipt URL
created_at
Created date and time ISO8601 format
created_at_unixtime
Created date and time in unix time epoch format
Last updated