The ways to pay switched on here
GET
/v1/billing/providers
const url = 'https://beta-api.plune.ai/v1/billing/providers';const options = {method: 'GET', headers: {cookie: 'plune_session=<plune_session>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://beta-api.plune.ai/v1/billing/providers \ --cookie plune_session=<plune_session>The payment providers this server can open a checkout with now, each with the currency it charges, US dollars first; empty while none is configured. A provider is listed exactly when POST /v1/billing/checkout would take it, so the plan page offers only those. No provider is asked. The session alone.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”The providers switched on
Media type application/json
object
providers
required
Array<object>
object
id
required
string
currency
required
string
Example
{ "providers": [ { "id": "paddle", "currency": "usd" }, { "id": "monopay", "currency": "uah" }, { "id": "liqpay", "currency": "uah" } ]}No / invalid session
An API token (session_required)
Media type application/json
object
error
required
string
Example generated
{ "error": "example"}