Skip to main content

FAQ

Provides answers to frequently asked questions about using LINE Pay.

/

What do the values included in info.payInfo[].method mean in the LINE Pay API?

The values in the info.payInfo[].method field represent the following payment methods.

  • "BALANCE": LINE Pay balance
  • "CREDIT_CARD": Credit card (including debit card)
  • "POINT": LINE POINTS

I can't find the channel ID and channel secret key for the sandbox in the merchant center.

If you have officially joined as a merchant, you can use the sandbox without a separate application. Use the channel ID and channel secret key for actual service instead of issuing a separate channel ID and channel secret key for the sandbox.

I can't find my channel ID and channel secret key in the merchant center.

If the account registered in the merchant center is registered through an agency, you cannot manually check the channel ID and secret key. If necessary, contact your agency to obtain the channel ID and secret key.

Merchants who provide their customers with a fixed LINE Pay payment code cannot use the LINE Pay API and cannot check their channel ID and secret key from the merchant center.

Merchants offering LINE Pay with a fixed LINE Pay payment code must submit a separate application to join as merchant to use the online API due to different screening criteria. For more information, contact us at linepaymerchant@linecorp.com.

Why does it keep failing when I log in from the purchase page?

You need to log in with your personal LINE account on the purchase page.

You must also log in with your personal LINE account when testing in the sandbox environment.

I can't set the allowlist of servers in the merchant center.

If the account registered in the merchant center is registered through an agency, you cannot manually set the allowlist of servers. If necessary, ask your agency to set the allowlist of servers for you.

Merchants who provide their customers with a fixed code for LINE Pay payments cannot use the LINE Pay API and cannot set the allowlist of servers in the merchant center.

Merchants offering LINE Pay with a fixed LINE Pay payment code must submit a separate application to join as merchant to use the online API due to different screening criteria. For more information, contact us at linepaymerchant@linecorp.com.

Why do I get a 1106 error when I call the Offline API?

You may be missing the request header when calling the Offline API, or you may need to allow the merchant server to access the payment server when calling the Offline API. For more information, see Set the allowlist of servers.

Why do I get a 1106 error when calling the Online API?

This error occurs when the message authentication code (MAC), which must be entered in the HTTP request header (X-LINE-ChannelId) for authentication when calling the Online API, is incorrect. This is a common error and the message used varies depending on the HTTP method when generating the MAC as follows. See Prepare API credentials for more information.

  • GET method: Channel secret key + API path (apiPath) + query string (queryString) + temporary token (nonce)
  • POST method: Channel secret key + API path (apiPath) + request body + temporary token (nonce)

Note that unintentional whitespace in the request body or the order after serializing JSON data can result in different MAC generation results.

Why do I get a 1133 error when calling the Offline API?

When calling the Offline API in a sandbox environment, you cannot use the My code generated from the LINE app. In a sandbox environment, access the URL below and use the temporarily generated My Code for testing.

 // For Taiwan Merchant:
https://sandbox-web-pay.line.me/web/sandbox/payment/oneTimeKey?countryCode=TW

// For Thailand Merchant:
https://sandbox-web-pay.line.me/web/sandbox/payment/oneTimeKey

You can't test the iPASS Money barcode in a sandbox environment.TW only

Can I get how many LINE POINTS a user has used from the API response?

To see how many LINE POINTS a user has used, you need to set up to provide LINE POINTS separately from the payment amount. For more information, see Process LINE POINTS payment separately.

I entered a product image URL using the Online API, but I can't see the image.

If you enter a product image URL that does not use the HTTPS protocol when calling the payment request API in a sandbox environment, the image may not be displayed properly. In an actual service environment (using a production server), the images will be displayed regardless of the product image URL or protocol.

Why can't I open the payment screen after calling the payment request API in a sandbox environment?

Sandbox does not support testing in the application environment. Therefore, the following field cannot be used in a sandbox environment for the payment request API response.

  • info.paymentUrl.app

To test your payment screen in a sandbox environment, use the redirection URL for web (info.paymentUrl.web). The redirection URL for application works in an actual service environment (production server).

Where can I check payment transactions tested in the sandbox?

Payment transactions tested in the sandbox can be checked from the sandbox menu in the merchant center as follows.