API Reference
Base URL
All API requests should be made to:
https://api.finfusion.cloud
Authentication
FinFusion uses API keys for authentication. Include your API key in the Authorization header of all requests:
```bash Authorization: Bearer YOUR_API_KEY ```Payments
Create Payment
Create a new payment with the specified amount and currency.
curl -X POST https://api.finfusion.cloud/v1/payments \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"amount": 1000,
"currency": "USD",
"description": "Test payment"
}'
API Playground
Create a new payment
- Endpoint
- /v1/payments POST
- Headers
- Required
- Parameters
- Amount in cents Type: numberThree-letter currency code Type: stringPayment description Type: string
- Response
-
// Response will appear here
List Payments
Retrieve a list of payments with optional filtering.
API Playground
List all payments
- Endpoint
- /v1/payments GET
- Headers
- Required
- Parameters
- Number of payments to return Type: numberCursor for pagination Type: string
- Response
-
// Response will appear here
Webhooks
FinFusion can send webhook notifications to your application when events occur.
Webhook Security
Always verify webhook signatures to ensure the requests are coming from FinFusion.