GET
/
billing
/
payment-methods
curl --request GET \
  --url https://api.altostrat.io/billing/payment-methods \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "brand": "<string>",
    "last4": "<string>",
    "exp_month": 123,
    "exp_year": 123,
    "name": "<string>",
    "created_at": "2023-11-07T05:31:56Z"
  }
]

Authorizations

Authorization
string
header
required

Standard OAuth2 flow for user authentication. Use Authorization Code Grant or Implicit Grant. JWT Bearer tokens obtained are used for subsequent requests.

Response

200
application/json

A list of payment methods.

The response is of type object[].