Sell orders only. For custodial sell integrations. After your platform sends the crypto to the Banxa deposit address for a sell order (walletAddress and walletAddressTag from GET /{partner}/v2/orders/{orderId}), call this endpoint with the transaction hash. Banxa accepts the hash for validation and responds with 202 Accepted; track the order through webhooks or order lookup. See Custodial vs. non-custodial.
Address the crypto was sent from. Must match the walletAddress given when the sell order was created.
The Banxa deposit address the crypto was sent to (walletAddress from GET /{partner}/v2/orders/{orderId}).
- Mock serverhttps://docs.banxa.com/_mock/products/hosted-checkout/openapi/{partner}/v2/orders/{orderId}/confirm
- https://api.banxa.comhttps://api.banxa.com/{partner}/v2/orders/{orderId}/confirm
curl -i -X POST \
'https://docs.banxa.com/_mock/products/hosted-checkout/openapi/{partner}/v2/orders/{orderId}/confirm' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"transactionHash": "0x5ea06c4724e8119704a1b57c918acf31742eb06cdf3f8678fdb17f41bbaf968e",
"sourceAddress": "0xcbf80ee36fbf03307962576f338fc50b942e0591",
"targetAddress": "0x03EA4c7ED1d8199510017D88f2783Ef43ab5a4fd"
}'Response
{ "message": "This transaction hash has been accepted for validation." }