Get the ledger counterparty of one provider in one ledger of a tenant
Returns the ledger counterparty of one provider of the tenant of the credentials you authenticate with, in the ledger named in the path, for the asset in assetCode (BRL when omitted). With no configured counterparty for that ledger, the answer is isDefault: true, accountAlias: "@external/<asset>" and version: 0; a counterparty written back to @external/<asset> also reads isDefault: true, with its version. The ledger must be a canonical UUID, in any case; otherwise 400 PBP-0026. Read it before a write: its version is what configureLedgerCounterparty must send.
WHO MAY CALL IT: provider-routes:read.
Path Parameters
Midaz ledger whose counterparty is read or written, the same identifier the boleto and the payment record as their ledger. Each ledger has its own counterparty per provider and asset. Must be a canonical UUID (any case); otherwise 400 PBP-0026.
1 - 100"0199a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a6c"
Query Parameters
Response
OK

