KES Payments
Use KES for Kenya payment requests and account verification requests.
Currency Value
KESRetrieve Kenya Institutions
curl --request GET \
--url https://backendapi.sayswitchgroup.com/api/v1/bank_list/KES \
--header "Authorization: Bearer YOUR_SECRET_KEY" \
--header "Accept: application/json"Account Verification
Pass KES as the currency when verifying a Kenya bank account or mobile money number.
curl --request POST \
--url https://backendapi.sayswitchgroup.com/api/v1/account_name_verify \
--header "Authorization: Bearer YOUR_SECRET_KEY" \
--header "Content-Type: application/json" \
--data '{
"bank_code": "BANK_OR_MOMO_CODE",
"account_number": "BENEFICIARY_ACCOUNT_OR_PHONE",
"currency": "KES"
}'Payment Request
Pass KES as the currency when initiating a Kenya bank or mobile money payment.
curl --request POST \
--url https://backendapi.sayswitchgroup.com/api/v1/bank_transfer \
--header "Authorization: Bearer YOUR_SECRET_KEY" \
--header "Content-Type: application/json" \
--data '{
"account_name": "John Doe",
"account_number": "BENEFICIARY_ACCOUNT_OR_PHONE",
"amount": "10",
"bank_code": "BANK_OR_MOMO_CODE",
"bank_name": "BANK_OR_MOMO_NAME",
"currency": "KES",
"narration": "Test transfer",
"reference": "UNIQUE_TRANSACTION_REFERENCE",
"paymentMode": "bank"
}'Use paymentMode value bank for bank payments and momo for mobile money payments.