Frequently Asked Questions
403 ERROR.
Exception Details:
Code
Solution: Please carefully check your request path is following document, for example:
Code
Error code "100001001".
Exception Details:
Code
Solution:
- Please check if you used GET, POST method should be used.
- Please check if you didn't put content-type: application/json in request header
- Please check if you didn't post body in request
Error code "400002"
Exception Details:
Code
Solution A
Please check if your sign logic is incorrect. You can test with below parameters:
Timestamp:
Code
Nonce:
Code
Notification body:
Code
The generated payload must be (there MUST be one new line at the end):
Code
API Secret Key:
Code
Signature Should be:
Code
Solution B
Please check if your json request body used ', should use "
Solution C
Please check if your code changed the request json body after signing. Some may reformat the json.
Solution D
Please check if you made the signature to upper case
Solution E
Please check the API Secret used. Ensure the API secret is generated from the merchant dashboard and saved immediately. A hashed API will be displayed after refresh, the hashed secret cannot be used.
Error code "400003"
Exception Details:
Code
Solution:
- Please check the request header field 'BinancePay-Timestamp', it should be UnixTimestamp in milliseconds, not in seconds.
- Please check if the request timestamp was within 1s to Binance Server.
Error code "400606"
Exception Details:
Code
400606 error typically occurs when there’s an issue with your merchant account or API keys used.
Solution:
- Check the API key and secret used are generated from the merchant dashboard and are saved immediately. As hashed keys will be displayed shortly, these hashed keys cannot be used.
- The necessary access for the API keys has been enabled, such as Process Payment.
- Check if there’s any outstanding action required from your end to activate your merchant account.
Error code “400004”
Exception Details:
Code
400004 error typically occurs when there’s an issue with the API keys used or on your whitelisted IP address.
Solution:
- Check the API key and secret used is generated from the merchant dashboard and saved immediately. As hashed keys will be displayed shortly, these hashed keys cannot be used.
- Please check if there’s any IP input in the "IP Access Restrictions" field on the merchant dashboard. Ensure that API call is from the IP input.
Webhook
Unable to verify signature
Failed to verify the signature in webhook notification
Solution A
Code
Order notification showing different BizId
Timestamp:
Code
Nonce:
Code
Notification body:
Code
The generated payload must be (there MUST be one new line at the end):
Code
Public key:
Code
Verification must be passed against this original signature in header:
Code
Solution B
If above testing is working fine, please check if you formatted the notification body and used the formatted body for signature check
Pay Order Webhook notification showing different BizIds.
This is a common error if you are using nodejs. What we sent over are actually the same BizIds, however there is a problem with nodejs parsing and processing large numbers, hence resulting in this error.
Solution A
Treating the whole body as string instead.
Solution B
Please turn off any body parser middleware if you are using it.
Solution C
Turn off any body parser middleware and treat the whole body as string.