feat(ramps): add NeoBankService Pix and quote client methods - #9851
Draft
saustrie-consensys wants to merge 1 commit into
Draft
feat(ramps): add NeoBankService Pix and quote client methods#9851saustrie-consensys wants to merge 1 commit into
saustrie-consensys wants to merge 1 commit into
Conversation
Expose messenger-backed neo-bank proxy helpers for Pix send and autoramp quotes under the live `/neobank` prefix, and align getAutoramp with that path.
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Explanation
Stacked on #9848 (
cursor/ramps-autoramp-accounts). That PR'sNeoBankServiceonly exposesgetAutoramp. 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
/neobankprefix on the on-ramp.api host (not/api/v2/...), andgetAutorampis updated toGET /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).
createAutorampmaps autoramp-shaped responses viamapNeoBankAutorampToRemoteSnapshot, matchinggetAutoramp. OptionalIdempotency-Keyis supported on mutating calls.Does not implement
RampsController:sendPix, TransactionPayController, or Mobile wiring.References
/neobankprefix (mmcx-onramp-api Support watching assets on a specific account #1124 and related Pix/quote proxy work)Checklist