Skip to main content
This route returns several kinds of process. onramp (BRL → balance) and onramp_instant (BRL → external wallet) share the attribute set below; onramp_instant_legacy is an older variant of onramp_instant with the same attributes. Fields marked with a template name are only present for that variant. GET /v2/onramps also returns merchant BRL funding deposits, which use a completely different set of attribute keys — see Merchant BRL funding below. There is no type field to switch on, so branch on the attribute keys: gateway_payment_id marks a funding deposit, quote marks an onramp.

Path parameters

If {id} does not match an end2end, it is retried against the Pix end-to-end ID and then the transaction hash — so all three work on the same route with no extra parameter.

Response 200 OK

Attributes

An attribute with an empty value is omitted, so a missing key — pix_e2e before payment, for instance — means that step has not happened yet.

Merchant BRL funding

A BRL deposit you make into your own account is a distinct process that this route also returns. Its attributes share almost no keys with an onramp, so check for gateway_payment_id before reading them.
Responses from this route carry version: "v1" in the envelope. It is an inherited label, not a contract version — this is a /v2/ route on the same contract as every other. Do not branch on it.
404 — transaction not found or does not belong to your account. The two cases are deliberately indistinguishable. For all status / substatus values see Onramp statuses.