Skip to main content
Use the Customer Leads API to capture contact and visit data before a customer completes the current Paysight checkout.

Endpoint

Every request must include email and session_id. Reusing the same session_id updates the existing lead for your tenant instead of creating a duplicate.
Set session_id to the same value you send to the current Card Submit or Widget checkout as partnerSession. This allows Paysight to mark the lead paid when the successful transaction webhook arrives.

Authentication

Browser

Use the publishable key generated in Platform. The browser origin must exactly match one of the configured allowed origins.

Server

Use the secret key as a Bearer token. Never expose this key in browser code.

Example

New leads return 201 Created; updates return 200 OK. API clients cannot set tenant_id, status, or payment fields. When a configured successful transaction matches the tenant, application ID, environment, and session_id, Paysight changes the lead to paid and sends a customer_lead.paid webhook. See Customer lead integration for configuration, payload signing, retries, and verification.