JavaScript / TypeScript
Install via npm and start building with full TypeScript support.
Kotlin
For JVM and Android applications. Available on Maven Central.
CLI
The Grid CLI lets you interact with the Grid API directly from your terminal — manage customers, send payments, create quotes, and test in sandbox without writing any code.Grid CLI
Open-source CLI built with Node.js and TypeScript.
Installation
Prerequisites: Node.js v20 or v22 is required.Configuration
Configure your credentials interactively:~/.grid-credentials.
Alternatively, set environment variables:
Commands
| Command | Description |
|---|---|
grid configure | Set up API credentials |
grid config get | View platform configuration |
grid customers list | List customers |
grid customers create | Create a customer |
grid accounts internal list | List internal accounts |
grid accounts external create | Create an external bank account or wallet |
grid quotes create | Create a payment quote |
grid quotes execute | Execute a pending quote |
grid transfers in | Transfer funds in (external to internal) |
grid transfers out | Transfer funds out (internal to external) |
grid transactions list | List transactions |
grid transactions get | Get transaction details |
grid receiver lookup-uma | Look up a UMA address |
grid sandbox fund | Fund a sandbox account |
grid sandbox send | Simulate sending funds to a JIT quote |
grid sandbox receive | Simulate receiving a UMA payment |
cust for customers, tx for transactions, acct for accounts.
Example: Send USDC to a Mexico Bank Account
All amounts are in the smallest currency unit (e.g., cents for USD, satoshis for BTC). Quotes expire in 1–5 minutes.