बिलिंग
इस समूह का हर ऑपरेशन: वह क्या लेता है, क्या लौटाता है और किन त्रुटियों के साथ जवाब दे सकता है।
ऑपरेशन
The plan of the workspace and what it costs, as Plans & Billing shows them: what the plan includes and how much of it is used, the plans on sale, pay as you go, every charge with its invoice, and the links that start a checkout or open the billing portal.
Billing belongs to the owner of the workspace. An API key acts for the owner, and an OAuth access token reaches billing only when the owner connected the app with every address. A token that acts for a member is refused with owner_only, and a key or token limited to particular addresses or domains with capability_unsupported. Reading needs billing:read, every change needs billing:write, and an OAuth access token needs a verification code for every change.
Nothing is paid through the API. Starting a checkout, opening the billing portal and adding a card for pay as you go each return a link to the billing provider's page, where the person pays, changes the card or cancels, as they do from the app.
GET/billing
Read the plan
The plan of the workspace and what it includes: the billing interval, when it renews or ends and the next charge, how many domains it holds, how much of the sends and AI actions are used, and pay as you go. metered is false when billing is off on this install, and then nothing is capped.
Billing belongs to the owner of the workspace. An API key acts for the owner, and an OAuth access token reaches billing only when the owner connected the app with every address. A token that acts for a member is refused with owner_only, and a key or token limited to particular addresses or domains with capability_unsupported. Reading needs billing:read, every change needs billing:write, and an OAuth access token needs a verification code for every change.
Requires the billing:read scope.
लौटाता है
The plan and what it includes.
त्रुटियाँ
वे त्रुटियाँ जो कोई भी ऑपरेशन लौटा सकता है400401403404422500त्रुटि सूची
इनमें भी उपलब्ध
GET/billing/plans
List the plans
Every plan, cheapest first, with its price and what it includes. available says whether it is sold on this install, and intervals the billing intervals it is sold at.
Billing belongs to the owner of the workspace. An API key acts for the owner, and an OAuth access token reaches billing only when the owner connected the app with every address. A token that acts for a member is refused with owner_only, and a key or token limited to particular addresses or domains with capability_unsupported. Reading needs billing:read, every change needs billing:write, and an OAuth access token needs a verification code for every change.
Requires the billing:read scope.
लौटाता है
Every plan.
त्रुटियाँ
वे त्रुटियाँ जो कोई भी ऑपरेशन लौटा सकता है400401403404422500त्रुटि सूची
इनमें भी उपलब्ध
GET/billing/usage
Read the usage history
Sends and AI actions per day, and what pay as you go extras cost per month, as the Usage charts show them.
Billing belongs to the owner of the workspace. An API key acts for the owner, and an OAuth access token reaches billing only when the owner connected the app with every address. A token that acts for a member is refused with owner_only, and a key or token limited to particular addresses or domains with capability_unsupported. Reading needs billing:read, every change needs billing:write, and an OAuth access token needs a verification code for every change.
Requires the billing:read scope.
क्वेरी पैरामीटर
daysinteger | stringHow many days back to go, 1 to 3660, or
allfor every day since the workspace was made. 30 by default.डिफ़ॉल्ट30
लौटाता है
Usage per day and extras per month.
त्रुटियाँ
वे त्रुटियाँ जो कोई भी ऑपरेशन लौटा सकता है400401403404422500त्रुटि सूची
इनमें भी उपलब्ध
GET/billing/alerts
List the billing alerts
What the billing banner of the app would say now, most urgent first: a failed payment, paused pay as you go, sending or AI paused at a limit, a plan about to end, an allowance nearly used and a charge coming soon. An empty list means there is nothing to say.
Billing belongs to the owner of the workspace. An API key acts for the owner, and an OAuth access token reaches billing only when the owner connected the app with every address. A token that acts for a member is refused with owner_only, and a key or token limited to particular addresses or domains with capability_unsupported. Reading needs billing:read, every change needs billing:write, and an OAuth access token needs a verification code for every change.
Requires the billing:read scope.
लौटाता है
The alerts, most urgent first.
त्रुटियाँ
वे त्रुटियाँ जो कोई भी ऑपरेशन लौटा सकता है400401403404422500त्रुटि सूची
इनमें भी उपलब्ध
GET/billing/countries
List the billing countries
Every country a billing address can be in, as two-letter ISO 3166 codes, the values country takes on PUT /billing/invoices/{orderId}/details.
Billing belongs to the owner of the workspace. An API key acts for the owner, and an OAuth access token reaches billing only when the owner connected the app with every address. A token that acts for a member is refused with owner_only, and a key or token limited to particular addresses or domains with capability_unsupported. Reading needs billing:read, every change needs billing:write, and an OAuth access token needs a verification code for every change.
Requires the billing:read scope.
लौटाता है
Every country code.
त्रुटियाँ
वे त्रुटियाँ जो कोई भी ऑपरेशन लौटा सकता है400401403404422500त्रुटि सूची
इनमें भी उपलब्ध
GET/billing/pay-as-you-go
Read pay as you go
Whether usage past the allowances is billed, the monthly limit and what extras cost so far, the limits that can be chosen, the prices, and the current billing period of pay as you go once it is set up.
Billing belongs to the owner of the workspace. An API key acts for the owner, and an OAuth access token reaches billing only when the owner connected the app with every address. A token that acts for a member is refused with owner_only, and a key or token limited to particular addresses or domains with capability_unsupported. Reading needs billing:read, every change needs billing:write, and an OAuth access token needs a verification code for every change.
Requires the billing:read scope.
लौटाता है
Pay as you go on this workspace.
त्रुटियाँ
वे त्रुटियाँ जो कोई भी ऑपरेशन लौटा सकता है400401403404422500त्रुटि सूची
इनमें भी उपलब्ध
PATCH/billing/pay-as-you-go
Turn pay as you go on or off
Turns pay as you go on or off, as the switch on Plans & Billing does. Off takes effect at once, and usage stops at the allowances. On takes effect at once when a card is already saved. The first time, checkoutUrl is a link where the person adds a card, and pay as you go starts once they have: call POST /billing/pay-as-you-go/confirm after they return. activating means a card was just saved and it is being turned on. theme and locale style the page the link opens.
Nothing is paid through the API. Starting a checkout, opening the billing portal and adding a card for pay as you go each return a link to the billing provider's page, where the person pays, changes the card or cancels, as they do from the app.
Billing belongs to the owner of the workspace. An API key acts for the owner, and an OAuth access token reaches billing only when the owner connected the app with every address. A token that acts for a member is refused with owner_only, and a key or token limited to particular addresses or domains with capability_unsupported. Reading needs billing:read, every change needs billing:write, and an OAuth access token needs a verification code for every change.
Requires the billing:write scope.
अनुरोध बॉडी
themestringlightordark, for the page the link opens.इनमें से एक"light""dark"localestringA language tag such as
deorpt-PT, for the page the link opens.अधिकतम 35 वर्णenabledbooleanआवश्यकtrueto turn it on,falseto turn it off.
लौटाता है
What happened.
त्रुटियाँ
- 403
The key lacks the scope, or may not send as that address.
step_up_required: the call was made with an OAuth access token that has not been verified in the last 60 minutes. Ask for a code withPOST /security/step-up, send it toPOST /security/step-up/verify, then repeat the call. The person can also choose Allow changes for 60 minutes on the app in Account settings, Connected apps, on the OpenEmail website. An API key is never asked for a code.- 503
billing_not_configured: pay as you go is not set up on this install.
वे त्रुटियाँ जो कोई भी ऑपरेशन लौटा सकता है400401404422500त्रुटि सूची
इनमें भी उपलब्ध
PUT/billing/pay-as-you-go/limit
Set the pay as you go limit
Sets the monthly spending limit of pay as you go, one of the amounts GET /billing/pay-as-you-go lists in limits. Extras stop for the rest of a calendar month once it is reached.
Billing belongs to the owner of the workspace. An API key acts for the owner, and an OAuth access token reaches billing only when the owner connected the app with every address. A token that acts for a member is refused with owner_only, and a key or token limited to particular addresses or domains with capability_unsupported. Reading needs billing:read, every change needs billing:write, and an OAuth access token needs a verification code for every change.
Requires the billing:write scope.
अनुरोध बॉडी
limitCentsintegerआवश्यकThe monthly limit in US cents.
इनमें से एक100025005000100002500050000100000250000500000
लौटाता है
The limit.
त्रुटियाँ
- 403
The key lacks the scope, or may not send as that address.
step_up_required: the call was made with an OAuth access token that has not been verified in the last 60 minutes. Ask for a code withPOST /security/step-up, send it toPOST /security/step-up/verify, then repeat the call. The person can also choose Allow changes for 60 minutes on the app in Account settings, Connected apps, on the OpenEmail website. An API key is never asked for a code.- 409
pay_as_you_go_not_enrolled: pay as you go has never been set up on this workspace.
वे त्रुटियाँ जो कोई भी ऑपरेशन लौटा सकता है400401404422500त्रुटि सूची
इनमें भी उपलब्ध
POST/billing/pay-as-you-go/confirm
Confirm pay as you go
Checks with the billing provider whether the card from a pay as you go checkout was saved, and records it, as the app does when the person comes back from the checkout. enabled says whether pay as you go is on now. It is safe to call again.
Billing belongs to the owner of the workspace. An API key acts for the owner, and an OAuth access token reaches billing only when the owner connected the app with every address. A token that acts for a member is refused with owner_only, and a key or token limited to particular addresses or domains with capability_unsupported. Reading needs billing:read, every change needs billing:write, and an OAuth access token needs a verification code for every change.
Requires the billing:write scope.
लौटाता है
Whether pay as you go is on.
त्रुटियाँ
- 403
The key lacks the scope, or may not send as that address.
step_up_required: the call was made with an OAuth access token that has not been verified in the last 60 minutes. Ask for a code withPOST /security/step-up, send it toPOST /security/step-up/verify, then repeat the call. The person can also choose Allow changes for 60 minutes on the app in Account settings, Connected apps, on the OpenEmail website. An API key is never asked for a code.
वे त्रुटियाँ जो कोई भी ऑपरेशन लौटा सकता है400401404422500त्रुटि सूची
इनमें भी उपलब्ध
POST/billing/checkout
Start a checkout
Starts buying a paid plan for a workspace on Free, as choosing a plan in the app does, and returns the link to the checkout. Nothing is charged until the person pays there, and the plan starts once they have. A workspace that already pays for a plan changes it on the billing portal instead.
Nothing is paid through the API. Starting a checkout, opening the billing portal and adding a card for pay as you go each return a link to the billing provider's page, where the person pays, changes the card or cancels, as they do from the app.
Billing belongs to the owner of the workspace. An API key acts for the owner, and an OAuth access token reaches billing only when the owner connected the app with every address. A token that acts for a member is refused with owner_only, and a key or token limited to particular addresses or domains with capability_unsupported. Reading needs billing:read, every change needs billing:write, and an OAuth access token needs a verification code for every change.
Requires the billing:write scope.
अनुरोध बॉडी
themestringlightordark, for the page the link opens.इनमें से एक"light""dark"localestringA language tag such as
deorpt-PT, for the page the link opens.अधिकतम 35 वर्णplanstringआवश्यकstarter,businessorenterprise.इनमें से एक"starter""business""enterprise"intervalstringmonthoryear. Defaults tomonth.इनमें से एक"month""year"
लौटाता है
The link to the checkout.
त्रुटियाँ
- 403
The key lacks the scope, or may not send as that address.
step_up_required: the call was made with an OAuth access token that has not been verified in the last 60 minutes. Ask for a code withPOST /security/step-up, send it toPOST /security/step-up/verify, then repeat the call. The person can also choose Allow changes for 60 minutes on the app in Account settings, Connected apps, on the OpenEmail website. An API key is never asked for a code.- 409
plan_conflict: the workspace already pays for a plan.- 422
plan_unavailable: the plan is not sold on this install, or not at that interval.invalid_parameter: the body did not validate.- 503
billing_not_configured: paid plans are not set up on this install.
वे त्रुटियाँ जो कोई भी ऑपरेशन लौटा सकता है400401404500त्रुटि सूची
इनमें भी उपलब्ध
POST/billing/portal
Open the billing portal
Returns a link to the billing portal, where the person changes or cancels the plan, updates the card and downloads past invoices, as Manage does in the app. The body is optional.
Nothing is paid through the API. Starting a checkout, opening the billing portal and adding a card for pay as you go each return a link to the billing provider's page, where the person pays, changes the card or cancels, as they do from the app.
Billing belongs to the owner of the workspace. An API key acts for the owner, and an OAuth access token reaches billing only when the owner connected the app with every address. A token that acts for a member is refused with owner_only, and a key or token limited to particular addresses or domains with capability_unsupported. Reading needs billing:read, every change needs billing:write, and an OAuth access token needs a verification code for every change.
Requires the billing:write scope.
अनुरोध बॉडी
themestringlightordark, for the page the link opens.इनमें से एक"light""dark"localestringA language tag such as
deorpt-PT, for the page the link opens.अधिकतम 35 वर्ण
लौटाता है
The link to the billing portal.
त्रुटियाँ
- 403
The key lacks the scope, or may not send as that address.
step_up_required: the call was made with an OAuth access token that has not been verified in the last 60 minutes. Ask for a code withPOST /security/step-up, send it toPOST /security/step-up/verify, then repeat the call. The person can also choose Allow changes for 60 minutes on the app in Account settings, Connected apps, on the OpenEmail website. An API key is never asked for a code.- 503
billing_not_configured: billing is not set up on this install.
वे त्रुटियाँ जो कोई भी ऑपरेशन लौटा सकता है400401404422500त्रुटि सूची
इनमें भी उपलब्ध
GET/billing/invoices
List the charges
Every charge of the workspace with its invoice, as History on Plans & Billing lists them. page and limit page through them, total counts them all, and search matches the plan, the invoice number, the charge id and the name billed. metered is false when billing is off on this install.
Billing belongs to the owner of the workspace. An API key acts for the owner, and an OAuth access token reaches billing only when the owner connected the app with every address. A token that acts for a member is refused with owner_only, and a key or token limited to particular addresses or domains with capability_unsupported. Reading needs billing:read, every change needs billing:write, and an OAuth access token needs a verification code for every change.
Requires the billing:read scope.
क्वेरी पैरामीटर
pageintegerWhich page, from 1.
कम से कम 1डिफ़ॉल्ट1limitintegerCharges per page, 1 to 100.
कम से कम 1अधिकतम 100डिफ़ॉल्ट25sortstringNewest or oldest first.
इनमें से एक"newest""oldest"डिफ़ॉल्ट"newest"searchstringWords to look for.
अधिकतम 120 वर्ण
लौटाता है
A page of charges.
त्रुटियाँ
- 502
billing_unreachable: the billing provider did not answer.
वे त्रुटियाँ जो कोई भी ऑपरेशन लौटा सकता है400401403404422500त्रुटि सूची
इनमें भी उपलब्ध
GET/billing/invoices/{orderId}
Get the invoice of a charge
The link to the invoice of one charge, as a PDF, and its file name. An invoice that was not written yet is written first, from the billing details on the charge or on the account, which can take a few seconds. The link is signed by the billing provider, downloads the PDF and stops working after a while, so fetch it again rather than keeping it.
Billing belongs to the owner of the workspace. An API key acts for the owner, and an OAuth access token reaches billing only when the owner connected the app with every address. A token that acts for a member is refused with owner_only, and a key or token limited to particular addresses or domains with capability_unsupported. Reading needs billing:read, every change needs billing:write, and an OAuth access token needs a verification code for every change.
Requires the billing:read scope.
पाथ पैरामीटर
orderIdstringआवश्यकThe id of a charge, as
GET /billing/invoiceslists it.
लौटाता है
The link to the invoice.
त्रुटियाँ
- 409
billing_details_required: the charge has no billing name and address yet.invoice_unavailable: a draft or void charge has no invoice.- 502
billing_unreachable: the billing provider did not answer.- 504
invoice_not_ready: the invoice is still being written.
वे त्रुटियाँ जो कोई भी ऑपरेशन लौटा सकता है400401403404422500त्रुटि सूची
इनमें भी उपलब्ध
PUT/billing/invoices/{orderId}/details
Save the billing details of a charge
Saves the name and address billed on a charge, as the Billing address dialog does, keeps the address for later charges, and starts writing its invoice. invoice is ready when the charge already had one, started when it is being written, and refused with the reason in message. Read it with GET /billing/invoices/{orderId}.
Billing belongs to the owner of the workspace. An API key acts for the owner, and an OAuth access token reaches billing only when the owner connected the app with every address. A token that acts for a member is refused with owner_only, and a key or token limited to particular addresses or domains with capability_unsupported. Reading needs billing:read, every change needs billing:write, and an OAuth access token needs a verification code for every change.
Requires the billing:write scope.
पाथ पैरामीटर
orderIdstringआवश्यकThe id of a charge, as
GET /billing/invoiceslists it.
अनुरोध बॉडी
namestringआवश्यकWho is billed, up to 200 characters.
1 से 200 वर्णline1stringआवश्यकThe street address, up to 200 characters.
1 से 200 वर्णline2stringA flat, suite or building, up to 200 characters.
अधिकतम 200 वर्णcitystringआवश्यकUp to 120 characters.
1 से 120 वर्णpostalCodestringUp to 40 characters.
अधिकतम 40 वर्णstatestringThe state or region, up to 60 characters. In the US and Canada, its two-letter code.
अधिकतम 60 वर्णcountrystringआवश्यकA two-letter ISO 3166 code, one of those
listCountriesreturns.इनमें से एक"AD""AE""AF""AG""AI""AL""AM""AO""AQ""AR""AS""AT""AU""AW""AX""AZ""BA""BB""BD""BE""BF""BG""BH""BI""BJ""BL""BM""BN""BO""BQ""BR""BS""BT""BV""BW""BY""BZ""CA""CC""CD""CF""CG""CH""CI""CK""CL""CM""CN""CO""CR""CV""CW""CX""CY""CZ""DE""DJ""DK""DM""DO""DZ""EC""EE""EG""EH""ER""ES""ET""FI""FJ""FK""FM""FO""FR""GA""GB""GD""GE""GF""GG""GH""GI""GL""GM""GN""GP""GQ""GR""GS""GT""GU""GW""GY""HK""HM""HN""HR""HT""HU""ID""IE""IL""IM""IN""IO""IQ""IS""IT""JE""JM""JO""JP""KE""KG""KH""KI""KM""KN""KR""KW""KY""KZ""LA""LB""LC""LI""LK""LR""LS""LT""LU""LV""LY""MA""MC""MD""ME""MF""MG""MH""MK""ML""MM""MN""MO""MP""MQ""MR""MS""MT""MU""MV""MW""MX""MY""MZ""NA""NC""NE""NF""NG""NI""NL""NO""NP""NR""NU""NZ""OM""PA""PE""PF""PG""PH""PK""PL""PM""PN""PR""PS""PT""PW""PY""QA""RE""RO""RS""RW""SA""SB""SC""SD""SE""SG""SH""SI""SJ""SK""SL""SM""SN""SO""SR""SS""ST""SV""SX""SZ""TC""TD""TF""TG""TH""TJ""TK""TL""TM""TN""TO""TR""TT""TV""TW""TZ""UA""UG""UM""US""UY""UZ""VA""VC""VE""VG""VI""VN""VU""WF""WS""YE""YT""ZA""ZM""ZW"
लौटाता है
Saved.
त्रुटियाँ
- 403
The key lacks the scope, or may not send as that address.
step_up_required: the call was made with an OAuth access token that has not been verified in the last 60 minutes. Ask for a code withPOST /security/step-up, send it toPOST /security/step-up/verify, then repeat the call. The person can also choose Allow changes for 60 minutes on the app in Account settings, Connected apps, on the OpenEmail website. An API key is never asked for a code.- 422
billing_address_rejected: the billing provider refused the address.invalid_parameter: the body did not validate.- 502
billing_unreachable: the billing provider did not answer.
वे त्रुटियाँ जो कोई भी ऑपरेशन लौटा सकता है400401404500त्रुटि सूची
इनमें भी उपलब्ध
ऑब्जेक्ट
Billingobject
objectstringआवश्यक- इनमें से एक
"billing" workspaceIdstringआवश्यकworkspaceNamestringplanstringआवश्यक- इनमें से एक
"free""starter""business""enterprise" planNamestringmeteredbooleanआवश्यकFalse when billing is off on this install, and then nothing is capped.
intervalstringHow often the plan is billed. Null on Free.
null हो सकता हैइनमें से एक"month""year"renewsAtstringWhen the plan renews, or ends when
cancelAtPeriodEndis true.null हो सकता हैफ़ॉर्मैटdate-timecancelAtPeriodEndbooleanThe plan was cancelled and ends at
renewsAt.nextChargeobjectThe next charge of the plan, when one is due.
centsis null until it is known.null हो सकता हैcentsinteger- null हो सकता है
currencystring- null हो सकता है
atstring- फ़ॉर्मैट
date-time
domainsobjectusedintegerDomains in the workspace.
कम से कम 0includedintegerDomains the plan includes. Null when there is no limit.
null हो सकता हैकम से कम 0canAddboolean
usageobjectsendsobjectusedintegerUsed so far.
कम से कम 0limitintegerWhat the plan includes. Null when there is no limit.
null हो सकता हैकम से कम 0resetsAtstringWhen the monthly sends start again.
फ़ॉर्मैटdate-time
aiActionsobjectusedintegerUsed so far.
कम से कम 0limitintegerWhat the plan includes. Null when there is no limit.
null हो सकता हैकम से कम 0resetsAtstringWhen the daily AI actions start again.
फ़ॉर्मैटdate-time
payAsYouGoobjectavailablebooleanWhether the plan of the workspace can buy anything past its allowances.
enabledbooleanWhether usage past the allowances is being billed now: switched on and not paused.
suspendedbooleanPaused because the last payment failed. Update the card on the billing portal to resume.
enrolledbooleanWhether pay as you go has ever been set up, with a card, on this workspace.
switchedOnbooleanWhether it is switched on, paused or not.
coversSendsbooleanWhether sends past the monthly allowance can be bought on this plan.
coversAiActionsbooleanWhether AI actions past the daily allowance can be bought on this plan.
limitCentsintegerThe monthly spending limit in US cents. Extras stop once a calendar month reaches it.
spentCentsintegerWhat extras cost this calendar month so far, in US cents.
कम से कम 0extraSendsintegerSends past the allowance this month.
कम से कम 0extraAiActionsintegerAI actions past the allowance this month.
कम से कम 0estimatedCentsintegerWhat those extras come to, in US cents.
कम से कम 0
availablePlansstring[]The plans sold on this install.
इनमें से एक"free""starter""business""enterprise"
BillingAlertobject
objectstringआवश्यक- इनमें से एक
"billing_alert" idstringआवश्यकStays the same while the same thing is true, so a dismissed alert can stay dismissed.
kindstringआवश्यक- इनमें से एक
"payment_failed""pay_as_you_go_paused""sending_paused""spend_limit_reached""ai_used_up""plan_ending""sends_nearly_used""spend_nearly_reached""upcoming_charge" severitystringआवश्यक- इनमें से एक
"blocked""warning""info" targetstringआवश्यकWhich tab of Plans & Billing it is about: the plan or the usage.
इनमें से एक"billing""usage"planNamestring- null हो सकता है
atstringWhen it happens: the charge, the end of the plan or the reset.
null हो सकता हैफ़ॉर्मैटdate-timecentsinteger- null हो सकता है
currencystring- null हो सकता है
usedinteger- null हो सकता है
limitinteger- null हो सकता है
payAsYouGobooleanWhether pay as you go can lift the limit it is about.
BillingAlertListobject
objectstring- इनमें से एक
"list" dataBillingAlert[]
BillingCheckoutobject
objectstring- इनमें से एक
"checkout" urlstring- फ़ॉर्मैट
uri
BillingCountryListobject
objectstring- इनमें से एक
"list" datastring[]
BillingInvoiceobject
objectstringआवश्यक- इनमें से एक
"invoice" idstringआवश्यकThe charge id the invoice calls take.
createdAtstringआवश्यक- फ़ॉर्मैट
date-time amountCentsintegerआवश्यकsubtotalCentsintegercurrencystringआवश्यकstatusstring- null हो सकता हैइनमें से एक
"draft""pending""paid""refunded""partially_refunded""void" paidbooleanreasonstringWhy it was charged: a purchase, a renewal or a change.
invoiceNumberstring- null हो सकता है
invoiceReadybooleanWhether its invoice was written.
needsBillingDetailsbooleanIts invoice needs a billing name and address first.
billingNamestring- null हो सकता है
productstring- null हो सकता है
payAsYouGobooleanA charge for pay as you go extras.
discountobject- null हो सकता है
codestring- null हो सकता है
namestring- null हो सकता है
amountCentsintegerpercentOffnumber- null हो सकता है
BillingInvoiceDetailsobject
objectstring- इनमें से एक
"invoice_details" orderIdstringinvoicestring- इनमें से एक
"ready""started""refused" messagestringWhy the invoice could not be started, when
invoiceisrefused.null हो सकता है
BillingInvoiceLinkobject
objectstring- इनमें से एक
"invoice_link" orderIdstringurlstringThe link is signed by the billing provider, downloads the PDF and stops working after a while, so fetch it again rather than keeping it.
फ़ॉर्मैटurifileNamestring
BillingInvoiceListobject
objectstring- इनमें से एक
"list" dataBillingInvoice[]totalintegerHow many charges there are in all.
कम से कम 0pageinteger- कम से कम 1
limitinteger- कम से कम 1
hasMorebooleanmeteredbooleanFalse when billing is off on this install.
BillingPlanobject
objectstringआवश्यक- इनमें से एक
"plan" idstringआवश्यक- इनमें से एक
"free""starter""business""enterprise" namestringआवश्यकavailablebooleanआवश्यकWhether it is sold on this install.
intervalsstring[]आवश्यकThe billing intervals it is sold at. Empty for Free.
इनमें से एक"month""year"monthlyPriceCentsintegerThe price billed monthly, in US cents a month.
कम से कम 0yearlyMonthlyPriceCentsintegerThe price billed yearly, in US cents a month.
कम से कम 0includedDomainsintegerDomains it includes. Null when there is no limit.
null हो सकता हैकम से कम 0monthlySendsintegerSends it includes each calendar month. Null when there is no limit.
null हो सकता हैकम से कम 0dailyAiActionsintegerAI actions it includes each day. Null when there is no limit.
null हो सकता हैकम से कम 0teamAccessbooleanWhether members can be added.
prioritySupportbooleanextraSendsbooleanWhether pay as you go can buy sends past the allowance.
extraAiActionsbooleanWhether pay as you go can buy AI actions past the allowance.
BillingPlanListobject
objectstring- इनमें से एक
"list" dataBillingPlan[]
BillingPortalobject
objectstring- इनमें से एक
"billing_portal" urlstring- फ़ॉर्मैट
uri
BillingUsageobject
objectstringआवश्यक- इनमें से एक
"usage_history" daysobject[]आवश्यकdaystring- फ़ॉर्मैट
date aiActionsintegerAI actions that day.
कम से कम 0aiExtraintegerOf those, the ones past the daily allowance, billed by pay as you go.
कम से कम 0sendsintegerEmails sent that day.
कम से कम 0
monthsobject[]आवश्यकmonthstringThe month, as YYYY-MM.
extraSendsintegerSends billed by pay as you go.
कम से कम 0extraAiActionsintegerAI actions billed by pay as you go.
कम से कम 0sendCentsintegerWhat the extra sends cost, in US cents.
कम से कम 0aiCentsintegerWhat the extra AI actions cost, in US cents.
कम से कम 0centsintegerBoth, in US cents.
कम से कम 0
dailyAiActionsintegerAI actions the plan includes each day. Null when there is no limit.
null हो सकता हैकम से कम 0monthlySendsintegerSends the plan includes each month. Null when there is no limit.
null हो सकता हैकम से कम 0
PayAsYouGoobject
objectstringआवश्यक- इनमें से एक
"pay_as_you_go" availablebooleanआवश्यकWhether the plan of the workspace can buy anything past its allowances.
enabledbooleanआवश्यकWhether usage past the allowances is being billed now: switched on and not paused.
suspendedbooleanPaused because the last payment failed. Update the card on the billing portal to resume.
enrolledbooleanWhether pay as you go has ever been set up, with a card, on this workspace.
switchedOnbooleanWhether it is switched on, paused or not.
coversSendsbooleanWhether sends past the monthly allowance can be bought on this plan.
coversAiActionsbooleanWhether AI actions past the daily allowance can be bought on this plan.
limitCentsintegerThe monthly spending limit in US cents. Extras stop once a calendar month reaches it.
spentCentsintegerWhat extras cost this calendar month so far, in US cents.
कम से कम 0extraSendsintegerSends past the allowance this month.
कम से कम 0extraAiActionsintegerAI actions past the allowance this month.
कम से कम 0estimatedCentsintegerWhat those extras come to, in US cents.
कम से कम 0limitsinteger[]आवश्यकThe monthly limits that can be chosen, in US cents.
इनमें से एक100025005000100002500050000100000250000500000pricesobjectआवश्यकWhat extras cost:
priceCentsUS cents for everyunit.sendsobjectunitintegerpriceCentsinteger
aiActionsobjectunitintegerpriceCentsinteger
periodobjectThe current billing period of pay as you go. Null until it is set up.
null हो सकता हैendsAtstring- फ़ॉर्मैट
date-time sendsintegerExtra sends in the period.
कम से कम 0aiActionsintegerExtra AI actions in the period.
कम से कम 0estimatedCentsintegerWhat they come to, in US cents.
कम से कम 0
PayAsYouGoConfirmationobject
objectstring- इनमें से एक
"pay_as_you_go_confirmation" enabledboolean
PayAsYouGoLimitobject
objectstring- इनमें से एक
"pay_as_you_go_limit" limitCentsinteger
PayAsYouGoSwitchobject
objectstring- इनमें से एक
"pay_as_you_go_switch" enabledbooleansuspendedbooleanactivatingbooleanA card was just saved, and pay as you go is being turned on.
checkoutUrlstringWhere the person adds a card, the first time pay as you go is turned on.
null हो सकता है