Skip to content

PutCustomChargesRequest

Source code in docs_src/capo_appmonetization/types/put_custom_charges_request.py
class PutCustomChargesRequest(TypedDict, closed=True):
    app_id: "capo_appmonetization.types.app_id.AppId"
    """The ID of the app."""
    user_id: "capo_appmonetization.types.user_id.UserId"
    """The end user these charges bill."""
    charges: "capo_appmonetization.types.custom_charge_list.CustomChargeList"
    """The custom charges to add to this user's next invoice. Stored at the submitted grain; the service never splits a charge. Accepted all-or-nothing."""
    scope: "capo_appmonetization.types.request_scope.RequestScope"
    """Required. The environment: live or sandbox."""

app_id instance-attribute

app_id: AppId

The ID of the app.

charges instance-attribute

The custom charges to add to this user's next invoice. Stored at the submitted grain; the service never splits a charge. Accepted all-or-nothing.

scope instance-attribute

scope: RequestScope

Required. The environment: live or sandbox.

user_id instance-attribute

user_id: UserId

The end user these charges bill.