Repository navigation
[ONB-4298] [Compose] [Compose] Add LimitExceededError for webhook endpoints - #51
Merged
Merged
Conversation
Co-authored-by: fin-compose[bot] <255610621+fin-compose[bot]@users.noreply.github.com>
Contributor
Author
|
fin review |
FranciscaOtero
marked this pull request as ready for review
November 11, 2026 12:05
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.
Contexto
The public API now caps active webhook endpoints at 16 per organization and mode. When the cap is hit,
POST /v1/webhook_endpointsandPATCH /v1/webhook_endpoints/{id}respond 422limit_exceeded(fintoc-com/fintoc-rails#20758). The SDK had no class for that code, so it surfaced as a genericFintocError.¿Qué hay de nuevo?
Fintoc::Errors::LimitExceededError, raised when the API respondslimit_exceededTests
Release notes
Fintoc::Errors::LimitExceededError, raised when creating or updating a webhook endpoint exceeds the active endpoint limit.Safety Checks
Consideraciones
Reviewed against
openapi_spec/main-api.jsonin fintoc-rails (abddda4a..e297b6da); pacioli'score-api.jsondidn't change. Everything else in that range already matched the SDK, so it's left out of this PR:splitparams on v2 invoices and v1/v2 payment intents,split/split_appliedon payment intents v2 (#20107, #20108): passed through**paramsand already exposed as attributes.invoice_not_editable(409) already exists.invoice_v2.split[].inherited,mx_direct_debit.error_reason(#20380, #20601, #20009): nested hashes, returned as-is.invoice.split_redirectedevent (#20443): the SDK doesn't validate event types.payment_method_options.card.binson checkout sessions (#20751): passed through**params.🤖🐙 Created with Compose · View session