Skip to main content
Adds funds to the agent’s USD funding wallet via Apple Pay or Google Pay. Use it when the wallet balance is too low for what the agent needs to do next.

Parameters

ParameterTypeRequiredDescription
amount_centsnumberYesAmount to add in cents, like 5000 for 50.00.Allowedrangeis50.00. Allowed range is 2.00 to $10,000.00 (200 to 1000000 cents).
payment_methodstringNoapple_pay or google_pay. Defaults to apple_pay.

Returns

An onramp session summary with a checkout URL the user must open to complete payment; check the updated balance with get_wallet once payment completes. If no wallet exists yet, the response asks you to call get_wallet first, since that provisions one automatically. It also explains clearly when the amount is outside the allowed range, when verification is still required (see submit_user_info), or when a guest checkout daily or lifetime cap has been reached.

Example

{ "name": "fund_wallet", "arguments": { "amount_cents": 5000 } }