🔌 API Reference

Payments API

Process payments and manage payment intents with our REST API.

Payment Intents
Create payment intents to initiate payment processing
POST/v1/payments/intents
curl -X POST https://api.payflow.com/v1/payments/intents \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "amount": 2500,
    "currency": "PKR",
    "description": "Premium Course Access"
  }'
List Payments
Retrieve a list of your payments
GET/v1/payments
curl -X GET "https://api.payflow.com/v1/payments?limit=20" \
  -H "Authorization: Bearer YOUR_API_KEY"