Docs menu
MCP tools · Links, uploads and test calls
Send a payment link to top up or upgrade
send_payment_linkTop 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
| Name | Type | Description |
|---|---|---|
| org_id | string | Organization id. Optional when the user belongs to one organization; otherwise the error lists theirs. |
| purposerequired | enum: wallet_topup | plan_change | wallet_topup: buy credits for the wallet. plan_change: upgrade to a paid monthly plan (Owner only). |
| credits | number | wallet_topup only: whole credits to buy, for example 500. The server prices it. |
| plan_key | string | plan_change only: the plan to move to, as the workspace names it (for example Growth). |
| send_to | enum: auto | whatsapp | email | both | Which of the caller's own channels: auto (WhatsApp, else email; the default), whatsapp, email or both. |