Introduction to Payments
Sayswitch provides a robust payment processing system that allows you to accept payments from customers worldwide. This guide will help you understand the basics of implementing payments in your application.
Payment - Flow
-
Initialize Payment
- Create a payment session
- Set amount and currency
- Specify payment methods
-
Customer Payment
- Customer enters payment details
- Payment is processed
- Transaction is verified
-
Confirmation
- Receive webhook notification
- Update order status
- Send confirmation to customer
Supported Payment Methods
- Credit/Debit Cards
- Bank Transfers
- USSD
- Mobile Money
- Digital Wallets
- QR Code Payments (Comming Soon)
By default the checkout page offers the payment methods enabled on your business
account. To limit a single transaction to specific methods, send payment_options
when you initialize it — see Payment Options.
Testing
Use test credentials and the verified card details on Sandbox Test Cards. Choose the table for your payment flow; normal S2S and recurring-payment cards are not interchangeable.
Transaction Status
Payments can have the following statuses:
| Status | Description |
|---|---|
| pending | Payment initiated but not completed |
| success | Payment successfully processed |
| failed | Payment attempt failed |
| cancelled | Payment cancelled by customer |
Next Steps
Need assistance? Contact our support team at support@sayswitch.com