Filling in card details can be a tedious task for most users. To make this easier we offer the ability to vault a card with Gr4vy. When a card is vaulted we store (sometimes called "tokenize") the card with all your card payment services. Once this is done the card can be used in a transaction without having to request these details from the buyer again.
When using Gr4vy Embed we automatically take care of this for you and make it possible for a recurring customer to re-use a card they previously used in your app. The card is automatically vaulted and bound to the buyer ID or external ID provided.
A card can be stored in Gr4vy by calling the
POST /payment-methods API.
The call requires a
method, the card
security_code, and its
The API returns the details for the newly vaulted card.
Link to buyer
The API also accepts a
buyer_external_identifier which can be
used to associate a card to a previously created buyer.