Retrieve payment details
Retrieves details of payments that are confirmed or captured. You can use parameters to retrieve details for a payment with a specific transaction ID or order ID, or to retrieve only transaction or order information.
GET /v2/payments
Set the read timeout to at least 20 seconds.
Request
Response
Path
None
Query
Name | Length | Description | Required |
---|---|---|---|
orderId | 100 | Order ID | |
transactionId | Payment transaction ID. For more information, see Transaction ID. |
Body
None
Headers
- Content-Type
- X-LINE-ChannelId
- X-LINE-ChannelSecret
- X-LINE-MerchantDeviceProfileId
- X-LINE-MerchantDeviceType
For more information, see Request header.
Request examples
bash
curl -X POST \
-H "Content-Type: application/json" \
-H "X-LINE-ChannelId: YOUR_CHANNEL_ID" \
-H "X-LINE-ChannelSecret: YOUR_CHANNEL_SECRET" \
-H "X-LINE-MerchantDeviceProfileId: YOUR_DEVICE_PROFILE_ID" \
https://sandbox-api-pay.line.me/v2/payments?orderId=20190408001