Authentication

To make any requests for the services provided by FX as a Service, it is necessary to send the authentication token. See how below.

How to get the credentials?


After signing the contract, access credentials will be sent to your team. If you have not received your credentials, please contact us. The credentials are:

  • client_id
  • client_secret
  • x-token

❗️

x-token

This parameter must be sent in the header of all requests.

❗️

Token Expiration

The access token is valid for 60 minutes, after that it will be necessary to generate a new token to continue using the APIs. This expiration time is valid both for the Sandbox and Production Environments

How to authenticate?


To authenticate, you need to use the access credentials to communicate with this endpoint:

📍 1. Sandbox Auth URL

📍 2. Production Auth URL

After authenticating, you will receive a token that should be used for all further API requests.

Important information


  • All calls to the FXaaS APIs are encrypted, we do not accept requests using the HTTP protocol, only HTTPS.
  • The data communication format is JSON. Every request with a JSON payload must contain the header Content-Type: application/JSON.