Skip to main content

Delete Payment Method

DELETE 

/api/portal/payment-methods/:paymentMethod

Remove a card saved on the active account (it is also deleted from the processor's vault). A card that isn't the account's returns 404 (reason: payment_method_not_found). Only cards with removable: true can be removed here; any other card returns 422 (reason: cannot_remove_card) and must be removed by the merchant.

Buyer portal token

Called by a B2B portal buyer with the bearer token POST /api/portal/auth/login returns (or the buyer's feed key) — not with a staff Personal Access Token.

Request​

Responses​

OK

Response Headers
    Content-Type