createPaymentSession
createPaymentSession: Stage a Stripe checkout session to add funds to the account balance. Requires authentication. Returns an actionId; present the summary to the user, then call executeConfirmedAction with the actionId if they approve. The executed result includes checkoutUrl (hand it to the human to pay) and expiresAt; then poll getPaymentTransactions until the balance credit appears.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount to add to the balance, in the account currency as a decimal (e.g. 25.00). | |
| currency | No | 3-letter ISO 4217 currency code, default USD. | |
| sessionKey | No | Session key (osk_...) returned by checkDeviceLoginStatus. Pass it on every call when logged in via the in-chat device flow; omit when connected via OAuth. |