Update a customer's verification status
customers.review.decision(strid, ReviewDecisionParams**kwargs) -> CustomerV1
/v1/customers/{id}/review
Updates the status of a customer's identity decision. This endpoint allows you to modify the outcome of a customer risk screening and is useful for correcting or updating the status of a customer's verification. Note that this endpoint is only available for customers with a current status of review.
Parameters
id: str
correlation_id: Optional[str]
idempotency_key: Optional[str]
request_id: Optional[str]
straddle_account_id: Optional[str]
Returns
Update a customer's verification status
from straddle import Straddle
client = Straddle(
api_key="My API Key",
)
customer_v1 = client.customers.review.decision(
id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
status="verified",
)
print(customer_v1.data)
{
"data": {
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"created_at": "2019-12-27T18:11:19.117Z",
"email": "ron.swanson@pawnee.com",
"name": "Ron Swanson",
"phone": "+12128675309",
"status": "pending",
"type": "individual",
"updated_at": "2019-12-27T18:11:19.117Z",
"address": {
"address1": "123 Main St",
"city": "Anytown",
"state": "CA",
"zip": "12345",
"address2": "Apt 1"
},
"compliance_profile": {
"dob": "2019-12-27",
"ssn": "***-**-****"
},
"config": {
"processing_method": "inline",
"sandbox_outcome": "standard"
},
"device": {
"ip_address": "192.168.1.1"
},
"external_id": "external_id",
"metadata": {
"foo": "string"
}
},
"meta": {
"api_request_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"api_request_timestamp": "2019-12-27T18:11:19.117Z"
},
"response_type": "object"
}Returns Examples
{
"data": {
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"created_at": "2019-12-27T18:11:19.117Z",
"email": "ron.swanson@pawnee.com",
"name": "Ron Swanson",
"phone": "+12128675309",
"status": "pending",
"type": "individual",
"updated_at": "2019-12-27T18:11:19.117Z",
"address": {
"address1": "123 Main St",
"city": "Anytown",
"state": "CA",
"zip": "12345",
"address2": "Apt 1"
},
"compliance_profile": {
"dob": "2019-12-27",
"ssn": "***-**-****"
},
"config": {
"processing_method": "inline",
"sandbox_outcome": "standard"
},
"device": {
"ip_address": "192.168.1.1"
},
"external_id": "external_id",
"metadata": {
"foo": "string"
}
},
"meta": {
"api_request_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"api_request_timestamp": "2019-12-27T18:11:19.117Z"
},
"response_type": "object"
}