v2
latestOpenAPI 3.0.02026-07-261677104.9 KBAccount
Delete an existing payment method
Delete an existing payment method. Deleting a payment method does not invalidate or remove it from transactions or orders that are associated with it.
delete/account/payment-methods/{id}
Path parameters
idstring required
Example:D4g3h5tBuVYK9
The ID of the payment method to delete
Headers
X-Publishable-Keystring required
The publicly shareable identifier used to identify your Bolt merchant division.
X-Merchant-Client-Idstring
A unique identifier for a shopper's device, generated by Bolt. The value is retrieved with Bolt.state.merchantClientId in your frontend context, per-shopper. This header is required for proper attribution of this operation to your analytics reports. Omitting this header may result in incorrect statistics.
Response
The payment method was successfully deleted