Deduct quota
POST/wallet/quota/deduct
Deduct quota from a wallet
Request
- application/json
Body
required
Input parameters for deducting quota
amount integerrequired
Amount represents the amount to be deducted as quota. @json: amount @binding: required,min=0
metadata object
Metadata contains additional information related to the quota deduction. @json: metadata
property name* any
Metadata contains additional information related to the quota deduction. @json: metadata
reason stringrequired
Reason provides a description or reason for deducting 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
Created
- application/json
- Schema
- Example (from schema)
Schema
eventId string
{
"eventId": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "string"
}
Loading...