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
fctl payments connectors install stripe stripe.json
curl -X POST "https://$STACK.formance.cloud/api/payments/connectors/stripe" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TOKEN" \
-d stripe.json
With stripe.json containing:
{
"name": "stripe",
"apiKey": "<apiKey>",
"pollingPeriod": "2m",
"pageSize": 100
}