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
| Operation | Path | Description | Idempotency Key |
|---|---|---|---|
| Read | /api/v1/openapi/card/info | Returns card_holder_name and billing_address by default — no with_sensitive needed | — |
| Update cardholder name | /api/v1/openapi/card/holder_name/update | Change the platform's cardholder name | — |
| Generate billing address | /api/v1/openapi/card/billing_address/generate | Randomly generate one address in a given country — not saved | — |
| Save billing address | /api/v1/openapi/card/billing_address/update | Create 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).
| Item | Rule |
|---|---|
| Card types | Every 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 status | Only 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 effect | Synchronously: a success response means the value is saved, and subsequent /card/info, /cards/list and the App / Web show it immediately |
| Webhook | None. 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 |
| Frequency | No separate change limit; requests count toward the shared OpenAPI rate limit (600 per 60 seconds per (AppID, client IP)) |
| Idempotency | No 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 |
| History | Only the latest value is kept; there is no change-history endpoint |
Platform Record vs. Issuer Record
| Item | Platform record (read and changed by these endpoints) | Issuer record |
|---|---|---|
| Cardholder name | card_holder_name: set at apply time from first_name + last_name; can later be changed in the App / Web or with these endpoints | Whatever was submitted at apply time; cannot be changed after the card is opened, and the platform does not expose it |
| Billing address | billing_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_pheaders): when you sendbilling_addresson/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 casebilling_addressisnulland you can fill it withgenerate+update. - Cards opened with a
cardholder_id(Opening with a cardholder, v1.6):card_holder_namestarts as the cardholder'sfull_nameand can still be changed (this only changes the platform's record of that card).billing_addressis 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/updatereturnbilling_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'sbilling_addressis then generated as for a card opened without a cardholder (source=platform).
What to enter at checkout
- Name: we recommend the
first_name/last_nameyou submitted at apply time, and keeping those values in your own system — the platform does not return issuer-registered details: the sensitivefirst_name/last_nameon/card/infoare derived from the platform'scard_holder_name(see Get Card Info) and change whencard_holder_nameis edited. - Address: we recommend always using the platform billing address (
billing_addresson/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):
| Field | Type | Description |
|---|---|---|
card_holder_name | string | The 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_address | object | null | The platform's billing address for the card — see Billing address object; null when there is none |
Billing address object
| Field | Type | Description |
|---|---|---|
country | string | Country 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 |
state | string | State / province code (e.g. CA); may be an empty string |
state_full_name | string | State / province full name (e.g. California); may be an empty string |
city | string | City |
street | string | Street address (address line) |
zip_code | string | Postal code |
source | string | Source (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_at | string | Last time the address was saved (RFC 3339). Not present on the unsaved candidate returned by generate |
Update Cardholder Name
| Item | Value |
|---|---|
| Method | POST |
| Path | /api/v1/openapi/card/holder_name/update |
| Auth | HMAC |
| Idempotency Key | Not required |
Request Fields
| Field | Type | Required | Description |
|---|---|---|---|
card_id | string | ✅ | card_<id> format |
card_holder_name | string | ✅ | 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 |
{
"card_id": "card_12345",
"card_holder_name": "JOHN DOE"
}Response Fields
| Field | Type | Description |
|---|---|---|
card_id | string | Echoed |
card_holder_name | string | The value actually saved (whitespace-trimmed) |
{
"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.
| Item | Value |
|---|---|
| Method | POST |
| Path | /api/v1/openapi/card/billing_address/generate |
| Auth | HMAC |
| Idempotency Key | Not required |
Request Fields
| Field | Type | Required | Description |
|---|---|---|---|
card_id | string | ✅ | card_<id> format |
country_code | string | ✅ | 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 |
{
"card_id": "card_12345",
"country_code": "US"
}Response Fields
| Field | Type | Description |
|---|---|---|
card_id | string | Echoed |
saved | bool | Always false (preview only, not saved) |
billing_address | object | Billing address object without updated_at |
{
"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).
| Item | Value |
|---|---|
| Method | POST |
| Path | /api/v1/openapi/card/billing_address/update |
| Auth | HMAC |
| Idempotency Key | Not 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.
| Field | Type | Required | Description |
|---|---|---|---|
card_id | string | ✅ | card_<id> format |
country | string | ✅ | ISO 3166-1 alpha-2 country code, case-insensitive, saved in upper case |
state | string | — | State / province code, up to 100 characters. Omit for countries / regions without states or provinces |
state_full_name | string | — | State / province full name, up to 200 characters |
city | string | ✅ | City, up to 100 characters |
street | string | ✅ | Street address (address line), up to 500 characters |
zip_code | string | ✅ | Postal code, up to 20 characters |
{
"card_id": "card_12345",
"country": "US",
"state": "CA",
"state_full_name": "California",
"city": "Los Angeles",
"street": "1234 Sunset Blvd",
"zip_code": "90028"
}Response Fields
| Field | Type | Description |
|---|---|---|
card_id | string | Echoed |
saved | bool | Always true |
billing_address | object | The saved billing address object (with updated_at) — identical to what /card/info returns afterwards |
{
"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.
| HTTP | code | error_key | Endpoints | Description |
|---|---|---|---|---|
| 200 | 40001 | validation_failed | All | Request body could not be parsed (not JSON, or a field has the wrong type, e.g. a number for the name) |
| 200 | 40000 | openapi_invalid_card_id | All | card_id missing or malformed (expected card_ followed by digits) |
| 404 | 40400 | card_not_found | All | Card does not exist or is not owned by your account |
| 200 | 40000 | openapi_card_type_not_supported | All | Not an OpenAPI virtual card type |
| 200 | 40000 | card_holder_info_not_editable | All | The card is not status=2 (active) — see Rules |
| 200 | 40000 | card_holder_name_required | holder_name/update | card_holder_name missing or blank |
| 200 | 40000 | card_holder_name_length_exceeded | holder_name/update | Longer than 100 characters (the message includes the limit) |
| 200 | 40000 | card_holder_name_invalid_characters | holder_name/update | Contains control characters such as line breaks or tabs |
| 200 | 40000 | invalid_country_code | billing_address/* | country / country_code is not a two-letter ISO 3166-1 alpha-2 code |
| 200 | 40000 | billing_address_field_required | billing_address/* | A required field is missing or blank (the message names the field) |
| 200 | 40000 | billing_address_field_length_exceeded | billing_address/update | A field is too long (the message names the field and the limit) |
| 200 | 40000 | billing_address_field_invalid_characters | billing_address/update | A field contains control characters such as line breaks or tabs (the message names the field) |
| 200 | 40000 | billing_address_country_pool_empty | billing_address/generate | No address available for this country — choose another country, or submit your own address with update |
| 200 | 40000 | billing_address_managed_by_cardholder | billing_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 |
| 401 | 40100 | openapi_invalid_credentials | All | Authentication failed |
| 429 | 42900 | too_many_requests | All | Rate limited — wait for Retry-After |
| 200 | 50000 | openapi_update_card_holder_name_failed / openapi_generate_billing_address_failed / openapi_update_billing_address_failed | The matching endpoint | Unexpected 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).