v9.10.0 Add Coupon API Support to Messaging API
What's Changed
This release introduces Coupon API support to the Messaging API, enabling developers to create, manage, and deliver coupons directly through bot integrations. These new features mirror capabilities previously only available through the LINE Official Account Manager, offering greater flexibility in automating coupon workflows via the Messaging API.
✨ New API Endpoints
-
POST
/v2/bot/coupon
Create a new coupon, including metadata such as title, description, validity period, image URLs, acquisition conditions, and reward details (e.g., fixed-amount discounts). -
GET
/v2/bot/coupon
Retrieve a list of all coupons associated with your bot. -
GET
/v2/bot/coupon/{couponId}
Fetch detailed metadata of a specific coupon. -
PUT
/v2/bot/coupon/{couponId}
Mark a coupon as expired.
💬 Messaging API Enhancements
- Added support for a new message type:
type=coupon
You can now send coupons directly to users using the Messaging API, similar to sending text, image, or template messages.
📌 Example Use Cases
- Create a 1000 yen off coupon
- Send the coupon to a user using the new coupon message type
For detailed usage examples, see the official documentation.
📢 Official Announcement:
LINE Developers News — Coupon API Released (2025/08/06)
What's Changed on v9.8.1
✨ Add an Option to Skip Webhook Signature Verification
With this release, developers can now optionally skip signature verification when parsing incoming webhook requests. This new capability is especially useful in scenarios where the channel secret may change, potentially causing temporary signature mismatches.
Example Usage:
WebhookParser parser = new WebhookParser(
signatureValidator,
FixedSkipSignatureVerificationSupplier.of(true) // Skip verification
);When signature verification is skipped, the signatureValidator will not be invoked. This allows webhook requests to be processed even if their signatures do not match the current channel secret used for verification.
This feature is particularly helpful in high-availability systems where avoiding downtime or message loss during configuration updates is critical.
line-openapi updates
- Add Coupon API Support to Messaging API by @github-actions[bot] in #1684
Dependency updates
- chore(deps): update dependency gradle to v8.14.2 by @renovate[bot] in #1642
- fix(deps): update junit5 monorepo by @renovate[bot] in #1643
- chore(deps): update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.2.0 by @renovate[bot] in #1644
- fix(deps): update dependency org.wiremock:wiremock-standalone to v3.13.1 by @renovate[bot] in #1645
- fix(deps): update jackson monorepo to v2.19.1 by @renovate[bot] in #1646
- chore(deps): update dependency org.springframework.boot:spring-boot-gradle-plugin to v3.5.1 by @renovate[bot] in #1648
- chore(deps): update dependency org.springframework.boot:spring-boot-gradle-plugin to v3.5.2 by @renovate[bot] in #1649
- chore(deps): update dependency org.springframework.boot:spring-boot-gradle-plugin to v3.5.3 by @renovate[bot] in #1650
- fix(deps): update dependency org.junit.platform:junit-platform-launcher to v1.13.2 by @renovate[bot] in #1652
- fix(deps): update junit to v5.13.2 by @renovate[bot] in #1653
- chore(deps): update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.2.1 by @renovate[bot] in #1654
- chore(deps): update dependency org.openapitools:openapi-generator to v7.14.0 by @renovate[bot] in #1655
- chore(deps): update dependency org.openapitools:openapi-generator-gradle-plugin to v7.14.0 by @renovate[bot] in #1656
- fix(deps): update openapi-generator-version to v7.14.0 by @renovate[bot] in #1657
- fix(deps): update dependency com.nimbusds:nimbus-jose-jwt to v10.3.1 by @renovate[bot] in #1659
- chore(deps): update dependency org.apache.maven.plugins:maven-enforcer-plugin to v3.6.0 by @renovate[bot] in #1660
- fix(deps): update dependency io.github.littleproxy:littleproxy to v2.4.3 by @renovate[bot] in #1661
- chore(deps): update dependency gradle to v8.14.3 by @renovate[bot] in #1663
- fix(deps): update junit-framework monorepo by @renovate[bot] in #1664
- chore(deps): update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.2.2 by @renovate[bot] in #1665
- chore(deps): update dependency org.apache.maven.plugins:maven-enforcer-plugin to v3.6.1 by @renovate[bot] in #1667
- fix(deps): update jackson to v2.19.2 by @renovate[bot] in #1669
- fix(deps): update dependency com.nimbusds:nimbus-jose-jwt to v10.4 by @renovate[bot] in #1670
- fix(deps): update junit-framework monorepo by @renovate[bot] in #1671
- fix(deps): update dependency com.ocadotechnology.gembus:test-arranger to v1.6.4.1 by @renovate[bot] in #1672
- fix(deps): update okhttp monorepo to v5 (major) by @renovate[bot] in #1662
- chore(deps): update dependency org.springframework.boot:spring-boot-gradle-plugin to v3.5.4 by @renovate[bot] in #1673
- chore(deps): update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.2.3 by @renovate[bot] in #1682
- fix(deps): update dependency com.nimbusds:nimbus-jose-jwt to v10.4.1 by @renovate[bot] in #1683
Other Changes
- Fix pebble for array-type query parameter by @habara-k in #1629
- Add option to skip signature verification by @habara-k in #1635
- Update Kotlin version to 2.2.0 and adjust compiler options by @eucyt in #1658
- Update CONTRIBUTING.md to enhance development guidelines by @eucyt in #1666
- OSSRH is deprecated by @habara-k in #1674
Full Changelog: v9.8.0...v9.10.0