RUBIES OPEN API

Introduction

RUBIES API uses API keys to authenticate requests. You can view and manage your API keys on the BAAS Dashboard. Test mode secret keys have the prefix sk_test_ and live mode secret keys have the prefix sk_live_. Alternatively, you can use restricted API keys for granular permissions.

API Keys

Your API keys carry many privileges, so be sure to keep them secure! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.

Errors

RUBIES uses conventional HTTP response codes to indicate the success or failure of an API request. In general: Code “00” indicates 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 RUBIES' servers (these are rare).

Response
Code
Message
Full Description
Retry/Wait/
Confirm Status
-1
Transaction
in Progress
Requery for the final transaction status to determine if transaction is successful or failed.
Requery
00
Success
Transaction Successful
Do not Retry
01
Invalid System Error
02
Existing Customer
Can not create new customer profile
03
Invalid Customer Account
04
Missing Charge Data
05
Error setting up profile
06
Unknown Customer
07
Profile does not exist
Can not update details
What’s Next ?
Fund Transfer