Upsert KYC
Creates or updates KYC identity data for a customer
provider field identifies which KYC provider performed the verification. Accepted values are plaid, veriff, didit, sumsub, seon, socure, geo_comply, surt, and persona.
Every Soap API request is authenticated with a bearer token in the Authorization header:
key_....
Requests with a missing or invalid API key return 422 — never 401 — with a JSON error field, usually {"error": "API key not found."}. Branch on the status code rather than the message: GET /api/v1/device_pings/latest_geo_check does not yet return the same wording.
Never expose your API key in client-side code — it is server-side only.
Required Fields
Required:customer_id, first_name, last_name, date_of_birth, address_line_1, city, state, postal_code, country, provider, verified
Optional: address_line_2, phone_number, email, last_four_ssn
Authorizations
Bearer token authentication using your API key (key_...). Used for every endpoint except POST /api/v1/device_pings.
Body
Unique identifier for the customer
"cus_vi57KegYgcRqcGHqip8q6UZiqtrwMT870"
Customer's first name
1"John"
Customer's last name
1"Doe"
Customer's date of birth (YYYY-MM-DD)
"1990-01-15"
Primary address line
1"123 Main Street"
City name
1"San Francisco"
Two-letter state code (uppercase)
^[A-Z]{2}$"CA"
Postal or ZIP code
"94102"
Three-letter country code (uppercase), defaults to USA
^[A-Z]{3}$"USA"
KYC provider identifier used for verification
plaid, veriff, didit, sumsub, seon, socure, geo_comply, surt, persona "plaid"
Whether the customer has been verified by the KYC provider. You can choose to provide an unverified identity by setting this field value to false
true
Customer's email address
"john@example.com"
Customer's phone number
"5551234567"
Secondary address line (apartment, suite, etc.)
"Apt 4B"
Last four digits of the customer's SSN (optional)
4^[0-9]{4}$"1234"
Response
KYC identity created or updated successfully
Unique identifier for the KYC identity record
"id_A3GuXEbThpqk2t6UTxEuoceVJyUEAX7V"
"John"
"Doe"
"john@example.com"
"5551234567"
"1990-01-15"
"123 Main Street"
null
"San Francisco"
"CA"
"94102"
"USA"
"your_kyc_provider"
true
"1234"

