PUT
/api/v2/admin/vouchers/settingsPUT /api/v2/admin/vouchers/settings
Authentication
Send your API key in the x-api-key header on every request.
Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| companyId (query) | unknown | No | |
| Idempotency-Key (header) | string | No |
Request body
application/json
| Field | Type | Required | Description |
|---|---|---|---|
| Enabled | boolean | No | |
| ShutdownMode | string | No | |
| LowBalanceWarningPercentage | unknown | No | |
| VerificationTtlMinutes | unknown | No | |
| DefaultRequiresApproval | boolean | No | |
| DailyReportRecipients | array of string | No | |
| MaximumBatchSize | unknown | No | |
| MaximumImportRows | unknown | No | |
| MaximumMassAssignmentSize | unknown | No |
Responses
200 — OK
| Field | Type | Required | Description |
|---|---|---|---|
| GlobalEnabled | boolean | Yes | |
| CompanyEnabled | boolean | Yes | |
| InterlaceEnabled | boolean | Yes | |
| EffectiveEnabled | boolean | Yes | |
| ShutdownMode | string | Yes | |
| LowBalanceWarningPercentage | unknown | Yes | |
| VerificationTtlMinutes | unknown | Yes | |
| DefaultRequiresApproval | boolean | Yes | |
| DailyReportRecipients | array of string | Yes | |
| MaximumBatchSize | unknown | Yes | |
| MaximumImportRows | unknown | Yes | |
| MaximumMassAssignmentSize | unknown | Yes |
Example request
curl -X PUT "https://{base_url}/api/v2/admin/vouchers/settings" \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'This page is generated from the live OpenAPI specification and always matches the current API.