Fullfill
On the Fullfill section , you can set up the endpoint on your side to receive the order confirmation.
You can optionally secure your endpoint accepting call with the
webhook API key
on the header that is shown on your dashboard.
The format of the payment confirmation is as follows:
{
"orderId": "woo-12334",
"amount": 1.00,
"currency": "GBP",
"successUrl": "https://alice-flowers.com/checkout",
"failUrl": "https://alice-flowers.com/payment-error",
"cancelUrl": "https://alice-flowers.com/checkout",
"paymentSessionId": "NjQyYWRiN6Y0NTZiZjAzNDIxMWQxY2Vi",
"status": "SUCCESS",
"chain": "zksync-era-mainnet",
"receipts": [
"https://explorer.zksync.io/tx/0x84f7a7ff460422462daaf4543db5ddb038c73c63b56349b428aeffff52bb633a",
]
}
Status can be
FAIL
or SUCCESS
Last modified 22d ago