> ## Documentation Index
> Fetch the complete documentation index at: https://custodydocs-zh.chainup.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 提现回调

**Co-Signer**签名前回调客户系统确认提现是否正常。

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

#### 回调参数格式

| Param | 类型 | 是否必须 | 说明 |
| :- | :- | :- | :- |
| type | String | 是 | 回调类型，`sign_prepare`准备签名，`sign_start`签名开始，`sign_success`签名成功 |
| withdraw\_id | Integer | 是 | 交易ID |
| request\_id | String | 是 | 发起交易唯一标识 |
| pending\_round | Boolean | 是 | 加速状态，true是，false否（普通交易） |
| from | String | 是 | 交易出币地址 |
| to | String | 是 | 交易到账地址 |
| memo | String | 否 | 交易到账memo |
| amount | Decimal | 是 | 交易金额 |
| symbol | String | 是 | 交易币种唯一标识 |
| txid | String | 否 | 交易hash，签名成功返回txid |
| outputs | String | 否 | UTXO 往多个地址提现明细 ,JSON格式 |

```curl cURL theme={null}
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\"}]"
}'
```

#### 回调响应参数格式

返回字符串：

* `SUCCESS`表示成功: Co-Signer对交易进行签名；
* `FAILURE`表示失败: Co-Signer将忽略交易不进行签名。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.