Skip to content

feat: send recipient lei under identity instead of metadata#451

Merged
yitianx00 merged 1 commit into
circlefin:masterfrom
jancircle:CMP-837-lei-business-identity
Jun 16, 2026
Merged

feat: send recipient lei under identity instead of metadata#451
yitianx00 merged 1 commit into
circlefin:masterfrom
jancircle:CMP-837-lei-business-identity

Conversation

@jancircle

@jancircle jancircle commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Summary

Update the debug create-recipient form to send the LEI (Legal Entity Identifier) at a flat top-level identity.lei (business-only) instead of metadata.lei, matching the address book recipient API. LEI is set only at create.

Details

  • lib/beta/addressBookApi.tsCreateRecipientPayload: removed metadata.lei; added top-level identity.lei (ordered above individual, not nested under business).
  • pages/debug/addressBook/create.vue — populate identity.lei from the business-gated LEI field; dropped it from metadata.

Scope is the pages/debug/addressBook debug console only.

Update the debug create-recipient payload to send the LEI at a flat
top-level identity.lei (business-only) instead of metadata.lei, to match
the address book recipient API. LEI is set only at create.

- CreateRecipientPayload: remove metadata.lei; add identity.lei, ordered
  above individual (not nested under business).
- create.vue: populate identity.lei from the business-gated LEI field;
  drop it from metadata.
@jancircle
jancircle force-pushed the CMP-837-lei-business-identity branch from 0362d49 to 8a9bf08 Compare June 16, 2026 17:58
@jancircle jancircle changed the title feat(CMP-837): send recipient lei under identity (flat, business-only) feat: send recipient lei under identity instead of metadata Jun 16, 2026
@yitianx00
yitianx00 merged commit ba131d8 into circlefin:master Jun 16, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants