v1

latestOpenAPI 3.0.02026-07-26103425558.9 KB
Transfer Approvals

Reject a transfer

Reject a pending transfer. This will cancel the transfer and return funds to the sender.

post/v2/transfer-approvals/{approvalId}/reject

Path parameters

approvalIdstring uuid required

ID of the transfer approval

Request body

reasonstring

Reason for rejecting the transfer

Example request

{
  "reason": "Transfer amount exceeds daily limit"
}

Response

Transfer rejected successfully

successboolean

Whether the operation was successful

messagestring

Human-readable message about the operation

approvalIdstring uuid

ID of the approval being processed

status'REJECTED'

Current status after rejection

reasonstring

Reason for rejection

timestampstring date-time

When the rejection was processed

Example response

{
  "success": true,
  "message": "Transfer rejected successfully",
  "approvalId": "approval-123-e89b-12d3-a456-426614174002",
  "status": "REJECTED",
  "reason": "Transfer amount exceeds daily limit",
  "timestamp": "2024-01-15T11:00:00.000Z"
}