AgencyAPI
  1. trade
AgencyAPI
  • OpenAPI 文档:签名方式说明
  • OpenAPI Documentation: Signature Method
  • Documentação OpenAPI: Método de Assinatura
  • account
    • Create Merchant
      POST
    • List Merchant
      POST
  • trade
    • List all wallet accounts
      POST
    • List merchant all wallet account
      POST
    • Create transaction number
      POST
    • Create withdrawal order
      POST
    • Create merchant withdrawal order
      POST
    • List bill
      POST
    • Query e2e
      POST
  • feature
    • Create preassign oss url
      POST
  • hook callback
    POST
  1. trade

Create withdrawal order

开发中
POST
/trade/v1/createWithdrawal

请求参数

Header 参数
X-Agency-ID
string 
必需
示例值:
91dfdbe8-995b-4402-8fc8-7e4f57de9d99
X-Timestamp
string 
必需
X-Signature
string 
必需
Body 参数application/json
amount
integer 
必需
currencyAccountId
string 
必需
note
string 
必需
receiveInfo
object 
必需
accountKind
string 
必需
bankNumber
string 
必需
ipsb
string 
必需
userName
string 
必需
transactionId
string 
必需
示例
{
    "currencyAccountId": "string",
    "amount": 0,
    "receiveInfo": {
        "ipsb": "string",
        "bankNumber": "string",
        "accountKind": "string",
        "userName": "string"
    },
    "note": "string",
    "transactionId": "string"
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/trade/v1/createWithdrawal' \
--header 'X-Agency-ID: 91dfdbe8-995b-4402-8fc8-7e4f57de9d99' \
--header 'X-Timestamp;' \
--header 'X-Signature;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "currencyAccountId": "string",
    "amount": 0,
    "receiveInfo": {
        "ipsb": "string",
        "bankNumber": "string",
        "accountKind": "string",
        "userName": "string"
    },
    "note": "string",
    "transactionId": "string"
}'

返回响应

🟢200成功
application/json
Body
object {0}
示例
{}
修改于 2025-06-11 07:25:49
上一页
Create transaction number
下一页
Create merchant withdrawal order
Built with