OnyxClearing API

Programmable stablecoin-funded card issuing

Surface API: mag-issue ng cards, mag-manage ng top-ups, makinig sa webhooks, at mag-reconcile ng event ledgers via REST. SDKs para sa JavaScript, Python, at Go with full sandbox

Ang OnyxClearing public API at SDKs ay live in sandbox. Production keys issued after KYC/KYB. Sign up for access at we'll route you to a specialist within one business day

Get API access →
Quickstart

Mag-issue ng card sa 30 seconds

bash Quickstart
# Install the SDK
npm install @thiskard/sdk

# Authenticate
export THISKARD_API_KEY="sk_live_..."

# Issue your first card
thiskard cards:create --product vault-spend --type virtual --label "Meta campaign"
API reference

Core endpoints

REST API with idempotency keys, scoped API keys, at ledger reconciliation built in

POST /v1/cards

Issue a card

Create a virtual or physical card funded from a stablecoin balance. Idempotent via Idempotency-Key header.

bash Halimbawa
curl -X POST https://api.thiskard.com/v1/cards \
-H "Authorization: Bearer $API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"product":"ads","type":"virtual","label":"Meta campaign A"}'
POST /v1/topups

Top up a card

Fund a card from digital currency. Quote locks for 30s; settlement confirms on-chain.

bash Halimbawa
curl -X POST https://api.thiskard.com/v1/topups \
-H "Authorization: Bearer $API_KEY" \
-d '{"card_id":"card_abc","amount":500,"currency":"USDT"}'
GET /v1/cards/:id

Retrieve a card

Get card status, balance, limits, and recent transactions. PAN/CVV are never returned — use the reveal widget.

bash Halimbawa
curl https://api.thiskard.com/v1/cards/card_abc \
-H "Authorization: Bearer $API_KEY"
Webhooks

Event subscriptions

Signed webhooks with replay protection (timingSafeEqual) for every state change

card.issued Fired when a card is created and ready for funding.
topup.settled Fired when on-chain settlement confirms and the balance credits.
authorization.result Fired on every card authorization attempt (approved/declined) with BIN + decline-reason.
kyc.completed Fired when Sumsub returns a KYC/KYB decision.

Get sandbox access

Sandbox at production keys issued after KYC/KYB. Sign up at a specialist responds within one business day

Get API access →