Capture wallet quota
POST/wallet/quota/capture
Asynchronously capture wallet quota for future consumption
Request
- application/json
Body
required
Input parameters for capturing wallet quota
amount integerrequired
Quotas is a map representing different quota types and their corresponding values. @json: quotas @binding: required
cardId stringrequired
Card id is the unique identifier of the wallet card. @json: cardId @binding: required
duration integerrequired
Possible values: >= 1
Reason The duration on the capture @json: Duration @binding: required,min=5
metadata object
Extra metadata to add to the request @json: Metadata
property name* any
Extra metadata to add to the request @json: Metadata
reason stringrequired
Reason provides a description or reason for adding 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
captureId string
{
"captureId": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "string"
}
Loading...