Authorize Invoice
Authorize a pending invoice by its unique identifier.
Endpoint
PUT /invoices/authorize/{id}
Authentication
Bearer Token (passed in the Authorization header)
Request Parameters
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The unique identifier of the invoice to authorize. |
Request Headers
| Header | Value | Required | Description |
|---|---|---|---|
Authorization | Bearer {token} | Yes | Bearer token for authentication. |
Content-Type | application/json | Yes | The content type of the request body. |
Example Request
curl -X PUT "https://api.example.com/invoices/authorize/{id}" \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json"
Request Schema
No request body is required for this endpoint.