/billing/sourcesList payment sources
Base URL https://api.vseepreview.com/api_v3
Authentication: User Token — Requires a user access token from login or SSO.
Retrieve all payment sources from user account
| Name | In | Type | Required | Enum | Default | Description |
|---|---|---|---|---|---|---|
X-ApiToken | header | string | yes | API token (e.g. your_api_token) | ||
X-AccountCode | header | string | yes | Account code (e.g. vclinic) | ||
type | query | string | no | Payment type (e.g. 'card') (e.g. card) | ||
room_code | query | string | yes | Room code to scope the payment source (e.g. abc) | ||
provider_id | query | string | no | Provider ID (optional) to scope the payment source (e.g. 12312) |
200 — Successful responseMultiple Cards
{
"data": [
{
"id": "card_19DrgXBY2jn2BCqQNpjjzuay",
"type": "card",
"brand": "Visa",
"last4": "4242",
"exp_month": 8,
"exp_year": 2017,
"is_default": true
},
{
"id": "card_19DrgXBY2jn2BCqQNpjjzub",
"type": "card",
"brand": "Visa",
"last4": "4242",
"exp_month": 8,
"exp_year": 2017,
"is_default": false
}
]
}
Machine-readable: OpenAPI JSON