Skip to content

Search API reference

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

Test mode

Build and test with test keys, test cards and test data that never touch live money.

Every business has two modes, and the key decides which one a request reaches. A test key, starting sov_sk_test_ or sov_rk_test_, reaches test data only. A live record read with a test key isn't found, and the other way round.

Test mode has its own records, keys, webhook endpoints and rate limits. Nothing in test mode reaches a card network or a bank.

Test cards

On a test checkout page, pay with:

Card numberBrandWhat happens
4242 4242 4242 4242VisaThe payment succeeds.
5555 5555 5555 4444MastercardThe payment succeeds.
4000 0000 0000 0002VisaThe card is declined.

Use any future expiry date, any three-digit security code and any name. A real card is refused in test mode, and a test card in live mode.

Test disputes

In test mode, write winning_evidence or losing_evidence in a dispute's uncategorized_text evidence, then submit it: the dispute is decided that way about a minute later.

Test payouts

Test payouts go to test bank accounts you pick in the Dashboard, each playing what a bank does with a payout: it arrives, or it's returned with a reason. No real money moves.

Webhooks

Test events go to test endpoints only. Add a test endpoint in the Dashboard and check your handler with its test event before you go live.