gdex_add_funds
Add funds to a GDEX account using Apple Pay, card, or crypto; returns a checkout link or deposit details plus a funding operation to track until USDC is credited.
Instructions
Add money to the account. method apple_pay or card: returns the checkout link for the provider gdex.pro uses (Meld) and the exact steps (receive USDC on the given network, paste the shown GDEX wallet address); the provider shows the real charge, fees and minimum. method crypto: returns the deposit address, network and token. Either way returns a funding operation: follow it with gdex_operation; it reports credited only when USDC is in the wallet, and a pending funding is resumed instead of starting a second payment. Funding never authorizes a trade.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"accountRef": "<accountRef>",
"method": "<method>"
},
"name": "gdex_add_funds"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | Where the USDC should land (default base). Pick the chain of the trade the user wants. | |
| method | Yes | ||
| amountUsd | No | What the user wants to pay, in USD (shown in the steps; the provider sets the final charge) | |
| accountRef | Yes | ||
| newPayment | No | Only when the user explicitly wants a second payment while one is pending |