Check balances

2021-03-23 15:34:40


Type:

POST

URL:

https://api.modenpay.io/pay/inquire/wallet

Request parameter


None

 

Example


 

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

 

Example 200 response


 

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

 

Example 412 response


 

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

This is an error json return, you can find the corresponding error information according to the error code code. Error code reference table