Overview
The/company/list endpoint returns all companies associated with your integration. Use it to look up company IDs, verify which companies are connected, or synchronize your system with SynchPay.
How it works
Obtain an access token
Request an access token by calling
/auth/token with your ClientId and ClientSecret.
Refer to the Authorization section for details.Call the endpoint
Make a
GET request to /company/list with your access token. No additional
parameters are required — the endpoint returns every company linked to your
integration.Retrieving your companies
Endpoint
- URL:
https://api.synchpay.com/company/list - Method:
GET - Authorization:
Bearer <AccessToken>
Response
The response contains a singlecompanies array:
| Property | Type | Description |
|---|---|---|
id | string | The unique identifier for the company. |
name | string | The company name provided during registration. |
referenceId | string | The custom reference ID assigned to the company, if one was set. Can be null. |
Example request
Example response
When to use this endpoint
- Syncing company data — Keep your system up to date with the companies registered in SynchPay.
- Looking up company IDs — Find the
idfor a specific company before calling other endpoints such as/company/{companyId}/statusor/transaction/report. - Verifying registrations — Confirm that a company was successfully created after calling
/company/create.