Skip to main content
SaaSVersion: v3

Update Location Wallet Balance

POST/saas/companies/{companyId}/locations/{locationId}/wallet-balance/complimentary-credits
deprecated

This endpoint has been deprecated and may be replaced or removed in future versions of the API.

Update the wallet balance or complimentary credit settings for a specific location. Supports partial updates via updateMask field (AIP-134 compliant). Deprecated: this operation has moved to the Wallet API (POST /wallet/balance/complimentary-credits) and will be removed from the SaaS API in the next version. Request and response shapes are unchanged except that companyId is resolved from the access token and locationId moves into the request body. Use an Agency access token carrying the wallet.write scope.

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 optionsv3
Example:v3

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