Stripe Connector
Prerequisites
Before you begin, you need to have a Stripe account. If you don't have one, you can sign up for a Stripe account here. Make sure you have created a Stripe API, with the least amount of permissions required to access the functionality of the Stripe Connector you plan to use. You can find more information about how to create an API key here.
info
Make sure to create an API key dedicated to Formance. Doing so will improve your auditability and security and will allow you to revoke access to Formance at any time if needed.
Setup
- fctl
- curl
read "STRIPE_API_KEY"
fctl payments connectors install stripe $STRIPE_API_KEY
STACK="stack_123" \
read STRIPE_API_KEY && \
echo -X POST "https://$STACK.formance.cloud/api/payments/connectors/stripe" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TOKEN" \
-d "{ \
\"pollingPeriod\": \"300s\", \
\"apiKey\": "$STRIPE_API_KEY", \
\"pageSize\": 50 \
}"