Skip to content
API

Get Vendor Balance

GET
/v1/billing-service/vendors/{external-vendor-id}/balance

Endpoint to get the balance for a vendor.

Authentication

Topsort’s APIs are authenticated via bearer tokens. Requests must include an authorization header containing your private API key.

Don't have an API key yet? Learn how to generate one.

Authorization
required
string

The header containing a private API key. Format this header as follows:

Authorization: Bearer <YOUR-API-KEY>

Path Parameters

object
external-vendor-id
required

The External ID of the Vendor to retrieve.

string
>= 1 characters

The External ID of the Vendor to retrieve.

Responses

Successful Response

This is the Response body for the Vendor Balance fetch.

application/json
object
balance
required
number
currencyCode
required
string