Plans
Plans define the minimum allowance, token and reset period for subscriptions to on-demand services and products. You can create a plan using the web app or directly interacting with our smart contracts.
Get a list of plans
GET
https://api.8pay.network/v1/:chain/on-demand/plans
Path Parameters
Name | Type | Description |
---|---|---|
chain | string |
Query Parameters
Name | Type | Description |
---|---|---|
admin | string | filter by admin |
receiver | string | filter by receiver |
from | number | filter by |
to | number | filter by |
sort | string | |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Bearer <api-key> |
Get a plan
GET
https://api.8pay.network/v1/:chain/on-demand/plans/:planId
Path Parameters
Name | Type | Description |
---|---|---|
planId | string | ID of the plan |
chain | string |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Bearer <api-key> |
Last updated