Skip to main content
POST
/
api
/
v1
/
pending-operations
/
{pending_operation_id}
/
reject
Reject pending operation
import requests

url = "https://api.example.com/api/v1/pending-operations/{pending_operation_id}/reject"

payload = { "reason": "<string>" }
headers = {"Content-Type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
{
  "result": {
    "pending_operation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "status": "pending",
    "transaction_id": "<string>",
    "request_id": "<string>",
    "idempotent": false
  },
  "success": true,
  "suggestion": "",
  "message": "",
  "meta": {
    "total": 123,
    "offset": 123,
    "limit": 123,
    "has_more": true,
    "after": "<string>",
    "before": "<string>"
  }
}

Headers

X-API-Key
string | null

Path Parameters

pending_operation_id
string<uuid>
required

The unique identifier of the pending operation to reject. Obtain this ID from the List pending operations operation.

Body

application/json

Reject payload for pending operation.

reason
string | null

An optional reason for rejecting this operation. Max 500 characters.

Maximum string length: 500

Response

Successful Response

result
PendingOperationActionResult · object
required

Action response for approve/reject endpoints.

success
boolean
default:true
suggestion
string
default:""
message
string
default:""
meta
PaginationMeta · object

Pagination metadata for list responses.

Supports both legacy offset-based and cursor-based pagination. Cursor fields (has_more, after, before) are populated for cursor-paginated endpoints. Legacy fields (offset, limit) are populated when the caller uses the deprecated offset parameter.