Skip to main content
POST
Create or update a customer lead

Authorizations

X-Paysight-Lead-Key
string
header
required

Browser publishable key. The request Origin must exactly match the tenant allowlist.

Body

application/json
email
string<email>
required
Maximum string length: 320
session_id
string
required

Stable client session value also sent to current checkout as partnerSession. Use 50 characters or fewer for Card Submit compatibility.

Required string length: 1 - 255
first_name
string | null
last_name
string | null
phone
string | null
image_url
string | null
scans
any[]
pending_data
string<byte> | null

Standard base64 containing valid JSON.

cfa_timestamp
string | null
cfa_name
string | null
cfa_area
string | null
cfa_first_page
string | null
cfa_last_page
string | null
cfa_first_latest_visit
string | null
cfa_total_pages_clicks
string | null
cfa_device
string | null
cfa_browser
string | null
cfa_model
string | null
cfa_speed
string | null
cfa_website_referral
string | null
cfa_longest_time_visited
string | null
cfa_longest_scrolled
string | null
cfa_most_clicked
string | null
cfa_most_interested_page_time
string | null
cfa_form_status
string | null
cfa_form_name
string | null
cfa_form_email
string | null
cfa_form_phone
string | null
cfa_submission_urls
string | null
d2d_timestamp
string | null
d2d_name
string | null
d2d_street_1
string | null
d2d_street_2
string | null
d2d_city
string | null
d2d_state
string | null
d2d_zip
string | null
d2d_country
string | null
d2d_full_address
string | null
d2d_details
string | null
d2d_first_page
string | null
d2d_last_page
string | null
d2d_first_latest_visit
string | null
d2d_total_pages_clicks
string | null
d2d_device
string | null
d2d_browser
string | null
d2d_model
string | null
d2d_speed
string | null
d2d_website_referral
string | null
d2d_longest_time_visited
string | null
d2d_longest_scrolled
string | null
d2d_most_clicked
string | null
d2d_most_interested_page_time
string | null
d2d_form_status
string | null
d2d_form_name
string | null
d2d_submission_urls
string | null
d2d_contacts
string | null
d2d_all_pages
string | null

Response

Existing lead updated.

ok
enum<boolean>
required
Available options:
true
data
object
required