https://api.veriko.mx/v1/users/me/retry-policy Get default retry policy
How-to guide →Returns the retry policy configured for the authenticated user. This policy is applied to all validations that do not specify a retry_policy in the body of POST /v1/validate(-ocr).
curl -X GET 'https://api.veriko.mx/v1/users/me/retry-policy' \
-H 'Authorization: Bearer mxcep_••••'
Python example — coming soon.
JavaScript example — coming soon.
PHP example — coming soon.
| Field | Type | Description |
|---|---|---|
enabled | boolean | Enables or disables the retry cycle for this validation. If `false`, the other fields are ignored. |
max_retries | integer | Maximum number of automatic retries. Once reached, the cycle enters the `exhausted` terminal state. The upper bound depends on the plan (`retry_max_retries`) or the global default `max_retries_cap` (typically 5–10). |
interval_seconds | integer | Seconds to wait between each retry (300–86400, i.e., 5 minutes to 24 hours). |
outcomes | array (items: 1–?, unique items) | Validation outcomes that trigger a retry. By default the cycle activates on `not_found`, `cep_unavailable` and `error`; clients that do not want to retry Banxico HTTP 5xx errors can send `["not_found", "cep_unavailable"]`. |
| Status | Class | Description | Body |
|---|---|---|---|
| 200 | 2xx | User's default retry policy. | No body |
| 401 | 4xx | Authentication is required or the provided credentials are invalid. | ErrorResponse |
| Status | Code | Detail |
|---|---|---|
| 401 | unauthorized | Invalid or missing authentication credentials. Envelope
|