Customer Vault feature enables you to offer your customers a seamless checkout experience. With this feature, customers can securely save their cards for future transactions, making repeat purchases faster and easier thereby improving conversion.
Merchants who are integrated to via Hosted Payment Page or Hosted Forms can enable
Customer Vault feature to store buyer's card information on
's secured and compliant infrastructure.
When your customers pay on the card form, they will have the option to save their card details. Saved cards will be available for future purchases with your shop, allowing customers to:
Select from their saved cards during checkout.
Remove cards at any time.
merchantCustomerId in your payment request:{
"customerInfo": {
"merchantCustomerId": "cus_1234567890abcdef",
"firstName": "Max",
"lastName": "Mustermann",
"email": "customer@example.com",
"phone": {
"countryCode": "+49",
"number": "1236547890"
}
}
} |
Once the feature is activated for your merchant profile and you have passed the merchantCustomerId in the request then the customers see an additional consent checkbox to saved their cards for future purchase. If the customer gives their consent, the customer data and the card details are saved in .

Returning customers (identified by the merchantCustomerId sent in the payment request) view all their saved cards to select from and pay faster.

For every saved customer stores a Customer object and payment method object for each card. One customer can have many payment method objects linked if the customer has stored multiple cards.
You can view and manage customer data via UI or programmatically via our REST API.
A new Customers section is available in the . Here you can:
View a list of all customers
View individual customer details
See all cards saved by each customer
Update customer details
Delete a customer (also deletes their payment methods)
Delete a specific payment method.
This gives you full control over customer and payment method records.
All customer and payment method management actions are also available via our REST API. This allows you to build your own UI or integrate the functionality into your systems.
Customers
GET /customers – Retrieve a list of customers.
GET /customers/{id} –Retrieve details of a specific customer.
PATCH /customers/{id} –Update customer details.
DELETE /customers/{id} –Delete a customer and all associated payment methods.
Payment methods
GET /customers/{id}/paymentMethods –List all payment methods for a customer.
GET /customers/{customerId}/paymentMethods/{paymentMethodId} –Retrieve details of a specific payment method.
DELETE /customers/{customerId}/paymentMethods/{paymentMethodId} –Delete a specific payment method.
Everytime a new customer or a payment method is added in during the payment processing, the information is sent to
urls.webhook submitted in the payment request and Customer Vault specific webhook notification endpoint configured for your merchant profile.
A new parameter vaultInteraction is sent to the urls.webhook once the payment is completed, informing you about customer's interaction with the Customer Vault on the card form.
Possible values:
| Value | Description |
|---|---|
| PAYMENT_METHOD_ADDED | When a new card is added for a new customer or an existing customer profile. |
| PAYMENT_METHOD_USED | When an existing saved card was used for payment. |
| NONE | Customer doesn't have a vault or an existing customer has paid with a new card but did not save it. |
The notification sent to Customer vault webhook notification endpoint is the exhaustive information about the payment method data saved in . The information sent is based on type of action the customer performed on the form.
Parameter description
|
Sample
|
This notification is sent when the customer is deleting the card from the payment form.
Parameter description
|
Sample
|