Trade stablecoins
from your code.
A clean REST API to quote and execute stablecoin trades, and to run aggregator remittance — stablecoin intake to GHS payout with settlement reports. Bearer keys, HMAC-signed money-out, idempotency on every write, and signed webhooks.
Quote, then execute.
Price a side off the live benchmark rate, then execute the quote before it expires. Amounts are integer minor units (pesewas / asset micro-units).
Start with a sk_test_ key on the sandbox; request live access when you're ready.
# 1 · price a buy of 5,000 GHS of USDT curl -X POST https://api.starpay.com/api/v1/trades/quote \ -H "Authorization: Bearer sk_test_..." \ -d '{"side":"buy","asset":"USDT","fiat_amount":500000}' # 2 · execute the quote (HMAC-signed + Idempotency-Key) curl -X POST https://api.starpay.com/api/v1/trades \ -H "Authorization: Bearer sk_test_..." \ -H "Idempotency-Key: 7f9a...d2" \ -d '{"quote_reference":"qt_...","delivery_address":"T..."}'
Everything, access-gated per business.
Trades API
Quote → execute buys and sells, list orders, track settlement. HMAC-signed execution, idempotent, with quote.* and trade.* webhooks.
Aggregator remittance API
Create deposit addresses, take stablecoin in, pay recipients out in GHS over MoMo/bank with rail name-enquiry, and pull settlement reports.
Idempotency
Every money-moving POST takes an Idempotency-Key; replays return the original.
HMAC signing
Money-out is signed over the request path with a 300s tolerance.
Webhooks
Signed, retried with backoff, verifiable in Python / Node / PHP.
Build against deterministic magic values.
A fully isolated sandbox drives success, failure and failover paths from documented test values — no real money, no live network. When you're ready, request live access and swap sk_test_ for sk_live_.
Ship your first trade.
Create an account, grab sandbox keys, and read the docs.