Verify signatures, handle retries, and update order state only after Outpay confirms a matching on-chain payment.
const signature = request.headers.get("X-Outpay-Signature");
const verified = verifyOutpaySignature(rawBody, signature, webhookSecret);
if (verified && event.event === "checkout.paid") {
await fulfillOrder(event.checkout_id);
}Keep payment creation, webhook verification, and order fulfillment on your server. Customers only see the hosted checkout page and wallet payment request.
const signature = request.headers.get("X-Outpay-Signature");
const verified = verifyOutpaySignature(rawBody, signature, webhookSecret);
if (verified && event.event === "checkout.paid") {
await fulfillOrder(event.checkout_id);
}Start with hosted checkout links, then add the API and webhooks when you want a deeper store integration.
Review pricing