curl --request GET \
--url https://api.paygentic.io/v0/subscriptions \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "sub_z1a2b3c4d5e6f7g8",
"object": "subscription",
"autoCharge": false,
"taxExempt": false,
"createdAt": "2024-01-10T08:00:00Z",
"customerId": "cus_q3r4s5t6u7v8w9x0",
"endingAt": null,
"estimatedTaxRate": 8.5,
"name": "StartupXYZ - Image Generation Service",
"payment": null,
"planId": "plan_t9u0v1w2x3y4z5a6",
"prefundAmount": "50000000000",
"startedAt": "2024-01-10T08:00:00Z",
"status": "active",
"terminatedAt": null,
"terminatedBy": null,
"terminationReason": null,
"updatedAt": "2024-01-10T08:00:00Z",
"walletId": "acc_b7c8d9e0f1g2h3i4"
},
{
"id": "sub_j1k2l3m4n5o6p7q8",
"object": "subscription",
"autoCharge": true,
"taxExempt": true,
"createdAt": "2024-02-01T14:45:30Z",
"customerId": "cus_r9s0t1u2v3w4x5y6",
"endingAt": "2024-12-31T23:59:59Z",
"estimatedTaxRate": 0,
"name": "Analytics Co - Data Platform Enterprise",
"payment": null,
"planId": "plan_z7a8b9c0d1e2f3g4",
"prefundAmount": "1000000000000",
"startedAt": "2024-02-01T14:45:30Z",
"status": "active",
"terminatedAt": null,
"terminatedBy": null,
"terminationReason": null,
"updatedAt": "2024-02-15T09:20:00Z",
"walletId": "acc_h5i6j7k8l9m0n1o2"
}
],
"pagination": {
"limit": 10,
"offset": 0,
"total": 2
}
}curl --request GET \
--url https://api.paygentic.io/v0/subscriptions \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "sub_z1a2b3c4d5e6f7g8",
"object": "subscription",
"autoCharge": false,
"taxExempt": false,
"createdAt": "2024-01-10T08:00:00Z",
"customerId": "cus_q3r4s5t6u7v8w9x0",
"endingAt": null,
"estimatedTaxRate": 8.5,
"name": "StartupXYZ - Image Generation Service",
"payment": null,
"planId": "plan_t9u0v1w2x3y4z5a6",
"prefundAmount": "50000000000",
"startedAt": "2024-01-10T08:00:00Z",
"status": "active",
"terminatedAt": null,
"terminatedBy": null,
"terminationReason": null,
"updatedAt": "2024-01-10T08:00:00Z",
"walletId": "acc_b7c8d9e0f1g2h3i4"
},
{
"id": "sub_j1k2l3m4n5o6p7q8",
"object": "subscription",
"autoCharge": true,
"taxExempt": true,
"createdAt": "2024-02-01T14:45:30Z",
"customerId": "cus_r9s0t1u2v3w4x5y6",
"endingAt": "2024-12-31T23:59:59Z",
"estimatedTaxRate": 0,
"name": "Analytics Co - Data Platform Enterprise",
"payment": null,
"planId": "plan_z7a8b9c0d1e2f3g4",
"prefundAmount": "1000000000000",
"startedAt": "2024-02-01T14:45:30Z",
"status": "active",
"terminatedAt": null,
"terminatedBy": null,
"terminationReason": null,
"updatedAt": "2024-02-15T09:20:00Z",
"walletId": "acc_h5i6j7k8l9m0n1o2"
}
],
"pagination": {
"limit": 10,
"offset": 0,
"total": 2
}
}API key authentication
Unique identifier for an organization
Unique identifier for a customer
Number of subscriptions to return
Unique identifier for an organization
Number of subscriptions to skip
active, terminated