Everything you need to know about the PayFlow API structure, authentication, and endpoints.
https://api.payflow.com/v1
Note: Replace v1
with the latest API version when available.
Include your API key in the Authorization
header of every request:
Authorization: Bearer pk_live_YOUR_API_KEY
Use pk_test_
keys for development and testing.
Use pk_live_
keys for production transactions.
Create a new payment link
Create payment intent
Create a new customer
Create webhook endpoint
POST /v1/payment_links Authorization: Bearer pk_live_YOUR_API_KEY Content-Type: application/json { "title": "Product Name", "description": "Product description", "amount": 1000, "currency": "PKR", "expires_at": "2024-12-31T23:59:59Z" }
Standard rate limit for most endpoints
Hourly rate limit for high-volume operations
Daily rate limit for all API calls
Rate Limit Headers: The API includes X-RateLimit-*
headers in responses to help you track your usage and stay within limits.
Don't see your language? We provide comprehensive REST API documentation for all integrations.
View all SDKs on GitHub →