Skip to main content
GET
/
v0
/
plans
/
available
List Available Plans
curl --request GET \
  --url https://api.paygentic.io/v0/plans/available \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "plan_t9u0v1w2x3y4z5a6",
      "object": "plan",
      "billingInterval": "monthly",
      "createdAt": "2024-01-12T10:00:00Z",
      "currency": "USD",
      "defaultTaxCode": "eservice",
      "defaultTaxRate": 8.5,
      "description": "Claude API access with 500K tokens monthly allowance",
      "invoiceDisplayName": "LLM API Basic Plan",
      "merchantId": "org_b7c8d9e0f1g2h3i4",
      "name": "Basic Tier",
      "price": "49990000000",
      "prices": [],
      "productId": "prod_j5k6l7m8n9o0p1q2",
      "taxBehavior": "exclusive",
      "updatedAt": "2024-01-12T10:00:00Z"
    }
  ],
  "pagination": {
    "limit": 10,
    "offset": 0,
    "total": 1
  }
}

Authorizations

Authorization
string
header
required

API key authentication

Query Parameters

customerId
string
required

The customer to check subscriptions for. The merchant is derived from the customer record. Unique identifier for a customer

productId
string

Optional filter by product ID Unique identifier for a product

Optional search text to filter plan names (case-insensitive)

limit
integer
default:10

Number of plans to return

Required range: 1 <= x <= 100
offset
integer
default:0

Number of plans to skip

Required range: x >= 0

Response

List of available plans

data
object[]
pagination
object