Vaults allow you to securely store customer payment information for future transactions without the need to re-enter payment details. This guide covers how to create and manage vaulted customers and their associated payment methods.
The vault system enables you to:
When you want to vault a customer’s payment information, include the vault parameter set to "Y" in your charge request. This will create a new vault entry and return a vault_holder_id that you can use for future transactions.
The response will include the vault_holder_id:
You can add additional payment methods to a preexisting vaulted customer by including the vault_holder_id in your charge request. This allows you to associate multiple payment methods with a single customer vault.
To add a new payment method without capturing funds, you can perform a $0 authorization by setting the amount to "0.00" and capture to "N":
This approach:
vault_id for the added payment methodOnce you have vaulted payment methods, you can process transactions using either:
vault_id for a specific payment methodvault_holder_id along with payment method detailsFor more information on implementing vault functionality, see the charge endpoint documentation.