Sprintcheckout
Ask or search…
K
Comment on page

Fulfill

There are two ways to receive payment session status updates. Via Webhook if you have an API integration, and connecting your store if you have a Woocommerce store.

Webhook

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:
1
{
2
"orderId": "woo-12334",
3
"amount": 1.00,
4
"currency": "GBP",
5
"successUrl": "https://alice-flowers.com/checkout",
6
"failUrl": "https://alice-flowers.com/payment-error",
7
"cancelUrl": "https://alice-flowers.com/checkout",
8
"paymentSessionId": "NjQyYWRiN6Y0NTZiZjAzNDIxMWQxY2Vi",
9
"status": "SUCCESS",
10
"chain": "zksync-era-mainnet",
11
"receipts": [
12
"https://explorer.zksync.io/tx/0x84f7a7ff460422462daaf4543db5ddb038c73c63b56349b428aeffff52bb633a",
13
]
14
}
Status can be FAIL or SUCCESS