Maqetin sends the receipt when a transfer completes.
A receipt for a transfer or a payment, with the amount first and every detail where people look for it. Your server sends it through the send API.
The email.
A sample to adapt: change the names, the product and the button to yours.
Hi Mary,
You sent £250.00 to Savings on 18 Oct 2026 at 10:12.
Reference: HM-77310
View transferSample workspace: Harbour Money, a digital bank in London.
How it is sent.
Your server sends it with one call to the send API, when a transfer completes. The call names the template, the person and the data the email prints.
await mq.messages.send({
channel: 'email',
templateId: 'tpl_receipt',
to: { userId: 'cust_90314' },
from: 'Harbour Money <hello@mail.harbourmoney.co.uk>',
data: { amount: 250, currency: 'GBP', reference: 'HM-77310' },
idempotencyKey: 'receipt-HM-77310',
})Events to send.
No event starts this email. Your server makes the call when the transfer completes. You can also send an event for the transfer.
- transfer.completed
- Optional. Your server can send it with track() after the transfer.
Check before you send.
- Build the Idempotency-Key from the transfer. Use the transfer reference, so a retry never sends a second receipt.
- Lead with the amount. Put it in the subject and the first line, in the currency the customer paid in.
- Show at most the last four digits of an account. A receipt is kept and forwarded.