cURL
curl --request GET \ --url https://api.ledger.so/v1/counterparties/{counterpartyId} \ --header 'Authorization: Bearer <token>'
{ "ok": true, "data": { "id": "<string>", "customerId": "<string>", "accountType": "us_bank", "currency": "<string>", "status": "<string>", "accountOwnerName": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "bankName": "<string>", "accountName": "<string>", "accountOwnerType": "<string>", "last4": "<string>", "details": {} } }
Retrieves a single counterparty by ID.
Pass your API key as a Bearer token: Authorization: Bearer ld_live_...
Authorization: Bearer ld_live_...
The counterparty ID
Counterparty details
true
Show child attributes