PHP curl call from localhost return UNAUTHENTICATED_API_CALL

Thanks @manoj, I know for when you use localhost for certain complete, cancel and error urls in the parameters, you will have to use ngrok.

https://community.rapyd.net/t/complete-cancel-and-error-urls

However this may be an issue due to the signature request.

From the error response, this may be due to a couple things:

  1. All spaces and other whitespace outside of strings must be removed.
  2. Numbers should be sent in strings, not as integers/numbers.

Here are some resources that may help:

I would also take a look around your body and and how it may not be parsed correctly.