Email Receipts for Payment Requests
You can now ask Straumur to email the cardholder a receipt for a payment made through the /payment endpoint, with a saved card token or with encrypted card data. Send the cardholder's email address in the new optional shopperContact field.
What's included
shopperContact: the cardholder's email address. If you send it, the cardholder gets a receipt once the payment is authorised. If you leave it out, nothing changes.culture: the language of the receipt,is(default) oren.
The receipt has the same content as the one sent from Hosted Checkout. A receipt is sent only for an authorised payment and only once per payment. Captures, cancellations and refunds don't send another receipt, and a zero-amount payment that only saves a card sends none.
If your terminal does not support it yet, the request is rejected with the new error 2044. Contact support to have it enabled.
See the full documentation at Shopper Contact.