Docs › API Reference › Billing Service › POST /admin/billing/subscription/{tenant_id}/apps/{app_id}/pricing
POST /admin/billing/subscription/{tenant_id}/apps/{app_id}/pricing
Configure a separate resource pricing scheme for a specific application of a tenant (each resource type independently priced), overriding default plan pricing. Supports setting included units, unit price and overage unit price.
Billing Service `bearerAuth` application/json
Request Parameters
Name In Type Required Default Example Constraints Description
tenant_id
path
string
Yes
Tenant ID
app_id
path
string
Yes
Application ID
Responses
Status Description Schema
200 Application pricing configured successfully dto.AppSubscriptionDetailResponse400 Invalid request parameters object401 Unauthorized object403 No permission object500 Internal server error object
Referenced Schemas
Field Type Required Example Constraints Description
resource_type
string
Yes
api_calls
included_units
integer
No
10000
overage_unit_price
number
No
0.05
unit_label
string
No
times
unit_price
number
No
0.01
dto.AppResourcePricingResponse
Field Type Required Example Constraints Description
id
string
No
arp_001
included_units
integer
No
10000
overage_unit_price
number
No
0.05
resource_type
string
No
api_calls
subscription_app_id
string
No
sa_001
unit_label
string
No
times
unit_price
number
No
0.01
dto.AppSubscriptionDetailResponse
Field Type Required Example Constraints Description
code
integer
No
data
dto.SubscriptionAppResponse
No
message
string
No
timestamp
string
No
dto.SubscriptionAppResponse
Field Type Required Example Constraints Description
app_id
string
No
app_001
created_at
string
No
2026-04-01T00:00:00Z
id
string
No
sa_001
pricings
array ofSee dto.AppResourcePricingResponse
No
status
string
No
active
subscription_id
string
No
sub_001
tenant_id
string
No
tnt_xyz789