Approve or Decline Payout
Payouts
Approve or Decline Payout
Approve or decline a pending payout request using its authorization code.
POST
Approve or Decline Payout
Overview
This endpoint allows you to approve or decline a pending payout request. You must provide theauthCode from the pending approval record along with the desired action. A reason is required when declining.
Request
Method:POST
URL: /v1/payouts/approvals/approve
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
x-carbon-key | Header | string | Yes | API key for authentication. |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
authCode | string | Yes | Authorization code of the pending payout (e.g. TRF-...). |
action | string | Yes | Action to take: approve or decline. |
reason | string | Required if action is decline | Reason for declining the payout. |
When
action is decline, the reason field is required. For approve, it can be left as an empty string or omitted.Response
Status Code:200 OK
Content-Type: application/json
Example Response (Approved)
Example Response (Declined)
Error Responses
Status Code:400 Bad Request
422 Unprocessable Entity
Returned when action is decline but reason is missing.
Authorizations
Provide your API key in the 'apikey' header.
Headers
Body
application/json
Provide the required values for the request body.
Response
OK
The response is of type object.