Skip to end of metadata
Go to start of metadata

Authentication

CoinJar API uses HTTP Basic authentication over SSL. The Merchant UUID and secret are the only credentials required to access the entire account. 

Use SSL at all times! The checkout.coinjar.io endpoint does not accept plain HTTP requests.

You can obtain or revoke your Merchant UUID and Secret at the hidden URL https://checkout.coinjar.io/merchant/credentials. Please note that only one Merchant UUID and Secret can be enabled for one account.

Authenticating to CoinJar API is simple:

If everything goes right, you should receive a response like this:

 

Yay!

Sandbox

CoinJar has a Sandbox environment for testing purpose. Instead of using regular Bitcoin block chain, the Sandbox environment uses the testnet3 block chain and testnet3 coins. 

The Sandbox environment has a completely separate account system, so you need to sign up with CoinJar Sandbox and get the appropriate authentication token before using.

Internally, we use CoinJar Sandbox intensively for testing new features before they are released to the Production environment. The Sandbox infrastructure is an isolated and scaled-down version of the Production infrastructure.

This also means that the uptime of CoinJar Sandbox is not guaranteed and from time to time we may perform test migrations and maintenance drills on the infrastructure.

Using Sandbox API is easy as well. Simply replace the endpoint from checkout.coinjar.io to checkout.sandbox.coinjar.io/api, like this:

  • No labels