查询余额

2021-03-22 09:50:30


类型:

POST

URL:

https://api.payotc365.com/pay/inquire/wallet

请求参数


 

规范要求


 

curl -X POST https://api.payotc365.com/pay/inquire/wallet \
	-H 'Content-Type: application/json' \
	-H 'Accept: application/json' \
	-H 'Authorization: Basic <Your Basic Auth>'

 

示例 200 响应


 

{
	"status" : "success",
	"data" : {
		"totalAssets" : 0.000000,
		"coin" : "USDT"
	}
}

 

示例 412 响应


 

{
	"status" : "fail",
	"code" : 10000,
	"message" : "xxxxxxx"
}

这是一个错误的json返回,您可以根据错误 code 代码查找对应错误信息。错误代码参考表