Get your test keys
Sign up and copy your test secret key from the dashboard. Test mode keeps its own keys and data, and moves no real money.
SOVGATE_SECRET_KEY=sov_sk_test_…
APIDevelopers
One API for every Sovgate product, with a test mode, keys you can limit, signed webhooks and a log of every request.
curl https://api.sovgate.com/v1/checkout/sessions \
-H "Authorization: Bearer $SOVGATE_SECRET_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-d mode=payment \
-d "line_items[0][quantity]=1" \
-d "line_items[0][price_data][currency]=usd" \
-d "line_items[0][price_data][unit_amount]=4200" \
-d "line_items[0][price_data][product_data][name]=Trail tent" \
--data-urlencode "success_url=https://shop.example.com/thanks"
{
"id": "cs_test_5b1e0c9a7d3f42e18a6c0b94",
"mode": "payment",
"url": "https://checkout.sovgate.com/…"
}
The same steps the dashboard's integration guide walks you through, ticked off as you go.
Sign up and copy your test secret key from the dashboard. Test mode keeps its own keys and data, and moves no real money.
SOVGATE_SECRET_KEY=sov_sk_test_…
From your server, create a session for what your customer is buying, then send them to the session's url to pay.
POST /v1/checkout/sessions
→ url: https://checkout.sovgate.com/…
Add a webhook endpoint for checkout.session.completed, and check each delivery's Sovgate-Signature header before you trust it.
checkout.session.completed
Sovgate-Signature: t=…,v1=…
Give a key None, Read or Write on each resource, limit it to your servers' addresses, and set when it expires.
Every delivery carries a Sovgate-Signature header, and a delivery your server misses is tried again.
Over 100 event types, each named for what changed and how, like invoice.paid.
See each request your integration makes for 13 months, with card numbers and secrets left out.
Build with your own test keys, test data and test cards before a real payment moves.
Send an Idempotency-Key with a request, and sending it again returns the same answer instead of doing it twice.