Skip to content

feat: add complianceApplicationId to phone number buy#321

Merged
koushiksk-plivo (koushiksk-plivo) merged 1 commit into
masterfrom
feat/compliance-application-id-buy
Jun 12, 2026
Merged

feat: add complianceApplicationId to phone number buy#321
koushiksk-plivo (koushiksk-plivo) merged 1 commit into
masterfrom
feat/compliance-application-id-buy

Conversation

@koushiksk-plivo

Copy link
Copy Markdown
Contributor

What

Adds an optional complianceApplicationId builder param to PhoneNumberCreator, serialized to the compliance_application_id wire param on phone number buy. Includes a new NumberTest case, version bump to 5.49.0 (pom.xml + version.txt), and a CHANGELOG entry.

Why

Regulated numbers (e.g. India) need an approved regulatory compliance application linked at purchase time. Previously the buy call only sent app_id / cnam_lookup / ha_enable, with no way to attach a compliance application. This change closes that gap.

The new builder method is additive and fully backward-compatible. mvn test -Dtest=NumberTest is green (13 tests, 0 failures), including the new phoneNumberBuyWithComplianceApplicationIdShouldSucceed test verifying the compliance_application_id payload.

🤖 Generated with Claude Code

Adds an optional complianceApplicationId builder param to phone number buy,
serialized to the compliance_application_id wire param. Lets regulated numbers
(e.g. India) be purchased with an approved regulatory compliance application
linked at purchase time. Backward-compatible additive builder method.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@koushiksk-plivo koushiksk-plivo (koushiksk-plivo) merged commit bc43922 into master Jun 12, 2026
4 of 9 checks passed
@koushiksk-plivo koushiksk-plivo (koushiksk-plivo) deleted the feat/compliance-application-id-buy branch June 12, 2026 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants