[Merchant] Account Balance

Returns your merchant account balance in USD.

HTTP request

POST /market/open_api/request/?action=merchant.buy.account.info HTTP/1.1
Content-Type: application/json
Content-Length: 82
Host: localhost:8080

{
  "apiKey" : "ft8CxQvvOGxpXVJcMhgZ"
}

Table 1. Request fields

Path
Type
Description

apiKey

String

api key

HTTP response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 247

{
    "code": 0,
    "message": "SUCCESS",
    "data": {
        "userId": "186",
        "amount": "99.85"
    }
}

Table 2. Response fields

Path
Type
Description

message

String

Response Message.

code

Number

Response code.

data

Array

Actual data.

data.userId

String

account id

data.amount

String

account balance

Last updated