Customers
Update a customer
PATCH/api/v1/customers/{customerID}
Fields a verification provider asserted are authoritative and stop being editable once verified.
Authorization
Bearer sk_test_… or sk_live_…Path parameters#
customerIDuuidRequired
Body parameters#
country_codestringOptionalExactly 2 characters.
first_namestringOptionalUp to 100 characters.
last_namestringOptionalUp to 100 characters.
metadataobjectOptionalphonestringOptionalUp to 20 characters.
Responses#
- 200The customer
- 400The request could not be read.
- 401The secret key is missing, invalid or revoked.
- 403The key is not allowed to do this, or the request came from an address that is not on its allowlist.
- 404Nothing was found for this business and mode.
- 422A field is missing or not valid.