Request Conventions
Transport
Use HTTPS endpoints and JSON payloads for API requests.
Authentication
Send
client-id and client-secret headers on every request.Amounts
Send integer minor-unit amounts only. Decimals are not supported.
Required Headers
Base URLs
| Environment | Base URL |
|---|---|
| Sandbox | https://sandbox-api.payfonte.com |
| Production | https://api.payfonte.com |
Response Structure
Success Responses (2xx)
Most successful responses follow this shape:Error Responses (4xx/5xx)
Pagination and Filtering
List endpoints such asGET /payments/v1/checkouts and GET /billing/v1/disbursements support:
page(default:1)limit(default:4, max:100)dateFrom(optional,YYYY-MM-DD)dateTo(optional,YYYY-MM-DD)
Webhook Override Fields
Certain endpoints allow request-level webhook overrides:- Collections endpoints use
webhook - Disbursement request uses
webhookURL
Amount Formatting Rule
Payfonte does not support decimal amounts in API requests.- Incorrect:
"amount": 1250.75 - Correct:
"amount": 125075
Related Docs
Authorization
Required auth headers and secure credential handling.
Error Codes
Troubleshoot common API failures.
API Reference
Endpoint-level schema and operation details.