Creates a single-use token that represents an updated CVC value that you can use for CVC re-collection. Use this token when you confirm a card payment or use a saved card on a PaymentIntent
with confirmation_
.
For most cases, use our JavaScript library instead of using the API. For a PaymentIntent
with confirmation_
, use our recommended payments integration without tokenizing the CVC value.
Parameters
- cvc_
updateobjectRequired The updated CVC value this token represents.
- cvc_update.
cvcstringRequired The CVC value, in string form.
Returns
Returns the created CVC update token if it’s successful. Otherwise, this call raises an error.
Response
{ "id": "cvctok_1NkWsu2eZvKYlo2CFDm6ab7X", "object": "token", "client_ip": null, "created": 1693334608, "livemode": false, "redaction": null, "type": "cvc_update", "used": false}