Mangopay Connector
Prerequisites
Before you begin, you need to have a Mangopay account. If you don't have one, you can sign up for a Mangopay account here. Make sure you have a Mangopay clientID and API key, with the least amount of permissions required to access the functionality of the Mangopay Connector you plan to use.
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 mangopay mangopay.json
curl -X POST "https://$STACK.formance.cloud/api/payments/connectors/mangopay" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TOKEN" \
-d @mangopay.json
With mangopay.json containing:
{
"name": "mangopay",
"clientID": "<clientID>",
"apiKey": "<apiKey>",
"endpoint": "<endpoint>",
"pollingPeriod": "2m"
}