Plans
Last updated
Last updated
Plans define the max billing amount, token and billing period for subscriptions to recurring services and products. You can create a plan using the web app.
GET
https://api.8pay.network/v1/:chain/variable-recurring/plans
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
GET
https://api.8pay.network/v1/:chain/variable-recurring/plans/:planId
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
chain
string
admin
string
filter by admin
receiver
string
filter by receiver
from
number
filter by createdAt
(default 0)
to
number
filter by createdAt
(default current timestamp)
sort
string
asc
or desc
(default desc
), sort based on createdAt
Authorization
string
Bearer <api-key>
planId
string
ID of the plan
chain
string
Authorization
string
Bearer <api-key>