Redirect integration
Endpoints to be used
Endpoint | Mandatory? | Purpose | Actions | Doc |
---|---|---|---|---|
Get Banks | Optional | Endpoint to get list of banks. | List of available/supported banks can be displayed to customer so he can decide before he chooses the payment method. | |
Create Order Payment | Mandatory | Endpoint to initiate payment and get payment link | Populate field like amount, reference/variable symbol, payment message. These are important to identify the payment and also to map it to particular money transfer on merchant’s bank account statement. The response provides payment ID which needs to be stored to the purchase order in merchant’s system. | |
Get Payment Detail | Mandatory | Endpoint to get payment detail after redirect back to merchant (and/or after reasonable time when no redirect happens) | This endpoint needs to be called after the payer is redirected back to merchant’s page/app (thank you page) to get current status of the payment (merchant receives payment ID in the query parameter when redirect URL is called). The order needs to be find based on the payment ID provided in the redirect (merchant need to ensure the order related to this particular payment is being processed based on the payment result). This endpoint can be called also in some reasonable time period after the payment has been initiated in the case the payer does not come back to merchant’s site/app (e.g. when the payer closes the browser before she/he is redirected back to merchant). Response of this endpoint can be used to double check the data against the data in initial order (amount, reference etc.) |
Embedded (Full API) integration
Endpoints to be used