Skip to content

Delete Payment Method

DELETE
/v1/account/payment_methods/{payment_method_id}

Delete a saved payment method from a shopper's Bolt account Wallet.

Authorization

OAuth bolt.account.manageX-API-Key
AuthorizationBearer <token>

Bolt utilizes the OAuth flow that developers can use to attain access to Bolt Account data via APIs. For all APIs that require authorization, please provide your access_token returned from /v1/oauth/token via the basic auth bearer header Authorization: bearer ${TOKEN}. Read more about the OAuth token endpoint.

In: header

Scope: bolt.account.manage

X-API-Key<token>

Admins and Developers can obtain their Bolt API key from the Bolt Merchant Dashboard.

In: header

Path Parameters

payment_method_id*string

The ID for a payment method in the shopper's Bolt account Wallet. This ID can be obtained using Get Account Details.

Header Parameters

X-Publishable-Key?string

The publicly viewable identifier used to identify a merchant division. This key is found in the Developer > API section of the Bolt Merchant Dashboard [RECOMMENDED].

Response Body

application/json

application/json

curl -X DELETE "https://example.com/v1/account/payment_methods/string"
Empty