Skip to main content

Return URL

info

The returnUrl parameter allows you to define a custom URL where shoppers will be redirected after they successfully complete a payment.

This is typically used to return the shopper to your website—such as a confirmation page, a thank-you screen, or an order summary.

If no returnUrl is specified, shoppers will see the default Straumur success screen.

Note: This URL must be HTTPS and should be valid and accessible at the time of redirection.

Request Example

{
"type": "PayByLink",
"terminalIdentifier": "1adfe4a1",
"amount": 48900,
"currency": "ISK",
"returnUrl": "https://merchant.com/order/confirmation"
}

Request Field

FieldTypeRequiredDescriptionExample
returnUrlStringOptionalHTTPS URL to which the shopper will be redirected after a successful payment.https://merchant.com/order/confirmation