ACTIVE, your integration can begin showing Meridian balance information in your UI.
Authentication for account reads
These account-read operations can be performed with a Meridian JWT and, where the API supports direct partner authentication, with HMAC-signed partner credentials. For client-facing account views, prefer JWT bearer authentication so your frontend usesAuthorization: Bearer {token} instead of partner credentials.
Review Client-server authentication with JWT before implementing frontend-facing account reads.
In Meridian Accounts, the balance is the customer-facing object to display. It represents how your customer receives local payments. Its schema is designed to present deposit instructions that can be shared with senders.
How to display account information
Use the balance and transaction APIs as read models for your UI. At a high level, the display flow is:List the customer's balances
Call
GET /v1/balances to retrieve the balances available
for the customer in the current program context.Show deposit instructions
Call
GET /v1/balances/{balanceId} to retrieve the full
balance detail and render the deposit instructions your customer can
share with a sender.Load transaction history
Call
GET /v1/transactions to populate the customer’s account activity
feed.What the balance represents
The balance is meant for display in your UI. Use it to show the customer where to send funds, which deposit instructions to share, and what funds are available versus actual. When a sender uses those deposit instructions, the balance receives the incoming funds. Depending on how that balance is configured, the deposited funds may either remain on the balance or trigger a follow-on sweep to the configured credit instrument.How to interpret transactions
The transaction APIs are designed for display purposes. Treat them as read-only account activity, not as endpoints for creating, editing, or reversing movement. Any funds received into a balance result in adeposit transaction.
If the balance is configured with a SWEEP routing policy, Meridian may also initiate a subsequent withdrawal transaction for that same flow.
This means your customer may see both:
- an inbound
depositinto the balance - a follow-on
withdrawalthat moves funds to the configured credit instrument
Using sourceType to explain what happened
The sourceType on a transaction helps explain what caused that transaction.
For now, your integration should interpret:
DEPOSIT_INSTRUCTIONas activity directly associated with a balance deposit instructionROUTING_POLICYas follow-on movement that Meridian initiated automatically from the balance routing policy
type together with sourceType to help the customer understand whether they are looking at the incoming deposit or at a subsequent automatic withdrawal.
Recommended UI behavior
Your integration should:- use the balance responses to render shareable deposit instructions and balance amounts
- present transactions as a ledger or activity feed
- treat transaction responses as read-only history
- use transaction
typeandsourceTypeto explain why a movement appears in the account timeline