Query Receiver
API used to query list of receivers.
EndPoint
POST /binancepay/openapi/profitsharing/v1/query-receiver
Request Parameters
Attributes | Type | Required | Limitation | Description |
---|---|---|---|---|
pageNum | int | Y | Pagination number. Starts from 1. | |
pageSize | int | Y | Pagination size, number of receivers in a page. |
Sample Request Parameter
{
"pageNum": 1,
"pageSize": 20
}
Response Parameters
Attributes | Type | Required | Limitation | Description |
---|---|---|---|---|
status | string | Y | "SUCCESS" or "FAIL" | status of the API request |
code | string | Y | - | request result code, refer to |
data | Response | N | - | response body, refer to |
errorMessage | string | N | maximum length 256 |
Child Attribute
Response
Attributes | Type | Required | Limitation | Description |
---|---|---|---|---|
accountList | List(String) | Y | List of accounts registered as receiver. | |
totalPageNum | int | Y | Total amount of pages | |
totalRecordNum | long | Y | Total amount of records | |
currentPageNum | int | Y | Current page number | |
currentPageSize | int | Y | Current page size |
Sample Response
{
"status": "SUCCESS",
"code": "000000",
"data": {
"accountList": [
"12345",
"67890"
],
"totalPageNum": 1,
"totalRecordNum": 2,
"currentPageNum": 1,
"currentPageSize": 20
}
}
{
"status": "FAIL",
"code": "400000",
"errorMessage": "An unknown error occurred while processing the request."
}