Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Example of getting counterpartiescounterparty companies:

Code Block
languagejson
GET https://api.avallone.io/api/v1/counterparty/counterpartiescompanies
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": "CounterpartyStreet 123",
          "categoryzipCode": "2399",
          "city": "individualNew York",
          "countryCode": "US"
        }
      ],
      "referenceId": ref-1234,
      "contactPerson": {
        "firstName": "Dow",
        "lastName": "Jones",
        "email": "dj@avallone.dev"
      },
    "id1"
  "incorporationCountryCode": null,
      "amlStatus": null
    },
    {
      "name": "Pepsi",
      "registrationNumber": null,
      "addresses": [
        {
          "streetAddress": "Pepsi ave",
          "zipCode": "2345",
          "Counterparty 2city": "Pepsi",
          "categorycountryCode": "entity"US"
        }
      ],
      "referenceId": "id2"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.