Rutter Link

Rutter Link Sandbox

The sandbox environment makes it easy to test out the Rutter Link authentication flow. Be sure you've read through our Rutter Link Overview to get an overview on how it works.

Note - The Rutter Sandbox environment currently supports the following platforms and endpoints:

Platforms
Amazon, Magento, Quickbooks, Shopify, Square, Stripe
Endpoints
GET /orders
GET /products
GET /customers
GET /transactions
GET /store
GET /payouts
GET /accounting/vendors
GET /accounting/balance_sheets
GET /accounting/income_statements
GET /accounting/cash_flow_statements
GET /accounting/company_info

To test Rutter Link, pass in your sandbox public_key which you can find on your Rutter Dashboard.

Instantiating your Link instance
const rutterInstance = Rutter.create({
  publicKey: "sandbox_pk_.....",
  onSuccess: function (publicToken) {
    // Send publicToken to your backend and exchange
    // https://docs.rutter.com/rest/version/tokens
    console.log("public token: " + publicToken)
  },
  onError: function (error) {
    console.error(error);
  }
})

// rutterInstance.open()
rutterInstance.open({ platform: "SHOPIFY" })

In the Rutter Link popup, select a platform (ex. Shopify) and enter the relevant store info. After that you'll be taken to a page that simulates the platform OAuth flow in production where a business logs in with their username and password. In this case, enter user_good and pass_good for username and password, respectively to authenticate successfully. You will then receive a public token that you can use to exchange for an access token and fetch data from that connection.