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={transaction_reference}
or, for checkout sessions, use the reference you supplied during initialization:
GET /client/payment/verify?origin_reference={your_checkout_reference}
When origin_reference is used, Transfaar resolves the matching checkout quote/transaction and returns the same response shape.
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.