feat: add complianceApplicationId param to phone number Buy - #315
Merged
koushiksk-plivo (koushiksk-plivo) merged 1 commit intoJun 12, 2026
Merged
Conversation
Adds an optional trailing complianceApplicationId param to Buy and BuyAsync, 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 trailing optional param. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
revanth-plivo
approved these changes
Jun 12, 2026
koushiksk-plivo (koushiksk-plivo)
merged commit Jun 12, 2026
c9b5143
into
master
3 of 9 checks passed
koushiksk-plivo (koushiksk-plivo)
deleted the
feat/compliance-application-id-buy
branch
June 12, 2026 10:55
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds an optional trailing
complianceApplicationIdparameter toPhoneNumber.BuyandPhoneNumber.BuyAsync. It is serialized to thecompliance_application_idwire parameter. PreviouslyBuyonly sentapp_id,cnam_lookup, andha_enabled.Why
Regulated numbers (e.g. India) require an approved regulatory compliance application to be linked at purchase time. This lets callers pass that application id directly when buying the number.
Notes
BuyandBuyAsync.tests/Plivo.Test) and xUnit (tests_netcore/Plivo.NetCore.Test) suites asserting thecompliance_application_idpayload.version.json,Plivo.csproj,Plivo.nuspec, plus a CHANGELOG entry.🤖 Generated with Claude Code