Payment Payer Verification
This API is used for Merchant/Partner to verify payer’s KYC information in their system with Binance’s before Create Order.
*This API is only available for whitelisted merchants. If you need any help, you can contact us: [email protected]
EndPoint
POST /binancepay/openapi/order/payer/verification
Request Parameters
Attributes | Type | Required | Limitation | Description |
---|---|---|---|---|
binanceId | string | Y | payer's binance id | |
payerType | string | Y | Enum value | payer type INDIVIDUAL: individual payer. CORPORATE: corporate payer. |
information | List | N | elements structure in list: Info | information to be verified |
Info
Attributes | Type | Required | Limitation | Description |
---|---|---|---|---|
category | string | Y | Enum value | For Individual: FIRST_NAME LAST_NAME DATE_OF_BIRTH NATIONALITY (2-letter country code)-optional DOCUMENT_TYPE-optional DOCUMENT_NUMBER-optional For corporate: COMPANY_NAME REGISTRATION_NUMBER REGISTRATION_COUNTRY (2-letter country code) |
value | string | Y | max length 1024 | value of information For DOCUMENT_TYPE, available values are: ID_CARD/PASSPORT/DRIVING_LICENSE/VISA/CPF/OTHER/BVN_NUMBER/NIN_NUMBER/PAN/BVN_NIN_NUMBER/SMILEID_NATIONAL_ID/ABN/ACN/UA_DIA For DATE_OF_BIRTH format: YYYY-MM-DD For NATIONALITY and REGISTRATION_COUNTRY value is based on 2-letter country code |
Sample Request Body
{
"binanceId":"354205155",
"payerType":"INDIVIDUAL",
"information":[
{
"category":"FIRST_NAME",
"value":"binance",
},
{
"category":"LAST_NAME",
"value":"pay",
},
{
"category":"DATE_OF_BIRTH",
"value":"1980-01-01",
}
]
}
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 | Boolean | N | - | true means matched, false means not matched |
errorMessage | string | N | maximum length 256 |
Sample Response
verify success
{
"status": "SUCCESS",
"code": "000000",
"data": true
}
account of userId not existed
{
"status": "FAIL",
"code": "400601",
"errorMessage": "account not found"
}
kyc is not completed in binance side
{
"status": "FAIL",
"code": "400722",
"errorMessage": "kyc not completed"
}
kyc info mismatch, for example FIRST_NAME
{
"status": "FAIL",
"code": "400102",
"errorMessage": "Parameter information.FIRST_NAME not valid, the value is out of range."
}
too many failed request
{
"status": "FAIL",
"code": "406108",
"errorMessage": "Fail rate is high, please try again later"
}
Result Code
Name | Code | Reason | Solution |
---|---|---|---|
UNKNOWN_ERROR | 400000 | An unknown error occurred while processing the request. | Try again later |
INVALID_REQUEST | 400001 | Parameter format is wrong or parameter transferring doesn't follow the rules. | Please check whether the parameters are correct. |
INVALID_SIGNATURE | 400002 | Incorrect signature result | Check whether the signature parameter and method comply with signature algorithm requirements. |
INVALID_TIMESTAMP | 400003 | Timestamp for this request is outside of the time window. | Sync server clock |
INVALID_API_KEY_OR_IP | 400004 | API identity key not found or invalid. | Check API identity key |
BAD_API_KEY_FMT | 400005 | API identity key format invalid. | Check API identity key. |
BAD_HTTP_METHOD | 400006 | Request method not supported. | Check Request method. |
MEDIA_TYPE_NOT_SUPPORTED | 400007 | Media type not supported. | Check Request Media type. |
INVALID_REQUEST_BODY | 400008 | Request body is not a valid json object. | Check Request body |
MANDATORY_PARAM_EMPTY_OR_MALFORMED | 400100 | A parameter was missing/empty/null, or malformed. | |
INVALID_PARAM_WRONG_LENGTH | 400101 | A parameter was not valid, was empty/null, or too long/short, or wrong format. | |
INVALID_PARAM_WRONG_VALUE | 400102 | A parameter was not valid, the value is out of range. | |
INVALID_PARAM_ILLEGAL_CHAR | 400103 | A parameter was not valid, contains illegal characters | |
MERCHANT_TRANSFER_MERCHANT_TYPE_INVALID | 406107 | Merchant type not valid not support individual merchant | |
MERCHANT_TRANSFER_MERCHANT_TOO_FREQUENT | 406108 | Fail rate is high, please try again later |