Skip to main content

Shopper Information in Payment Webhooks

Payment webhooks for a Payment Link payment now include everything the shopper entered on the link's form, such as name, email, phone and kennitala. You no longer need to look up each answer in the merchant portal.

What's included​

A new shopperInformation object in additionalData is sent on the Authorization and Tokenization events of Payment Link payments. It has one property per form field:

"shopperInformation": {
"ssn": "1111111119",
"fullName": "Jón Jónsson",
"emailAddress": ""
}

A field on the form has the value the shopper entered, or "" if they left it empty, and a prefilled field has the value you set on the link, or the shopper's edit of it on Pay by Link. Fields not on the form are left out, and so is shopperInformation itself when the link has no form fields.

Compatibility​

Webhooks for payments that did not come from a Payment Link are unchanged. The HMAC signature is unchanged, because it is calculated only over the top-level fields.

See the full documentation at Authorization Event.