Limits the maximum allowed value. If type is set to money, the currency is the report currency. cap only applies to approved transactions of type authorize or sale.
Security
SecretApiKey or JWT
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/gateway-accounts/{id}/limits/{limitId}
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/gateway-accounts/{id}/limits/{limitId}
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/gateway-accounts/{id}/limits/{limitId}
curl -i -X PUT \
'https://www.rebilly.com/_mock/catalog/all/gateway-accounts/{id}/limits/{limitId}' \
-H 'Content-Type: application/json' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE' \
-d '{
"cap": 1000
}'Example:"4f6cf35x-2c4y-483z-a0a9-158621f77a21"
Enum:"daily""monthly"
| Enum Value | Description |
|---|---|
| money | Limits the amount of money that a transaction can process on a gateway account. If |
| count |
Limits the maximum allowed value. If type is set to money, the currency is the report currency. cap only applies to approved transactions of type authorize or sale.
Example:1000
Response
{ "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21", "status": "monitoring", "startTime": "2019-08-24T14:15:22Z", "endTime": "2019-08-24T14:15:22Z", "frequency": "daily", "type": "money", "cap": 1000, "usage": 375, "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "_links": [ { … } ] }