Skip to main content

Connecting to server-to-server APIs (fe. Sandbox)

Environments

We have three environments available for our partners.

  • Sandbox - this is shared environment, available as demonstration. You can get access before signing a deal with us - Contact Sales to get access.
  • Beta - This is environment you're going to use during integration with our services.
  • Production - This is live environment.

Authorization - create Your certificate

Our APIs are secured with Mutual TLS Authentication. You will need certificate signed by us in order to connect. To get a certificate please send us an Certificate Signing Request (CSR). We will sign it and return a valid certificate in a response.

CSR should have following structure:

For Sandbox

Example CSR generation command for Sandbox

Remember to replace parameters and file names with your own data.
Commas cannot be used in parameters.
Minimum key length is RSA 2048.

openssl req -new -newkey rsa:4096 -keyout companyName.key -out companyName.csr -nodes -subj '/C=US/ST=Florida/L=Miami/O=SomeCompany/OU=main/CN=V-SBX-companyName-applicationName/emailAddress=example@user.com'

Field Example value
Common Name (CN)

V-SBX-Companyname-ApplicationName


Company Name should be replaced with name of your company. First letter up case, all other letters lower case. No spaces and special characters.

Application Name should be replaced with name of application you're developing.

Organization (O) Name of your company.
Organizational Unit (OU) main - do not enter any other value.
Locality (L)
City where your organization is located.
State/County/Region (ST) State/County where your organization is located.
Country (C) Two-letter country code where organization is located (ISO 3166-1 alpha-2).
Email Address Email to be contacted in case of forced renewal.

For Beta/Production

You will need separate certificates for Beta and Production environments, however they can be generated in exactly the same way.

Field Example value
Common Name (CN)

V-Companyname-ApplicationName

 

Company Name should be replaced with name of your company. First letter up case, all other letters lower case. No spaces and special characters.

 

Application Name should be replaced with name of application you're developing.

 

Do not use different CNs for Beta & Prod

Organization (O) Name of your company.
Organizational Unit (OU) main - do not enter any other value.
Locality (L) City where your organization is located.
State/County/Region (ST) State/County where your organization is located.
Country (C) Two-letter country code where organization is located (ISO 3166-1 alpha-2).
Email Address Email to be contacted in case of forced renewal.
Example CSR generation command for Beta and Production

Remember to replace parameters and file names with your own data.
Commas cannot be used in parameters.
Minimum key length is RSA 2048.

openssl req -new -newkey rsa:4096 -keyout companyName.key -out companyName.csr -nodes -subj '/C=US/ST=Florida/L=Miami/O=SomeCompany/OU=main/CN=V-companyName-applicationName/emailAddress=example@user.com'