Update a customer's identity decision
customers.review.refresh_review(id, **kwargs) -> CustomerV1 { data, meta, response_type }
/v1/customers/{id}/refresh_review
Updates the decision of a customer's identity validation. This endpoint allows you to modify the outcome of a customer decision and is useful for correcting or updating the status of a customer's verification.
Parameters
id: String
correlation_id: String
idempotency_key: String
request_id: String
straddle_account_id: String
Returns
Update a customer's identity decision
require "straddle"
straddle = Straddle::Client.new(
api_key: "My API Key",
environment: "production" # defaults to "sandbox"
)
customer_v1 = straddle.customers.review.refresh_review("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
puts(customer_v1)
{
"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"
}