cURL
curl --request GET \ --url https://api-beta.pepay.io/api/v1/payments/customer-email \ --header 'x-session-token: <api-key>' \ --header 'x-signature: <api-key>'
200
with_email
{ "email": "[email protected]", "has_email": true}
Get the stored customer email address if available
Payment session token (opaque). Returned when creating an invoice; send on every request.
Payment session signature in the format signature_hash.timestamp_ms (returned with the invoice/session).
signature_hash.timestamp_ms
Email retrieved successfully
Customer email address or null if not set
Whether email is stored
Was this page helpful?