Quickstart
Sign up, create an organization, add a merchant, and onboard in minutes.
Quickstart
From a browser tab to an onboarded US merchant. No sales call, no engineer on our side. EU acquiring is partner-track, not this quickstart.
Sign up and create an organization
Go to app.sandbox.vortex.nyc, sign up, and create an organization. The dashboard issues a sandbox API key immediately — production keys follow account activation.
The key is shown once. Store it now:
export VORTEX_API_KEY="vp_test_..."Keys carry their environment: vp_test_ keys hit the sandbox, vp_live_ keys hit production. There is no environment switch to set — or to forget. See Sandbox & environments for why.
If you are wiring signup into your own product, POST /v1/signup (session auth) returns the new organization, its environment, and the plaintext key:
{
"organizationId": "org_...",
"environment": "sandbox",
"apiKey": "vp_test_..."
}Agents and integrators can also self-serve: POST /v1/signup accepts an unauthenticated body ({ "name": "...", "environment": "sandbox" }) and mints a vp_test_ key plus a claimUrl — no invite required. Anonymous signup is sandbox-only; environment: "production" is rejected, and production organizations are created from an authenticated account. Unclaimed sandbox keys expire when the claim window closes.
Install the SDK
pnpm add @vortex-api/vortexnpm install @vortex-api/vortexyarn add @vortex-api/vortexThe package is published to the public npm registry as @vortex-api/vortex. No .npmrc registry override. Python and Go SDKs are also available, and the SDK quickstart walks all three languages.
Run the CLI onboarding quickstart
The vortex CLI drives the full sandbox path without handcrafting REST calls. After you have an API key, run the one-shot merchant onboarding flow from the repo:
# In the repo root
pnpm cli quickstart onboarding \
--environment sandbox \
--display-name "My First Merchant" \
--signee-name "Avery Test" \
--signee-title "CEO"The quickstart creates a merchant account, patches the merchant profile, submits onboarding, signs any pending PCI compliance forms, and prints the merchant state. The final ok: true means payoutReadiness is ready and the merchant can accept payments.
Create your first merchant
Every charge belongs to a merchant account. Create one in the sandbox:
import {
createMerchantAccount,
createVortex,
} from "@vortex-api/vortex/2026-09";
const vortex = createVortex({ apiKey: process.env.VORTEX_API_KEY });
const { data, error } = await createMerchantAccount({
client: vortex,
body: {
environment: "sandbox",
externalMerchantRef: "my-first-merchant",
displayName: "My First Merchant",
legalEntityType: "CORPORATION",
merchantMode: "processing",
country: "USA",
defaultCurrency: "USD",
},
});
if (error) throw new Error(JSON.stringify(error));
console.log(data.data.id); // ma_...Or with curl:
curl "https://api.sandbox.vortex.nyc/v1/merchant-accounts" \
-X POST \
-H "Authorization: Bearer $VORTEX_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: create-merchant-1" \
-d '{
"environment": "sandbox",
"externalMerchantRef": "my-first-merchant",
"displayName": "My First Merchant",
"legalEntityType": "CORPORATION",
"merchantMode": "processing",
"country": "USA",
"defaultCurrency": "USD"
}'The response contains the merchant account id (ma_...). Keep it; the next step uses it.
Onboard the merchant
A merchant must complete onboarding before it can process or settle. Create a hosted onboarding link and send it to the merchant (or open it yourself in sandbox):
import {
createMerchantOnboardingLink,
createVortex,
} from "@vortex-api/vortex/2026-09";
const vortex = createVortex({ apiKey: process.env.VORTEX_API_KEY });
const merchantAccountId = "ma_...";
const { data, error } = await createMerchantOnboardingLink({
client: vortex,
path: { merchantAccountId },
body: {
environment: "sandbox",
},
});
if (error) throw new Error(JSON.stringify(error));
console.log(data.data.hostedMerchantOnboardingUrl);The hosted page shows the merchant the onboarding session, open requirements, and status. In sandbox the approval is usually fast. See Merchant onboarding for the full underwriting data model and requirement lifecycle.
Check onboarding status
Refresh the hosted onboarding page to see the session move from draft → submitted → under_review → approved. You can also watch the merchant account status in the dashboard.
When the session reaches approved, the merchant can process payments. If it lands on action_required, the page lists the open requirements; provide the requested documents or data and refresh.
Notes that save you an hour
- Amounts are integer minor units (cents). Never send floats.
- Mutating calls accept an
Idempotency-Keyheader — always send one. The generated SDK adds one automatically; in curl, set it yourself. See Idempotency. - The import path carries the API version (
@vortex-api/vortex/2026-09)..always aliases the newest dated surface; pinning the dated path makes upgrades a find-and-replace instead of an audit.