Documentation Index
Fetch the complete documentation index at: https://bancofcalifornia-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
POST URL
Add/Update Customer Record
| Variables | Description |
|---|
| customer_vault* | Add/Update a secure Customer Vault record. Values: ‘add_customer’ or ‘update_customer’ |
| customer_vault_id | Specifies a Customer Vault id. If not set, the payment gateway will randomly generate a Customer Vault id. |
| billing_id | Billing id to be assigned or updated. If none is provided, one will be created or the billing id with priority ‘1’ will be updated. |
| security_key* | API Security Key assigned to a merchant account. New keys can be generated from the merchant control panel in Settings > Security Keys |
| payment_token | The tokenized version of the customer’s card or check information. This will be generated by Collect.js and is usable only once. |
| applepay_payment_data | The encrypted token created by an integration directly to the Apple Pay SDK. |
| googlepay_payment_data | The encrypted token created by an integration directly to the Google Pay SDK. |
| ccnumber** | Credit card number. |
| ccexp** | Credit card expiration. Format: MMYY |
| cavv† | Cryptogram in decrypted Apple Pay or Google Pay data. Format: Base64 encoded |
| decrypted_applepay_data† | Flag to indicate ccnumber, ccexp, and cavv were extracted from Apple Pay data Value: 1 |
| decrypted_googlepay_data† | Flag to indicate ccnumber, ccexp, and cavv were extracted from Google Pay data Value: 1 |
| checkname*** | The name on the customer’s ACH account. |
| checkaba*** | The customer’s bank routing number. |
| checkaccount*** | The customer’s bank account number. |
| account_holder_type | The customer’s ACH account entity. Values: ‘personal’ or ‘business’ |
| account_type | The customer’s ACH account type. Values: ‘checking’ or ‘savings’ |
| sec_code | ACH standard entry class codes. Values: ‘PPD’, ‘WEB’, ‘TEL’, or ‘CCD’ |
| currency | Set transaction currency. |
| payment | Set payment type to ACH or credit card. Values: ‘creditcard’ or ‘check’ |
| orderid | Order id |
| order_description | Order Description Legacy variable includes: orderdescription |
| merchant_defined_field_# | Can be set up in merchant control panel under ‘Settings’->‘Merchant Defined Fields’. Format: merchant_defined_field_1=Value |
| first_name | Cardholder’s first name. Legacy variable includes: firstname |
| last_name | Cardholder’s last name. Legacy variable includes: lastname |
| address1 | Card billing address. |
| city | Card billing city |
| state | Card billing state. |
| zip | Card billing postal code. |
| country | Card billing country code. |
| phone | Billing phone number. |
| email | Billing email address. |
| company | Cardholder’s company. |
| address2 | Card billing address, line 2. |
| fax | Billing fax number. |
| shipping_id | Shipping entry id. If none is provided, one will be created or the billing id with priority ‘1’ will be updated. |
| shipping_firstname | Shipping first name. |
| shipping_lastname | Shipping last name. |
| shipping_company | Shipping company. |
| shipping_address1 | Shipping address. |
| shipping_address2 | Shipping address, line 2. |
| shipping_city | Shipping city |
| shipping_state | Shipping state. |
| shipping_zip | Shipping postal code. |
| shipping_country | Shipping country code. |
| shipping_phone | Shipping phone number. |
| shipping_fax | Shipping fax number. |
| shipping_email | Shipping email address. |
| source_transaction_id | Specifies a payment gateway transaction id in order to associate payment information with a Customer Vault record. |
| acu_enabled | If set to true, credit card will be evaluated and sent based upon Automatic Card Updater settings. If set to false, credit card will not be submitted for updates when Automatic Card Updater runs. Default: ‘true’ Values: ‘true’ or ‘false’ |
Field markers
* Always required
** Required for credit card transactions
*** Required for ACH transactions
† Required for Merchant-Decrypted Apple Pay or Google Pay data
Customer Vault initiated Sale/Auth/Credit/Offline
| Variable | Description |
|---|
| security_key* | API Security Key assigned to a merchant account. New keys can be generated from the merchant control panel in Settings > Security Keys |
| customer_vault_id* | Specifies a Customer Vault id. |
| amount | Total amount to be charged. For validate, the amount must be omitted or set to 0.00. Format: x.xx |
| currency | The transaction currency. Format: ISO 4217 |
| processor_id | If using Multiple MIDs, route to this processor (processor_id is obtained under Settings->Transaction Routing in the Control Panel). |
| descriptor | Set payment descriptor on supported processors. |
| descriptor_phone | Set payment descriptor phone on supported processors. |
| order_description | Order description. Legacy variable includes: orderdescription |
| orderid | Order ID |
| Stored Credentials (CIT/MIT) | |
| initiated_by | Who initiated the transaction. Values: ‘customer’ or ‘merchant’ |
| initial_transaction_id | Original payment gateway transaction id. |
| stored_credential_indicator | The indicator of the stored credential. Values: ‘stored’ or ‘used’ Use ‘stored’ when processing the initial transaction in which you are storing a customer’s payment details (customer credentials) in the Customer Vault or other third-party payment storage system. Use ‘used’ when processing a subsequent or follow-up transaction using the customer payment details (customer credentials) you have already stored to the Customer Vault or third-party payment storage method. |
Field markers
Delete Customer Record
| Variable | Description |
|---|
| customer_vault* | Deletes a secure Customer Vault record. Values: ‘delete_customer’ |
| customer_vault_id* | Specifies a Customer Vault id. |
| security_key* | API Security Key assigned to a merchant account. New keys can be generated from the merchant control panel in Settings > Security Keys |
Field markers
Notes:
- If you do not pass a customer_vault_id, our system will randomly generate one. If you include a customer_id and customer_vault_id, they must match.
- You can only pass Credit Card or Electronic Check transaction variables.