Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
amount_cents | number | Yes | Amount to add in cents, like 5000 for 2.00 to $10,000.00 (200 to 1000000 cents). |
payment_method | string | No | apple_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 or when a guest checkout daily or lifetime cap has been reached. The first time an account funds its wallet, the response isphone_verification_required: call start_phone_verification to send the user a one-time code, verify_phone with the code they read back, then retry fund_wallet. The verification stays fresh for 60 days. If the account is phone-only, funding may also return email_required (add an email with link_account first, since the payment provider needs a contact email on the order).