Skip to content

Confirm a transfer ​

Moves the money for a transfer you initiated.

POST /api/v1/transfer/confirm/{transfer}

transfer is the id from the initiate response. No body.

Example ​

bash
curl -X POST https://app.xash.co.zw/api/v1/transfer/confirm/00000000-0000-7000-8000-0000000000f1 \
  -H "Authorization: Bearer YOUR_SERVER_TOKEN"

Response 200 ​

json
{
  "success": true,
  "message": "Transfer completed successfully.",
  "data": {
    "name": "Transfer to Rudo Trading",
    "type": "transfer",
    "id": "00000000-0000-7000-8000-0000000000f2",
    "reference": "Float top-up",
    "balance": {
      "currency": "USD",
      "name": "US Dollar",
      "profit_on_hold": "0.230",
      "balance": "43.50"
    },
    "transaction_id": "00000000-0000-7000-8000-0000000000f2",
    "direction": "out",
    "recipient": "1098765432",
    "amount": "-2.5",
    "currency": "USD",
    "first_name": "Rudo Trading",
    "last_name": "Sample",
    "created_at": "2026-11-19T08:15:00.000000Z"
  }
}
FieldDescription
transaction_idThe wallet transaction. It appears in transaction history for both sides.
directionout for the sender. The recipient sees the same transaction as in in their history.
amountNegative for the sender.
balanceYour balance after the transfer.

A transfer can be confirmed once ​

Confirming deletes the pending transfer. A second confirm of the same id answers 404, and the money moves only once. So if a confirm times out, send it again: 404 then means the first one went through. Check transaction history to be sure.

Errors ​

StatusWhenmessage
400Your balance is now lower than the amount.You do not have enough balance to make this transaction.
422The amount is over a spending limit on your server tokens. No money moves and the pending transfer stays: you can confirm it again when the limit allows it.error_code is LIMIT_PER_TRANSACTION or LIMIT_DAILY.
404No pending transfer of yours has this id: it was already confirmed, or it belongs to another account.