Store a card
Store a card the customer already owns so the agents they choose can use it. Collect the card with Evervault’s Card UI component and send its ciphertext: a number or security code that is not Evervault ciphertext is refused with 400 INVALID_INPUT and never stored or logged.
Grid verifies the card with its issuer before storing it: the security code, billing address and name. A card the issuer does not confirm is refused with 400 STORED_CARD_VERIFICATION_FAILED. The security code is then discarded; Grid never stores it. The new card is shared with no agent: add one with PUT /customers/{customerId}/stored-cards/{storedCardId}/agents/{agentId}. Available where the platform enables stored cards, for individual customers.
Authorizations
API token authentication using format <api token id>:<api client secret>
Path Parameters
System-generated unique customer identifier
Body
A card collected with Evervault's Card UI component. number and cvc must be Evervault ciphertext (strings starting ev:); a request carrying a plaintext value is refused with 400 and the value is never stored or logged. The CVC is used once, to verify the card with its issuer, and then discarded.
The card number, encrypted by Evervault's Card component.
2048^ev:"ev:Tk9D:number:...$"
The card's security code, encrypted by Evervault's Card component. Used only for the verification at add time; never stored.
2048^ev:"ev:Tk9D:cvc:...$"
Last four digits of the number, as the Card component reports them.
4^[0-9]{4}$"0005"
Expiry month, 1 to 12.
1 <= x <= 128
Four-digit expiry year.
2000 <= x <= 21992029
The name on the card.
1 - 255"Jane Doe"
The card's billing address, checked against the issuer's records.
The customer's own label for the card.
64"Personal Visa"
Response
Card stored
A card the customer already owns, stored so their agents can use it. Grid holds the card number only as Evervault ciphertext: no Grid system stores, logs or returns the number itself.
Last four digits of the card number.
4^[0-9]{4}$"0005"
The card network, from the issuer's BIN data. Known values: VISA, MASTERCARD, AMERICAN_EXPRESS, DISCOVER, DINERS_CLUB, JCB, UNIONPAY, UNKNOWN. Treat an unrecognized value as UNKNOWN rather than an error.
32"VISA"
How the card is funded, from the issuer's BIN data. Known values: CREDIT, DEBIT, PREPAID, CHARGE, DEFERRED_DEBIT, UNKNOWN. Treat an unrecognized value as UNKNOWN rather than an error.
32"CREDIT"
Expiry month, 1 to 12.
1 <= x <= 128
Four-digit expiry year.
2000 <= x <= 21992029
System-generated unique identifier of the stored card.
64"StoredCard:019542f5-b3e7-1d02-0000-000000000077"
The customer who owns the card.
64"Customer:019542f5-b3e7-1d02-0000-000000000010"
ACTIVE, REMOVED The cardholder name, as the customer entered it. Empty once the card is REMOVED.
255"Jane Doe"
The agents the customer allowed to use this card. An agent also needs the USE_STORED_CARDS permission. Empty once the card is REMOVED.
10064When the card was stored.
"2026-11-06T15:00:00Z"
When the card was last changed.
"2026-11-06T15:00:00Z"
ISO 3166-1 alpha-2 country of the card's issuer, when the BIN data names one.
2"US"
The customer's own label for the card.
64"Personal Visa"
The card's billing address. Absent once the card is REMOVED.
Merchants where the customer chose to let an agent use the card without asking again, each up to an amount. Cleared for an agent when its access is removed. Empty once the card is REMOVED.
100When the customer removed the card. Present only once it is REMOVED.
"2026-11-07T09:30:00Z"