Page History
Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Payment
The user selects the Ipay API method and enters the amount on the merchant's platform.
The user is redirected to the payment page.
The user selects one of the available payment methods: Ipay or LankaQR:
Ipay payment Flow:
- The user enters the necessary information for further payment confirmation: phone number and email address associated with their account.
- The user receives a push notification on their phone with a payment request.
- The user opens the Ipay app and confirms the payment.
LankaQR payment Flow:
- The user scans the QR code in their Ipay app using the QR pay section.
- The user confirms the payment.
After payment confirmation Flow:
- Paykassma sends a postback to the merchant's side.
- The funds are credited to the user's balance on the merchant's platform.
Payment window integration (plugin)
Due to the specifics of the payment system (PS), the Ipay API method can only be integrated through an iframe (plugin), with the payment page being opened in a new tab (or in a popup).
Example of a link to open a Ipay API payment window:
|
---|
Code Block |
---|
wallet_type=ipay_api currency_code=LKR Available languages(lang): en |
Info |
---|
Pay attention to the description of the parameters payment_url_success_id / payment_url_fail_id/ payment_url_pending_id and success_url / fail_url / pending_url. |
Redirect parameters for successful and unsuccessful payments are mandatory for this payment system.
For the description of all the plug-in parameters click here.
API integration
Integration via API is not available for this method.
Deposit postback
For the general documentation on post backs click here.
Example of deposit postback for Ipay API
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"signature": "910135b2a60d0a8f940db8c6e6cc8e334f90d937",
"wallet_type": "ipay_api",
"amount": 100,
"currency_code": "LKR",
"label": "1044289391",
"converted_amount": {
"USD": 0.34,
"INR": 29,
"EUR": 0.32,
"IDR": 5423.46,
...
"USDTTRC20": 0,
"USDT20": 0
},
"direction": "ingoing",
"created_datetime": "2024-11-06 13:10:01",
"access_key": "PFOgBdC9NxcLWMGVH8lk",
"additional_data": [
{
"activated_datetime": "2024-11-06 13:10:01",
"exchanger_identifier": null,
"comment": "",
"amount": "100",
"currency_code": "LKR",
"wallet_type": "ipay_api",
"stockpiling_id": 8,
"transaction_id": "W000000000528349",
"transaction_type": 0,
"plugin_custom_order_id": "1343140123",
"withdrawal_id": null,
"withdrawal_status": null,
"account_number": "",
"account_name": "",
"account_email": "",
"bank_details": {
"bank_code": "",
"branch_code": ""
}
}
]
} |
Warning |
---|
The Paykassma server is waiting for a response in json {"status": "ok"} response code 200, otherwise, when receiving a different response, Paykassma will forward the postback with a certain frequency. |
Withdrawals for users
Payments to users are made by using Ipay method ( for more details on Ipay method click here).
Table of Contents | ||
---|---|---|
|