Skip to main content

links

URL links to redirect customer during transaction flow

relstring

This is the link type that allows different endpoints to be targeted depending on the end state of the transaction.

  • redirect_registration - Merchant needs to redirect consumer to this url to complete registration.

  • redirect_payment - Merchant needs to redirect consumer to this url to complete authentication.

  • on_completed - Paysafe will return to this merchant url post successful payment.

  • on_failed - Paysafe will return to this merchant url post if payment is failed.

  • on_cancelled - Paysafe will return to this merchant url post if payment is cancelled.

  • default - The default return URL that will be used if specific status return URL is not defined.

Possible values: [redirect_payment, redirect_registration, on_completed, default, on_failed, on_cancelled]

Example: redirect_payment
hrefstring

The url to be used for further actions.

Example: http://api.paysafe.com/card/redirect/372b5ee7-6360-4403-b444-164f8f1d2709
methodstring

The corresponding HTTP request method to be invoked on url.

Example: GET
links
{
"rel": "redirect_payment",
"href": "http://api.paysafe.com/card/redirect/372b5ee7-6360-4403-b444-164f8f1d2709",
"method": "GET"
}