Redirect Page for fulfillment

When a payment is completed, we will send a Payment Notify (callback) to your server. After that, you should redirect your customer back to your website to complete the order experience.

You can configure this behavior when you create a payment session by setting the redirectUrl object:

{
  "redirectUrl": {
    "successReturnUrl": "https://merchant.com/success",
    "failureReturnUrl": "https://merchant.com/failure",
    "expirationReturnUrl": "https://merchant.com/expiration"
  }
}