Customers

Delete a customer (and all their payment methods)

This is used to delete a customer by its unique Id

delete/customers/{customerId}

Request

  • Base URL
    https://sandbox-api.ryftpay.com/v1
  • URL
    https://sandbox-api.ryftpay.com/v1/customers/{customerId}
  • Auth
    API key in header Authorization

Path parameters

customerIdstring required
Example:cus_01FCTS1XMKH9FF43CAFA4CXT3P

Customer to delete

Response

Customer successfully deleted

idstring

The Id of the deleted customer

Example response

{
  "id": "cus_01G0EYVFR02KBBVE2YWQ8AKMGJ"
}

Changes

No recorded changes to this operation across all 10 revisions of this API.