MCP tools

Add ad account funds

Starts adding funds to an ad account from an ad account request: prices the budget plus Koast's fee and the platform location fee, and returns the payment page (checkoutUrl) the user must open to pay.

Tool name: add-ad-account-funds.

Starts adding funds to an ad account from an ad account request: prices the budget plus Koast's fee and the platform location fee, and returns the payment page (checkoutUrl) the user must open to pay. Nothing is charged until they pay there, and the funds reach the ad account once the payment is received.

When to use

Use when the user asks to add funds or budget to an ad account Koast created for them. Quote it first with quote-ad-account-funds and confirm the total with the user, then give them the checkoutUrl. Never open or pay it for them.

Access

PropertyValue
Required scopewrite
PublishesNo
Read-onlyNo
DestructiveNo
IdempotentNo
Open worldYes

Input

FieldTypeRequiredDescription
requestIdstringYesThe ad account request id, or its Koast reference (KST-…). At most 40 characters.
adAccountIdstringYesThe ad account to fund, act_…: one of the request's accounts. At most 40 characters.
budgetCentsintegerYesThe budget to land on the ad account, in cents of the request's currency. Koast's fee and the platform location fee are added on top of it.
paymentMethodstringYesHow the customer pays: card, bank_transfer (a US bank transfer, USD accounts only) or crypto (USDC, USD accounts only, when Koast offers it). Koast's fee depends on it. One of card, bank_transfer, crypto.

Output

FieldTypeRequiredDescription
topUpobjectYes
checkoutUrlstringYesThe payment page. The user opens it to pay; nothing is charged until they do. It expires after 24 hours unpaid.

REST equivalent

POST /v1/ad-account-requests/{requestId}/top-ups, Add ad account funds. CLI: koast add-ad-account-funds.

On this page