API referenceEndpoints
Reject a pending correction request
**Required permission:** `billing.correction:approve`
POST
/billing/v1/correction-requests/{requestId}/rejectionRequired permission: billing.correction:approve
Authorization
oauth2 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"}Approve a pending correction request
**Required permission:** `billing.correction:approve`
Read a departure's road sheet
BIL-054. The tickets sold and refunded on the departure, every fee and penalty of the stay that drove it with its approved corrections, no station share, and what is owed to the carrier, from billing's own records; what is not known yet is named pending, and no amount owed is given while anything is. **Required permission:** `billing.payout:read`