ZainCash API
ZainCash is a mobile wallet service that allows users to perform financial transactions using their mobile devices. It provides a secure and convenient way to send and receive money, pay bills, recharge mobile credit, and more.
Prerequisites
Before integrating the ZainCash API into your application, make sure you have the following:
- ZainCash API credentials (username and password) obtained by registering with ZainCash.
- Understanding of the available ZainCash API endpoints and their functionalities.
- Basic knowledge of making HTTP requests using Curl, Node.js, or PHP.
Test credentials
Before you start you can use the below credentials to test the API.
Merchant
Use one of the following merchant credentials to test the creation of transaction IDs and checking status, (make sure to copy each with no spaces. also note that the secret is one line).
MSISDN | Merchant ID | Merchant Secret |
---|---|---|
9647835077893 | 5ffacf6612b5777c6d44266f | $2y$10$hBbAZo2GfSSvyqAyV2SaqOfYewgYpfR1O19gIh4SqyGWdmySZYPuS |
Customer
Use one of the following customer credentials to test the submition of transactions.
MSISDN | PIN | OTP |
---|---|---|
9647802999569 | 1234 | 1111 |
9647806999267 | 6847 | 1111 |