Create a customer
Changed onCreates a new customer record and automatically initiates identity, fraud, and risk assessment scores. This endpoint allows you to create a customer profile and associate it with paykeys and payments.
Request
- Base URLhttps://sandbox.straddle.com
- URLhttps://sandbox.straddle.com/v1/customers
- AuthHTTP bearer
Headers
For use by platforms to specify an account id and set scope of a request.
Optional client generated identifier to trace and debug a request.
Optional client generated identifier to trace and debug a series of requests.
Optional client generated value to use for idempotent requests.
Request body
Example request
{
"name": "Ron Swanson",
"type": "individual",
"email": "ron.swanson@pawnee.com",
"address": {
"address1": "123 Main St",
"city": "Anytown",
"state": "CA",
"zip": "94105"
},
"phone": "+12128675309",
"external_id": "customer_123",
"device": {
"ip_address": "192.168.1.1"
},
"metadata": {}
}Response
Created
Example response
{
"data": {
"name": "Ron Swanson",
"email": "ron.swanson@pawnee.com",
"phone": "+12128675309",
"address": {
"address1": "123 Main St",
"address2": "Apt 1",
"city": "Anytown",
"state": "CA",
"zip": "12345"
},
"compliance_profile": {
"dob": "****-**-**",
"ssn": "***-**-****"
},
"device": {
"ip_address": "192.168.1.1"
}
}
}Changes
- breaking
removed the enum value
Businessof the request property(media type: application/json) - breaking
removed the enum value
Businessof the request property(media type: text/json) - breaking
removed the enum value
Businessof the request property(media type: application/*+json) - breaking
removed the enum value
Individualof the request property(media type: application/json) - breaking
removed the enum value
Individualof the request property(media type: text/json) - breaking
removed the enum value
Individualof the request property(media type: application/*+json) - info
removed the
Arrayenum value from theresponse property for the response status (media type: text/plain) - info
removed the
Arrayenum value from theresponse property for the response status (media type: application/json) - info
removed the
Arrayenum value from theresponse property for the response status (media type: text/json) - info
removed the
Arrayenum value from theresponse property for the response status (media type: text/plain) - info
removed the
Arrayenum value from theresponse property for the response status (media type: application/json) - info
removed the
Arrayenum value from theresponse property for the response status (media type: text/json) - info
removed the
Arrayenum value from theresponse property for the response status (media type: text/plain) - info
removed the
Arrayenum value from theresponse property for the response status (media type: application/json) - info
removed the
Arrayenum value from theresponse property for the response status (media type: text/json) - info
removed the
Arrayenum value from theresponse property for the response status (media type: text/plain) - info
removed the
Arrayenum value from theresponse property for the response status (media type: application/json) - info
removed the
Arrayenum value from theresponse property for the response status (media type: text/json) - info
removed the
Arrayenum value from theresponse property for the response status (media type: text/plain) - info
removed the
Arrayenum value from theresponse property for the response status (media type: application/json) - info
removed the
Arrayenum value from theresponse property for the response status (media type: text/json) - info
removed the
Arrayenum value from theresponse property for the response status (media type: text/plain) - info
removed the
Arrayenum value from theresponse property for the response status (media type: application/json) - info
removed the
Arrayenum value from theresponse property for the response status (media type: text/json) - info
removed the
Businessenum value from the/response property for the response status (media type: text/plain) - info
removed the
Businessenum value from the/response property for the response status (media type: application/json) - info
removed the
Businessenum value from the/response property for the response status (media type: text/json) - info
removed the
Errorenum value from theresponse property for the response status (media type: text/plain) - info
removed the
Errorenum value from theresponse property for the response status (media type: application/json) - info
removed the
Errorenum value from theresponse property for the response status (media type: text/json) - info
removed the
Errorenum value from theresponse property for the response status (media type: text/plain) - info
removed the
Errorenum value from theresponse property for the response status (media type: application/json) - info
removed the
Errorenum value from theresponse property for the response status (media type: text/json) - info
removed the
Errorenum value from theresponse property for the response status (media type: text/plain) - info
removed the
Errorenum value from theresponse property for the response status (media type: application/json) - info
removed the
Errorenum value from theresponse property for the response status (media type: text/json) - info
removed the
Errorenum value from theresponse property for the response status (media type: text/plain) - info
removed the
Errorenum value from theresponse property for the response status (media type: application/json) - info
removed the
Errorenum value from theresponse property for the response status (media type: text/json) - info
removed the
Errorenum value from theresponse property for the response status (media type: text/plain) - info
removed the
Errorenum value from theresponse property for the response status (media type: application/json) - info
removed the
Errorenum value from theresponse property for the response status (media type: text/json) - info
removed the
Errorenum value from theresponse property for the response status (media type: text/plain) - info
removed the
Errorenum value from theresponse property for the response status (media type: application/json) - info
removed the
Errorenum value from theresponse property for the response status (media type: text/json) - info
removed the
Individualenum value from the/response property for the response status (media type: text/plain) - info
removed the
Individualenum value from the/response property for the response status (media type: application/json) - info
removed the
Individualenum value from the/response property for the response status (media type: text/json) - info
removed the
Noneenum value from theresponse property for the response status (media type: text/plain) - info
removed the
Noneenum value from theresponse property for the response status (media type: application/json) - info
removed the
Noneenum value from theresponse property for the response status (media type: text/json) - info
removed the
Noneenum value from theresponse property for the response status (media type: text/plain) - info
removed the
Noneenum value from theresponse property for the response status (media type: application/json) - info
removed the
Noneenum value from theresponse property for the response status (media type: text/json) - info
removed the
Noneenum value from theresponse property for the response status (media type: text/plain) - info
removed the
Noneenum value from theresponse property for the response status (media type: application/json) - info
removed the
Noneenum value from theresponse property for the response status (media type: text/json) - info
removed the
Noneenum value from theresponse property for the response status (media type: text/plain) - info
removed the
Noneenum value from theresponse property for the response status (media type: application/json) - info
removed the
Noneenum value from theresponse property for the response status (media type: text/json) - info
removed the
Noneenum value from theresponse property for the response status (media type: text/plain) - info
removed the
Noneenum value from theresponse property for the response status (media type: application/json) - info
removed the
Noneenum value from theresponse property for the response status (media type: text/json) - info
removed the
Noneenum value from theresponse property for the response status (media type: text/plain) - info
removed the
Noneenum value from theresponse property for the response status (media type: application/json) - info
removed the
Noneenum value from theresponse property for the response status (media type: text/json) - info
removed the
Objectenum value from theresponse property for the response status (media type: text/plain) - info
removed the
Objectenum value from theresponse property for the response status (media type: application/json) - info
removed the
Objectenum value from theresponse property for the response status (media type: text/json) - info
removed the
Objectenum value from theresponse property for the response status (media type: text/plain) - info
removed the
Objectenum value from theresponse property for the response status (media type: application/json) - info
removed the
Objectenum value from theresponse property for the response status (media type: text/json) - info
removed the
Objectenum value from theresponse property for the response status (media type: text/plain) - info
removed the
Objectenum value from theresponse property for the response status (media type: application/json) - info
removed the
Objectenum value from theresponse property for the response status (media type: text/json) - info
removed the
Objectenum value from theresponse property for the response status (media type: text/plain) - info
removed the
Objectenum value from theresponse property for the response status (media type: application/json) - info
removed the
Objectenum value from theresponse property for the response status (media type: text/json) - info
removed the
Objectenum value from theresponse property for the response status (media type: text/plain) - info
removed the
Objectenum value from theresponse property for the response status (media type: application/json) - info
removed the
Objectenum value from theresponse property for the response status (media type: text/json) - info
removed the
Objectenum value from theresponse property for the response status (media type: text/plain) - info
removed the
Objectenum value from theresponse property for the response status (media type: application/json) - info
removed the
Objectenum value from theresponse property for the response status (media type: text/json)
- breaking
- warning
added the new
Arrayenum value to theresponse property for the response status (media type: text/plain) - warning
added the new
Arrayenum value to theresponse property for the response status (media type: application/json) - warning
added the new
Arrayenum value to theresponse property for the response status (media type: text/json) - warning
added the new
Arrayenum value to theresponse property for the response status (media type: text/plain) - warning
added the new
Arrayenum value to theresponse property for the response status (media type: application/json) - warning
added the new
Arrayenum value to theresponse property for the response status (media type: text/json) - warning
added the new
Arrayenum value to theresponse property for the response status (media type: text/plain) - warning
added the new
Arrayenum value to theresponse property for the response status (media type: application/json) - warning
added the new
Arrayenum value to theresponse property for the response status (media type: text/json) - warning
added the new
Arrayenum value to theresponse property for the response status (media type: text/plain) - warning
added the new
Arrayenum value to theresponse property for the response status (media type: application/json) - warning
added the new
Arrayenum value to theresponse property for the response status (media type: text/json) - warning
added the new
Arrayenum value to theresponse property for the response status (media type: text/plain) - warning
added the new
Arrayenum value to theresponse property for the response status (media type: application/json) - warning
added the new
Arrayenum value to theresponse property for the response status (media type: text/json) - warning
added the new
Arrayenum value to theresponse property for the response status (media type: text/plain) - warning
added the new
Arrayenum value to theresponse property for the response status (media type: application/json) - warning
added the new
Arrayenum value to theresponse property for the response status (media type: text/json) - warning
added the new
Businessenum value to the/response property for the response status (media type: text/plain) - warning
added the new
Businessenum value to the/response property for the response status (media type: application/json) - warning
added the new
Businessenum value to the/response property for the response status (media type: text/json) - warning
added the new
Errorenum value to theresponse property for the response status (media type: text/plain) - warning
added the new
Errorenum value to theresponse property for the response status (media type: application/json) - warning
added the new
Errorenum value to theresponse property for the response status (media type: text/json) - warning
added the new
Errorenum value to theresponse property for the response status (media type: text/plain) - warning
added the new
Errorenum value to theresponse property for the response status (media type: application/json) - warning
added the new
Errorenum value to theresponse property for the response status (media type: text/json) - warning
added the new
Errorenum value to theresponse property for the response status (media type: text/plain) - warning
added the new
Errorenum value to theresponse property for the response status (media type: application/json) - warning
added the new
Errorenum value to theresponse property for the response status (media type: text/json) - warning
added the new
Errorenum value to theresponse property for the response status (media type: text/plain) - warning
added the new
Errorenum value to theresponse property for the response status (media type: application/json) - warning
added the new
Errorenum value to theresponse property for the response status (media type: text/json) - warning
added the new
Errorenum value to theresponse property for the response status (media type: text/plain) - warning
added the new
Errorenum value to theresponse property for the response status (media type: application/json) - warning
added the new
Errorenum value to theresponse property for the response status (media type: text/json) - warning
added the new
Errorenum value to theresponse property for the response status (media type: text/plain) - warning
added the new
Errorenum value to theresponse property for the response status (media type: application/json) - warning
added the new
Errorenum value to theresponse property for the response status (media type: text/json) - warning
added the new
Individualenum value to the/response property for the response status (media type: text/plain) - warning
added the new
Individualenum value to the/response property for the response status (media type: application/json) - warning
added the new
Individualenum value to the/response property for the response status (media type: text/json) - warning
added the new
Noneenum value to theresponse property for the response status (media type: text/plain) - warning
added the new
Noneenum value to theresponse property for the response status (media type: application/json) - warning
added the new
Noneenum value to theresponse property for the response status (media type: text/json) - warning
added the new
Noneenum value to theresponse property for the response status (media type: text/plain) - warning
added the new
Noneenum value to theresponse property for the response status (media type: application/json) - warning
added the new
Noneenum value to theresponse property for the response status (media type: text/json) - warning
added the new
Noneenum value to theresponse property for the response status (media type: text/plain) - warning
added the new
Noneenum value to theresponse property for the response status (media type: application/json) - warning
added the new
Noneenum value to theresponse property for the response status (media type: text/json) - warning
added the new
Noneenum value to theresponse property for the response status (media type: text/plain) - warning
added the new
Noneenum value to theresponse property for the response status (media type: application/json) - warning
added the new
Noneenum value to theresponse property for the response status (media type: text/json) - warning
added the new
Noneenum value to theresponse property for the response status (media type: text/plain) - warning
added the new
Noneenum value to theresponse property for the response status (media type: application/json) - warning
added the new
Noneenum value to theresponse property for the response status (media type: text/json) - warning
added the new
Noneenum value to theresponse property for the response status (media type: text/plain) - warning
added the new
Noneenum value to theresponse property for the response status (media type: application/json) - warning
added the new
Noneenum value to theresponse property for the response status (media type: text/json) - warning
added the new
Objectenum value to theresponse property for the response status (media type: text/plain) - warning
added the new
Objectenum value to theresponse property for the response status (media type: application/json) - warning
added the new
Objectenum value to theresponse property for the response status (media type: text/json) - warning
added the new
Objectenum value to theresponse property for the response status (media type: text/plain) - warning
added the new
Objectenum value to theresponse property for the response status (media type: application/json) - warning
added the new
Objectenum value to theresponse property for the response status (media type: text/json) - warning
added the new
Objectenum value to theresponse property for the response status (media type: text/plain) - warning
added the new
Objectenum value to theresponse property for the response status (media type: application/json) - warning
added the new
Objectenum value to theresponse property for the response status (media type: text/json) - warning
added the new
Objectenum value to theresponse property for the response status (media type: text/plain) - warning
added the new
Objectenum value to theresponse property for the response status (media type: application/json) - warning
added the new
Objectenum value to theresponse property for the response status (media type: text/json) - warning
added the new
Objectenum value to theresponse property for the response status (media type: text/plain) - warning
added the new
Objectenum value to theresponse property for the response status (media type: application/json) - warning
added the new
Objectenum value to theresponse property for the response status (media type: text/json) - warning
added the new
Objectenum value to theresponse property for the response status (media type: text/plain) - warning
added the new
Objectenum value to theresponse property for the response status (media type: application/json) - warning
added the new
Objectenum value to theresponse property for the response status (media type: text/json) - info
added the new
Businessenum value to the request property(media type: application/json) - info
added the new
Businessenum value to the request property(media type: text/json) - info
added the new
Businessenum value to the request property(media type: application/*+json) - info
added the new
Individualenum value to the request property(media type: application/json) - info
added the new
Individualenum value to the request property(media type: text/json) - info
added the new
Individualenum value to the request property(media type: application/*+json)
- warning