Corporate cards
Invoices go out with a payment link, so customers can pay you in one click. Every payment appears instantly, with receipts matched automatically.
Overview
Accounting sync keeps your books up to date without manual exports. Friendly people answer your questions quickly, by phone, chat or email. Our team has done this many times, so you never have to guess.
Installation
Install the SDK with the package manager your project already uses. It needs Node 18 or newer.
$ npm install @quillium/sdk$ yarn add @quillium/sdk$ pnpm add @quillium/sdkConfiguration
Open a business account online in about ten minutes, with no branch visit. Issue virtual and physical cards to your team with limits you control. Create a file named quillium.config.json in the project root:
{
"project": "quillium",
"region": "ap-south",
"categories": ["payments", "cards", "savings"],
"retries": 4,
"timeoutMs": 6000,
"webhooks": { "enabled": true }
}| Option | Type | Default | Description |
|---|---|---|---|
project | string | - | Your project key from the dashboard. |
region | string | "us-east" | Data centre closest to your members. |
retries | number | 3 | How often a failed call is retried. |
timeoutMs | number | 10000 | Time before a request is cancelled. |
webhooks.enabled | boolean | false | Send events to your endpoint. |
Your first request
We keep things simple, so you can focus on what matters to you.
- Create an API keyOpen the dashboard, choose Settings › API keys and copy a new secret key.
- Store it safelyKeep the key in an environment variable, never in your source code.
- Make the callRun the snippet below; it prints the first page of results.
import { Client } from "@quillium/sdk";
const client = new Client({ apiKey: process.env.API_KEY });
// list the newest accounts in one category
const page = await client.accounts.list({ category: "payments", limit: 20 });
for (const item of page.data) {
console.log(item.name, item.price);
}API reference
Every endpoint returns JSON and uses standard HTTP status codes.
/v1/accountsList accounts with paging and filters./v1/accountsCreate a new account./v1/accounts/{id}Update some fields of a account./v1/accounts/{id}Archive a account; it can be restored for 30 days.{
"data": [
{ "id": "account_7235", "name": "Payroll module", "price": 238 }
],
"has_more": true
}Troubleshooting
Next steps
Your money is protected by bank-grade security and regulated partners.