curl --request POST \
--url https://app.proxy-layer.com/api/v1/checkouts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"purchase": {
"productSlug": "isp",
"durationDays": 30,
"items": [
{
"countryCode": "US",
"quantity": 2
}
]
},
"paymentMethod": "stripe"
}
'{
"checkoutSessionId": "checkout_01JQ8D",
"paymentMethod": "stripe",
"status": "pending",
"currency": "USD",
"amountCents": 1000,
"paymentUrl": "https://checkout.stripe.com/c/pay/cs_test_example",
"expiresAt": "2026-01-15T13:00:00.000Z"
}Buy Proxies
Create Checkout
Starts a proxy purchase, renewal, or wallet top-up (balance-topup). stripe returns a hosted paymentUrl; crypto returns a deposit address, coin amount, and paymentUrl; balance returns the resulting order.
POST
/
api
/
v1
/
checkouts
curl --request POST \
--url https://app.proxy-layer.com/api/v1/checkouts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"purchase": {
"productSlug": "isp",
"durationDays": 30,
"items": [
{
"countryCode": "US",
"quantity": 2
}
]
},
"paymentMethod": "stripe"
}
'{
"checkoutSessionId": "checkout_01JQ8D",
"paymentMethod": "stripe",
"status": "pending",
"currency": "USD",
"amountCents": 1000,
"paymentUrl": "https://checkout.stripe.com/c/pay/cs_test_example",
"expiresAt": "2026-01-15T13:00:00.000Z"
}Authorizations
bearerAuthoauth2
Headers
Body
application/json
Purchase or top-up payload and paymentMethod (stripe, crypto, or balance).
Response
Checkout session with paymentUrl (stripe/crypto) or completed orderId (balance).