Payment page
Deposit via Payment Page
POST
Initiates a payment session using the pawaPay Payment Page.
Learn more!
See how the Payment Page works for your customers.
- The request will return a
redirectURL
. - The customer should be forwarded to this URL to start the payment process.
- Once the customer completes the payment process on the Payment Page, they will be forwarded to the
returnUrl
. - The original
depositId
will be passed as a query parameter.
Your page on the returnUrl
has two options to determine the status of the payment. You can do that by either:
Waiting for a callback
If you have configured callbacks, just wait for it.
Checking the status
Or poll the Check Deposit Status endpoint.
The customer experience of the Payment Page can be changed through the following parameters during initiation.
Parameter | Behaviour if specified | Behaviour if not specified |
---|---|---|
amount | The specified amount will be used for the payment. Customer is not able to change it. | The customer is able to enter the amount they wish to pay. For example, when depositing into their eWallet. |
msisdn | The payment will be initiated from the specified mobile money wallet. Customer is not able to change it. | The customer can specify the phone number of the mobile money wallet they wish to pay from. |
country | The customer can pay only using a mobile money wallet from the specified country. | The customer can pay with a mobile money wallet from any country that is configured on your pawaPay account. |
reason | The reason will be shown to the customer on the Payment Page | The customer will not be shown what they are paying for. |
Authorizations
See Authentication.
Body
application/json
Response
200
application/json
Payment Page session is created successfully
The response is of type object
.