cURL
curl --request POST \ --url https://sandbox.groundtech.co/v2/wallets/{id}/withdrawals/{withdrawalId}/payouts/{payoutId}/cancel \ --header 'Authorization: Bearer <token>'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "status": "cancelled" }
Cancel an individual payout leg within a withdrawal.
API keys are prefixed ground_sandbox_ (sandbox) or ground_prod_ (production). Pass the key as a Bearer token in the Authorization header.
ground_sandbox_
ground_prod_
Portfolio wallet ID
Withdrawal ID
Payout leg ID
Payout leg cancelled
"cancelled"