Customers
Decision a customer
Use this endpoint to update the status of a customer who was flagged for review.
You can set the new status to verified
or rejected
.
PATCH
https://{environment}.straddle.io
/
v1
/
customers
/
{id}
/
review
Authorizations
Authorization
string
headerrequiredUse your Straddle API Key in the Authorization header as Bearer <token> to authorize API requests.
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.
Path Parameters
id
string
requiredBody
status
enum<string>
requiredAvailable options:
pending
, review
, verified
, inactive
, rejected
Response
200 - text/plain
meta
object
requiredresponse_type
enum<string>
requiredAvailable options:
object
, array
, error
, none
data
object
required