Discover how to integrate xPay’s payment flow into your website using xPay’s payment gateway APIs.
How to accept payments?
Initiate Payment Intent (Merchant Server → xPay Server)
fwdUrl
in the response.
See create-intent API for details.Receive Payment Intent Confirmation (xPay Server → Merchant Server)
xIntentId
, which is used to track the payment status throughout the transaction.
Forward Intent data to Merchant Frontend (Merchant Server → Merchant Frontend)
fwdUrl
to the Merchant Frontend, enabling it to manage user interactions related to the payment.
Redirect to xPay Checkout (Merchant Frontend → xPay Client)
fwdUrl
.Handle a Redirect on the callbackUrl (xPay Client → Merchant Frontend)