curl --request GET \
--url https://api.paygentic.io/v0/plans \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "<string>",
"object": "plan",
"name": "<string>",
"paymentOptions": {
"outOfBand": true,
"payAsYouGo": true,
"prePaid": false,
"postPaid": false,
"credits": ""
},
"invoiceDisplayName": "<string>",
"description": "<string>",
"billingInterval": "<string>",
"currency": "<string>",
"merchantId": "<string>",
"productId": "<string>",
"walletNamespaceId": "<string>",
"tax": {},
"prices": [
{
"id": "<string>",
"object": "price",
"billableMetricId": "<string>",
"model": "standard",
"invoiceDisplayName": "<string>",
"properties": {
"unitPrice": "<string>"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"pagination": {
"limit": 123,
"offset": 123,
"total": 123
}
}
curl --request GET \
--url https://api.paygentic.io/v0/plans \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "<string>",
"object": "plan",
"name": "<string>",
"paymentOptions": {
"outOfBand": true,
"payAsYouGo": true,
"prePaid": false,
"postPaid": false,
"credits": ""
},
"invoiceDisplayName": "<string>",
"description": "<string>",
"billingInterval": "<string>",
"currency": "<string>",
"merchantId": "<string>",
"productId": "<string>",
"walletNamespaceId": "<string>",
"tax": {},
"prices": [
{
"id": "<string>",
"object": "price",
"billableMetricId": "<string>",
"model": "standard",
"invoiceDisplayName": "<string>",
"properties": {
"unitPrice": "<string>"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"pagination": {
"limit": 123,
"offset": 123,
"total": 123
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Unique identifier for an organization
Filter plans by product ID
1 <= x <= 100
x >= 0
List of plans
The response is of type object
.