If you are getting Whitelabel Error page, you should check for the following errors: -
You are using incorrect API packet
You have not replaced placeholders with the actual values
API curl is incorrect
Curl location has not been changed to ‘production’ instead of ‘staging’