GETTING STARTED

APIs

GENERAL NOTES
DIFFERENT API's

PAYMENT API

LEGACY API

VERSION 2
VERSION 1
AUTHENTICATION
LEDGER CODES
RESOURCES

# LEGACY API VERSION 1

The legacy api allows users to perform more actions than simply creating payment-requests, but the authorization process is more intense and complicated for security purposes. Each message is signed using Eliptic Curve Cryptography and is verified before any actions are taken.

# AUTHENTICATION

The merchant must obtain an API key from the GloBee website by logging into their merchant account and clicking on “Merchant Tools” > ”API Keys”. A merchant can create multiple keys for use with different e­commerce stores or API functions. Once an API key has been created, GloBee will use this API key to authenticate your API connections.

The merchant’s API key must remain private and should never be visible on any client­facing code. Should it ever be compromised, the merchant can generate a new key in their GloBee account.

When connecting to GloBee, use HTTP Basic Authentication with the username as your API key and leave the password blank (the following page describes the HTTP Basic authentication protocol in detail http://www.ietf.org/rfc/rfc2617.txt ). You should also only communicate with the server if you can validate the GloBee.com SSL certificate with a certificate authority. Most HTTPS client libraries make this as simple as setting a switch. Taking both of these steps will ensure that you are always communicating with the GloBee server and that your API key will never be exposed. Please see the section, Instant Payment Notifications for more details regarding security for incoming requests from GloBee.

# LEDGER ENTRY CODES

Codes marked as deprecated may have been used in the past, but are no longer used for newly written ledger entries.


GloBee Code Name
1000 Invoice
1001 (deprecated) Fee
1002 (deprecated) Payment
1003 (deprecated) Other
1004 Fee Refund
1005 (deprecated) Deposit
1006 Exchange
1007 Exchange Fee
1008 Plan Charge
1009 Plan Prorated Credit
1010 Plan Underutilization Credit
1011 Payoff Negative Balance
1012 Donation
1013 (deprecated) Corrective
1014 (deprecated) Settlement Fee
1016 Custom
1017 Account Settlement
1018 Overpayment Credit Fee
1019 Overpayment Credit
1020 Invoice Refund
1021 Overpayment Credit Refund
1022 Corrective for Failed Account Settlement
1023 Invoice Fee
1024 Bitcoin Deposit
1025 Fiat Deposit
1026 Donation Fee
1027 Custom Fee
1030 Affiliate Commission
1031 Manual Affiliate Commission
1032 Merchant Card Deposit
1033 Custom Plan Charge
1034 Funding Payout Request
1035 Manually Funding Payout Request
1036 Custom Fee Reimbursement
1037 Custom Plan Charge Reimbursement
1038 Testnet Bitcoin Settlement
1039 Refund Fee
1040 Payout Fee