Skip to content

Search API reference

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

Visit Sovgate.com

Sovgate API Documentation

The reference for taking payments, billing customers and following your money from your own servers

Developer Resources

Core Payment Features

Financial Operations

Test the API

Open a test checkout session

bash
curl -X POST https://api.sovgate.com/v1/checkout/sessions \  -H "Authorization: Bearer sov_sk_test_your_key" \  -H "Idempotency-Key: 7d3c2f10-9b4e-4f8a-a1c2-5e6f7a8b9c0d" \  -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"  }'

Test card numbers

Visa (succeeds)
4242 4242 4242 4242
Mastercard (succeeds)
5555 5555 5555 4444
Visa (declined)
4000 0000 0000 0002