Skip to content

Search API reference

Find an endpoint or a guide of the Sovgate API reference and jump straight to it.

Introduction

The Sovgate API: take payments, bill customers and follow your money from your own servers.

The Sovgate API lets your servers do what the Dashboard does: open checkout sessions, charge saved cards, refund payments, answer disputes, bill customers with invoices, subscriptions and usage, and follow your balance and payouts. It's organized around resources, uses ordinary HTTP methods and status codes, takes JSON bodies and answers in JSON.

Base URL
text
https://api.sovgate.com/v1

How it works

TopicHow it works
AuthenticationEvery request carries a secret or restricted key in the Authorization header. See Authentication.
Test and liveThe key decides the mode. A test key reaches test data only; a live key, live data only. See Test mode.
WritesEvery request that creates, changes or deletes something carries an Idempotency-Key, so a retry never does it twice. See Idempotency.
MoneyAmounts are whole numbers in the currency's smallest unit: 2500 with usd is $25.00. Payments are in US dollars.
TimesTimestamps are ISO 8601 in UTC, such as 2026-11-27T14:05:12Z.
IDsEach object's ID starts with its kind: pay_ for a payment, cust_ for a customer, evt_ for an event.
ListsEvery list is paged. See Pagination.
EventsSovgate tells your server what happened with webhooks. See Webhooks.

What the API never does

  • It never takes a card number. Cards are typed only on Sovgate's own payment pages, by your customers. A request with anything that looks like a card number, in any field, is refused.
  • It never manages keys or webhook endpoints. Creating, rolling and expiring keys, and adding, changing or deleting webhook endpoints, need a person signed in to the Dashboard. A key can read endpoints, never write them.
  • It never shows another business's data, or says whether a record exists in another mode.
  • It never composes objects. A payment carries its customer's ID: fetch the customer with a second call.

Some Dashboard features aren't in the API at launch: batch refunds, customer imports, reports, Fraud defense rules and lists, payouts on request, and the team and account settings. A publishable key calls nothing yet.

Where to start

For how to use the Dashboard itself, see the Sovgate docs.