Skip to main content

Shopper Contact

info

This field allows merchants to send the shopper’s email address. The email is displayed to the shopper during checkout, enabling them to opt-in to receive an email receipt from Straumur.

The shopperContact field is not required, but if provided, it must be a valid email address. Otherwise an error will be returned, and the request will be rejected.

note

For zero-amount checkouts (a 0 amount used to tokenize / save a card rather than take a payment), the email field is not shown on the hosted checkout page and no receipt is sent, since no payment takes place. This applies even if shopperContact is provided in the request.

Request Example

{
"amount": 48900,
"currency": "ISK",
"returnUrl": "https://your-ecommerce-website.com/straumur_redirect",
"reference": "9990QQAZ1221",
"shopperContact": "shopper@example.com"
}

Request Field

FieldTypeRequiredDescriptionExampleMin LengthMax Length
shopperContactStringOptionalThe email address provided by the shopper to receive a payment receipt.shopper@example.com--