Checkout (public)
Ask for a receipt email
Saves the customer's email address so a receipt is sent once the invoice is paid. It only works when the server can send email, and only while the invoice has no email address yet. It never works for demo store (test mode) invoices; those answer 409 invalid_state.
Rate limit: 5 per minute per IP address.
POST
id*stringInvoice id, starting with inv_.
application/json- body
email*stringFormat
emailLength
length <= 200The email address was saved.
curl -X POST 'https://example.com/api/v1/invoices/string/email' \ -H 'Content-Type: application/json' \ -d '{ "email": "user@example.com"}'Example Response
Empty