Partner index - Otisz/Laravel-Billingo GitHub Wiki

Schema

Official documentation

{
  "page": {
    "type": "integer",
    "default": 1
  },
  "per_page": {
    "type": "integer",
    "default": 25
  }
}

Usage

\Billingo::partners()->index(array $payload)

Example Request

[
  "page" => 1,
  "per_page" => 1
]

Response

[
  "total" => 1
  "per_page" => 25
  "current_page" => 1
  "last_page" => 1
  "prev_page_url" => null
  "next_page_url" => null
  "data" => [
    [
      "id" => 1729075271
      "name" => "Prof. Barta Evelin PhD"
      "address" => array:4 [
        "country_code" => "JE"
        "post_code" => "1694"
        "city" => "Budapest"
        "address" => "Gizella lakótelep 24."
      ]
      "emails" => [
        "[email protected]"
      ]
      "taxcode" => "702844"
      "iban" => "HU88044040784127615537904109"
      "swift" => "OIOHRKDC55Y"
      "account_number" => "HU49267739080446363307908295"
      "phone" => "06(63)201-586"
    ]
  ]
]