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:
LankaQR payment Flow:
After payment confirmation Flow:
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:
|
---|
wallet_type=ipay_api currency_code=LKR Available languages(lang): en |
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.
Integration via API is not available for this method.
For the general documentation on post backs click here.
{ "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": "" } } ] } |
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. |
Payments to users are made by using Ipay method ( for more details on Ipay method click here).