POST
/
{custom-url}
curl -X POST \
--url 'https://custom-url/example-callback' \
--data '{
   "amount": "0.3",
  "from": "n2jRrmPLqmaDfcwsSEKfbx9bFs7FgZM2HY",
  "memo": "",
  "pending_round": false,
  "request_id": "c70d1eebb7c687ec8d56bead73f104",
  "symbol": "BTC",
  "to": "32BfKjhByDSxx3BM5vUkQ3NQq9csZR6nt8",
  "txid": "",
  "type": "sign_start",
  "withdraw_id": "",
  "outputs": "[{\"address_to\":\"32BfKjhByDSxx3BM5vUkQ3NQq9csZR6nt8 \",\"amount\":\"0.1\"},{\"address_to\":\"32BfKjhByDSxx3BM5vUkQ3NQq9csZR6nt7 \",\"amount\":\"0.1\"},{\"address_to\":\"0x5EDc9177997Bf6B4db559A5C184051858B3B3709\",\"amount\":\"0.1\"}]"
}'

Co-Signer calls back to the client system to confirm whether the withdrawal is normal before signing.

Content-Type application/json;charset=UTF-8

Callback Request Parameters

ParamTypeRequriedDescription
typeStringYesCallback type, sign_startstart signing,sign_successsuccessfully signed.
transfer_idIntegerYestransfer id, example: 12345
request_idStringYesThe unique identifier for initiating transfer
pending_roundBoolYesSpeed Up status, false means in transferring transaction , true means speeding up the transaction
fromStringYesfrom account address
toStringYesto account address
memoStringNoto account address memo,example:123321
amountDecimalYesTransaction amount
symbolStringYesThe unique identifier of the coin, example: USDTERC20
txidStringNoTransaction hash. Returned when the signature is successful.
outputsStringNoUTXO withdrawal details to multiple addresses,JSON format
curl -X POST \
--url 'https://custom-url/example-callback' \
--data '{
   "amount": "0.3",
  "from": "n2jRrmPLqmaDfcwsSEKfbx9bFs7FgZM2HY",
  "memo": "",
  "pending_round": false,
  "request_id": "c70d1eebb7c687ec8d56bead73f104",
  "symbol": "BTC",
  "to": "32BfKjhByDSxx3BM5vUkQ3NQq9csZR6nt8",
  "txid": "",
  "type": "sign_start",
  "withdraw_id": "",
  "outputs": "[{\"address_to\":\"32BfKjhByDSxx3BM5vUkQ3NQq9csZR6nt8 \",\"amount\":\"0.1\"},{\"address_to\":\"32BfKjhByDSxx3BM5vUkQ3NQq9csZR6nt7 \",\"amount\":\"0.1\"},{\"address_to\":\"0x5EDc9177997Bf6B4db559A5C184051858B3B3709\",\"amount\":\"0.1\"}]"
}'

Callback Response Parameters

Return string:

  • SUCCESS means SUCCESS: Co-Signer signs the transaction.
  • FAILURE means FAILURE: Co-Signer will ignore the transaction and not sign.