I get the 400 error code during the PAR
-
Ensure that the system time of the machine from which the requests are made is synchronized with NTP (Network Time Protocol). The system tolerates delays, that mean that the time can be in the past but not in the future: if the time is ahead (even by a few seconds), it will return an error.
-
Make sure that the information provided to the SDK (eg. username_merchant) matches what is provided on the backend side.
-
It is recommended to set the iat and exp parameters as follows:
- iat = unixTime
- exp = unixTime + 500
The maximum allowed expiry is 15 minutes, but 5 minutes is recommended.
- Be sure that the aud parameter includes the base URL with the protocol. it must be set as: STG: https://stgb2bsoftpos.nexigroup.com PROD: https://b2bsoftpos.nexigroup.com