Skip to content

feat(ramps): add NeoBankService Pix and quote client methods - #9851

Draft
saustrie-consensys wants to merge 1 commit into
cursor/ramps-autoramp-accountsfrom
saustrie/neobank-pix-service-methods
Draft

feat(ramps): add NeoBankService Pix and quote client methods#9851
saustrie-consensys wants to merge 1 commit into
cursor/ramps-autoramp-accountsfrom
saustrie/neobank-pix-service-methods

Conversation

@saustrie-consensys

@saustrie-consensys saustrie-consensys commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Explanation

Stacked on #9848 (cursor/ramps-autoramp-accounts). That PR's NeoBankService only exposes getAutoramp. Pix send needs additional HTTP clients against the neo-bank proxy, using the same bearer auth, createServicePolicy, and messenger exposure patterns.

This PR adds messenger-backed methods for Pix address registration, autoramp quote fetch/create/attach, and customer lookup. Paths use the live neobank-proxy global /neobank prefix on the on-ramp.api host (not /api/v2/...), and getAutoramp is updated to GET /neobank/autoramps/{id} so Core matches the proxy that ships.

Pix/quote helpers return parsed proxy JSON (transparent forwarding; MoonPay schemas are not over-modeled). createAutoramp maps autoramp-shaped responses via mapNeoBankAutorampToRemoteSnapshot, matching getAutoramp. Optional Idempotency-Key is supported on mutating calls.

Does not implement RampsController:sendPix, TransactionPayController, or Mobile wiring.

References

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've communicated my changes to consumers by updating changelogs for packages I've changed
  • I've introduced breaking changes in this PR and have prepared draft pull requests for clients and consumer packages to resolve them

Expose messenger-backed neo-bank proxy helpers for Pix send and autoramp
quotes under the live `/neobank` prefix, and align getAutoramp with that path.
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.

1 participant