GET
/
api
/
v2
/
ledger
/
outstanding-institutional-orders
/
{institutionId}
import SampleHealthcare from 'samplehc';

const client = new SampleHealthcare({
  apiKey: process.env['SAMPLEHC_API_KEY'], // This is the default and can be omitted
});

const response = await client.v2.ledger.retrieveOutstandingInstitutionOrders('institutionId');

console.log(response.orders);
{
  "orders": [
    {
      "orderId": "<string>",
      "institutionId": "<string>",
      "balanceUsdCents": 123
    }
  ]
}

Path Parameters

institutionId
string
required

Identifier of the institution to get outstanding orders for.

Response

200
application/json

Outstanding orders retrieved successfully.