Skip to content

[TRNF-8322] Docs(v2): Document entity onboardings and the type/data create shape - #130

Merged
JoMarchant merged 1 commit into
masterfrom
feat/entity-onboardings-type-and-data
Aug 31, 2026
Merged

[TRNF-8322] Docs(v2): Document entity onboardings and the type/data create shape#130
JoMarchant merged 1 commit into
masterfrom
feat/entity-onboardings-type-and-data

Conversation

@JoMarchant

Copy link
Copy Markdown
Contributor

Description

The v2 API changed the entity onboarding create contract: it now requires a type
(account_holder or settlement_recipient) and takes the payload nested under
data, instead of the structures at the top level. The SDK still documented and
tested the old flat shape, which the API now rejects.

  • Adds an Entity onboardings section to the README (there was none): list, get,
    create with type + data, the three document uploads, and submit.
  • Updates the onboardings.create integration test to the current request shape,
    and asserts on type and the nested data.
  • Adds type to the onboarding objetization test payload and assertions.

No client code changed: the manager forwards keyword arguments to the API as-is, so
create already supported the new shape.

Requirements

None.

Additional changes

Test fixtures moved from the CL placeholders (nationality: "CL", RUT-shaped
holder_id) to valid MX values and the real enum values the API accepts, since
entity onboardings are MX-only today.

Related

The public API now requires a `type` on entity onboarding creation
(`account_holder` or `settlement_recipient`) and takes the company
information, legal representatives, transactional profile and shareholders
nested under `data` instead of at the top level.

The README had no entity onboarding section at all, and the integration
tests still built the old flat body and omitted `type` from the onboarding
payload.
@fin-hermes fin-hermes Bot added the size/M label Aug 24, 2026
@JoMarchant
JoMarchant marked this pull request as ready for review August 25, 2026 19:23
@JoMarchant
JoMarchant requested a review from tlarrain August 25, 2026 19:24
@JoMarchant
JoMarchant merged commit 3ab804a into master Aug 31, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants