Skip to main content
GET
/
suppliers
/
{supplierId}
/
credit
Get supplier credit balance
const options = {method: 'GET'};

fetch('https://api.dolfinai.co/suppliers/{supplierId}/credit', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
[
  {
    "currency": "<string>",
    "available": 123
  }
]

Path Parameters

supplierId
string<uuid>
required

Response

200 - application/json

OK

currency
string
required

ISO 4217 currency code.

available

Total credit available to apply against this supplier's bills, in this currency.