QR Pay(Merchant-presented)
POSThttps://open.n-age.co.jp/api/entry/mpm
The merchant backend calls this API to create a prepayment transaction on PayCloud. PayCloud returns the QR code image link, and customers can complete the payment by scanning the QR code using their mobile wallet.
- After generating a QR code and displaying it to the customer for scanning, the merchant system needs to call the order query API until the payment is successful or times out (it is recommended to timeout for 60 seconds, with a call frequency of 5 seconds).
- Although the parameters
term_ip
,longitude
, andlatitude
are currently optional, considering that they may become mandatory in the future for risk control purposes, it is recommended to set these parameters in advance to prepare for potential changes.
For detailed information, please refer to QR Code Payment - Merchant Present QR Code Product Introduction
Here is a Java code example
Request
Responses
- 200
Response Headers
- curl
- java
- php
- csharp
- python
- nodejs
- go
- ruby
- CURL
curl -L 'https://open.n-age.co.jp/api/entry/mpm' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"app_id": "string",
"format": "JSON",
"charset": "UTF-8",
"sign_type": "RSA2",
"sign": "string",
"version": "1.0",
"timestamp": 0,
"method": "string",
"merchant_no": "string",
"store_no": "string",
"pay_method_id": "string",
"merchant_order_no": "string",
"price_currency": "JPY",
"order_amount": 0,
"expires": 0,
"description": "string",
"attach": "string",
"terminal_sn": "string",
"term_ip": "string",
"longitude": "string",
"latitude": "string",
"notify_url": "string",
"sub_appid": "string"
}'
ResponseClear