Skip to content

Confirm Sell Order

Request

Once the coin amount transfer for a Sell Order has been executed, Banxa must be notified by sending a request to this endpoint with transaction hash, source and destination wallet address details.

Security
sec0
Headers
Acceptstring
Default:"application/json"
X-Request-Idstring

This is the correlation ID related to the request.

Bodyapplication/json
tx_hashstringrequired

Blockchain transaction hash of the order

source_addressstringrequired

The provided customer's source wallet address

source_address_tagstring

The customer's source wallet address tag if the provided source wallet address requires it

destination_addressstringrequired

The wallet address provided to merchants to transact to

destination_address_tagstring

The wallet address tag provided to merchants if the provided destination wallet address requires it

curl -i -X POST \
  'https://docs.banxa.com/_mock/products/legacy-api/openapi/api/orders/{order_id}/confirm' \
  -H 'Accept: application/json' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -H 'X-Request-Id: string' \
  -d '{
    "tx_hash": "string",
    "source_address": "string",
    "source_address_tag": "string",
    "destination_address": "string",
    "destination_address_tag": "string"
  }'

Responses

200

Bodyapplication/json
dataobject
Response
{ "data": { "order": { … } } }