Entity Credit Tier
Last updated
Last updated
Decrement credits for a user in a specific entity.
Successful response
true
Buy credits for a user in a specific entity.
Successful response
true
Decrement credits for a user in a specific entity.
Successful response
true
This endpoint allows to make payment.
"stripe-payment-method-id"
Successful response
true
This endpoint allows the entity owner to add a new credit tier.
The data for the new credit tier.
The amount of credits in the tier.
The amount of extra bonus credits.
The price of the credit tier.
The ID of the credit tier.
The name of the credit tier.
The recurring time period for the credit tier.
Successful response
true
Purchase credits for a user in a specific entity.
Successful response
true
This endpoint allows the entity owner to update an existing credit tier.
The data for updating the credit tier.
The updated amount of credits in the tier.
The updated amount of extra bonus credits.
The updated price of the credit tier.
The ID of the credit tier to update.
The updated name of the credit tier.
The updated recurring time period for the credit tier.
Successful response
true
This endpoint retrieves credit tiers of an entity.
Successful response
true
Retrieve the credit information for a user.
Successful response
true
This endpoint retrieves credit tiers for user of an entity.
Successful response
true
This endpoint allows users to approve a payment for an entity.
The request body for approving a payment.
The ID of the payment intent to approve.
"pi_123456789"
Successful response
true
This endpoint allows users to retrieve the credit tiers for a specific entity.
Successful response
true
This endpoint allows users to create a payment intent for an entity.
The request body for creating a payment intent.
Successful response
true