Skip to content

Search documentation

Find a page of the Sovgate documentation and jump straight to it.

Visit Sovgate.com

Sovgate Documentation

Step-by-step guides to take payments, bill your customers, get paid out and build your integration with Sovgate.

Common tasks

Browse by product

Developer resources

Try it in test mode

Nothing in test mode moves real money. Open a checkout session with your test key, then pay it with a test card.

Open a checkout session

bash
curl https://api.sovgate.com/v1/checkout/sessions \  -H "Authorization: Bearer $SOVGATE_SECRET_KEY" \  -H "Idempotency-Key: $(uuidgen)" \  -H "Content-Type: application/json" \  -d '{    "mode": "payment",    "line_items": [{      "quantity": 1,      "price_data": {        "currency": "usd",        "unit_amount": 2000,        "product_data": { "name": "T-shirt" }      }    }],    "success_url": "https://example.com/thanks"  }'

Pay with a test card

Any future expiry date, any security code
4242 4242 4242 4242   Visa, succeeds5555 5555 5555 4444   Mastercard, succeeds4000 0000 0000 0002   Visa, declined
More about testing