SaasVersion: 2021-07-28
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).
Authorizations
Authorizationstringheaderrequired
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
Scope:
saas/ company. writeAuth methods:
OAuthPrivate IntegrationToken type:
Agency TokenRequest
Headers
Versionstringrequired
API Version
Available options
2021-07-28Path Parameters
companyIdstringrequired
Company ID that owns the location
Example:
5DP4iH6HLkQsiKESj6rhlocationIdstringrequired
Location ID to update wallet balance for
Example:
AUKAtFVo0lWezBsBQ3FEBody
complimentaryCreditsAmountnumber
Credit amount to be added
Example:
100Response
Location wallet balance updated successfully
walletIdstringrequired
Wallet Id
Example:
xyz789balancenumberrequired
Current wallet balance
Example:
1500.5complimentaryCreditsnumberrequired
Complimentary credits amount
Example:
100