Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.ecrypt.com/llms.txt

Use this file to discover all available pages before exploring further.

What Is a Customer?

A customer record in ECRYPT stores profile information and saved payment methods. Once created, a customer can be charged directly through the API without re-collecting card or bank account details. ECRYPT automatically generates a unique ID when a customer record is saved.

Customer Profile

Customer profiles are organized into four field groups:

Personal Information

FieldDescription
Customer nameFull name
Mailing addressMailing address
Email addressEmail address
Phone numberPhone number
Customer IDAuto-generated unique identifier

Credit Card Details

FieldDescription
Cardholder nameName on card
Credit card numberCard number
Expiration dateCard expiration date
Billing addressBilling street address
Billing zip codeBilling zip code

ACH Details

FieldDescription
AccountholderName on bank account
Account numberBank account number
Routing numberBank routing number
Billing addressBilling street address
Billing zip codeBilling zip code

Shipping Information

FieldDescription
Shipping addressShipping street address
CityCity
StateState
Zip codeZip code
CountryCountry
Phone numberShipping phone number

Merchant-Defined Fields

Merchant-defined fields are custom fields that can be added to customer records and displayed in checkout experiences. You can create up to 21 merchant-defined fields and choose from the following field types:
Field TypeDescription
Text BoxSimple text input for data like reference IDs, names, phone numbers, and similar values
DropdownA selection list allowing the customer or merchant to choose one option from multiple choices
Radio SelectA checkbox-style input for yes/no questions or multi-option selection
Merchant-defined fields are configured in your ECRYPT dashboard and returned alongside the customer profile in API responses.

Customer Wallet

Each customer profile includes a wallet that can hold up to 4 payment methods. Both credit card and ACH payment methods are supported. All card numbers and bank account numbers are tokenized and displayed as truncated values. ECRYPT does not store raw payment data after the initial tokenization, removing your responsibility for storing sensitive payment information.

Common Use Cases

Charge a Customer on File

Once a customer has a saved payment method, you can charge them by referencing their customer ID and wallet token — no need to re-collect payment details. Useful for repeat purchases, invoicing, and agent-assisted payments.

Subscriptions

Subscriptions are linked to a customer record and automatically charge a designated wallet payment method on a defined schedule. See Subscriptions.

Installment Plans

Installment plans split a total amount into scheduled charges against a customer’s wallet. Like subscriptions, they are tied to a customer record and run automatically. See Installment Plans.

Stored Card at Checkout

During an online checkout flow, returning customers can select a saved card from their wallet rather than re-entering payment details. This is supported through the Hosted iFrame and Checkout Page by passing a customer reference at load time.