Store Card in Vault
/dpm/cofre-gw-proxy/v1/cards__Store Card in Vault__<br><br>This endpoint securely stores a consumer’s card information in Getnet’s digital vault for future use. It allows the creation of a reusable card resource based on previously tokenized data, enabling seamless and secure transactions without requiring the card details again.<br><br>**Usage Scenarios:**<br>_- Tokenizing and saving card data for future payments.<br>- Enabling subscriptions or billing cycles without re-entering card information.<br>- Minimizing PCI scope by leveraging secure storage of sensitive data._<br><br>**Notes:**<br>_- This operation accepts either an open card number_ (`number`) _or a previously generated tokenized card number_ (`number_token`)_, typically obtained via the_ **/v1/tokens/card** _endpoint.<br>-The card data is stored securely, and sensitive fields like CVV are **never stored**.<br>- You may optionally skip card verification by using the_ `x-by-pass-parameters` _header._
Header Parameters
Condition to not validate whether the product vault is enabled parameters.
Body application/json
Open card number (PAN). Send `number` or `number_token`. Use `number` to store the card directly.
Tokenized card number, generated via the /v1/tokens/card endpoint. Send `number_token` or `number`.
Card Brand.
Buyer's name printed on the card.
Two-digit card expiration month.
Two-digit card expiration year.
Buyer identifier.
Identification of the buyer, such as CPF or ID. (without mask).
Performs a transaction that verifies that the card entered does not is cancelled, blocked or restricted.
Security code. CVV or CVC.
Number of the card's first transaction.
Response
Card identifier created successfully. Card saved in safe.
Card identifier saved in the safe, can be used to retrieve a valid number_token for future purchases, as well as can be used to remove saved cards.
Card token that will be used in transactions.
Invalid request.
Detailed error message.
Name of the module or system in which the error occurred.
HTTP status code of the error.
Error details.
Error details.
combinedId.
orderId.
sellerId.
Invalid authentication.
Detailed error message.
Name of the module or system in which the error occurred.
HTTP status code of the error.
Error details.
Error details.
combinedId.
orderId.
sellerId.
Safe product not enabled.
Detailed error message.
Name of the module or system in which the error occurred.
HTTP status code of the error.
Error details.
Error details.
combinedId.
orderId.
sellerId.
Not found.
Detailed error message.
Name of the module or system in which the error occurred.
HTTP status code of the error.
Error details.
Error details.
combinedId.
orderId.
sellerId.
Internal server or service error.
Detailed error message.
Name of the module or system in which the error occurred.
HTTP status code of the error.
Error details.
Error details.
combinedId.
orderId.
sellerId.