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)
Testing
Use test credentials to simulate payments:
- Test Card: 4242 4242 4242 4242
- Expiry: Any future date
- CVV: Any 3 digits
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