Contact Verification

Send a phone verification code to a customer

Changed on

Send (or resend) a one-time code via SMS to the customer's phone number to begin phone verification.

This endpoint is only meaningful for customers whose payment provider requires contact verification (e.g. EU customers); the customer's contactVerification.phone status reflects progress. For customers whose provider has no such requirement, this returns 409.

Call POST /customers/{customerId}/verify-phone/confirm with the received code to complete verification. Re-POST this endpoint to resend the code.

In sandbox, no SMS is sent and the code is always 000000.

post/customers/{customerId}/verify-phone

Request

  • Base URL
    https://api.lightspark.com/grid/2025-10-13
  • URL
    https://api.lightspark.com/grid/2025-10-13/customers/{customerId}/verify-phone
  • Auth
    HTTP basic

Response

Verification code sent.

Changes

    • warning

      added the new PURCHASE_CARD_LIMIT_REACHED enum value to the response property for the response status

    • warning

      added the new INVOICE_ALREADY_USED enum value to the response property for the response status