Laos QR Banking
Overview
Laos QR Banking is a payment method that allows customers to perform payments in Laos by scanning QR codes with mobile banking applications. A payment is credited immediately after a customer confirms the payment by entering OTP or predefined payment code within secure environment of the app. Purchases are performed by using Payment Page and Gate. Download the logo in vector format here. |
Payment method type | Payments by using QR code |
---|---|
Countries and regions | Lao People's Democratic Republic |
Payment currencies | LAK |
Currency conversion | On the Monetix side |
Purchases | |
Payouts | Available by using the Banks of Laos payment method |
COF payments | |
Full refunds | |
Partial refunds | |
Chargebacks | |
Notes | |
Onboarding and access fee | Refer to your Monetix key account manager |
Interaction diagram
Payment processing by using the Laos QR Banking payment method requires merchant's web service, one of Monetix interfaces, and the Monetix payment platform, as well as one of the bank services which supports this payment method.
Operations support
Interfaces | Amounts, LAK | Times | |||||
---|---|---|---|---|---|---|---|
Payment Page | Gate | Dashboard | minimum | maximum | basic | threshold | |
Purchases | 94,000.00 | 200,000,000.00 | * | * |
* Refer to your Monetix key account manager for more information.
You can check the payment amount limits in your project by using Dashboard. To check your payment amount limits, go to Dashboard, select the Projects section and click the Payment methods tab.
Processing scenarios
In the Laos QR Banking method, the customer is required to scan QR code by using bank mobile application. Refer to your key account manager at Monetix to find out the details of the payment scenario.
The sections that follow provide detailed information about what you need to perform payments and how you can analyze the information on payments and operations.
Supported banks
Payments through the Laos QR Banking method are carried out through the banks that support the method. To initiate purchase by using Gate, you use bank identifiers, which are also used to display banks on Payment Page where your customer can choose payment method.
The tables below provide information about supported banks.
Bank | ID |
---|---|
APB | 63581 |
BCEL | 60881 |
BIC | 63571 |
IB | 63591 |
JDB | 63322 |
LDB | 63561 |
LVB | 63551 |
Purchase by using Payment Page
General information
In the Laos QR Banking method, to perform a purchase by using Payment Page, the merchant web service is required to send a request with all the required parameters and signature to the Monetix URL and accept the callback with the payment result from the payment platform. When opening Payment Page, you can have Payment Page opened with the Laos QR Banking method preselected. For more information about preselecting payment methods, see Preselecting payment methods.
The full sequence and particularities of the purchase process are provided below.
- Customer initiates a purchase on the merchant's web service.
- The web service sends the request for the Payment Page opening to the Monetix URL.
- The request for opening Payment Page is redirected to the payment platform.
- The payment platform performs the initial request processing that involves validation of the required parameters and signature.
- The requested Payment Page is generated by the Monetix payment platform as specified in the project settings and request parameters.
- Payment Page is displayed to the customer.
- The customer selects the Laos QR Banking payment method and agrees to use the method (or accepts the method already selected on Payment Page and agrees).
- The payment platform receives the purchase request for the payment processing from Payment Page.
- The payment platform performs the internal purchase request processing and sends it to the bank service.
- The bank service processes the request.
- The bank service generates the data for displaying a QR code to the customer and sends it to the payment platform.
- The payment platform sends to Payment Page the data for displaying the QR code to the customer.
- The QR code is displayed to the customer on Payment Page.
- The customer scans the QR code by using the bank mobile app and completes all the steps required for the payment.
- The bank service processes the payment.
- The bank service sends the result notification to the payment platform.
- The payment platform sends callback with the payment result to the web service.
- The payment platform sends the result to Payment Page.
- The page with the payment result information is displayed to the customer on Payment Page.
The sections that follow discuss in more details the request format and the Payment Page parameters to use in the Laos QR Banking payment method and provide the information about the format of callbacks with payment results. For the general information on how to use the Payment Page API, see Payment Page API Description.
Request format
There are several things you need to consider when using the Laos QR Banking method:
- You must provide values for the basic minimum of parameters. Listed below are the parameters that are required for any payment method:
- project_id—project ID you obtained from Monetix
- payment_id—payment ID unique within the project
- customer_id—the unique ID of the customer within your project
- customer_email—customer email
- payment_currency—payment currency in ISO-4217 alpha-3 format
- payment_amount—payment amount in minor currency units without any decimal point or comma except for cases where the currency does not have any minor currency units. If the currency has no minor units (that is, the number of digits for minor currency units is zero), then you must set this parameter to the amount in the major currency units. For the information on whether the currency has any minor units, see Currency codes.
- It is recommended to specify the customer full name in the account_customer_name parameter. If the parameter is missing from the request, Payment Page will contain an additional field for the customer to enter missing information. For more information about additional information submission, see in Submission of additional payment information.
- There are several options to customize the payment method selection page on Payment Page.
- Bank selection in two steps This option is used by default. The banks that support Laos QR Banking payment method are grouped in one button on Payment Page, therefore bank selection is carried out in two steps. On the first step, the Laos QR Banking method is chosen among others, and then, on the second step, particular bank is selected on the next page with the list of the group banks.
- Display each bank as a separate button along with other payment methods To show each bank of the Laos QR Banking group as a separate button, set the split_banks parameter in the payment_methods_options string to
true
.payment_methods_options={"banks_laos_qr": {"split_banks": true}}
- Show the banks of only one payment method To show only the banks available in the Laos QR Banking payment method on Payment Page for customers, pass the code
banks-laos-qr
in the force_payment_method parameter. The customer will see only the banks available in the Laos QR Banking method. - Show only selected banks To display a button of specific banks (one or several) from Laos QR Banking group on Payment Page in the list of payment methods, set force_payment_method to banks-laos-qr and add an array with IDs of the banks to show on Payment Page in the banks_id parameter. Here an example:
payment_methods_options={"banks_laos_qr": {"split_banks": true, "banks_id": [60881, 63571]}}
Here is an example of a request to open Payment Page with specific pre-selected bank:
Figure 4. Example of a request to show only selected bank on Payment Page EPayWidget.run( { project_id: 1234, payment_id: 'payment_47', customer_id: 'customer_123', account_customer_name: 'John Doe', customer_email: 'johndoe@example.com', payment_currency: 'LAK', payment_amount: 50000000, force_payment_method: 'banks-laos-qr', payment_methods_options: {"banks_laos_qr": {"banks_id": [60881]}}, signature: 'kUi2x9dKHAVNU0FY...vySO\/RLCvhtT4DqtVUkDJrOcZzUCwX6R\/ekpZhkIQg==' } )
- By default, the messages with information about payment result are displayed in Lao language. To change the language of the messages to English, add to your request the language_code parameter set to
en
. - You can also add any other additional parameters Payment Page supports. For more information about parameters supported by Payment Page, see Payment Page invocation parameters.
- After you specify all the parameters you need, you must create the signature for the request. For instructions on how to sign payment requests, see Signature generation and verification.
Here is an example of data from a request for Payment Page opening:
EPayWidget.run( { project_id: 1234, payment_id: 'payment_123', customer_id: 'customer_123', customer_email: 'johndoe@example.com', account_customer_name: 'John Doe', payment_amount: 50000000, payment_currency: 'LAK', signature: "kUi2x9dKHAVNU0FYldJrxhRLCvhtT4DqtVUkDJrOcZzUCwX6R\/ekpZhkIQg==" } )
Callback format
The Laos QR Banking method uses the standard format for callbacks to deliver purchase results. For more information, see Callbacks in Payment Page.
The following is the example of a callback with an information about successful 500,000.00
LAK
purchase made in the 1234
project.
{ "project_id": 1234, "payment": { "id": "1561223423", "type": "purchase", "status": "success", "date": "2019-07-01T07:54:16+0000", "method": "Laos qr", "sum": { "amount": 50000000, "currency": "LAK" }, "description": "1561714332889" }, "customer": { "id": "customer_123" }, "operation": { "id": 39811000003358, "type": "sale", "status": "success", "date": "2019-07-01T07:54:16+0000", "created_date": "2019-07-01T07:53:19+0000", "request_id": "1fb651fe71b5db9db3d6382c995c8f51b08785ff", "sum_initial": { "amount": 50000000, "currency": "LAK" }, "sum_converted": { "amount": 50000000, "currency": "LAK" }, "code": "0", "message": "Success" }, "signature": "YreiJ0aXQgDVuo74tsBXVRcd/0M9twm5IDxiZ8C2sqcuuncjkbazWKg==" } }
The following is the example of a callback for a declined purchase.
{ "project_id": 200, "payment": { "id": "1561223423", "type": "purchase", "status": "decline", "date": "2019-07-01T07:54:16+0000", "method": "Laos qr", "sum": { "amount": 50000000, "currency": "LAK" }, "description": "1561714332889" }, "customer": { "id": "customer_123" }, "operation": { "id": 39811000003358, "type": "sale", "status": "success", "date": "2019-07-01T07:54:16+0000", "created_date": "2019-07-01T07:53:19+0000", "request_id": "1fb651fe71b5db9db3d6382c995c8f51b08785ff", "sum_initial": { "amount": 50000000, "currency": "LAK" }, "sum_converted": { "amount": 50000000, "currency": "LAK" }, "code": "20000", "message": "General decline" }, "signature": "YreiJ0aXQgDVuo74tsBXpZ8tmJi0IRVCy9twm5IDxiZ8C2sqcuuncjkbazWKg==" } }
Related topics
The following topics might be useful when implementing payments by using Payment Page:
Purchase by using Gate
General information
In the Laos QR Banking method, to perform a purchase by using Gate, the merchant web service is required to do the following:
- Send a request with all the required parameters and signature to the Monetix URL.
- Display the QR code to the customer.
- Accept the callback with the payment result from the payment platform.
The following diagram provides the detailed picture of the payment processing procedure.
- Customer initiates a purchase with Laos QR Banking on the merchant's web service side.
- The web service sends a request for processing the purchase by using Gate to the Monetix URL.
- The payment platform receives the request for processing the purchase from Gate.
- The payment platform performs the initial request processing that includes validation of the required parameters and signature.
- The payment platform sends the response with the request receipt confirmation and validation result to the web service. For more information about the response format, see Response structure.
- The payment platform performs the internal payment request processing and redirects the request to the bank service.
- The bank service processes the purchase request.
- The bank service generates the data for displaying a QR code to the customer and sends it to the payment platform.
- The payment platform sends to the web service the callback that delivers the data for displaying the QR code.
- The QR code is displayed to the customer on the web service side.
- The customer scans the QR code by using the bank mobile app and completes all the steps required for the payment.
- The bank service processes the payment.
- The bank service sends the payment result to the customer.
- The bank service sends the payment result notification to the payment platform.
- The payment platform sends the callback with the payment result to the web service.
- The web service sends the payment result to the customer.
The sections that follow discuss in more details the request format and the Gate parameters to use in the Laos QR Banking payment method and provide the information on the format of callbacks with purchase results.
Request format
There are several things you must consider when using purchase requests in the Laos QR Banking method:
- You initiate a purchase by submitting a purchase request to the
/v2/payment/banks/laos-qr/sale
endpoint by using the HTTP method POST. This endpoint belongs to the following group of endpoints for the online banking payments: /v2/payment/banks/{payment_method}/sale. - The following objects and parameters must be specified in any request:
- general—object with general request identification information:
- project_id—the project ID you obtained from Monetix
- payment_id—payment ID unique within the project
- signature—signature created after you specify all the required parameters. For more information about signature generation, see Signature generation and verification.
- customer—object with customer information:
- id—the unique ID of the customer within your project
- ip_address—IP address of the customer's device
- email—customer email
- payment—object with purchase information:
- amount—purchase amount in minor currency units without any decimal point or comma except for cases where the currency does not have any minor currency units. If the currency has no minor units (that is, the number of digits for minor currency units is zero), then you must set this parameter to the amount in the major currency units. For the information on whether the currency has any minor units, see Currency codes.
- currency—code of purchase currency in the ISO-4217 alpha-3 format
- general—object with general request identification information:
- The following parameter must be specified in any request:
- account—object with customer information:
- customer_name—customer full name
If you do not submit this parameter in the initial request, the payment platform will request this parameter by sending to the web service a callback with a list of the parameters web service is required to submit. (For more information about this procedure, see Submission of additional payment information.) If the web service submits all the required parameters in the initial request, the payment platform will not issue such a callback.
- account—object with customer information:
- If required, you can also add any optional parameters Gate supports.
Here is an example of data from a purchase request in the Laos QR Banking method.
{ "general": { "project_id": 1234, "payment_id": "payment_123", "signature": "U5LCm6489ly9cXCKIVBNV0mFr4XiCruECSyQEbT1hSXJ70zuH4...==" }, "customer": { "ip_address": "198.51.100.47", "id": "customer_123", "email": "johndoe@example.com" }, "account": { "customer_name": "John Doe" }, "payment": { "amount": 50000000, "currency": "LAK" } }
Format of the data for displaying QR code to customers
In order to customer is able to complete the payment, you are required to display the QR code on your web service. The QR code data is sent in the callback from the payment platform in the data parameter of display_data array. The data should be displayed to the customer in the QR code. Therefore, before displaying the QR code, you need to accept and process such callback.
There is only one element in the display_data array and it contains the following parameters:
- type—element type (always
qr_url
) - title—the name of the data, the value is always
qr_url
- data—the data that should be encoded in the QR code
The following is the callback fragment containing display_data array.
"display_data": [ { "type": "qr_url", "title": "qr_url", "data": "https://example.com/qr.jpg?v=1" } ]
Callback format
The Laos QR Banking method uses the standard format for callbacks to deliver purchase results. For more information, see Callbacks in Gate.
The following is an example of a callback with an information about successful 500,000.00 LAK
purchase.
{ "project_id": 1234, "payment": { "id": "1561223423", "type": "purchase", "status": "success", "date": "2019-07-01T07:54:16+0000", "method": "Laos qr", "sum": { "amount": 50000000, "currency": "LAK" }, "description": "1561714332889" }, "customer": { "id": "customer_123" }, "operation": { "id": 39811000003358, "type": "sale", "status": "success", "date": "2019-07-01T07:54:16+0000", "created_date": "2019-07-01T07:53:19+0000", "request_id": "1fb651fe71b5db9db3d6382c995c8f51b08785ff", "sum_initial": { "amount": 50000000, "currency": "LAK" }, "sum_converted": { "amount": 50000000, "currency": "LAK" }, "code": "0", "message": "Success" }, "signature": "YreiJ0aXQgDVuo74tsBXpZ8tmJi0IRVCyFucJ1a8E9twm5IDxiZ8C2sqcuuncjkbazWKg==" } }
The following is the example of a callback for a declined purchase.
{ "project_id": 1234, "payment": { "id": "1561223423", "type": "purchase", "status": "decline", "date": "2019-07-01T07:54:16+0000", "method": "Laos qr", "sum": { "amount": 50000000, "currency": "LAK" }, "description": "1561714332889" }, "customer": { "id": "customer_123" }, "operation": { "id": 39811000003358, "type": "sale", "status": "success", "date": "2019-07-01T07:54:16+0000", "created_date": "2019-07-01T07:53:19+0000", "request_id": "1fb651fe71b5db9db3d6382c995c8f51b08785ff", "sum_initial": { "amount": 50000000, "currency": "LAK" }, "sum_converted": { "amount": 50000000, "currency": "LAK" }, "code": "20000", "message": "General decline" }, "signature": "YreiJ0aXQgDVuo74tsBXpZ8tmJi0IRVb8E9twm5IDxiZ8C2sqcuuncjkbazWKg==" } }
Related topics
The following topics might be useful when implementing payments through Gate:
Analysis of payments results
As with other payment methods Monetix offers, when using this method, you have several options to analyze the information about payments and operations.
You can load and analyze all the necessary information in Dashboard (dash-light.trxhost.com
), for instance you can use the analytic panels in the Analytics section for this purpose.
Also, you can export the information for further analysis by using third party analytical tools. The following options are available:
- Dashboard allows you to download reports in CSV format by using the tools in the Reports section. You can perform export as a one-time or regular download of data to your local computer.
- Data API allows you to have payment information exported in JSON format and delivered to a URL you specify. The payment information is exported by means of sending requests to the /operations/get endpoint.
If you have any further questions regarding payment data analysis, contact Monetix technical support.