Incremento de Créditos
API responsável por incrementar os limites de créditos de um usuário do varejo no billing.
Last updated
Was this helpful?
Was this helpful?
{
"title": "Unauthorized",
"status": 401,
"detail": "User auth error."
}{
"title": "Bad Request",
"status": 400,
"detail": "User \"USERNAME\" not found."
}{
"title": "Bad Request",
"status": 400,
"detail": "User type not in allowed types."
}curl -X POST \
http://url_billing/event-increment-limits \
-H 'Authorization: Bearer df496b06454204849ffe677ef96292085c209464' \
-H 'Content-Type: application/json' \
-H 'cache-control: no-cache' \
-d '{
"username": "12345678901",
"allowedTypes": ["normal"],
"credits": {
"days": 30,
"signature": 5,
"login": 5
}
}'