Sanggunian sa API
billing
May 36 endpoint sa lugar na ito. Ang bawat isa ay may sariling pahina kasama ang mga parameter nito, ang tugon nito, at ang kahilingang maaari mong patakbuhin.
| Paraan | Landas | Ano ang ginagawa nito | Permiso |
|---|---|---|---|
| DELETE | /v1/accounting/xero | Disconnect this organization's Xero. | billing.invoice.manage |
| GET | /v1/accounting/xero | This organization's connection to its own Xero. | billing.view |
| PATCH | /v1/accounting/xero | Change what a connection syncs. | billing.invoice.manage |
| POST | /v1/accounting/xero/connect | Begin connecting this organization's Xero. | billing.invoice.manage |
| GET | /v1/accounting/xero/invoices | Which of this organization's invoices are in its Xero. | billing.view |
| GET | /v1/accounting/xero/oauth/callback | Where Xero returns the customer after they authorize us. | — |
| POST | /v1/accounting/xero/sync | Push outstanding invoices to Xero now. | billing.invoice.manage |
| GET | /v1/billing/adhoc-charges | The manual charges on your account, and what you have been billed. | billing.view |
| GET | /v1/billing/payment-preferences | How this account intends to pay. | — |
| PUT | /v1/billing/payment-preferences | Elect (or stop) paying by crypto. | billing.payment.manage |
| GET | /v1/billing/profile | Get the organization's billing profile. | billing.view |
| PUT | /v1/billing/profile | Replace the organization's billing profile. | billing.invoice.manage |
| GET | /v1/cdn/credit | The account's prepaid metered-CDN balance, spend cap and top-up settings. | billing.view |
| PATCH | /v1/cdn/credit | Set the spend cap, or turn auto-top-up on or off. | billing.payment.manage |
| GET | /v1/entitlements | What this organization's plan grants, and how much of it is used. | billing.view |
| GET | /v1/invoices | List the organization's billing documents. | billing.view |
| GET | /v1/invoices/{invoiceId} | Get one billing document. | — |
| GET | /v1/invoices/{invoiceId}/pdf | Download the invoice or credit note as a PDF, in a chosen language. | — |
| GET | /v1/payment-methods | List the stored payment methods in scope. | — |
| POST | /v1/payment-methods | Begin adding a payment method (on-session). | billing.payment.manage |
| DELETE | /v1/payment-methods/{paymentMethodId} | Revoke a stored payment method. | — |
| PATCH | /v1/payment-methods/{paymentMethodId} | Nominate a stored payment method as primary or backup. | — |
| POST | /v1/pricing/tax-quote | What these net prices look like to this customer, after VAT. | — |
| GET | /v1/sla/claims | The service credits already issued to this organisation. | — |
| POST | /v1/sla/claims | Claim the service credit for one monitored site's month. | — |
| GET | /v1/sla/periods | Recent months for every monitored site, and what may be claimed. | — |
| GET | /v1/sla/policy | The published uptime commitment and its service-credit ladder. | — |
| GET | /v1/subscriptions | List the organization's subscriptions. | billing.view |
| POST | /v1/subscriptions/{subscriptionId}/auto-renew | Turn a subscription's renewal on or off. | billing.payment.manage |
| GET | /v1/trials | This organization's free trial, if it has one. | — |
| POST | /v1/trials | Start a free trial on a plan. | — |
| GET | /v1/trials/eligibility | Can this organization start a trial on this plan, and on what terms? | — |
| GET | /v1/usage/visits | Get the organisation's metered visits and any overage charge. | billing.view |
| POST | /v1/webhooks/nowpayments | Ingest a signed NOWPayments IPN. | — |
| POST | /v1/webhooks/paypal | Ingest a signed PayPal webhook event. | — |
| POST | /v1/webhooks/stripe | Ingest a signed Stripe webhook event. | — |