Get billing details
Who the organization's invoices are made out to: the legal name,
the email invoices and receipts go to, the address, and the tax
number. complete says whether enough is on file for a proper
invoice; tax_id_supported says whether a tax number can be filed
for this country and entity type.
Every field is empty while no billing details or card have been saved.
Requires the billing:profile:read scope.
Authorization
Responses
200
The billing details.
dataBillingProfileShow BillingProfile properties
entity_typestringlegal_namestringThe company or person invoices are made out to.emailstringWhere invoices and receipts are sent.addressBillingAddressShow BillingAddress properties
line1stringline2stringLeft out when empty.citystringstatestringLeft out when empty.postal_codestringcountrystringTwo-letter country code (ISO 3166-1 alpha-2).
tax_idstringtax_id_typestringWhat the number is filed as, e.g.eu_vat. Left out when there is no number.tax_id_supportedbooleanWhether a tax number can be filed for this country and entity type.completebooleanWhether enough is on file for a proper invoice.
401
No API key was sent, or it is unknown, revoked or expired (UNAUTHORIZED).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
403
The key lacks the scope this endpoint needs (FORBIDDEN).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
429
Too many requests (RATE_LIMITED). Wait for Retry-After seconds.
Retry-AfterintegerSeconds to wait before retrying.
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
502
The billing details could not be loaded from the payment provider (PROFILE_UNAVAILABLE). Retry later.
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
503
Payments are not enabled on this environment (PAYMENTS_DISABLED).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
Example request
curl -X GET 'https://evohub.io/api/v1/billing/profile' \
-H 'Authorization: Bearer <TOKEN>'
