Repository navigation
feat: Smart Transfer source account balance and data consent - #186
Merged
Merged
Conversation
…nt balance - linkedJourney on CreateSmartTransferPreauthorization and dataConsent on SmartTransferPreauthorization - fetchSmartTransferPreauthorizationBalance: balance and overdraft (null when the institution does not share it) - cancelSmartTransferPreauthorizationDataConsent
pluggy-github-app Bot
pushed a commit
that referenced
this pull request
Oct 8, 2026
# [0.92.0](v0.91.0...v0.92.0) (2026-10-08) ### Bug Fixes * **api:** URL-encode query string values ([#184](#184)) ([16f0596](16f0596)) * **deps:** patch handlebars, http-cache-semantics and brace-expansion advisories ([#187](#187)) ([0ef8d00](0ef8d00)) ### Features * add Smart Transfer linkedJourney, data consent and source account balance ([#186](#186)) ([c77e1c3](c77e1c3)) * **item:** add fetchItemsCursor and fetchAllItems for GET /v2/items ([#185](#185)) ([7a82811](7a82811)) * sync with the API spec (card metadata, SCR, merchants, category rules, pix-qr, boletos) ([#183](#183)) ([d0f0c86](d0f0c86))
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
Smart Transfer preauthorizations can now ask, in the same approval, for permission to read the source account balance.
CreateSmartTransferPreauthorization.linkedJourney?: booleanasks for that permission.SmartTransferPreauthorization.dataConsent:{ status, rejectionReason, updatedAt }, ornullwhen it was not requested. Statuses:AWAITING_AUTHORISATION,AUTHORISED,REJECTED.fetchSmartTransferPreauthorizationBalance(id):GET /smart-transfers/preauthorizations/{id}/balance. Returns{ balance, overdraft }in BRL;overdraftis{ contracted, used, available }, ornullwhen the institution does not share it.cancelSmartTransferPreauthorizationDataConsent(id):DELETE /smart-transfers/preauthorizations/{id}/data-consent. Cancels only the permission; the preauthorization stays active.Tests
tests/payments/smartTransfers.test.ts(nock): balance with and without overdraft, data consent cancel, and the existing Smart Transfer calls.pnpm test: 90/90.pnpm buildOK.