Status
Get payment record status
This endpoint supports both HTML and JSON responses. By default, it returns HTML. If you want a JSON response, specify it explicitly with the Accept: application/json header or append .json to the URL.
Endpoint URL
GET https://{base_url}/v1/payment/status/:identifier.jsonResponse value
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
Sample Command
Response
Last updated
