Redirecting customers

When you request a checkout session using the /invoicingcheckoutservice/v1/checkouts endpoint, you can also include one or more HTTPS URLs where the customer will be redirected after payment. You can include any of the following in the top-level redirectUrls object:

  • success for the URL when a payment is completed successfully
  • failure for the URL when a payment is attempted but not completed
  • cancel for the URL when the customer decides to leave the checkout session before payment

By default, a Clover-hosted confirmation page appears after a successful payment.

If redirect URLs are configured using the merchant dashboard, the URLs specified in the request are used instead.


Did this page help you?