Update Location Wallet Balance
POST/saas-api/public-api/companies/:companyId/locations/:locationId/wallet-balance/complimentary-credits
Update the wallet balance or complimentary credit settings for a specific location. Supports partial updates via updateMask field (AIP-134 compliant).
Request
Version stringrequired
API Version
Available options
2023-02-21companyId stringrequired
Company ID that owns the location
locationId stringrequired
Location ID to update wallet balance for
- application/json
- Body
- Example (auto)
Bodyrequired
complimentaryCreditsAmountnumber
Credit amount to be added
{
"complimentaryCreditsAmount": 100
}
Location wallet balance updated successfully
- application/json
- Schema
- Example (auto)
Schema
walletIdstringrequired
Wallet Id
balancenumberrequired
Current wallet balance
complimentaryCreditsnumberrequired
Complimentary credits amount
{
"walletId": "xyz789",
"balance": 1500.5,
"complimentaryCredits": 100
}