Skip to main content
PUT
Save organization billing details
Requires the IAM action billing:UpdateBillingProfile. See BILLING permissions for the full list, what each one covers, and an example policy.

Authorizations

Authorization
string
header
required

An OAuth 2.0 bearer token, sent as Authorization: Bearer <token>. This is the recommended way to authenticate.

Get one by exchanging a service account's access key pair at POST /v1/oauth/token with grant_type=client_credentials. It is the standard client-credentials grant, so any OAuth-aware library will obtain and refresh it for you.

Tokens last an hour by default. The same access key pair is separately your AWS SigV4 credential for the S3-compatible object endpoint, which speaks nothing else.

Body

application/json

Replaces the billing profile. Supplied values that are invalid for the country are rejected with 400; missing ones are accepted and reported in missing_fields.

customer_type
enum<string>
Available options:
,
individual,
company
company_name
string
Maximum string length: 75
tax_id
string

Separators and case are ignored; the identifier is checked against the country's rules, including check digits where one is named.

Maximum string length: 50
Example:

"04.252.011/0001-10"

tax_id_kind
string

Needed only when a customer type accepts more than one kind; otherwise the matching kind is chosen.

no_tax_id_reason
string
Maximum string length: 100
email
string<email>
Maximum string length: 75
phone
string

Phone with its country calling code. Spaces, dots, dashes and parentheses are ignored; stored as E.164.

Example:

"+55 (11) 98765-4321"

country
string

Country UUID, CRN, or ISO alpha-2 or alpha-3 code. Defaults to Brazil.

Example:

"BR"

state
string

State UUID, CRN, or code, where the country lists states. Omit when a city is given; the city implies it.

Example:

"SP"

city
string

City UUID or CRN, where the country lists cities.

address
object

Address values keyed by the field keys the country's rules declare. A key the country does not use is rejected. state and city appear here only where the country types them as text.

Example:

Response

Saved details, readiness and missing fields.

billing_profile
object
required

Organization billing recipient. Incomplete drafts are saved; ready becomes true only when the country's address and tax identifier rules are satisfied. New onboarding completes after this step.