Skip to main content

ReturnLink

The return link defines the location for redirection

  • DEFAULT - The default return URL that will be used if a specific status return URL is not defined or can not be determined.

  • ON_COMPLETED - Paysafe will return to this merchant URL post succefull payment authorisation.

  • ON_FAILED - Paysafe will return to this merchant url post if the authorization failed.

  • ON_CANCELLED - Paysafe will return to this merchant url post if payment is canceled in PSP.

Not all link types are relevant for all payment methods and supported flows are PSP specific.

    rel ReturnLinkType (string)

    Possible values: [DEFAULT, ON_COMPLETED, ON_FAILED, ON_CANCELLED]

    Default value: DEFAULT

    The link rel defines a semantic of the merchant url to redirect the payment flow.

    DEFAULT - The default return URL that will be used if specific status return URL is not defined or can not be determined. ON_COMPLETED - Paysafe will return to this merchant url post succefull payment authorisation. ON_FAILED - Paysafe will return to this merchant url post if the authorisation failed. ON_CANCELLED - Paysafe will return to this merchant url post if payment is cancelled in PSP.

    href string

    The url to be used for further actions.

    method HttpRequestMethod (string)

    Possible values: [GET, POST]

    HTTP request method.