Skip to main content
GET
/
billing
/
subscription
/
creditCard
Get credit card
curl --request GET \
  --url https://api.getcargo.io/v1/billing/subscription/creditCard \
  --header 'Authorization: Bearer <token>'
{
  "creditCard": {
    "brand": "<string>",
    "expMonth": 123,
    "expYear": 123,
    "last4": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Successful response

creditCard
Credit card · object

Saved credit card details.