Use Quota Handler
POST/wallet/quota/use
Endpoint for using quota
Request
- application/json
Body
required
Input parameters for using quota
amount integerrequired
Amount is the amount of quota to be used. @json: amount @binding: required,min=0
cardId stringrequired
CardId is the unique identifier of the card. @json: cardId @binding: required
metadata object
Metadata contains additional metadata related to the quota usage. @json: metadata
property name* any
Metadata contains additional metadata related to the quota usage. @json: metadata
reason stringrequired
Reason is the reason for using the quota. @json: reason @binding: required,min=0
walletId stringrequired
WalletId is the unique identifier of the wallet. @json: walletId @binding: required
Responses
- 201
- 400
- 404
Created
- application/json
- Schema
- Example (from schema)
Schema
eventId string
{
"eventId": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
message string
{
"message": "string"
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
message string
{
"message": "string"
}
Loading...