GET
/
public
/
v1
/
billing-service
/
vendors
/
{external-vendor-id}
/
credit-history
curl --request GET \
  --url https://api.topsort.com/public/v1/billing-service/vendors/{external-vendor-id}/credit-history
{
  "currencyCode": "<string>",
  "lines": [
    {
      "amount": 123,
      "createdAt": "2023-11-07T05:31:56Z",
      "description": "<string>"
    }
  ],
  "totalAmount": 123
}

Path Parameters

external-vendor-id
string
required

The External ID of the Vendor to retrieve.

Minimum length: 1

Response

200
application/json
Successful Response

This is the Response body for the Vendor Credit History fetch.

currencyCode
string
required
lines
object[]
required

This contains the details for the Credit History for a Vendor.

totalAmount
number
required