Team user billing details endpoint¶
Team user billing details documentation
Fetch team user billing details¶
- team_user_billing_details(team_id)¶
- Parameters:
team_id (str) – ID of the team
- Returns:
Team users billing details model
Example:
details = client.team_user_billing_details(1234)
details.billing_email # => "hello@example.com"
details.address1 # => "Sample line 1"
Create team user billing details¶
- create_team_user_billing_details(team_id, params)¶
- Parameters:
team_id (str) – ID of the team
params (dict) – Billing details parameters
- Returns:
Team users billing details model
Example:
details = client.create_team_user_billing_details(1234, {
"billing_email": "hello@example.com",
"country_code": "LV",
"zip": "LV-1234"
})
details.zip # => "LV-1234"
details.country_code # => "LV"
Update team user billing details¶
- update_team_user_billing_details(team_id, params)¶
- Parameters:
team_id (str) – ID of the team
params (dict) – Billing details parameters
- Returns:
Team users billing details model
Example:
details = client.update_team_user_billing_details(1234, {
"city": "Riga",
"phone": "+371123456",
"company": "Self-employed",
"vatnumber": "123"
})
details.city # => "Riga"
details.company # => "Self-employed"