Payment Response (Callback)
Field
Example
Type
Description
Last updated
app_id
live-XXX
STRING
Application ID.
amount
1200.99
DECIMAL
Amount with thousand separator.
currency
MYR
STRING
ISO Currency Code.
product_description
My test product
STRING
Description of the product.
order_id
123
STRING
Your order id.
customer_name
Richard Stallman
STRING
Your customer's name.
customer_email
john@doe.com
STRING
Your customer's email address.
customer_phone
012xxxxxxxx
STRING
Your customer's phone number.
transaction_id
FPX123
STRING
Payhalal Transaction ID.
status
SUCCESS
STRING
Returns the status of the payment: - SUCCESS - FAILED - PENDING
hash
SHA256
STRING
Payment hash; refer to the hash generation sample.
channel
CC
STRING
Returns the channel type, i.e. FPX or CC.
Last updated