Sanggunian ng API

billing

54 mga endpoint sa lugar na ito. Ang bawat isa ay may sariling pahina kasama ang mga parameter nito, ang tugon nito, at isang kahilingan na maaari ninyong patakbuhin.

Lahat ng dokumentasyon ng developer →

ParaanPathAng ginagawa nitoPahintulot
DELETE/v1/accounting/xeroDisconnect this organization's Xero.billing.invoice.manage
GET/v1/accounting/xeroThis organization's connection to its own Xero.billing.view
PATCH/v1/accounting/xeroChange what a connection syncs.billing.invoice.manage
POST/v1/accounting/xero/connectBegin connecting this organization's Xero.billing.invoice.manage
GET/v1/accounting/xero/invoicesWhich of this organization's invoices are in its Xero.billing.view
GET/v1/accounting/xero/oauth/callbackWhere Xero returns the customer after they authorize us.Walang API key
POST/v1/accounting/xero/syncPush outstanding invoices to Xero now.billing.invoice.manage
GET/v1/billing/adhoc-chargesThe manual charges on your account, and what you have been billed.billing.view
GET/v1/billing/payment-preferencesHow this account intends to pay.billing.view
PUT/v1/billing/payment-preferencesElect (or stop) paying by crypto.billing.payment.manage
GET/v1/billing/profileGet the organization's billing profile.billing.view
PUT/v1/billing/profileReplace the organization's billing profile.billing.invoice.manage
GET/v1/catalog/plan-movesFor a product line I am already on, which plans can I move to?billing.view
GET/v1/cdn/creditThe account's prepaid metered-CDN balance, spend cap and top-up settings.billing.view
PATCH/v1/cdn/creditSet the spend cap, or turn auto-top-up on or off.billing.payment.manage
GET/v1/entitlementsWhat this organization's plan grants, and how much of it is used.billing.view
GET/v1/first-runEvery product this organization holds, with its one next step and whether it is done.sites.view
GET/v1/invoicesList the organization's billing documents.billing.view
GET/v1/invoices/{invoiceId}Get one billing document.billing.view
GET/v1/invoices/{invoiceId}/pdfDownload the invoice or credit note as a PDF, in a chosen language.billing.view
GET/v1/payment-methodsList the stored payment methods in scope.billing.view
POST/v1/payment-methodsBegin adding a payment method (on-session).billing.payment.manage
POST/v1/payment-methods/paypalBegin saving a PayPal account as a payment method.billing.payment.manage
POST/v1/payment-methods/paypal/confirmFinish saving a PayPal account after the buyer approved it.billing.payment.manage
DELETE/v1/payment-methods/{paymentMethodId}Revoke a stored payment method.billing.payment.manage
PATCH/v1/payment-methods/{paymentMethodId}Nominate a stored payment method as primary or backup.billing.payment.manage
POST/v1/pricing/tax-quoteWhat these net prices look like to this customer, after VAT.Anumang API key
GET/v1/pro-discountsYour hosting-customer discount on every Pro plugin, and your code for each.billing.view
POST/v1/pro-discounts/{product}/codeYour personal code for one Pro plugin — created on first ask, the same one after.billing.view
GET/v1/sla/claimsThe service credits already issued to this organisation.billing.view
POST/v1/sla/claimsClaim the service credit for one monitored site's month.sla.claim
GET/v1/sla/periodsRecent months for every monitored site, and what may be claimed.billing.view
GET/v1/sla/policyThe published uptime commitment and its service-credit ladder.Anumang API key
GET/v1/subscriptionsList the organization's subscriptions.billing.view
POST/v1/subscriptions/{subscriptionId}/auto-renewTurn a subscription's renewal on or off.billing.payment.manage
POST/v1/subscriptions/{subscriptionId}/billing-railChoose which clock charges this subscription.billing.payment.manage
GET/v1/subscriptions/{subscriptionId}/crypto-auto-renewRead this subscription's crypto auto-renew choice.billing.payment.manage
PUT/v1/subscriptions/{subscriptionId}/crypto-auto-renewTurn crypto auto-renew on or off for this subscription.billing.payment.manage
GET/v1/subscriptions/{subscriptionId}/planList the plans this subscription could move to, priced.billing.view
POST/v1/subscriptions/{subscriptionId}/planMove a subscription onto a bigger or smaller plan.billing.payment.manage
POST/v1/subscriptions/{subscriptionId}/prepayCreate the order to pay for several billing periods at once.billing.payment.manage
GET/v1/subscriptions/{subscriptionId}/prepay-quotePrice paying for several billing periods at once.billing.payment.manage
GET/v1/trialsThis organization's free trial, if it has one.billing.view
POST/v1/trialsStart a free trial on a plan.billing.view
GET/v1/trials/eligibilityCan this organization start a trial on this plan, and on what terms?billing.view
GET/v1/trials/linesEvery hosting line's free trial, and this organization's state on each.billing.view
GET/v1/trials/winbackThe one-time 7-day extension this account may take on its ended free trial, or null.billing.view
POST/v1/trials/winbackTake the one-time 7-day extension — the ended trial runs again for 7 days.billing.view
POST/v1/trials/{trial_id}/switchSwitch a running free trial to another product, keeping its end date.billing.view
GET/v1/usage/visitsGet the organisation's metered visits and any overage charge.billing.view
POST/v1/webhooks/nowpaymentsIngest a signed NOWPayments IPN.Walang API key
POST/v1/webhooks/nowpayments/renewals/{autoRenewId}Ingest a signed NOWPayments IPN for a crypto auto-renew payment.Walang API key
POST/v1/webhooks/paypalIngest a signed PayPal webhook event.Walang API key
POST/v1/webhooks/stripeIngest a signed Stripe webhook event.Walang API key