API Documentation

API Documentation

Welcome to the PayFlow Analytics API. Our REST API allows you to programmatically access customer data, process transactions, and retrieve analytics.

Base URL

https://api.payflowanalytics.com/v1

Authentication

All API requests require authentication via Bearer token in the Authorization header:

Authorization: Bearer YOUR_API_KEY

Get your API key from Settings → API Keys in your dashboard.

Endpoints

GET /customers

List all customers

curl -H "Authorization: Bearer YOUR_API_KEY" \
     https://api.payflowanalytics.com/v1/customers

POST /transactions

Create a new transaction

curl -X POST \
     -H "Authorization: Bearer YOUR_API_KEY" \
     -H "Content-Type: application/json" \
     -d {"amount": 1000, "customer_id": 123} \
     https://api.payflowanalytics.com/v1/transactions

GET /analytics

Retrieve analytics data

Rate Limits

  • Free: 100 req/hour
  • Pro: 10,000 req/hour
  • Enterprise: Unlimited

SDKs

Official SDKs available for Node.js, Python, Ruby, and PHP.

Download: github.com/payflow/api-sdks