01010100
00001100
11110111
10000110
11100111
00001001
01011111
10011011
11111110
00000111
01011000
10010111
10001111
10000101
00101011
11110000
00000010
11110011
10101001
00100010
10101100
00000111
00110010
01111101
10011111
00101110
11101100
00001111
01110101
10111111
Developer Platform
Build the Future of African Payments
Integrate secure, scalable payment solutions with our developer-first APIs and SDKs. Built for African businesses, designed for global scale.
RESTful APIs
Modern APIs with complete documentation
Sandbox Testing
Test integration in a safe environment
CLI Tools
Command-line tools for automation
API Reference
Authentication
POST/v1/auth/token
Get an access token for API requests
GCA Pay Terminal
$curl -X POST "https://api.gcapay.com/v1/auth/token" \ $ -H "Content-Type: application/json" \ $ -d '{ $ "client_id": "your_client_id", $ "client_secret": "your_client_secret" $ }'
Create Payment
POST/v1/payments
Initialize a new payment
GCA Pay Terminal
$curl -X POST "https://api.gcapay.com/v1/payments" \ $ -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \ $ -H "Content-Type: application/json" \ $ -d '{ $ "amount": 1000, $ "currency": "TZS", $ "description": "Test payment" $ }'
Payment Status
GET/v1/payments/:id
Check payment status
GCA Pay Terminal
$curl "https://api.gcapay.com/v1/payments/payment_123" \ $ -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
SDK Integration
Installation
$
npm install @gca-pay/sdk
javascript.js
import { GCAPay } from '@gca-pay/sdk'; const gcaPay = new GCAPay({ apiKey: 'your_api_key', environment: 'production' }); // Create a paymentconst payment = await gcaPay.payments.create({ amount: 1000, currency: 'TZS', description: 'Test payment', customer: { email: '[email protected]' } });
Language Support
Integrate with your preferred programming language using our official SDKs
JavaScript
Python
PHP
Java
Ruby
.NET
Go
Swift
Developer Resources
Everything you need to integrate GCA Pay into your applications
API Documentation
Comprehensive guides and API reference
Code Samples
Ready-to-use code examples
Video Tutorials
Step-by-step integration guides
Developer Support
Get help from our technical team