# Reset CVV2 retry counter Reset card and wallet CVV2 try counter to zero. **Notes**: * This is a PCI endpoint, use the https://gw-pci.pismolabs.io/cards-tokenization environment. * This endpoint takes an account token - an access token encoded with a Pismo account ID # OpenAPI definition ```json { "openapi": "3.1.0", "info": { "title": "Card issuing - Tokenization", "description": "API endpoints for card tokenization.", "version": "1.0.0", "contact": { "name": "API Support", "url": "https://developers.pismo.io/support" }, "license": { "name": "Copyright Pismo" } }, "servers": [ { "url": "https://gw-pci.pismolabs.io/cards-tokenization", "description": "PCI API server for testing" }, { "url": "https://pci.pismolabs.io/cards-tokenization", "description": "Sandbox API server for testing" } ], "tags": [ { "name": "Card lifecycle", "description": "Card lifecycle endpoints" } ], "components": { "parameters": { "CardIDpath": { "name": "cardId", "in": "path", "schema": { "type": "string" }, "description": "Pismo card ID", "required": true }, "TenantHeader": { "name": "x-tenant", "in": "header", "schema": { "type": "string" }, "description": "Pismo organization/tenant ID", "required": true } }, "schemas": { "ErrorObject": { "type": "object", "description": "Standard error object", "properties": { "error_code": { "type": "string", "description": "Error code" }, "message": { "type": "string", "description": "Error message" } } }, "ResetCvv2TryCounterRequest": { "type": "object", "properties": { "wallet": { "type": "string", "description": "Wallet identifier:\n Google Pay - `216`\n Apple Pay - `103` \n Samsung Pay - `217`\n", "enum": [ "216", "103", "217" ], "example": "216" } } } }, "securitySchemes": { "BearerAuth": { "type": "http", "scheme": "bearer", "description": "Account token - token encoded with a Pismo account ID. Tokens can expire quickly, which can result in a \"**401 Unauthorized**\" error.", "bearerFormat": "JWT" } }, "responses": { "400BadRequestWithoutErrorCode": { "description": "Bad request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorObject" }, "examples": { "example-1": { "value": { "message": "Card profile can't be null" } } } } } }, "500InternalServerErrorWithoutErrorCode": { "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorObject" }, "examples": { "example-1": { "value": { "message": "Internal server error" } } } } } } } }, "security": [ { "BearerAuth": [] } ], "paths": { "/v1/cards/{cardId}/config/reset-cvv2-try-counter": { "patch": { "summary": "Reset CVV2 retry counter", "description": "Reset card and wallet CVV2 try counter to zero.\n\n**Notes**: \n * This is a PCI endpoint, use the https://gw-pci.pismolabs.io/cards-tokenization environment.\n * This endpoint takes an account token - an access token encoded with a Pismo account ID\n", "operationId": "patch-card-config-reset-cvv2-try-counter", "tags": [ "Card lifecycle" ], "x-internal": false, "parameters": [ { "$ref": "#/components/parameters/CardIDpath" }, { "$ref": "#/components/parameters/TenantHeader" } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResetCvv2TryCounterRequest" } } } }, "responses": { "204": { "description": "" }, "400": { "$ref": "#/components/responses/400BadRequestWithoutErrorCode" }, "500": { "$ref": "#/components/responses/500InternalServerErrorWithoutErrorCode" } } } } } } ```