Skip to main content
SaasVersion: 2023-02-21

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.write
Auth methods:OAuthPrivate Integration
Token type:Agency Token

Request​

Headers

Versionstringrequired

API Version

Available options2023-02-21

Path Parameters

companyIdstringrequired

Company ID that owns the location

Example:5DP4iH6HLkQsiKESj6rh
locationIdstringrequired

Location ID to update wallet balance for

Example:AUKAtFVo0lWezBsBQ3FE

Body

complimentaryCreditsAmountnumber

Credit amount to be added

Example:100

Response

Location wallet balance updated successfully

walletIdstringrequired

Wallet Id

Example:xyz789
balancenumberrequired

Current wallet balance

Example:1500.5
complimentaryCreditsnumberrequired

Complimentary credits amount

Example:100