Payment pages

You can link Áskell payment pages directly from your own website or social media. The base URL includes the page identifier, e.g. https://askell.is/public/payments/<id>/. The URL cannot be customized yet but that is planned. The link also supports several optional query parameters that let you prefill data or control how the form behaves.

Optional parameters

All of the parameters below are optional and you can combine as many as you need. When parameters prefill fields they are only read when the page loads and the values are locked (not editable by the user) to keep the forwarded information unchanged.

Parameter

Type

Description

name

str

Prefills the customer’s full name and disables the name field so the user cannot change the information coming from your system.

email

str

Prefills the email address and locks the field. Useful when the payment link is delivered by email and the address is already verified.

phone

str

Prefills the phone number and locks the field. Accepts both local and international formats (e.g. +3547701234).

reference

str

Prefills the national ID or any other customer reference. The field is disabled by default so the identifier stays unchanged. If no reference is provided the field remains visible and requires user input.

hide_reference

bool (true or 1)

Hides the ID/reference field from the UI when it has already been preset with reference. Has no effect unless reference has a value.

subscription_reference

str

Overrides the reference assigned to the subscription when it is created. Useful when you maintain custom identifiers in an external system.

language

str

Controls the payment page language. Supported values are en (English) and is (Icelandic); if omitted, is is used by default.

Usage example

The following example shows how to prefill the main fields before the user lands on the payment page:

https://askell.is/public/payments/0/?name=J%C3%B3n%20J%C3%B3nsson&email=jon%40d%C3%A6example.com&phone=+3547701234&reference=0101701234

In this scenario the customer only needs to accept the terms and select a payment method because all personal details are already provided.