LINE Pay Search
Description
查詢LINE Pay付款。
Resource
GET /v1/payment/line/{order_id}
Authorization
採用 OAuth 2.0 Bearer Token,詳細使用流程請參考 Auth Login。
Path Parameters
| Name | Type | Description |
|---|---|---|
| order_id | string | 訂單編號 |
Request
/v1/payment/line/20140101123456789
Response Body Parameters
| Name | Type | Description |
|---|---|---|
| returnCode | string | 結果代碼,0000為成功 |
| returnMessage | string | 結果訊息或失敗理由 |
| info | Info | 相關資訊 |
Response Body Parameters - Info
| Name | Type | Description |
|---|---|---|
| transactionId | string | 交易編號(19 位數) |
| transactionDate | string | 交易日期與時間 |
| transactionType | string | 交易類型 ALLOWED VALUES:
|
| payInfo | Pay Info | 付款資訊 |
| productName | string | 產品名稱 |
| currency | string | 貨幣 |
| orderId | string | 商家的訂單編號 |
| refundList | Refund Info[] | 退款清單紀錄 |
Response Body Parameters - Pay Info
| Name | Type | Description |
|---|---|---|
| method | string | 使用的付款方式 |
| amount | integer | 付款金額 |
| maskedCreditCardNumber | string | 信用卡卡號 |
Response Body Parameters - Refund Info
| Name | Type | Description |
|---|---|---|
| refundTransactionId | string | 退款的交易編號(19 位數) |
| transactionType | string | 交易類型 ALLOWED VALUES:
|
| refundAmount | integer | 退款金額 |
| refundTransactionDate | string | 退款的交易日期與時間 |
Response
{
"returnCode": "0000",
"returnMessage": "success",
"info": [
{
"transactionId": 1020140728100002000,
"transactionDate": "2014-07-28T09:48:43Z",
"transactionType": "PAYMENT",
"payInfo": [
{
"method": "CREDIT_CARD",
"amount": 10,
"maskedCreditCardNumber": "************1234"
}
],
"productName": "tes production",
"currency": "TWD",
"orderId": "20140101123123123",
"refundList": [
{
"refundTransactionId": "20213901923123",
"transactionType": "PARTIAL_REFUND",
"refundAmount": -1,
"refundTransactionDate": "2014-07-28T09:48:52Z"
},
{
"refundTransactionId": "20213901923123",
"transactionType": "PARTIAL_REFUND",
"refundAmount": -1,
"refundTransactionDate ": "2014-07-28T09:49:28Z"
},
{
"refundTransactionId": "20213901923123",
"transactionType": "PARTIAL_REFUND",
"refundAmount": -1,
"refundTransactionDate ": "2014-07-28T09:53:18Z"
}
]
}
]
}