Skip to main content

Discard pre-approved payment key

Discards issued pre-approved payment key.

POST /v3/payments/preapprovedPay/{regKey}/expire

Set the read timeout to at least 20 seconds.

Path

Name
Description
Required
regKey

Registered pre-approved payment key

Query

None

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

curl -X POST \
-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/preapprovedPay/RK123asd213/expire