Assign Wallet to Advertiser

Makes a wallet available to an Advertiser's Campaigns.

Makes a wallet available to the Advertiser's Campaigns. It does not link the wallet to a Campaign or change the Balance. A wallet has one Advertiser at a time, and an Advertiser can have many wallets.

Keep the Id in the response. Removing the assignment takes it, not the wallet ID.

API syntax

POST https://api.kevel.co/v1/advertiser/{AdvertiserID}/wallet

Errors

StatusMessageWhat to do
400Wallet {id} is already assigned to an advertiser.If it is this Advertiser's, there is nothing to do. Otherwise create a separate wallet.
400The Advertiser Id in the URL conflicts with the AdvertiserId in the request body.Leave out AdvertiserId, or make it match the URL.
400Advertiser-wallet link already exists for wallet {id}.The wallet is already assigned to this Advertiser. There is nothing to do.
404Wallet {id} not found.Use one of your wallet IDs.
404Advertiser not foundUse one of your Advertiser IDs.
Path Params
integer
required

The Advertiser's ID.

Body Params
integer
required

The wallet to assign.

integer

Optional. If you send it, it must match the Advertiser in the URL.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Choose an example:
application/json