get_one_time_price
async
¶
get_one_time_price(
app_id: AppId,
one_time_price_id: OneTimePriceId,
scope: RequestScope,
*,
config_overrides: Optional[AsyncAppMonetizationClientConfig] = None,
) -> GetOneTimePriceResponse
Returns the details of a one-time price.
Parameters:
-
app_id(AppId) –The ID of the app the one-time price belongs to.
-
one_time_price_id(OneTimePriceId) –The ID of the one-time price to return.
-
scope(RequestScope) –Required. The environment: live or sandbox. live reads the published offering; sandbox reads the app's draft (what the sandbox runs).
Raises:
-
AccessDeniedException–The caller does not have sufficient permission to perform this action.
-
InternalServerException–An unexpected error occurred while processing the request.
-
ResourceNotFoundException–The referenced resource does not exist.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The request failed input validation.
-
UnknownServiceError–The service returned an error code this client does not model.