Overview
Once a customer has a payment method saved to their wallet, you can charge them through the standard transaction endpoints using thepayment.stored object. You can charge either the customer’s default
payment method or a specific wallet entry.
Charge the Default Payment Method
To charge a customer’s default payment method, pass the customerid in payment.stored.customer.
ECRYPT will automatically use whichever wallet entry is marked as default.
Charge a Specific Wallet Payment Method
To charge a specific payment method, pass the wallet entryid in payment.stored.wallet instead.
This is useful when a customer has multiple payment methods on file and you need to target a specific one.
initiatedBy
TheinitiatedBy field indicates who initiated the transaction. This is required for stored
payment method transactions and affects how the transaction is processed at the network level.
Authorize and Capture
If you need to place a hold before capturing, use the authorize endpoint instead of sale. The samepayment.stored object applies.
Transaction Response
A successful charge returns a transaction ID, approval code, and the amount processed.Recurring Payments
Customer wallets are also the foundation for automated recurring billing. ECRYPT supports two models — subscriptions for ongoing recurring charges, and installment plans for splitting a fixed amount into scheduled payments.Subscriptions
Automatically charge a customer’s wallet on a recurring schedule — daily, weekly, monthly, and more.
Installment Plans
Split a total amount into a defined number of scheduled charges against a customer’s wallet.