🔗 Console REST APIPayment Cards

Delete payment card

Removes a payment card from the organization (requires no unpaid invoices or active subscriptions)

PATCH
/api/payments/deletecard

Authorization

headerAuthorization<token>

API Key is required to access the endpoints

Request Body

  1. body
cardType?string|null
ending?string|null
isDefault?boolean
owner?string|null
expiringMonth?integer
Formatint32
expiringYear?integer
Formatint32
cardId?string|null

Response Body

Successfully deleted payment card

curl -X PATCH 'https://api-console.apibricks.io/api/payments/deletecard' \  -H 'Content-Type: application/json' \  -d '{}'
Empty