Redirect Response Examples
After a customer completes or cancels a transaction on WCT Pay's hosted payment page, the system will redirect them back to the merchant's website.
Completed Payment
{
"payment_code": "X8bx9sg9",
"amount": "0.25",
"asset": "BTC",
"status": "completed",
"payment_status": 3,
"reference": "abc_payment",
"pay_with_amount": "0.25 BTC"
}Cancelled Payment
{
"payment_code": "X8bx9sg9",
"status": "cancelled",
"payment_status": 4,
"reference": "abc_payment",
"msg": "User cancelled payment"
}Last updated

