apply_billing_profile

Link countries with a billing profile

Billing.apply_billing_profile(selector=None, **kwargs) → ApiResponse

Links one or more countries to a billing profile.

The service calls this applying a profile: after it, the countries named charge through that profile.

Request Body (required)

  • billingProfileUsages (array): required. One entry per country and profile pairing, which reads back in the same shape list_billing_profile_usages returns.

The contract does not describe the fields inside each entry, so read one back from list_billing_profile_usages before building a body here.

Warning

Not exercised. Applying a profile changes how an account gets charged.

Returns

ApiResponse. The contract answers 207, a multi-status, not 200.