Get a provider's ledger counterparty
Returns the ledger account used as counterparty for the postings of one provider, in one ledger, for one asset.
Providers: Lerian (PCR) and BTG.
How it works
- The tenant comes from your credential. The ledger and the provider come from the path.
assetCodeselects the asset. It defaults toBRL.provider_typeis matched case-insensitively.- With no configured counterparty, the answer is
isDefault: true,accountAlias: "@external/<asset>"andversion: 0. - A counterparty written back to
@external/<asset>also readsisDefault: true, with its own version. - Read it before a write. Send its
versionin the write.
GET
Get a provider's ledger counterparty
Parâmetros de caminho
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.
Required string length:
1 - 100Exemplo:
"0199a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a6c"
Parâmetros de consulta
Resposta
OK.

