Skip to content

List Card Headers ​

Returns the virtual card headers your account can apply for. A "card header" is defined by BIN + brand + region + business scene.

Endpoint ​

ItemValue
MethodPOST
Path/api/v1/openapi/card_headers/list
AuthHMAC (4 signing headers)
IdempotencyNot required
Rate limit600 / min

Request Fields ​

FieldTypeRequiredDescription
pageintNoDefault 1
page_sizeintNoDefault 20, max 100
card_brandstringNoBrand code, e.g. VISA / MASTER
card_areastringNoRegion code, exact match against the card_area_code returned below (e.g. US) — not the localized card_area label
currencystringNoCurrency filter, e.g. USD

Don't send card_type

This endpoint only returns virtual card headers — card_type is not needed.

Listed = applicable (account-manager-controlled headers are filtered per account)

Some headers are handed over to account managers, who open them per customer. Such a header appears in this list only if your account is bound to an active account manager who has opened it for you (a per-account setting beats the manager-wide one); otherwise it is filtered server-side and not counted in total. Calling /card_configs/list, /card/first_deposit/preview or /card/apply with a header you cannot apply for returns a business error (HTTP 200, code 40000) with error_key account_manager_bind_required / account_manager_unavailable / account_manager_open_disabled. Do not reuse header IDs seen elsewhere — always take them from this endpoint.

Example Request ​

json
{
  "page": 1,
  "page_size": 20,
  "card_brand": "VISA",
  "card_area": "US"
}

Response Fields ​

Each item in data.list[]:

FieldTypeDescription
header_idstringhdr_<id> format (used in apply)
card_binstring6-digit BIN
card_typestringLowercase: virtual_l / virtual_p / virtual_v / virtual_r / virtual_g / virtual_a / virtual_s921 (informational only — not sent on apply)
card_brandstringBrand display name
card_areastringRegion display label, localized by Accept-Language — see Localized labels
business_scenestringBusiness-scene display label, localized the same way as card_area
card_area_codestringLanguage-independent region code (e.g. US). This is the value the card_area request filter matches. Empty if the platform has not configured it
business_scene_codestringLanguage-independent business-scene code (e.g. advertising). Empty if the platform has not configured it
descriptionobjecti18n: {"zh-CN": "...", "en-US": "..."}
featuresstring[]Feature tags (e.g. ["3DS", "EMV"])
require_phoneboolWhether phone / phone_code are required when applying (effective value, same rules the apply validation uses — see Integration tips). Only meaningful on headers with cardholder_required=false: when you apply with a cardholder, contact details come from the cardholder and the request's phone is ignored
require_emailboolWhether email is required when applying (effective value, same rules; always true for virtual_a, always false for virtual_s921)
kyc_requirementobjectPreview of the platform KYC requirement for opening cards on this header (card type + header merged); see kyc_requirement below. The authoritative value is the per-package kyc_requirement on the package list (full three-level merge)
cardholder_requiredbooltrue: /card/apply on this header must carry the cardholder_id of a cardholder approved for this card type (and, when the header requires it, who passed the header's identity verification). Details per header: Cardholder Requirement. Since v1.6.8 always true for virtual_v / virtual_r / virtual_g / virtual_a / virtual_s921 (issuance without a cardholder has ended); always false for virtual_l / virtual_p

data also contains pagination fields (total / page / page_size / total_pages / has_next / has_prev).

Localized labels ​

The platform maintains each header's region and business scene as a Chinese label plus an English value. card_area / business_scene are picked by the request language (Accept-Language, then X-Language, then ?lang=; English when none is sent):

Request languagecard_area / business_scene
zh-* (zh-CN, zh-HK, zh-TW …)The Chinese label — a single value returned as configured, without Simplified/Traditional conversion (falls back to the English value when no Chinese label is configured)
Any other languageThe English value configured by the platform (falls back to the Chinese label when no English value is configured)

card_area_code / business_scene_code always carry the English value, regardless of language. For a non-Chinese request card_area therefore equals card_area_code — unless the platform left the English value empty, in which case card_area shows the Chinese label and card_area_code is empty.

Use the *_code fields for programmatic logic, caching and the card_area filter; show card_area / business_scene to people.

kyc_requirement ​

FieldTypeDescription
require_kycboolWhether the end account must complete platform identity verification; when true and the account does not meet the requirement, /card/apply is rejected with error_key kyc_required (HTTP 200, code 40000)
kyc_typestringRequired verification type: personal / corporate
kyc_levelstringRequired verification level: l1 / l2 / l3

When require_kyc=false, kyc_type / kyc_level are reference defaults only — do not surface any verification requirement to users based on them.

Example Response ​

Request sent with Accept-Language: en-US (or without a language header):

json
{
  "code": 0,
  "message": "Success",
  "data": {
    "list": [
      {
        "header_id": "hdr_5",
        "card_bin": "424242",
        "card_type": "virtual_v",
        "card_brand": "VISA",
        "card_area": "US",
        "business_scene": "advertising",
        "description": {
          "zh-CN": "适合电商订阅",
          "en-US": "For e-commerce subscriptions"
        },
        "features": ["3DS", "EMV"],
        "require_phone": false,
        "require_email": true,
        "kyc_requirement": {
          "require_kyc": false,
          "kyc_type": "personal",
          "kyc_level": "l1"
        },
        "cardholder_required": true,
        "card_area_code": "US",
        "business_scene_code": "advertising"
      }
    ],
    "total": 12,
    "page": 1,
    "page_size": 20,
    "total_pages": 1,
    "has_next": false,
    "has_prev": false
  }
}

The same header requested with Accept-Language: zh-CN returns "card_area": "美国" and "business_scene": "广告", while card_area_code / business_scene_code stay "US" / "advertising".

Common Errors ​

HTTPcodeerror_keyDescription
20040001validation_failedRequest body cannot be parsed
40140100openapi_invalid_credentialsAuth failure
42942900too_many_requestsRate limited — back off per Retry-After
20050000openapi_list_card_headers_failedServer error — retry with backoff

Always check code first (0 = success) and branch on error_key; see Error Codes.

Integration Tips ​

  • Don't hardcode header_id. Always call this endpoint when integrating a new account.
  • Only headers returned here can be applied for. Account-manager-controlled headers appear once your account manager opens them for you and disappear if the permission is revoked, so refresh this list before applying rather than caching IDs long-term. If a header you expect is missing, ask your account manager to open it for your account.
  • Filter and branch on codes, display labels. Pass card_area_code values to the card_area filter and key your own logic on card_area_code / business_scene_code; the display labels change with Accept-Language.
  • The description i18n dict is server-rendered — no client-side translation needed.
  • require_phone / require_email determine whether you must include those fields when applying — on headers with cardholder_required=false only (since v1.6.8, virtual_l / virtual_p). On cardholder_required=true headers the name and contact details come from the cardholder and these request fields are ignored.
  • cardholder_required=true means the card can only be opened for a reviewed cardholder — register and submit the cardholder before applying (see the Cardholders guide). kyc_requirement is a different check: it concerns your account's platform identity verification, not the cardholder's.

Released under MIT-equivalent terms.