/
CancelUrl
CancelUrl
The Payment API allows for the end user to get redirected to a specific URL after the transaction is cancelled.
How to use Cancel URL
When posting a pre-transaction a cancelUrl parameter needs to be provide in the request body like so:
Example cancelURL
{ ... "cancelUrl": "https://pay.customer.com?transactionId={{TransactionId}}&referenceId={{ReferenceId}}&paymentTransactionId={{PaymentTransactionId}}" ... }
URL Parameters
It is possible to append additional information about the transaction by adding URL query string parameters in the cancelUrl. Available parameters that will be resolved are as shown in the code block above:
- TransactionId
- ReferenceId
- PaymentTransactionId
, multiple selections available,
Related content
Callbacks
Read with this
PayPal
More like this
PaymentProviders
PaymentProviders
More like this
PreTransactions
PreTransactions
Read with this
PreTransaction Basic Sequence
PreTransaction Basic Sequence
More like this
API Reference
API Reference
Read with this
Feeling lost? Click on this link! Portal page