Consume captured quota
POST/wallet/quota/consumeCapture
Consume a captured quota transaction
Request
- application/json
Body
required
Input parameters for consuming captured quota transaction
amount integerrequired
Amount represents the amount to be consumed from the captured quota. @json: amount @binding: required
captureId stringrequired
CaptureId is the identifier of the captured quota transaction. @json: captureId @binding: required
cardId stringrequired
CardId is the unique identifier of the card. @json: cardId @binding: required
metadata object
Metadata contains additional information related to the consumption of captured quota. @json: metadata
property name* any
Metadata contains additional information related to the consumption of captured quota. @json: metadata
reason stringrequired
Reason provides a description or reason for consuming the captured quota. @json: reason @binding: required,min=0
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...