Skip to main content
POST
/
v2
/
wallets
/
{id}
/
withdrawals
/
{withdrawalId}
/
cancel
Cancel a withdrawal
curl --request POST \
  --url https://sandbox.groundtech.co/v2/wallets/{id}/withdrawals/{withdrawalId}/cancel \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "withdrawalRequestId": "<string>",
  "cancelRequestId": "<string>",
  "status": "cancelled",
  "reservation": {
    "bridgeDomainId": "<string>",
    "amountUsd": 123,
    "state": "<string>"
  },
  "rebalance": {
    "operationId": "<string>",
    "coalesced": true
  }
}

Authorizations

Authorization
string
header
required

API keys are prefixed ground_sandbox_ (sandbox) or ground_prod_ (production). Pass the key as a Bearer token in the Authorization header.

Path Parameters

id
string<uuid>
required

Portfolio wallet ID

withdrawalId
string<uuid>
required

Withdrawal ID

Body

application/json
requestId
string<uuid>
required

Client-generated idempotency key for the cancellation.

Response

Withdrawal cancelled

id
string<uuid>
withdrawalRequestId
string
cancelRequestId
string
status
string
Example:

"cancelled"

reservation
object
rebalance
object