Query Authentication Record
API used to query and view all the authentication records.
*This API is only available for Technical Service Provider (TSP), for more information please contact us at: [email protected]
EndPoint
POST /binancepay/openapi/service/provider/record
Request Parameters
Attributes | Type | Required | Limitation | Description |
---|---|---|---|---|
page | int | Y | maximum length 32 | page |
rows | int | Y | max 10 | rows |
merchantId | string | N | merchant id |
Sample Request Body
{
"page":1,
"rows":10
}
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 | DataObject | N | - | response body, refer to |
errorMessage | string | N | maximum length 256 |
Child Attribute
DataObject
Attributes | Type | Required | Limitation | Description |
---|---|---|---|---|
total | long | Y | total record number | |
rows | List[RecordObject] | Y | record object list, refer to |
RecordObject
Attributes | Type | Required | Limitation | Description |
---|---|---|---|---|
authorizationId | String | Y | Authorization ID | |
merchantName | String | Y | Merchant's Name | |
authorizationToken | String | Y | Authorization Token | |
merchantId | String | Y | Merchant's ID | |
status | String | Y | Status | |
scopes | List | Y | Scopes | |
ipWhitelist | List | Y | IP Whitelist |
Sample Response
{
"status": "SUCCESS",
"code": "000000",
"data": {
"total": 2,
"rows": [
{
"authorizationId": "authId1",
"merchantName": "Merchant One",
"authorizationToken": "token1",
"merchantId": "merchant1",
"status": "PENDING",
"scopes": [
"CONVERT",
"CHECKOUT"
],
"ipWhitelist": [
"192.168.1.1",
"192.168.1.2"
]
},
{
"authorizationId": "authId2",
"merchantName": "Merchant Two",
"authorizationToken": "token2",
"merchantId": "merchant2",
"status": "AUTHORIZED",
"scopes": [
"CONVERT",
"CHECKOUT"
],
"ipWhitelist": [
"192.168.2.1",
"192.168.2.2"
]
}
]
}
}