# Refresh security code Request a refresh of the security code for the token. Endpoint: POST /api/pci/tokens/{id}/security-code Version: EAP Security: APIKey, AdminToken ## Path parameters: - `id` (string, required) The ID of the token to check. ## Header parameters: - `x-idempotency-key` (string) Optional idempotency key to prevent duplicate processing Example: "order_12345_retry_001" ## Response 200 fields (application/json): - `session_id` (string, required) ## Response 401 fields (application/json): - `code` (integer) The corresponding HTTP status code for the error - `classifier` (string) Technical code that helps to identify the error - `message` (string) Human readable representation of the error ## Response 403 fields (application/json): - `code` (integer) The corresponding HTTP status code for the error - `classifier` (string) Technical code that helps to identify the error - `message` (string) Human readable representation of the error ## Response 404 fields (application/json): - `code` (integer) The corresponding HTTP status code for the error - `classifier` (string) Technical code that helps to identify the error - `message` (string) Human readable representation of the error