Set recharge limits
This endpoint sets the minimum and maximum recharge limits for agencies to perform recharges:
PUT https://[base_url]/v2/preloaded-balance/agencies/{agency_id}/limits
Query parameters
| PARAMETERS | TYPE | REQ. | DESCRIPTION |
|---|---|---|---|
| agency_id | Integer | Yes | The unique ID of the agency |
Body
Request using the POST method
{
"min_recharge_amount": 1000000,
"max_recharge_amount": 15000000
}
Body parameters
| PARAMETER | TYPE | REQUIRED | DESCRIPTION |
|---|---|---|---|
min_recharge_amount |
Float | Yes | The minimum recharge amount allowed for the agency. |
max_recharge_amount |
Float | Yes | The maximum recharge amount allowed for the agency. |
Endpoint response
{
"msg": "Montos mínimos y máximos de recarga de saldo configurados correctamente"
}