Create a card

The Evervault API allows you to register your Cards-on-File for automatic updates with various Card Networks, such as Visa, Mastercard, and American Express. This ensures that your stored card details remain current, reducing transaction failures due to outdated card information. To register a Card for automatic updates, use the Cards API to onboard a Card.

In the first example below, we use Evervault's encryption to secure the Card's Personal Account Number (PAN). This approach is strongly recommended not only for added security and peace of mind but also to ensure compliance with PCI standards. PCI compliance is a critical factor in safeguarding cardholder data during transmission. Nevertheless, we do accept cleartext PANs.

On success, your card will be registered with the corresponding Card Network, and you can avail of automated updates for this card going forward (see Handling Card Updates). Card creation is idempotent on card number and expiry date. Multiple requests to the Create Card API containing the same request body will return the same Card object. This means that you can effectively use the ID of the Card object as a unique identifier for the Card.

Another primary benefit of leveraging the Cards API is is the automatic enrichment of card data. See the below response from the Cards API for the above payload:

Card Schemes Support

Evervault supports Card Account Updates for Visa, Mastercard and American Express cards.