Retrieve payment details
Retrieves payment details for confirmed payments or captured payments. You can use parameters to retrieve details for a payment with a specific transaction ID or order ID, or to retrieve transaction or order information only.
GET /v3/payments
Set the read timeout to at least 20 seconds.
Request
Response
Path
None
Query
Name | Description | Required |
---|---|---|
orderId[] | Order ID. You can enter two or more order IDs as query parameters. You must enter either the transaction ID ( | |
transactionId[] | One or more payment transaction IDs. For more information, see the Transaction ID. |
Body
None
Headers
- Content-Type
- X-LINE-Authorization
- X-LINE-Authorization-Nonce
- X-LINE-ChannelId
- X-LINE-MerchantDeviceProfileId
For more information, see Request header.
Request examples
bash
curl -X GET \
-H "Content-Type: application/json" \
-H "X-LINE-ChannelId: YOUR_CHANNEL_ID" \
-H "X-LINE-Authorization-Nonce: GENERATED_NONCE" \
-H "X-LINE-Authorization: PROCESSED_SIGNATURE" \
-H "X-LINE-MerchantDeviceProfileId: YOUR_DEVICE_PROFILE_ID" \
https://sandbox-api-pay.line.me/v3/payments?transactionId=20140101123123123&orderId=1002045572