cURL
curl --request GET \ --url https://api.altostrat.io/workspaces/{workspace_id}/billing-accounts/{billing_account_id}/payment-methods \ --header 'Authorization: Bearer <token>'
{ "data": [ { "id": "<string>", "type": "card", "is_default": true, "brand": "<string>", "last4": "<string>", "exp_month": 123, "exp_year": 123, "bank_name": "<string>", "account_holder_type": "individual", "account_type": "checking", "name": "<string>" } ] }
Auth0 JWT token for user authentication.
The unique identifier for the workspace.
"ws_abc123"
The unique identifier for the billing account (Stripe customer ID).
"cus_abc123"
A list of payment methods.
The response is of type object.
object
Was this page helpful?