Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Example of getting counterparty companies:

GET https://api.avallone.io/api/v1/counterparty/companies
Authorization: Bearer <token>
Content-Type: application/json

{
  "metadata": {
    "currentPage": 0,
    "totalPages": 7,
    "limit": 15,
    "nextPageURI": "/api/v1/counterparty/companies?page=1&limit=15"
  },
  "results": [
    {
      "name": "Dow Jones",
      "registrationNumber": "DJ654",
      "addresses": [
        {
          "streetAddress": "Street 23",
          "zipCode": "2399",
          "city": "New York",
          "countryCode": "US"
        }
      ],
      "referenceId": ref-1234,
      "contactPerson": {
        "firstName": "Dow",
        "lastName": "Jones",
        "email": "dj@avallone.dev"
      },
      "incorporationCountryCode": null,
      "amlStatus": null
    },
    {
      "name": "Pepsi",
      "registrationNumber": null,
      "addresses": [
        {
          "streetAddress": "Pepsi ave",
          "zipCode": "2345",
          "city": "Pepsi",
          "countryCode": "US"
        }
      ],
      "referenceId": null,
      "contactPerson": {
        "firstName": "Pepsi",
        "lastName": "Cola",
        "email": "pepsi@pepsi.dev"
      },
      "incorporationCountryCode": null,
      "amlStatus": null
    },
  ]
}

Need more help?

Contact us on support@avallone.io and we will get in contact with you as fast as possible.

  • No labels