Skip to main content
Stripe logo

Stripe

Lets an agent read and create resources in Stripe.

What it can do

MethodWhat it does
stripe_list_customersList Stripe customers; filter by email, paginate via starting_after.
stripe_get_customerGet a customer by id.
stripe_create_customerCreate a customer.
stripe_list_payment_intentsList PaymentIntents.
stripe_get_payment_intentGet a PaymentIntent by id.
stripe_list_chargesList charges.
stripe_get_chargeGet a charge by id.
stripe_get_balanceGet the account balance.
stripe_create_payment_intentCreate a PaymentIntent - amount in minor units, currency in lowercase ISO.
stripe_create_refundCreate a refund - needs charge_id or payment_intent_id; amount optional for partial refund.

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.
We love our partners - FlyMy.AI builds with the best. Thanks, Stripe!