Skip to content

[ONB-4179] [Compose] [Compose] Agregar creación de organizations - #136

Merged
fin-compose[bot] merged 1 commit into
masterfrom
compose/organizations-create-6b97
Nov 5, 2026
Merged

fin-compose[bot] merged 1 commit into
masterfrom
compose/organizations-create-6b97

Conversation

@FranciscaOtero

Copy link
Copy Markdown
Contributor

Description

La API pública sumó POST /v1/organizations, para que un partner cree la organización de una empresa que refiere (solo live, con JWS obligatorio). El SDK no la exponía.

  • Nuevo client.organizations.create(...), que devuelve un Organization.
  • La firma JWS sale sola si el cliente se inicializa con jws_private_key, como en transfer batches.
  • Solo se expone create, que es lo único que trae el spec.
  • README con un ejemplo.
  • Tests de integración.

Fuente: fintoc-com/fintoc-rails#19988 y fintoc-com/fintoc-rails#20074.

Quedó fuera (ya calza, el SDK acepta campos y valores nuevos de forma dinámica):

  • split / split_applied en subscriptions, invoices, payment intents y checkout sessions (fintoc-com/fintoc-rails#19791, #19997, #20011, #20107, #20108).
  • Estado inconsistent y campo reason en invoices y subscriptions v2 (fintoc-com/fintoc-rails#19896, #19906, #19978).
  • Evento invoice.finalization_failed (fintoc-com/fintoc-rails#19922).
  • tax_id.type custom en customers (fintoc-com/fintoc-rails#19834).
  • max_completed_sessions en payment links (fintoc-com/fintoc-rails#19886).
  • payment_method_type y documentation_upload_deadline nullable en disputes (fintoc-com/fintoc-rails#18922).
  • Tarjetas guardadas en payment_method de checkout sessions v2 (fintoc-com/fintoc-rails#19637).
  • Cambios solo de docs y ejemplos (fintoc-com/fintoc-rails#19971, #19666, #20183) y largo de holder_name y contraparte en Chile (fintoc-com/pacioli#4063).

Requirements

None.

Additional changes

None.

🤖🐙 Created with Compose · View session

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 5, 2026
@FranciscaOtero FranciscaOtero self-assigned this Nov 5, 2026
@fin-hermes fin-hermes Bot added the size/M label Nov 5, 2026
@FranciscaOtero

Copy link
Copy Markdown
Contributor Author

fin review

@fin-hermes fin-hermes Bot added the risk:low label Nov 5, 2026

@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 5, 2026 12:06

@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 31abd1b into master Nov 5, 2026
8 of 9 checks passed
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 risk:low size/M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant