QuickBooks: Payments cards schemas
4 QuickBooks schemas with complete fields and constraints.
← Payments cards operations · All schemas
Create a card — request body — body address
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: allowed |
city | string | Optional | The city name for the address. Maximum length: 30 |
country | string | Optional | The ISO-standard country code. Refer to the ISO Country Code List . Maximum length: 2 |
postalCode | string | Optional | The postal code for the address. For US and Canada, this is the zip code. Required if no region is provided. Maximum length: 10 |
region | string | Optional | Specifies the region within a country. This is the state, province, prefecture, or region name. For the US, this is the state name. For Canada, this is the province name. Required if no postal code is provided. Maximum length: 30 |
streetAddress | string | Optional | The full street adddress. This may include the house number and street name (CR acceptable). Maximum length: 30 |
Create a card — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: allowed |
address | Model | Optional | Expand Create a card — response body — address The cardholder's full address. |
cardType | string | Optional | The type of credit or debit card. Valid values: VISA MC AMEX DISC DINERS JCB Conditionally required |
commercialCardCode | string | Optional | A code that indicates if the card is a commercial or corporate card. This can be used to track specific business purchases. |
created | string | Optional | The time the object was originally created. In ISO 8601 date-time format. It appears as YYYY-MM-DDTHH:MM:SSZ . Read only: true |
default | JSON | Optional | Indicates if the credit or debit card is the default. When users set a default, the flag is true . This is the credit or debit card QuickBooks uses when another isn't specified. The flag defaults to false . When a credit or debit card flag is true, all other cards are automatically set to false. |
default (anyOf 1) | boolean | Alternative | |
default (anyOf 2) | string | Alternative | Known values: true, false |
expMonth | string | Optional | The card's two digit expiration month. |
expYear | string | Optional | The card's four digit expiration year. |
id | string | Optional | The unique identifier for the card object. Conditionally required |
isBusiness | JSON | Optional | This flag is set to true if the credit or debit card is a business card. |
isBusiness (anyOf 1) | boolean | Alternative | |
isBusiness (anyOf 2) | string | Alternative | Known values: true, false |
isLevel3Eligible | JSON | Optional | Flag set to true if the credit or debit card falls into the L3 eligible Bank Identification Number (BIN) range. |
isLevel3Eligible (anyOf 1) | boolean | Alternative | |
isLevel3Eligible (anyOf 2) | string | Alternative | Known values: true, false |
name | string | Optional | The name of the credit or debit card holder, as it appears on the card. |
number | string | Optional | The credit or debit card number. |
updated | string | Optional | The time the object was last updated. In ISO 8601 date-time format. It appears as YYYY-MM-DDTHH:MM:SSZ . Conditionally required Read only: true |
entityId | string | Optional | The ID of the entity the card is associated with. |
entityType | string | Optional | The entity or user type the card is associated with. Example values: Customer , Employee , Vendor or Company . |
zeroDollarVerification | Model | Optional | Expand Create a card — response body — zero Dollar Verification Stores card verification information. |
Referenced models: Create a card — response body — address, Create a card — response body — zero Dollar Verification
Create a card — response body — address
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: allowed |
city | string | Optional | The city name for the address. |
country | string | Optional | The ISO-standard country code. Refer to the ISO Country Code List . |
postalCode | string | Optional | The postal code for the address. For US and Canada, this is the zip code. Required if no region is provided. |
region | string | Optional | Specifies the region within a country. This is the state, province, prefecture, or region name. For the US, this is the state name. For Canada, this is the province name. Required if no postal code is provided. |
streetAddress | string | Optional | The full street adddress. This may include the house number and street name (CR acceptable). |
Create a card — response body — zero Dollar Verification
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: allowed |
status | string | Optional | Denotes the verification status of the credit or debit card. |
transactionId | string | Optional | The ID of the transaction (if returned) from the verification service. Read only: true |
type | string | Optional | Contains information about type of verification used to verify the creidt or debit card. It can be $0auth with card networks, or be an internal Intuit service Read only: true |