Developers
qashio.com

Get card by id

GET/public/v1/erp/cards/{cardId}
Bearer token

Retrieve one card with the actual values of every spend control applied to it.

Returns a single card. The payload is the list entry plus the full configuration behind each control flag: the spend limit amount and period, the allowed or blocked country list, the merchant categories and groups, the top-up and auto-top-up settings, and the ATM rules. Use it when you need to display or audit a card's controls rather than just know they exist.

Path parameters

cardIdstringrequired

the card identifier (CA…).

Response

One card object. All list fields, plus:

FieldTypeDescription
purchase_limitsobject{ enabled, amount, frequency, limit_currency, number_of_purchases }
country_limitsobject{ restriction_mode, allowed_countries, blocked_countries }
merchant_category_limitsobject{ restriction_type, categories, merchant_groups }: categories carry their MCC codes
topup_configurationobject{ auto_topup_enabled, auto_topup_amount, frequency }
auto_top_up_configurationobjectAuto top-up amount and trigger
atm_configurationobject{ atm_withdrawal_allowed, frequency, max_amount, number_of_withdrawals, limit_per_withdrawal }
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
auto_top_up_configurationstring
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
purchase_limitsobject
frequencystring
amountstring
limit_currencystring
enabledboolean
number_of_purchasesstring
country_limitsobject
restriction_modestring
allowed_countriesobject[]
blocked_countriesobject[]
merchant_category_limitsobject
restriction_typestring
categoriesobject[]
merchant_groupsobject[]
topup_configurationobject
auto_topup_enabledboolean
auto_topup_amountstring
frequencystring
atm_configurationobject
atm_withdrawal_allowedboolean
frequencystring
max_amountstring
number_of_withdrawalsstring
limit_per_withdrawalstring
metaobject
request_idstring
timestampstring
20 nested fields
data.country_limits.allowed_countries[].idstring
data.country_limits.allowed_countries[].namestring
data.country_limits.allowed_countries[].labelstring
data.country_limits.allowed_countries[].codestring
data.country_limits.allowed_countries[].erp_internal_idstring
data.country_limits.allowed_countries[].erp_codestring
data.country_limits.blocked_countries[].idstring
data.country_limits.blocked_countries[].namestring
data.country_limits.blocked_countries[].labelstring
data.country_limits.blocked_countries[].codestring
data.country_limits.blocked_countries[].erp_internal_idstring
data.country_limits.blocked_countries[].erp_codestring
data.merchant_category_limits.categories[].namestring
data.merchant_category_limits.categories[].mcc_codesstring[]
data.merchant_category_limits.merchant_groups[].idstring
data.merchant_category_limits.merchant_groups[].namestring
data.merchant_category_limits.merchant_groups[].labelstring
data.merchant_category_limits.merchant_groups[].codestring
data.merchant_category_limits.merchant_groups[].erp_internal_idstring
data.merchant_category_limits.merchant_groups[].erp_codestring

Errors

401, 403, 404.

  • 401Unauthorized - missing or invalid Bearer token
  • 404Not Found - the requested resource does not exist

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