Customers
Deactivate a customer
Changed onSoft-delete a customer by setting them as inactive. Customer data is preserved.
delete/v1/customers/{customerId}
Request
- Base URLhttps://api.yuvexpay.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
customerIdstring required
The customer's prefixed identifier (e.g., cus_ab12cd34ef). This is the merchant-facing slug, not the internal UUID.
Response
Customer deactivated.
Changes
- info
for the
pathrequest parametercustomerId, the format was generalized fromuuidto no format
- info
- info
endpoint added
- info