For the complete documentation index, see llms.txt. This page is also available as Markdown.

Allowances

The allowance represents the maximum amount that can be charged for the service during each cycle.

Get allowance of a subscription

GET https://api.8pay.network/v1/:chain/on-demand/subscriptions/:subscriptionId/allowance

Path Parameters

Name
Type
Description

subscriptionId

string

ID of the subscription

chain

string

Headers

Name
Type
Description

Authorization

string

Bearer <api-key>

{
    "amount": "10",
    "token": "8PAY",
    "timestamp": 1571646052,
    "transactionHash": "0xbb97a142aed61a7027b0a030f3c0ab7e1b39bb776201752829d96d562ed49782",
    "transactionStatus": "confirmed"
}

Last updated