SpoutPay Documentation
Welcome to the SpoutPay Developer Documentation where you'll learn how to build amazing payment experiences with the SpoutPay API.
Quick Start
Accept Payments
Collect payments from cards, bank and mobile money accounts
Send Money
Make instant transfers to bank accounts and mobile money numbers
Identify your Customers
Verify phone numbers, bank accounts, or card details
Other ways to use SpoutPay
Explore plugins, libraries, and tools for accepting payments without the API
Accept Payment
Post api/v1/transactions/initialize
Copy a sample in your language. Full field tables and responses: Accept Payment.
1curl -X POST https://api.spoutpay.com/api/v1/transactions/initialize \
2 -H "Content-Type: application/json" \
3 -H "Authorization: SPT_LIVE_SK..." \
4 -H "Idempotency-Key: 9f3c2a1b-...." \
5 -H "X-Request-Id: 7e1d...." \
6 -d '{
7 "customer_name": "Jane Doe",
8 "email_address": "jane@example.com",
9 "phone_number": "08012345678",
10 "currency": "NGN",
11 "amount": 1000,
12 "merchant_tx_ref": "order_1001",
13 "redirect_url": "https://merchant.example.com/payment/return",
14 "request_type": "CARD",
15 "description": "Order 1001"
16 }'