Co-Signer Callback
Transfer(Withdrawal) Callback
POST
/
{custom-url}
curl -X POST \
--url 'https://custom-url/example-callback' \
--data '{
"type":"sign_start",
"withdraw_id":321456,
"request_id":"c70d1eebb7c687ec8d56bead73f104",
"pending_round":false,
"from":"0xc70d1eebb7c687ec8d56bead73f104d41e6e0bda",
"to":"0x5EDc9177997Bf6B4db559A5C184051858B3B3704",
"memo": "123321",
"amount":167230.4978,
"symbol":"BTC"
}'
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
Param | Type | Requried | Description |
---|---|---|---|
type | String | Yes | Callback type, sign_start start signing,sign_success successfully signed. |
transfer_id | Integer | Yes | transfer id, example: 12345 |
request_id | String | Yes | The unique identifier for initiating transfer |
pending_round | Bool | Yes | Speed Up status, false means in transferring transaction , true means speeding up the transaction |
from | String | Yes | from account address |
to | String | Yes | to account address |
memo | String | No | to account address memo,example:123321 |
amount | Decimal | Yes | Transaction amount |
symbol | String | Yes | The unique identifier of the coin, example: USDTERC20 |
txid | String | No | Transaction hash. Returned when the signature is successful. |
curl -X POST \
--url 'https://custom-url/example-callback' \
--data '{
"type":"sign_start",
"withdraw_id":321456,
"request_id":"c70d1eebb7c687ec8d56bead73f104",
"pending_round":false,
"from":"0xc70d1eebb7c687ec8d56bead73f104d41e6e0bda",
"to":"0x5EDc9177997Bf6B4db559A5C184051858B3B3704",
"memo": "123321",
"amount":167230.4978,
"symbol":"BTC"
}'
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.
Was this page helpful?
curl -X POST \
--url 'https://custom-url/example-callback' \
--data '{
"type":"sign_start",
"withdraw_id":321456,
"request_id":"c70d1eebb7c687ec8d56bead73f104",
"pending_round":false,
"from":"0xc70d1eebb7c687ec8d56bead73f104d41e6e0bda",
"to":"0x5EDc9177997Bf6B4db559A5C184051858B3B3704",
"memo": "123321",
"amount":167230.4978,
"symbol":"BTC"
}'