Documentation
Search…
Payment Callback
Payment callback (Payment notification) will be sent to the merchant's callback_url when order status is changed to pending, paid, canceled, or expired.
Callback data is sent in POST method.
Paychant callback sends data below:
Name
Value
id
Paychant order (invoice) ID.
status
Paychant payment status.
amount
The price set by the merchant; for example, 499.95.
currency
Currency in which to price your order. Support currencies are (NGN).
symbol
Currency symbol format
token
Your custom token (or generated by Paychant) to validate payment callback.
order_id
Custom order ID of the merchant. Should be used to identify order or invoice number.
payment_address
The cryptocurrency address in which the payment was made to.
payment_currency
The cryptocurrency in which the payment was made with. Example, CUSD, BTC, ETH, USDT.
created_at
Invoice creation time.
Fields payment_address, payment_currency are only set when the customer chooses the currency with which he/she is going to pay for the invoice.
[2020-07-23 14:07:03] prod.INFO: array (
'id' => '25',
'status' => 'paid',
'amount' => '55000.00',
'currency' => 'NGN',
'symbol' => '₦',
'token' => 'owuifbDoO5Xlq-x747rKrCc0AO-2HJ',
'order_id' => '93FF63AH',
'payment_address' => '17muiryLyDagzR6qMDkpN9eBq8nDDyzhuZ',
'payment_currency' => 'BTC',
'created_at' => '2020-07-23 14:05:53',
)
Copy link