Skip to main content

Overview

These endpoints store a customer email address in the payment session context (useful for receipts, order updates, or merchant support workflows).

Authentication

Requires:
  • x-session-token: pst_...
  • x-signature: sig_...

Request

Endpoints:
  • POST /api/v1/payments/customer-email
  • GET /api/v1/payments/customer-email
Example (set email):

Response

Example (set):

Errors

  • 401 invalid session token/signature
  • 400 invalid email address or invoice already paid
  • 410 invoice expired

Examples

Example (get email):
Next: Invoice questions