Terms URL
info
The termsUrl parameter lets you link the shopper to your terms and conditions before they pay through the payment link.
When a link has a termsUrl:
- The payment link page is always shown before the checkout, even if the link asks for no shopper information. Under any shopper information fields it shows a Terms & Conditions section: "By continuing, you accept the terms and conditions of Your Store ehf." (with your store name), with terms and conditions linking to your page.
- The button on that page reads Agree and continue instead of Proceed to checkout.
- The checkout page shows a Terms & Conditions link under your store name and SSN.
The text follows the language of the page (Icelandic or English), and the link opens in a new tab.
If no termsUrl is specified, the payment link works exactly as before.
Note: This URL must be an absolute URL starting with http:// or https://, at most 2000 characters long.
Request Example
{
"type": "PayByLink",
"terminalIdentifier": "1adfe4a1b2c3",
"amount": 48900,
"currency": "ISK",
"termsUrl": "https://merchant.com/terms"
}
Request Field
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
| termsUrl | String | Optional | URL of your terms and conditions, shown to the shopper before they pay. | https://merchant.com/terms |
Errors
| Error code | Message | Cause |
|---|---|---|
2004 | Field [TermsUrl] cannot be resolved. Value: [{1}]. | The value is not an absolute http:// or https:// URL. |
2009 | Field [TermsUrl] exceeds maximum length of [2000]. Value: [{2}]. | The value is longer than 2000 characters. |
See Errors for the full list.