Skip to main content

Stripe

Lets an agent read and create resources in Stripe.

What it can do

  • Customers: list_customers, get_customer, create_customer
  • Payments: list_payment_intents, get_payment_intent, create_payment_intent
  • Charges & refunds: list_charges, get_charge, create_refund
  • Account: get_balance
  • Stripe Connect: pass STRIPE_ACCOUNT (acct_…) to act on a connected account.

How to get credentials

Use a Restricted key with only the permissions the agent needs — do not paste your full secret key.

  1. Open dashboard.stripe.com/apikeys.
  2. Create restricted key, name it (e.g. FlyMyAI Agent).
  3. Grant permissions: typically Write on Customers, Payment Intents, Refunds; Read on Balance and Charges.
  4. Copy the rk_… (or sk_… if you chose a full secret key).

Use the test key (rk_test_… / sk_test_…) first — all the same actions work on the Stripe test mode.

Fields to fill in FlyMyAI

FlyMyAI fieldWhere it comes from
STRIPE_SECRET_KEYDashboard → API keys → Restricted key
STRIPE_ACCOUNT (optional)Connected account id (acct_…)

Troubleshooting

  • permission_error — the restricted key is missing the scope. Edit the key and add the permission.
  • Objects missing — you're in the wrong mode. Test keys only see test data; live keys only see live data.