Send an email verification code to a customer
Changed onSend (or resend) a one-time code to the customer's email address to begin email verification.
This endpoint is only meaningful for customers whose payment provider requires contact verification (e.g. EU customers); the customer's contactVerification.email status reflects progress. For customers whose provider has no such requirement, this returns 409.
Call POST /customers/{customerId}/verify-email/confirm with the received code to complete verification. Re-POST this endpoint to resend the code.
In sandbox, no email is sent and the code is always 000000.
Request
- Base URLhttps://api.lightspark.com/grid/2025-10-13
- URLhttps://api.lightspark.com/grid/2025-10-13/customers/{customerId}/verify-email
- AuthHTTP basic
Response
Verification code sent.
Changes
- warning
added the new
PURCHASE_CARD_LIMIT_REACHEDenum value to theresponse property for the response status
- warning
- warning
added the new
INVOICE_ALREADY_USEDenum value to theresponse property for the response status
- warning