Skip to content

LINE Pay Confirm

Description

確認LINE Pay付款。

Resource

POST /v1/payment/line/{transaction_id}/confirm

Authorization

採用 OAuth 2.0 Bearer Token,詳細使用流程請參考 Auth Login

Path Parameters

Name Type Description
transaction_id string 交易編號

Request Body Parameters

Name Type Description
store_id string 門市代碼
amount integer 付款金額
currency string 付款貨幣
ALLOWED VALUES:
  • USD
  • JPY
  • TWD
  • THB

Request

{
  "store_id": "0",
  "amount": 10,
  "currency": "TWD"
}

Response Body Parameters

Name Type Description
returnCode string 結果代碼,0000為成功
returnMessage string 結果訊息或失敗理由
info Info 相關資訊

Response Body Parameters - Info

Name Type Description
transactionId string 付款reserve後,做為結果所收到的交易編號
orderId string 商家在付款reserve時傳送的訂單編號
payInfo Pay Info 付款資訊

Response Body Parameters - Pay Info

Name Type Description
method string 使用的付款方式
amount integer 付款金額
maskedCreditCardNumber string 信用卡卡號

Response

{
  "returnCode": "0000",
  "returnMessage": "Success.",
  "info": {
    "transactionId": 123123123123,
    "orderId": "20140101123456789",
    "payInfo": [
      {
        "method": "CREDIT_CARD",
        "amount": 10,
        "maskedCreditCardNumber": "************1234"
      }
    ]
  }
}