Skip to main content
Docs menu
All MCP tools

MCP tools · Links, uploads and test calls

Send a payment link to top up or upgrade

send_payment_link

Top up this workspace's wallet, or upgrade its plan, without opening Billing: the server makes a Razorpay payment link and sends it only to the caller's own verified WhatsApp or email from their profile (there is no recipient to choose; it never goes to anyone else). The person pays on Razorpay's page; nothing is charged by this call, and you never see or handle card or bank details: never pass or ask for them. Confirm the credits or the plan with the user first. purpose wallet_topup needs credits; purpose plan_change needs plan_key and only works for a paid upgrade on a monthly plan asked by the workspace Owner (downgrades and other changes are refused: a person does them in Billing). Only Owners and Admins can send one, and the organization may not allow it yet (refused). After it is sent, check get_handoff_status once the user says they paid.

Scope needed
admin:write
Acts as
You, the signed-in member. Needs a workspace Owner or Admin.
Changes data
Yes
Held for approval
No
Available to
Switched on per organization (link, upload and test call tools)

Inputs

NameTypeDescription
org_idstringOrganization id. Optional when the user belongs to one organization; otherwise the error lists theirs.
purposerequiredenum: wallet_topup | plan_changewallet_topup: buy credits for the wallet. plan_change: upgrade to a paid monthly plan (Owner only).
creditsnumberwallet_topup only: whole credits to buy, for example 500. The server prices it.
plan_keystringplan_change only: the plan to move to, as the workspace names it (for example Growth).
send_toenum: auto | whatsapp | email | bothWhich of the caller's own channels: auto (WhatsApp, else email; the default), whatsapp, email or both.