SmartGare
API referenceEndpoints

Reject a pending correction request

**Required permission:** `billing.correction:approve`

POST/billing/v1/correction-requests/{requestId}/rejection

Required permission: billing.correction:approve

AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

body*RejectCorrectionRequestRequest

Response Body

*/*

*/*

curl -X POST "https://example.com/billing/v1/correction-requests/{requestId}/rejection" \  -H "Content-Type: application/json" \  -d '{    "reason": "string"  }'
{  "reason": "string",  "rejected_at": "2019-08-24T14:15:22Z",  "rejected_by": "string",  "request_id": "string",  "status": "string"}