Introduction to APIs
MPC Self-Custody
- Integration Guide
- API Interface
- Transaction Callback Notification
- Co-Signer
- Error Code
- SDK
Full Custody
- Access Guidelines
- Integration
- Getting Started
- SDK
- API List
- Overview
- Get Address
- Account Balance
- User Deposit
- User Withdrawal
- Internal Transfer
- Error Code
Custody WAPI
User Withdrawal
Synchronize Withdrawal Records
Batch access to withdrawal records after a specific transaction ID
Copy
curl -X GET \
--url 'https://openapi.keysecure.io/
api/v2/billing/syncWithdrawList?app_id=16a9f17fc2ad61ca4339fdd6a8a37f21&data=SWYYr-LBVAmaS0eq8n-CUT_nHkM3OBxyWOsImMTe41UaqAoYI2ZghmaphXHov-7hsRsVmOhyPqC-JFuRGvonJKFd2Jirxv6Vn_8V40r_MMYTkhqcviQbZWYW5xX8Ai8CIpqas9fIWVDIYA_NKBl0UCJpwGxscxLNpjq5Z8-BTyIYDsVBquM9zEQGBCfcA7szD9n2fN_loSkoexlwqV8wg9HIZO5yQ6utZ_Kt0lNDQQb8zn8BwfAvsEsbJlOINUAqhxh1vV_AJ4bXn2uYx8TaYcBht-n_ZcBdxIDt975dbOFUiH-oCzIuDi1oLDtb4EylfCvhU5E4ozel_lQ-6cyIG0Dqiiyx0RFFOCJzPSXIoV031pvoa8pTCpkWklh8mRw1rylBgeZtqSxpnJO2_u2RIlXq6Hs8Yly9CmhIXaSrUgPir0h6xVxlf4VC6PFVCkiiTlp0kZ_H_UbKm0nUis3v3U2sflWJ2C449waSrikhuxVrFAQ6PQmrFVCAE6MYXNrFXJQuam2HAIQNSGbFQjspw8b_bXyfyZMGZ3K2oBC4I_v3eETTdPe0pfSNJb-5g37K0tOAr_UFbWK8pkC8yl56fSjn8tcR3yCRWwoi8jxTcUBiswTtvXZtzgG4dyzkaHXjsZjSGiywXSqP76VZWlyOmAx6IDSViLcPLPISdU3ruCI'
Copy
{
"code":"0",
"data":[
{
"withdraw_fee":"0.4",
"symbol":"LTC",
"amount":"10",
"real_fee":"0",
"fee":"0",
"address_to":"LhFrA5ZJL15UdRV1uEfFxfdqWJUbBhXpRk1",
"created_at":1551429063000,
"txid":"",
"confirmations":0,
"address_from":"",
"uid":10739,
"withdraw_fee_symbol":"ETH",
"fee_symbol":"LTC",
"saas_status":0,
"updated_at":1551429063000,
"company_status":0,
"id":48393,
"request_id":"123",
"status":0
}
],
"msg":"success"
}
GET /api/v2/billing/syncWithdrawList
Decrypted Request Parameters
current timestamp
encoding format, no special case, pass parameter UTF-8
interface version number, no special case, pass parameter v2
Return 100 deposit record data greater than ID
Response Data Parameters
Request ID
Withdrawal ID
Withdrawal user ID
coin
Withdrawal amount
coin of withdrawal service deposit
Service fee for withdrawal
coin of miner fee
Miner fee
Creation time
Revision time
Source address
Arrival address
Blockchain transaction ID
Number of blockchain confirmations
Platform audit status: 0 not approved, 1 reviewed, 2 rejected
Merchant audit status: 0 not approved, 1 reviewed, 2 rejected
Withdrawal status: 0 under review by risk control, 1 in payment, 2 audit rejection, 4 failed, 5 success, 6 cancelled , 7 pending KYT verification, 8 pending manual review (KYT risk level too high). Details refer to
Copy
curl -X GET \
--url 'https://openapi.keysecure.io/
api/v2/billing/syncWithdrawList?app_id=16a9f17fc2ad61ca4339fdd6a8a37f21&data=SWYYr-LBVAmaS0eq8n-CUT_nHkM3OBxyWOsImMTe41UaqAoYI2ZghmaphXHov-7hsRsVmOhyPqC-JFuRGvonJKFd2Jirxv6Vn_8V40r_MMYTkhqcviQbZWYW5xX8Ai8CIpqas9fIWVDIYA_NKBl0UCJpwGxscxLNpjq5Z8-BTyIYDsVBquM9zEQGBCfcA7szD9n2fN_loSkoexlwqV8wg9HIZO5yQ6utZ_Kt0lNDQQb8zn8BwfAvsEsbJlOINUAqhxh1vV_AJ4bXn2uYx8TaYcBht-n_ZcBdxIDt975dbOFUiH-oCzIuDi1oLDtb4EylfCvhU5E4ozel_lQ-6cyIG0Dqiiyx0RFFOCJzPSXIoV031pvoa8pTCpkWklh8mRw1rylBgeZtqSxpnJO2_u2RIlXq6Hs8Yly9CmhIXaSrUgPir0h6xVxlf4VC6PFVCkiiTlp0kZ_H_UbKm0nUis3v3U2sflWJ2C449waSrikhuxVrFAQ6PQmrFVCAE6MYXNrFXJQuam2HAIQNSGbFQjspw8b_bXyfyZMGZ3K2oBC4I_v3eETTdPe0pfSNJb-5g37K0tOAr_UFbWK8pkC8yl56fSjn8tcR3yCRWwoi8jxTcUBiswTtvXZtzgG4dyzkaHXjsZjSGiywXSqP76VZWlyOmAx6IDSViLcPLPISdU3ruCI'
Copy
{
"code":"0",
"data":[
{
"withdraw_fee":"0.4",
"symbol":"LTC",
"amount":"10",
"real_fee":"0",
"fee":"0",
"address_to":"LhFrA5ZJL15UdRV1uEfFxfdqWJUbBhXpRk1",
"created_at":1551429063000,
"txid":"",
"confirmations":0,
"address_from":"",
"uid":10739,
"withdraw_fee_symbol":"ETH",
"fee_symbol":"LTC",
"saas_status":0,
"updated_at":1551429063000,
"company_status":0,
"id":48393,
"request_id":"123",
"status":0
}
],
"msg":"success"
}
Copy
curl -X GET \
--url 'https://openapi.keysecure.io/
api/v2/billing/syncWithdrawList?app_id=16a9f17fc2ad61ca4339fdd6a8a37f21&data=SWYYr-LBVAmaS0eq8n-CUT_nHkM3OBxyWOsImMTe41UaqAoYI2ZghmaphXHov-7hsRsVmOhyPqC-JFuRGvonJKFd2Jirxv6Vn_8V40r_MMYTkhqcviQbZWYW5xX8Ai8CIpqas9fIWVDIYA_NKBl0UCJpwGxscxLNpjq5Z8-BTyIYDsVBquM9zEQGBCfcA7szD9n2fN_loSkoexlwqV8wg9HIZO5yQ6utZ_Kt0lNDQQb8zn8BwfAvsEsbJlOINUAqhxh1vV_AJ4bXn2uYx8TaYcBht-n_ZcBdxIDt975dbOFUiH-oCzIuDi1oLDtb4EylfCvhU5E4ozel_lQ-6cyIG0Dqiiyx0RFFOCJzPSXIoV031pvoa8pTCpkWklh8mRw1rylBgeZtqSxpnJO2_u2RIlXq6Hs8Yly9CmhIXaSrUgPir0h6xVxlf4VC6PFVCkiiTlp0kZ_H_UbKm0nUis3v3U2sflWJ2C449waSrikhuxVrFAQ6PQmrFVCAE6MYXNrFXJQuam2HAIQNSGbFQjspw8b_bXyfyZMGZ3K2oBC4I_v3eETTdPe0pfSNJb-5g37K0tOAr_UFbWK8pkC8yl56fSjn8tcR3yCRWwoi8jxTcUBiswTtvXZtzgG4dyzkaHXjsZjSGiywXSqP76VZWlyOmAx6IDSViLcPLPISdU3ruCI'
Copy
{
"code":"0",
"data":[
{
"withdraw_fee":"0.4",
"symbol":"LTC",
"amount":"10",
"real_fee":"0",
"fee":"0",
"address_to":"LhFrA5ZJL15UdRV1uEfFxfdqWJUbBhXpRk1",
"created_at":1551429063000,
"txid":"",
"confirmations":0,
"address_from":"",
"uid":10739,
"withdraw_fee_symbol":"ETH",
"fee_symbol":"LTC",
"saas_status":0,
"updated_at":1551429063000,
"company_status":0,
"id":48393,
"request_id":"123",
"status":0
}
],
"msg":"success"
}
Assistant
Responses are generated using AI and may contain mistakes.