POST
/
v1
/
customers

Authorizations

Authorization
string
headerrequired

JWT Authorization header using the Bearer scheme. Enter 'Bearer ' [space] and then your token in the text input below.

Headers

Straddle-Account-Id
string

For use by platforms to specify an account id and set scope of a request.

Request-Id
string

Optional client generated identifier to trace and debug a request.

Correlation-Id
string

Optional client generated identifier to trace and debug a series of requests.

Body

name
string | null

The customer’s full name or business name

type
enum<string>
Available options:
individual,
business
email
string | null

Customer's email address

address
object
phone
string | null

The consumer's phone number in E.164 format. A mobile phone number is preferred

compliance_profile
object
external_id
string | null

A unique string value attached to a customer which can be used for traceability between Straddle and your application.

device
object
metadata
object | null

Set of key - value pairs that you can attach to an object.This can be useful for storing additional information about the customer in a structured format.

Response

201 - text/plain
meta
object
response_type
string | null

The type of the response

data
object