Skip to navigation

Archive a payment method

Withdraws the instruction: a card is detached at the processor so it can’t be charged again, and a bank transfer account leaves new invoices but keeps receiving transfers. It stays readable, so past payments still resolve it. Archiving the default moves it to the newest remaining card, otherwise the newest bank transfer account. {paymentMethod} takes the payment method’s pm_ ID.

Authentication

AuthorizationBearer
API Key authentication using Bearer token

Path parameters

paymentMethodstringRequired1-255 characters

The payment method’s pm_ ID.

Headers

Paid-BetaenumRequired

This endpoint is in the payments=v1 beta. Send this header to use it.

Allowed values:

Response

200
cardobject
OR
usBankAccountobject
OR
bankTransferobject

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error