All Jupiter APIs implement basic authentication, the 'Authorization' header must be present in each request along with your own credentials as shown in the example below:
All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.
Sandbox environment can be reached from any IP on the internet, while production environment is only allowed to specific IPs.
|Env||URL||Source IP allowed||Source IP allowed|
For learning purposes, the public sandbox API key is shared with you below, but once your company signs in for any service, each developer is provided their own set of credentials for sandbox and production environments. Different levels of permissions can be set to grant key access and capabilities to each API (transactions, reporting, provisioning, etc)
TIP: API keys should not be shared or revealed in publicly accessible areas such as GitHub, client-side code, etc.
Public API key
The following key is made available to developers for immediate access. Keep in mind this is a public shared account used by many developers while testing or learning, therefore you'll find data generated by other developers, for this reason, we reset the environment every 24 hours. Once you feel comfortable with our API, don't hesitate to contact us to request your own account.
API Key: ZGVtb0FwaVVzZXI6ZGVtbzIwMTk=
Sandbox test data
Credit card tokens
|Credit card tokens||Hash|
Credit card brands
Cardholder name: any value Expireation date 12/25 CVV: 123
|Card Type||Card Number|
|Visa Debit 1||4462030000000000|
|Visa Debit 2||4917610000000000003|
|Visa Electron (UK only)||4917300800000000|
The Jupiter API is organized around REST. Our API has predictable resource-oriented URLs, accepts and returns JSON-encoded, and uses standard HTTP response codes, authentication, and verbs.
Jupiter uses conventional HTTP response codes to indicate the success or failure of an API request. In general: Codes in the 2xx range indicate success. Codes in the 4xx range indicate an error that failed given the information provided (e.g., a required parameter was omitted, a charge failed, etc.). Codes in the 5xx range indicate an error with Jupiter's servers (these are rare).
Some 4xx errors that could be handled programmatically (e.g., a card is declined) include an error code that briefly explains the error reported.