存取款接口
开发中
POST
/funds/business
请求参数
Header 参数
Content-Type
string
必需
示例值:
application/json
Body 参数application/json
owner
string
必需
username
string
必需
password
string
必需
balance
integer
必需
currency
string
必需
示例
{
"to_account_id": 6,
"currency": "USD",
"from_account_id": 6,
"amount": 1
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/funds/business' \
--header 'Content-Type: application/json' \
--data-raw '{
"to_account_id":6,
"currency": "USD",
"from_account_id":6,
"amount": 1
}'
返回响应
🟢200成功
application/json
Body
account
object
必需
id
integer
必需
owner
string
必需
balance
integer
必需
currency
string
必需
created_at
string
必需
示例
{
"account": {
"id": 0,
"owner": "string",
"balance": 0,
"currency": "string",
"created_at": "string"
}
}
修改于 2024-11-17 05:39:02