Skip to main content

Send a receipt

Learn how to email receipts with the Dojo Payments API.

Dojo will automatically send an email receipt to a customer once they have successfully paid. The customer email is provided earlier, when creating the payment intent, inside the Customer schema object:

"customer": {
"emailAddress": "client@gmail.com",
"phoneNumber": "078654321"
}

Each payment has a receipt history which you can view in the Dojo for Business App.

Send additional emails

You can manually send additional receipts to customers. To do this use the endpoint below:

POST /payment-intents/{paymentIntentId}/receipt

In your request, include:

  • emails: the list of email addresses to which the receipt should be sent.

For the full specification, see the API reference.

Request example

The next example below shows how you would capture 10.00 GBP.

manage-payments/curl/send-receipt.sh
loading...

Response example

If your request is successful, the response will return an empty object.