CoinJar API uses HTTP Basic authentication over SSL. The Merchant UUID and secret are the only credentials required to access the entire account.
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:
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.
Using Sandbox API is easy as well. Simply replace the endpoint from
checkout.sandbox.coinjar.io/api, like this: