Customers
Remove payment method
Delete a customer payment method.
delete/customers/public/{customerId}/payment-methods/{paymentMethodId}
Request
- Base URLhttps://api.dojo.tech
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
customerIdstring nullable required
The unique identifier of the customer.
paymentMethodIdstring nullable required
The unique identifier of the customer payment method.
Headers
versionstring nullable required
The API version with format yyyy-mm-dd. The current version is 2026-02-27.
authorizationstring nullable required
Basic HTTP authentication to grant access to customer-owned resources.
- The required customer secret key is short-lived and will expire after a pre-configured set of time.
- The customer secret can be generated by calling POST /customers/{customerId}/create-secret
Response
No Content
Changes
No recorded changes to this operation across all 1 revision of this API.