KES Payout(new encryption)
Last updated
Last updated
These APIs are used to initiate a KES payout
Before you begin!
Find your keys on the Klasha Dashboard → Settings → Generate API Keys (here)
Get Bank Lists
GET
{{env_url}}/wallet/merchant/bank/transfer/request/banks/KES
Key | Value |
---|---|
Content-Type | application/json |
Authorization | Bearer <token here> |
Resolve Bank Account
POST
{{env_url}}/wallet/merchant/bank/transfer/request/resolve/account
Key | Value |
---|---|
Context-Type | application/json |
Authorization | Bearer <token here> |
Name | Type | Description |
---|---|---|
bankCode* | 430000 | |
countryCode* | KE | |
accountNumber* | Sydney Mark | |
accountType* | personal | |
documentType* | String | Customer’s mode of identity. This could be one of: [ |
businessId* | String | 133 |
documentNumber* | String | 8801235111088 |
Merchant Payout request
POST
{{env_url}}/wallet/merchant/{businessId}/bank/transfer/v2/request
You would need to pass, as a header the x-auth-token. This can be obtained from your merchant dashboard → Settings → Generate API keys → Merchant public key.
Key | Value |
---|---|
Content-Type | application/json |
x-auth-token | Your merchant public key |
Authorization | Bearer <token here> |
Request body (encrypted):
Request body (plain)
Name | Type | Description |
---|---|---|
country* | KE | |
bankCode* | 430000 | |
amount* | 100 | |
accountName* | Sydney Mark | |
requestId* | String | kbtr-3857-011-133-166993253334816 |
description* | String | Payout |
currency* | String | KES |
bankName* | String | Ubank Ltd |
accountNumber* | String | 1222951828 |
Query payout status
Make a call to fetch status of initiated payouts.