Developers
qashio.com

List cards

GET/public/v1/erp/cards
Bearer token

Retrieve the card inventory with its issuance state and which spend controls are active.

Returns a paginated list of cards, newest first, with the cardholder, the funding account, the cost-allocation segments, and a set of boolean flags showing which control families are switched on: purchase limits, transaction limits, country limits, merchant-category limits, ATM withdrawal and low-balance alerts. The flags tell you whether a control is active; call the single-card endpoint for the actual values.

Card numbers are always masked (**** **** **** 1234); the full PAN is never returned.

Query parameters

pageinteger

Page number, 1-based. Default 1

Example 1

page_sizeinteger

Records per page. Default 20

Example 20

statusstring

active, inactive, suspended, terminated, draft, cancelled

card_typestring

virtual or physical

account_typestring

reloadable (one card per account) or pool (shared account)

pool_account_idstring

Cards funded by this account

user_idstring

Cards held by this user profile

last4string

Exactly four digits

issued_time_fromdate

Issuance window, YYYY-MM-DD. Either may be sent alone

issued_time_todate

Issuance window, YYYY-MM-DD. Either may be sent alone

created_time_fromdate

Creation window, YYYY-MM-DD. Either may be sent alone

created_time_todate

Creation window, YYYY-MM-DD. Either may be sent alone

Response

Array of cards, plus pagination.

FieldTypeDescription
idstringCard identifier (CA…)
card_nicknamestringCard name
statusstringActive, Inactive, Suspended, Terminated, Draft, Cancelled
card_typestringVirtual or Physical
masked_card_numberstring**** **** **** 1234
cardholderobject{ name, email, employee_id }
company_namestringCompany the card belongs to
account_external_idstringFunding account identifier
account_typestringreloadable or pool
card_currencystringCard currency (ISO 4217)
allowed_max_balancenumberMaximum balance the card may hold
topup_typestringHow the card is funded
float_management_enabledbooleanWhether float management applies
card_replacedbooleanWhether this card replaced an earlier one
purchase_limits_activebooleanA purchase spend limit is in force
transaction_limits_activebooleanA per-transaction count limit is in force
country_limits_activebooleanCountry restrictions are in force
category_limits_activebooleanMerchant-category restrictions are in force
atm_withdrawal_allowedbooleanATM withdrawals are permitted
low_balance_notification_activebooleanLow-balance alerting is on
low_balance_notification_amountnumberThreshold that triggers the alert
segmentsarrayStandard cost allocation: Location, Project, Division, Department
custom_segmentsarrayCompany-defined cost allocation
issued_at, activated_at, terminated_at, created_atstringISO 8601 timestamps
Response schema from the OpenAPI document
FieldTypeDescription
status_codeinteger
successboolean
dataobject[]
idstring
card_nicknamestring
company_namestring
statusstring
card_typestring
masked_card_numberstring
account_external_idstring
account_typestring
card_currencystring
allowed_max_balancestring
float_management_enabledboolean
topup_typestring
card_replacedboolean
transaction_limits_activeboolean
purchase_limits_activeboolean
country_limits_activeboolean
category_limits_activeboolean
atm_withdrawal_allowedboolean
low_balance_notification_activeboolean
low_balance_notification_amountstring
terminated_atstring
activated_atstring
issued_atstring
created_atstring
cardholderobject
namestring
emailstring
employee_idstring
segmentsobject[]
idstring
namestring
labelstring
codestring
erp_internal_idstring
erp_codestring
custom_segmentsobject[]
idstring
namestring
labelstring
codestring
erp_internal_idstring
erp_codestring
metaobject
request_idstring
timestampstring
paginationobject
pageinteger
page_sizeinteger
total_pagesinteger
total_recordsinteger
has_nextboolean
has_previousboolean

Errors

400 (unrecognised account_type, last4 not four digits, inverted date range), 401, 403, 404.

  • 401Unauthorized - missing or invalid Bearer token

Every error carries an errors[] array and a meta.request_id. See Errors for the full envelope.

This request takes no parameters.

Response

Send the request to see the response.

Esc

Start here

IntroductionIntegration walkthroughAuthenticationConventions

Popular endpoints

POSTExchange code for tokens/oauth2/tokenGETGet company summary/public/v1/erp/company/summaryGETList bank accounts/public/v1/erp/bank_accountsGETList cards/public/v1/erp/cardsGETList chart of accounts/public/v1/erp/chart_of_accounts