Skip to main content

Sandbox testing guide

This guide helps you set Sandbox API keys smoothly and efficiently.

Purpose of the Sandbox API keys usage​

Sandbox API keys are necessary for testing and debugging the Fiat API.

How to get Sandbox API keys​

Contact your manager, who will send you the Sandbox API keys.

Sanbox API keys features​

Sandbox API keys offer additional features compared to Production ones.

The key differences between Sandbox and Production API keys are:

  • Creating test orders without real payment and redirects to real providers.
  • Redirecting to mock URLs.
  • Leading test orders and webhooks up to any status.
  • Simulating payment flow with Sandbox API methods.

The key similarities between Sandbox and Production API keys are:

  • Setting identical HTTP requests.
  • Returning real-time, actual data in almost all the methods.

Also, check additional differences of Sandbox API keys:

FeatureProduction API keysSandbox API keys
Data ConsistencyReturn real-time, actual data.Return the same actual data as Production for specific methods:
POST /v1/orders and POST /v1/sell/orders API methodsCreate a live order via a provider.Create a test order.
Redirect URLsRedirect to the provider’s site.Redirect to the sites:

How to transit from Sandbox to Production​

To transit from Sandbox to Production, replace the Sandbox API Keys with the Production ones.