Credits Usage API

GET

https://api.apifreaks.com/v1.0/credits/usage/info

format
Format of the Response

Sample Responses

403
LANGUAGE
Python
PHP
Java
Node
Ruby
$ pip install requests
RESPONSE

Click Test it to start the request and see the response here!


API Response

FieldTypeRequirementDescription
apiKeyStringMandatory
API key provided in the input whose usage is required
userStatusStringMandatory
status of user. Possible values are: (1) active (2) inactive (3) deleted
subActiveBooleanOptional
Whether subscriptions credits are consumable or not
subStatusStringOptional
Status of the subscription credits. Possible values are: (1) active (2) overdue (3) cancelled (4) deactivated
subAllowedCreditsIntegerOptional
Allowed credits limit of subscription credits
subUsedCreditsIntegerOptional
Used credits from subscription credits
subSurchargeStatusStringOptional
Status of Subscription Surcharge. Possible values are: (1) none (2) payment_added (3) payment_cleared
subSurchargeAllowedCreditsIntegerOptional
Surcharge allowed credits for susbcription
subSurchargeUsedCreditsIntegerOptional
Surcharge used credits from for susbcription
subSurchargeAllowedBooleanOptional
Whether surcharge credits are allowed for subscription or not
oneOffCreditsActiveBooleanMandatory
Whether one-off credits are consumable or not
oneOffAllowedCreditsIntegerMandatory
Allowed credits limit of one-off credits
oneOffUsedCreditsIntegerMandatory
Used credits from one-off credits