Skip to main content

Introduction

The API's represented here is a small subset of the API's that are actually available.

This document and related API's are for the consumption of B2B partners of CACHE. CACHE provides the tooling necessary for other businesses to own and operate their own asset backed business. Powered by Gramchain technology, this system provides sufficient transparency into the underlying assets.

Getting Started

Get started by requesting for an api token by writing into contact@cache.gold.

We will create the necessary Oauth2 client credentials for your servers to make authenticated calls to our system. Please note that access is subject to KYC and other approval mechanisms.

API flow

For a B2B client we have a simplified flow by which the business client can update the holdings of the end consumer. Every allocation is backed by allocated parcels, which the business client would pre buy.

Workflow

Steps:

  1. Authenticate with client credentials
  2. Call the get quotation endpoint
  3. With the response from step 2 internally request your customer to agree and collect payment.
  4. Once the customer has locked in the payment, you can call our holdings update api endpoint with the quotation id.
  5. For sellback, the process is similar but in step 2 instead of passing in a purchase parameter, the sellback parameters is used.

Notes

We do not make use of any queues to store the quotations created. So in case the quotation is lost. Please recreate a new quote.

The currency currently used is SGD, but we can configure this to most of the common currencies used.

Sample client

TODO

Alternative Solutions

Besides an API service we offer the following as well -

  1. Frontend clone, integrate vertically with SilverBullion's backend
  2. AWS account setup, create a complete clone of the application hosted by your own cloud provider