Dokploy

Stripe

GET
/stripe.getProducts

Stripe get Products

/stripe.getProducts

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

curl -X GET "http://your-dokploy-instance.com/api/stripe.getProducts" \
  -H "Authorization: Bearer <token>"

Successful response

POST
/stripe.createCheckoutSession

Stripe create Checkout Session

/stripe.createCheckoutSession

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

application/jsonRequired

productId
Required
string

serverQuantity
Required
number

Minimum: 1

isAnnual
Required
boolean

curl -X POST "http://your-dokploy-instance.com/api/stripe.createCheckoutSession" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "productId": "string",
    "serverQuantity": 1,
    "isAnnual": true
  }'

Successful response

POST
/stripe.createCustomerPortalSession

Stripe create Customer Portal Session

/stripe.createCustomerPortalSession

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

curl -X POST "http://your-dokploy-instance.com/api/stripe.createCustomerPortalSession" \
  -H "Authorization: Bearer <token>"

Successful response

GET
/stripe.canCreateMoreServers

Stripe can Create More Servers

/stripe.canCreateMoreServers

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

curl -X GET "http://your-dokploy-instance.com/api/stripe.canCreateMoreServers" \
  -H "Authorization: Bearer <token>"

Successful response