🔗 Console REST APIPayment Cards

Set default payment card

Sets a payment card as the default for the organization

PATCH
/api/payments/setdefaultcard

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 set default payment card

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