Subscriptions

Get usage charge permission

Changed on

Determines whether the current user is authorized to create usage charges for the usage product. This does not evaluate subscription status, payment method, price, or other create-charge validation.

get/subscriptions/usages/{usageId}/charge-permission

Request

  • Base URL
    https://api.smokeball.com
  • URL
    https://api.smokeball.com/subscriptions/usages/{usageId}/charge-permission
  • Auth
    API key in header x-api-key and API key in header Authorization

Path parameters

usageIdstring uuid required

The unique identifier of the usage product.

Response

When the usage product exists.

canCreateUsageChargeboolean

Whether the current user is authorized to create a usage charge for the product.

Changes