Skip to content

Cardholder Name & Billing Address ​

Since v1.5.1 you can read and change the platform's record of a card's cardholder name and billing address through the API. This is the same data the App / Web uses for "Edit cardholder" and "Billing address": a change made on either side is visible on the other immediately.

Platform record ≠ issuer record

  • These endpoints only change the platform's record. Nothing is sent to the issuer: the name / address registered with the issuer, and what the issuer, the card network or a merchant sees at checkout, do not change.
  • The cardholder details registered with the issuer are submitted once, when you apply for the card, and cannot be changed afterwards through any channel (API, App / Web or support). If a different issuer-registered name is needed, the only option is to apply for a new card with the new first_name / last_name.

Endpoints at a Glance ​

OperationPathDescriptionIdempotency Key
Read/api/v1/openapi/card/infoReturns card_holder_name and billing_address by default — no with_sensitive needed—
Update cardholder name/api/v1/openapi/card/holder_name/updateChange the platform's cardholder name—
Generate billing address/api/v1/openapi/card/billing_address/generateRandomly generate one address in a given country — not saved—
Save billing address/api/v1/openapi/card/billing_address/updateCreate the card's billing address, or replace it entirely—

"Generate → save" mirrors the two-step flow in the App / Web: call generate to get a candidate (you can show it to the end user to confirm or edit), then submit the fields — as returned or edited — to update. You can also skip generate and submit your own address.

Rules ​

These rules apply to the three change endpoints (holder_name/update, billing_address/generate, billing_address/update).

ItemRule
Card typesEvery OpenAPI virtual card type: virtual_l / virtual_p / virtual_v / virtual_r / virtual_g / virtual_a / virtual_s921. Other types return 40000 openapi_card_type_not_supported
Card statusOnly status=2 (active) cards can be changed. Pending / failed / closing / closed / frozen cards return 40000 card_holder_info_not_editable; a frozen card can be changed again once unfrozen. Reading (/card/info) works in every status
Cardholder billing address (v1.6.1)On a card whose billing_address.source is cardholder (opened with a cardholder who has a billing address) the billing address is read-only: billing_address/generate and billing_address/update return 40000 billing_address_managed_by_cardholder. The cardholder name is not affected and can still be changed
Takes effectSynchronously: a success response means the value is saved, and subsequent /card/info, /cards/list and the App / Web show it immediately
WebhookNone. You initiate the change, so the synchronous response is authoritative. Changes the end user makes in the App / Web do not emit a webhook either — read /card/info before displaying
FrequencyNo separate change limit; requests count toward the shared OpenAPI rate limit (600 per 60 seconds per (AppID, client IP))
IdempotencyNo Idempotency-Key needed: updates replace the whole value, so repeating the same request gives the same result; generate returns a random address every time and never saves
HistoryOnly the latest value is kept; there is no change-history endpoint

Platform Record vs. Issuer Record ​

ItemPlatform record (read and changed by these endpoints)Issuer record
Cardholder namecard_holder_name: set at apply time from first_name + last_name; can later be changed in the App / Web or with these endpointsWhatever was submitted at apply time; cannot be changed after the card is opened, and the platform does not expose it
Billing addressbilling_address: the billing_address you sent on /card/apply (v1.6.6) or, when you sent none, generated automatically at apply time; can later be regenerated or changed. For a card opened with a cardholder that has a billing address it is the cardholder's billing address and read-only (see below)Whatever was submitted at apply time; cannot be changed after the card is opened, and the platform does not expose it
  • Every OpenAPI virtual card type has a platform record that can be read and changed with these endpoints; changes only affect the platform's record and are not sent to the issuer.
  • Cards opened without a cardholder (since v1.6.8 new cards only on virtual_l / virtual_p headers): when you send billing_address on /card/apply (v1.6.6), the card is opened with that address and it is saved here (source=platform, editable). Otherwise the platform billing address is generated automatically at apply time in the country of the card header's issuing region (a random country if the region is not set or has no addresses). A generation failure does not block card opening; in that case billing_address is null and you can fill it with generate + update.
  • Cards opened with a cardholder_id (Opening with a cardholder, v1.6):
    • card_holder_name starts as the cardholder's full_name and can still be changed (this only changes the platform's record of that card).
    • billing_address is the cardholder's billing address at apply time (source=cardholder). The card is opened with that address, so it is read-only (since v1.6.1) — generate / update return billing_address_managed_by_cardholder. Changing the cardholder's billing address later does not change this record on cards already opened. Since v1.6.8 a cardholder may have no billing address when the header does not require one (see create cardholder); the card's billing_address is then generated as for a card opened without a cardholder (source=platform).

What to enter at checkout ​

  • Name: we recommend the first_name / last_name you submitted at apply time, and keeping those values in your own system — the platform does not return issuer-registered details: the sensitive first_name / last_name on /card/info are derived from the platform's card_holder_name (see Get Card Info) and change when card_holder_name is edited.
  • Address: we recommend always using the platform billing address (billing_address on /card/info), so the same card is always entered with the same address.
  • Whether a name or address is checked at checkout is up to the issuer and the merchant's acquirer. The platform cannot guarantee that a given name or address will be accepted by a particular merchant.

Read (/card/info) ​

/card/info returns, by default (no with_sensitive needed):

FieldTypeDescription
card_holder_namestringThe platform's cardholder name. Set at apply time to first_name + last_name joined by a space; may later be changed in the App / Web or with the endpoints on this page. Empty string when not set. Same source as card_holder_name on /cards/list
billing_addressobject | nullThe platform's billing address for the card — see Billing address object; null when there is none

Billing address object ​

FieldTypeDescription
countrystringCountry code, ISO 3166-1 alpha-2 (e.g. US). An address hand-edited in the App / Web may contain the end user's own text
statestringState / province code (e.g. CA); may be an empty string
state_full_namestringState / province full name (e.g. California); may be an empty string
citystringCity
streetstringStreet address (address line)
zip_codestringPostal code
sourcestringSource (v1.6.1): platform = the platform's own record, can be regenerated or changed (the candidate returned by generate is also platform); cardholder = the cardholder's billing address used when the card was opened with a cardholder, read-only — see Platform record vs. issuer record
updated_atstringLast time the address was saved (RFC 3339). Not present on the unsaved candidate returned by generate

Update Cardholder Name ​

ItemValue
MethodPOST
Path/api/v1/openapi/card/holder_name/update
AuthHMAC
Idempotency KeyNot required

Request Fields ​

FieldTypeRequiredDescription
card_idstring✅card_<id> format
card_holder_namestring✅The new cardholder name. 1–100 characters after trimming leading / trailing whitespace (counted in characters, not bytes); must not contain control characters such as line breaks or tabs. Any script is accepted — the value is not sent to the issuer, so the G card apply-time name rule does not apply
json
{
  "card_id": "card_12345",
  "card_holder_name": "JOHN DOE"
}

Response Fields ​

FieldTypeDescription
card_idstringEchoed
card_holder_namestringThe value actually saved (whitespace-trimmed)
json
{
  "code": 0,
  "message": "Success",
  "data": {
    "card_id": "card_12345",
    "card_holder_name": "JOHN DOE"
  }
}

Generate Billing Address ​

Randomly generates one address in the country given by country_code and returns it. Nothing is saved and the card's current billing address does not change; repeated calls may return different addresses.

ItemValue
MethodPOST
Path/api/v1/openapi/card/billing_address/generate
AuthHMAC
Idempotency KeyNot required

Request Fields ​

FieldTypeRequiredDescription
card_idstring✅card_<id> format
country_codestring✅ISO 3166-1 alpha-2 country code, case-insensitive (e.g. US, sg). To regenerate in the country of the card's current billing address, use billing_address.country from /card/info; to use the card's issuing region, use card_area_code from /card_headers/list. If the country has no address available, billing_address_country_pool_empty is returned — there is no fallback to another country
json
{
  "card_id": "card_12345",
  "country_code": "US"
}

Response Fields ​

FieldTypeDescription
card_idstringEchoed
savedboolAlways false (preview only, not saved)
billing_addressobjectBilling address object without updated_at
json
{
  "code": 0,
  "message": "Success",
  "data": {
    "card_id": "card_12345",
    "saved": false,
    "billing_address": {
      "country": "US",
      "state": "CA",
      "state_full_name": "California",
      "city": "Los Angeles",
      "street": "1234 Sunset Blvd",
      "zip_code": "90028",
      "source": "platform"
    }
  }
}

Save Billing Address ​

Saves the platform's billing address for the card: created if the card has none, otherwise replaced entirely (optional fields you omit are saved as empty strings — old values are not kept).

ItemValue
MethodPOST
Path/api/v1/openapi/card/billing_address/update
AuthHMAC
Idempotency KeyNot required

Request Fields ​

Every string is trimmed of leading / trailing whitespace before validation; lengths are counted in characters (not bytes); no field may contain control characters such as line breaks or tabs.

FieldTypeRequiredDescription
card_idstring✅card_<id> format
countrystring✅ISO 3166-1 alpha-2 country code, case-insensitive, saved in upper case
statestring—State / province code, up to 100 characters. Omit for countries / regions without states or provinces
state_full_namestring—State / province full name, up to 200 characters
citystring✅City, up to 100 characters
streetstring✅Street address (address line), up to 500 characters
zip_codestring✅Postal code, up to 20 characters
json
{
  "card_id": "card_12345",
  "country": "US",
  "state": "CA",
  "state_full_name": "California",
  "city": "Los Angeles",
  "street": "1234 Sunset Blvd",
  "zip_code": "90028"
}

Response Fields ​

FieldTypeDescription
card_idstringEchoed
savedboolAlways true
billing_addressobjectThe saved billing address object (with updated_at) — identical to what /card/info returns afterwards
json
{
  "code": 0,
  "message": "Success",
  "data": {
    "card_id": "card_12345",
    "saved": true,
    "billing_address": {
      "country": "US",
      "state": "CA",
      "state_full_name": "California",
      "city": "Los Angeles",
      "street": "1234 Sunset Blvd",
      "zip_code": "90028",
      "source": "platform",
      "updated_at": "2026-10-19T08:30:00Z"
    }
  }
}

Common Errors ​

Check code first (0 = success) — business errors are returned with HTTP 200 — then branch on error_key. For field-level errors the message names the field and the limit (localized by Accept-Language); the error_key stays the same.

HTTPcodeerror_keyEndpointsDescription
20040001validation_failedAllRequest body could not be parsed (not JSON, or a field has the wrong type, e.g. a number for the name)
20040000openapi_invalid_card_idAllcard_id missing or malformed (expected card_ followed by digits)
40440400card_not_foundAllCard does not exist or is not owned by your account
20040000openapi_card_type_not_supportedAllNot an OpenAPI virtual card type
20040000card_holder_info_not_editableAllThe card is not status=2 (active) — see Rules
20040000card_holder_name_requiredholder_name/updatecard_holder_name missing or blank
20040000card_holder_name_length_exceededholder_name/updateLonger than 100 characters (the message includes the limit)
20040000card_holder_name_invalid_charactersholder_name/updateContains control characters such as line breaks or tabs
20040000invalid_country_codebilling_address/*country / country_code is not a two-letter ISO 3166-1 alpha-2 code
20040000billing_address_field_requiredbilling_address/*A required field is missing or blank (the message names the field)
20040000billing_address_field_length_exceededbilling_address/updateA field is too long (the message names the field and the limit)
20040000billing_address_field_invalid_charactersbilling_address/updateA field contains control characters such as line breaks or tabs (the message names the field)
20040000billing_address_country_pool_emptybilling_address/generateNo address available for this country — choose another country, or submit your own address with update
20040000billing_address_managed_by_cardholderbilling_address/*The card's billing address is the cardholder's billing address from apply time (source=cardholder) and is read-only — see Platform record vs. issuer record
40140100openapi_invalid_credentialsAllAuthentication failed
42942900too_many_requestsAllRate limited — wait for Retry-After
20050000openapi_update_card_holder_name_failed / openapi_generate_billing_address_failed / openapi_update_billing_address_failedThe matching endpointUnexpected server error. Updates replace the whole value, so retrying is safe; read /card/info if you need to confirm the outcome

Validation order: card_id format → card ownership (404) → card type → request fields → card status → billing address source (billing_address/* only).

Released under MIT-equivalent terms.