Corporate cards
Open a business account online in about ten minutes, with no branch visit. Payroll runs on time, with tax and pension payments handled for you.
Overview
Send and receive money in more than 30 currencies at fair exchange rates. Issue virtual and physical cards to your team with limits you control. Your money is protected by bank-grade security and regulated partners.
Installation
Install the SDK with the package manager your project already uses. It needs Node 18 or newer.
$ npm install @tideen-hub/sdk$ yarn add @tideen-hub/sdk$ pnpm add @tideen-hub/sdkConfiguration
We keep things simple, so you can focus on what matters to you. Every detail is handled by people who care about getting it right. Create a file named tideen-hub.config.json in the project root:
{
"project": "tideen-hub",
"region": "us-east",
"categories": ["payments", "cards", "savings"],
"retries": 4,
"timeoutMs": 12000,
"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
Thousands of members already trust us, and we work hard to keep it that way.
- 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 "@tideen-hub/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_8446", "name": "FX transfer", "price": 102 }
],
"has_more": true
}Troubleshooting
Next steps
Accounting sync keeps your books up to date without manual exports.