Skip to content

[ONB-4395] [Compose] Add cancel and simulateCredit to crossborder transfers - #119

Merged
fin-compose[bot] merged 1 commit into
masterfrom
compose/crossborder-transfers-cancel-059b
Nov 16, 2026
Merged

fin-compose[bot] merged 1 commit into
masterfrom
compose/crossborder-transfers-cancel-059b

Conversation

@FranciscaOtero

Copy link
Copy Markdown
Contributor

Description

Aligns the SDK with the public API changes in fintoc-rails's main-api.json between 7504033b (2026-11-09) and today's main. pacioli's core-api.json didn't change.

Added

  • fintoc.v2.crossborder.transfers.cancel(id) → POST /v2/crossborder/transfers/{id}/cancel (fintoc-com/fintoc-rails#20605).
  • fintoc.v2.crossborder.transfers.simulateCredit(id) → POST /v2/crossborder/transfers/{id}/simulate_credit, test mode only (fintoc-com/fintoc-rails#20605).
  • Both return a CrossborderTransfer and send an Idempotency-Key. README example and integration tests included.

Already aligned, no changes

  • Crossborder beneficiaries, quotes and transfers (create/list/get/delete) and account certificates were already added (fintoc-com/fintoc-rails#20605, #20588).
  • fintoc.v2.checkoutSessions.confirm() already exists (fintoc-com/fintoc-rails#20935).
  • New request/response fields and enum values pass through dynamically: transfer network, fees[].kind: fintoc_fee and evm_address beneficiaries (fintoc-com/fintoc-rails#20911, #20906, #20943); payment_method_options.card.bins and ui_mode: fields for payment and setup (fintoc-com/fintoc-rails#20751, #20837, #21037); invoice split.inherited (fintoc-com/fintoc-rails#20601); invoice.split_redirected (fintoc-com/fintoc-rails#20443); Chile CMF onboarding fields and cmf_application_proof (fintoc-com/fintoc-rails#20814); setup intent errors payment_method_canceled/payment_method_inactive (fintoc-com/fintoc-rails#20993, #20978).
  • Webhook endpoint limit_exceeded/invalid_url errors and test webhook docs go through the generic error handling (fintoc-com/fintoc-rails#20758, #20998, #20836, #20874).

Left out / notes

  • cancel and simulateCredit return a resource whose path is the action URL, so calling instance methods on it is not supported (known SDK limitation).

Release notes

  • Added fintoc.v2.crossborder.transfers.cancel() to cancel a crossborder transfer.
  • Added fintoc.v2.crossborder.transfers.simulateCredit() to simulate the credit of a crossborder transfer in test mode.

Requirements

None.

Additional changes

None.

🤖🐙 Created with Compose · View session

…ansfers

Co-authored-by: fin-compose[bot] <255610621+fin-compose[bot]@users.noreply.github.com>
@FranciscaOtero FranciscaOtero added the agent:compose PR created by Compose AI agent label Nov 16, 2026
@fin-hermes fin-hermes Bot added the size/S label Nov 16, 2026
@FranciscaOtero FranciscaOtero added the release:minor Publica una versión minor al mergear label Nov 16, 2026
@FranciscaOtero FranciscaOtero self-assigned this Nov 16, 2026
@fin-hermes fin-hermes Bot added the risk:low label Nov 16, 2026
@FranciscaOtero

Copy link
Copy Markdown
Contributor Author

fin review

@fin-review fin-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ✅

@FranciscaOtero
FranciscaOtero marked this pull request as ready for review November 16, 2026 12:05

@fin-review fin-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ✅

@fin-compose
fin-compose Bot merged commit 509860a into master Nov 16, 2026
6 checks passed
@fin-compose
fin-compose Bot deleted the compose/crossborder-transfers-cancel-059b branch November 16, 2026 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent:compose PR created by Compose AI agent release:minor Publica una versión minor al mergear risk:low size/S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant