Skip to content

Conversation

@breezeonedge-nimbleneuron

Summary

Adds support for template_id parameter in VerificationRequest to allow using custom templates for verification requests in the Verify v2 API.

Changes

  • Added templateId field to VerificationRequest class
  • Added templateId(UUID) method to VerificationRequest.Builder
  • Added getTemplateId() getter method with proper JSON serialization
  • Added comprehensive unit tests for the new functionality

Testing

  • Added unit tests to verify template_id serialization in JSON
  • Verified that template_id is omitted when null (optional field)
  • Tested across all verification channels (SMS, Voice, Email, WhatsApp, Silent Auth)

Contribution Checklist

@breezeonedge-nimbleneuron breezeonedge-nimbleneuron marked this pull request as draft December 4, 2025 23:35
- Add templateId field to VerificationRequest class
- Add templateId(UUID) builder method
- Add getTemplateId() getter with @JsonProperty annotation
- Add comprehensive unit tests
- Update CHANGELOG.md

This change adds support for using custom templates in verification
requests, allowing users to specify a template_id when creating
verification requests via the Verify v2 API.
@breezeonedge-nimbleneuron breezeonedge-nimbleneuron marked this pull request as ready for review December 4, 2025 23: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.

1 participant