Card Collection API Reference
This page documents the core endpoints used in the hosted card collection flow.
Quick Reference
- Supported currencies:
NGN,USD - Base URL:
https://api.transfaar.com/api/v1 - Authentication: HMAC (
X-API-Key,X-Timestamp,X-Signature) - PCI model: hosted checkout, so raw card data does not touch your servers
Initialize Payment
POST /client/checkout/initialize
Request Body
Success Response
Verify Payment Status
GET /client/payment/verify?reference={your_reference}
Success Response
Refund Endpoints
Initiate Refund
POST /client/payment/refund
Check Refund Status
GET /client/payment/refund/status/:refund_reference
Refund History
GET /client/payment/refund/history
Supports query parameters like page, size, start_date, and end_date.