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.
Customer Actions
Create a Customer
Creates a new customer profile. Once the customer is created and acustomer_id is returned, payment methods can be added to the customer’s wallet.
id — it is required for all subsequent customer and wallet operations.
Get a Customer
Retrieves a single customer record by ID.List Customers
Returns all active customers on your account in descending order by creation date. Results are paginated with a default page size of 100.| Parameter | Type | Description |
|---|---|---|
Page | integer | Page number to retrieve. Default: 1 |
Size | integer | Number of results per page. Default: 100, max: 100 |
Delete a Customer
Permanently deletes a customer record and all associated wallet payment methods.Wallet Actions
A customer wallet stores up to 4 payment methods. Payment methods are added to the wallet after the customer record is created using the customer’sid.
Add a Payment Method
Adds a credit card or ACH payment method to the customer’s wallet. A payment method can be added using either a token from the/v1/tokens endpoint or the transactionId from a previously approved transaction.
List Wallet Payment Methods
Returns all payment methods stored in the customer’s wallet.| Parameter | Type | Description |
|---|---|---|
Page | integer | Page number to retrieve. Default: 1 |
Size | integer | Number of results per page. Default: 100, max: 100 |
Get a Wallet Payment Method
Retrieves a single wallet payment method by ID.Set Default Payment Method
Sets a wallet payment method as the default. The default payment method is used when charging a customer without specifying a wallet ID.Delete a Wallet Payment Method
Removes a payment method from the wallet and invalidates its token.Next Steps
With your customer profiles and wallet payment methods in place, you’re ready to start charging customers on file.Charge Customer Wallet
Learn how to charge a customer’s default or saved payment method, including one-time payments, subscriptions, and installment billing.
Create Subscriptions and Installment Plans
Learn how to create ongoing subscriptions or break up large payments into installment plans with customer wallets.