Memberships

A Membership represents a membership belonging to one or more Customers.

Schema

Attributes

  • The ID of the membership

  • The ID of the site this membership belongs to

  • The unique membership number of the lead member. This is always a 10 digit numeric string. Since this field only relates to the lead member, this is now deprecated. Instead, find the membership for the relevant customer in the members array.

  • Possible values are active, needs_dd_mandate, needs_attention, reserved, inactive, expired and upcoming

  • Where the membership was created

    Possible values are self_signup, app, import and unknown

  • Details about the payment method attached to this membership. This payment method is used to take payment on the monthly billing period. If a payment method hasn't been set up, this will be null.

  • The date which the membership starts

  • The date which the membership ends

  • The datetime which the membership was created

  • The basket ID which was used to purchase this membership, if applicable.

  • An external reference for this membership.

  • The date which the membership will next be billed

  • next_charge
    Nullable

    A summary of the next charge that's due for this membership.

    This property is only populated when the membership was retrieved using the `getCustomerMemberships endpoint.

  • A string describing what kind of action needs to take place

    Possible values are no_mandate, setup_unpaid, mandate_revoked, payment_failed, payment_disputed, payment_outstanding and site_id

""
listMemberships

List Memberships

This endpoint lists the Memberships which are associated to the provided site.

Query parameters

  • Filters memberships belonging to the specified customer

  • page
    Optional

    The page to retrieve results from

  • per_page
    Optional

    The number of results to return per page

Responses

  • 200

    The Memberships were successfully retrieved

GET/customers/memberships
200
example response
{
  "data": [
    {
      "id": "55b13a8a-4139-17ad-1747-ddd9414f0159",
      "site_id": "75acbf65-e2e1-6450-52d1-1ef89c407fa2",
      "membership_number": "1234567890",
      "customer": {
        "id": "17b5bca8-2faa-cc94-39c7-c08fa4f6f223",
        "first_name": "Jane",
        "last_name": "Doe",
        "full_name": "Jane Doe",
        "phone": "+447900000000",
        "has_password": true,
        "dob": "1918-06-16",
        "brand_id": "a98c418b-751c-ec1b-f493-7d8d6b4d4cc8",
        "site_id": "ec932de6-2183-4579-df42-2739143dbd1d",
        "stripe_id": "cus_1234567890",
        "express_stripe_id": "cus_1234567890",
        "email": "janedoe@example.com",
        "labels": [
          {
            "id": "1cc4c226-5364-f8c1-1a9c-78bb2a7917ae",
            "value": "VIP",
            "colour": "ff6634"
          },
          {
            "id": "6db96c61-b4f7-b782-273d-b9d9fe5143db",
            "value": "VIP",
            "colour": "ff6634"
          }
        ],
        "preferred_locale": "en",
        "locked_at": "1959-04-29T17:44:01.0Z",
        "created_at": "1962-08-19T04:10:16.0Z",
        "updated_at": "1961-12-18T07:45:32.0Z",
        "deleted_at": "1949-05-16T21:49:49.0Z",
        "last_active_at": "1941-06-20T10:48:24.0Z",
        "email_verified_at": "1892-10-29T21:53:14.0Z",
        "last_check_in": {
          "checked_in_at": "1930-08-30T19:42:55.0Z",
          "method": "Scanned"
        },
        "avatar_id": "000000-000000-000000-000000",
        "avatar": {
          "id": "410710b7-5e98-2ce4-335b-2bde3bde3976",
          "file_name": "super-cool-photo.jpg",
          "mime_type": "image/jpeg",
          "size": 84256,
          "url": "https://example.com/media/super-cool-photo.jpg"
        },
        "external_ref": "occaecat eu deserunt cillum reprehenderit"
      },
      "members": [
        {
          "customer_id": "bd814c9d-eb57-15d1-bf3b-d7c63a700d27",
          "membership_number": "1234567890",
          "is_lead": false
        }
      ],
      "type": {
        "id": "7ae5b8f7-4a88-3017-8131-7f999cf10ee1",
        "name": "Gold tier",
        "description": "Enjoy exclusive benefits as part of being a member in our Gold tier",
        "terms": "consequat",
        "brand_id": "112c7436-6932-d108-dd0b-ae9a3de37296",
        "offline_payments": false,
        "disable_confirmation_email": false,
        "private": true,
        "visibility": "link_only",
        "minimum_start_date": "1922-05-07T16:10:57.0Z",
        "min_members": 2,
        "max_members": 4,
        "rates": [
          {
            "id": "79f65597-dd11-ac36-1219-e8b424e09ef0",
            "membership_type_id": "5b59f9ea-6057-1af0-9a29-afa7e0a134cc",
            "name": "Standard rate",
            "currency": "GBP",
            "price": 5000,
            "joining_fee": 1000,
            "tax": 1250,
            "billing_frequency": "P1M",
            "processors": [],
            "default_duration": "P1Y",
            "private": true,
            "created_at": "1931-06-07T10:13:12.0Z",
            "updated_at": "1965-07-27T14:48:44.0Z"
          },
          {
            "id": "7620cd6d-a04c-852b-efba-d7ff4c851864",
            "membership_type_id": "6827e6f1-19c8-0303-758e-e91b4124dd3d",
            "name": "Standard rate",
            "price": 5000,
            "joining_fee": 1000,
            "tax": 1250,
            "processors": [
              "Excepteur veniam"
            ],
            "default_duration": "P1Y"
          },
          {
            "id": "0d4d6944-14ac-a8cc-4120-b5753757e7f9",
            "membership_type_id": "7f865403-9e97-0c88-06d5-59c2a9a130e1",
            "name": "Standard rate",
            "currency": "GBP",
            "price": 5000,
            "joining_fee": 1000,
            "tax": 1250,
            "billing_frequency": "P1M",
            "processors": [
              "in et",
              "dolor",
              "qui in incididunt pariatur"
            ],
            "default_duration": "P1Y",
            "private": true,
            "created_at": "1917-08-20T09:49:24.0Z",
            "updated_at": "1949-07-31T07:37:30.0Z"
          },
          {
            "id": "87849612-fdde-c60d-b2c3-ba0ea05ba447",
            "membership_type_id": "756ea260-fcfc-bc36-9b8b-95746084c1bf",
            "name": "Standard rate",
            "currency": "GBP",
            "price": 5000,
            "joining_fee": 1000,
            "tax": 1250,
            "billing_frequency": "P1M",
            "processors": [
              "aute incididunt dolor deserunt magna",
              "cillum aliqua id",
              "ut veniam non ex"
            ],
            "default_duration": "P1Y",
            "private": true
          }
        ],
        "revenue_schedule": "FREQ=WEEKLY",
        "created_at": "1902-01-31T12:48:21.0Z",
        "updated_at": "1956-01-17T01:33:20.0Z",
        "deleted_at": "1923-02-18T19:51:30.0Z"
      },
      "rate": {
        "id": "8d15c277-bc9b-2b46-ecf1-aeae578e793f",
        "membership_type_id": "e4bdfcfe-e42d-3ca0-3c1b-230942c4d20d",
        "name": "Standard rate",
        "currency": "GBP",
        "price": 5000,
        "joining_fee": 1000,
        "tax": 1250,
        "processors": [
          "ullamco ad in labore et"
        ],
        "created_at": "1940-02-19T02:20:33.0Z",
        "updated_at": "1912-09-18T15:01:04.0Z"
      },
      "status": "needs_attention",
      "source": "self_signup",
      "payment_method": {
        "id": "ullamco culpa aliquip"
      },
      "start_date": "1967-11-07T01:14:57.0Z",
      "end_date": "1953-03-30T12:13:57.0Z",
      "created_at": "1919-12-17T12:30:29.0Z",
      "basket_id": "67bf49e188fd140166000045",
      "external_ref": "sunt fugiat mollit officia culpa"
    },
    {
      "id": "487673f1-d92c-5f6e-bc7b-c7ef9d178b98",
      "site_id": "0e8cdbd2-026a-372c-f21b-3d8cd9dcbc71",
      "membership_number": "1234567890",
      "type": {
        "id": "c3ddf204-d7b9-49c5-be65-3b313e764317",
        "name": "Gold tier",
        "description": "Enjoy exclusive benefits as part of being a member in our Gold tier",
        "terms": "dolor dolor",
        "brand_id": "a4bf5f7b-fcca-9fd4-5de2-562e7e2465a6",
        "offline_payments": true,
        "disable_confirmation_email": false,
        "private": true,
        "minimum_start_date": "1899-04-16T06:47:03.0Z",
        "min_members": 2,
        "max_members": 4,
        "rates": [
          {
            "id": "8104a196-7d19-ddf3-23d3-b8b5988ccbc1",
            "membership_type_id": "daddcc39-6297-923f-3e5f-1e29b9fa5017",
            "tax": 1250
          },
          {
            "id": "3a78a10b-449e-65db-10c2-c895d6ade95a",
            "membership_type_id": "a700bdd6-1341-cafc-c455-3cd025eea253",
            "currency": "GBP",
            "price": 5000,
            "tax": 1250,
            "billing_frequency": "P1M",
            "default_duration": "P1Y",
            "private": true,
            "created_at": "1938-09-17T09:53:22.0Z"
          }
        ],
        "revenue_schedule": "FREQ=WEEKLY",
        "created_at": "1890-04-23T02:06:06.0Z",
        "updated_at": "1948-05-06T03:41:52.0Z",
        "deleted_at": "1940-02-11T11:03:01.0Z"
      },
      "source": "import",
      "payment_method": {
        "id": "sed Duis minim",
        "type": "card",
        "last_4": "ad tempor nulla deserunt",
        "status": "revoked",
        "card_brand": "amex"
      },
      "start_date": "1903-02-16T01:46:27.0Z",
      "end_date": "1910-09-22T01:44:04.0Z",
      "created_at": "1933-07-31T19:11:08.0Z",
      "next_billing_date": "1961-02-19T07:29:43.0Z",
      "next_charge": {
        "id": "a2513a63-8ad4-14b5-4141-9ff098efe6cf",
        "amount": 3995,
        "currency": "GBP",
        "status": "awaiting_approval",
        "billing_period_from": "1929-07-02",
        "billing_period_to": "1933-01-04"
      }
    },
    {
      "id": "70917af1-a392-2de9-0cbb-9670f83b546f",
      "site_id": "0f91d3ad-bf1c-c531-f7b7-1374fd2c44f5",
      "membership_number": "1234567890",
      "customer": {
        "id": "e55868df-f1c4-30b0-132c-0da9b65b85af",
        "first_name": "Jane",
        "last_name": "Doe",
        "full_name": "Jane Doe",
        "phone": "+447900000000",
        "has_password": true,
        "dob": "1920-05-18",
        "brand_id": "8c7ed9da-9615-3ea0-4663-a7d9edc10d64",
        "site_id": "8701ff4d-9d01-0b9a-b99c-cc3ec5b1bd73",
        "stripe_id": "cus_1234567890",
        "express_stripe_id": "cus_1234567890",
        "email": "janedoe@example.com",
        "labels": [
          {
            "id": "1aab5f43-93bc-be21-599a-eff42623e0d8",
            "value": "VIP",
            "colour": "ff6634"
          },
          {
            "id": "92fdd686-c0da-2905-fb84-93e2fc592f20",
            "value": "VIP",
            "colour": "ff6634"
          },
          {
            "id": "4df4370b-1e1e-3091-4eec-63d61e03fb72",
            "value": "VIP",
            "colour": "ff6634"
          },
          {
            "id": "23def49d-3995-3d33-9c06-9f7662674fdb",
            "value": "VIP",
            "colour": "ff6634"
          }
        ],
        "preferred_locale": "en",
        "locked_at": "1950-04-30T07:34:22.0Z",
        "created_at": "1942-09-27T23:14:01.0Z",
        "updated_at": "1903-10-15T22:14:15.0Z",
        "deleted_at": "1927-06-23T10:51:37.0Z",
        "last_active_at": "1930-04-25T15:49:09.0Z",
        "email_verified_at": "1960-01-13T02:33:35.0Z",
        "last_check_in": {
          "checked_in_at": "1954-12-27T19:53:11.0Z",
          "method": "Scanned"
        },
        "avatar_id": "000000-000000-000000-000000",
        "avatar": {
          "id": "661cf2a8-7dfb-bfcf-6d9e-07af76c66ff8",
          "file_name": "super-cool-photo.jpg",
          "mime_type": "image/jpeg",
          "size": 84256,
          "url": "https://example.com/media/super-cool-photo.jpg"
        },
        "external_ref": "non"
      },
      "members": [
        {
          "customer_id": "0eff6ab6-9c8c-349c-05d4-b1b89e47ac5c",
          "membership_number": "1234567890",
          "is_lead": false
        },
        {
          "customer_id": "2c706fff-3164-6bc1-3b30-1c72aee1991b",
          "is_lead": false
        },
        {
          "customer_id": "ba9434c3-9467-ad20-8051-c87ac2a9dbf7",
          "membership_number": "1234567890",
          "is_lead": false
        },
        {
          "customer_id": "db4dd6fd-b1ac-cbac-a084-243deee36f30",
          "membership_number": "1234567890",
          "is_lead": false
        },
        {
          "customer_id": "fb7b8fe8-3af2-bbe5-7e6d-8c4d801192f7",
          "membership_number": "1234567890",
          "is_lead": false
        }
      ],
      "type": {
        "id": "b0345e4a-c4db-9c6b-48fb-f8639435378d",
        "name": "Gold tier",
        "description": "Enjoy exclusive benefits as part of being a member in our Gold tier",
        "terms": "occaecat",
        "brand_id": "43896b63-2d9c-d121-5924-c8184b1cbf7c",
        "offline_payments": false,
        "disable_confirmation_email": false,
        "private": false,
        "minimum_start_date": "1945-05-14T17:32:01.0Z",
        "min_members": 2,
        "max_members": 4,
        "rates": [
          {
            "id": "a0cc786e-e8cb-260b-b6c6-c5aecb8a60e3",
            "name": "Standard rate",
            "joining_fee": 1000,
            "tax": 1250,
            "created_at": "1964-01-21T03:39:08.0Z"
          },
          {
            "id": "0793f3be-c980-15f4-c1f5-92690aaf4ea0",
            "membership_type_id": "02de3595-dc7e-832e-5c88-5974e3fdeaa5",
            "currency": "GBP",
            "price": 5000,
            "joining_fee": 1000,
            "billing_frequency": "P1M",
            "private": true,
            "created_at": "1944-09-29T11:14:35.0Z",
            "updated_at": "1924-01-29T14:14:33.0Z"
          }
        ],
        "revenue_schedule": "FREQ=WEEKLY",
        "created_at": "1942-02-01T09:04:36.0Z",
        "updated_at": "1903-08-06T07:59:07.0Z",
        "deleted_at": "1933-09-17T03:38:36.0Z"
      },
      "rate": {
        "id": "6baee980-529e-4e95-2113-c621d4f41eea",
        "membership_type_id": "83cdb583-61ac-4670-875c-f198adea146b",
        "currency": "GBP",
        "price": 5000,
        "joining_fee": 1000,
        "tax": 1250,
        "billing_frequency": "P1M",
        "processors": [
          "pariatur quis",
          "laborum proident pariatur",
          "veniam ex esse aliqua proident",
          "quis"
        ],
        "default_duration": "P1Y",
        "private": true,
        "updated_at": "1891-12-23T11:15:42.0Z"
      },
      "status": "inactive",
      "source": "app",
      "next_billing_date": "1950-12-06T21:32:04.0Z",
      "next_charge": {
        "id": "c2e8dfbc-4393-199c-72e2-3fb45fc6d6d7",
        "amount": 3995,
        "currency": "GBP",
        "status": "pending",
        "billing_period_from": "1964-12-27",
        "billing_period_to": "1934-08-06"
      }
    }
  ],
  "meta": {
    "from": 1,
    "to": 2,
    "total": 2,
    "current_page": 1,
    "last_page": 2,
    "per_page": 15,
    "path": "http://example.com/api"
  },
  "links": {
    "first": "http://example.com?page=1",
    "next": "https://example.com?page=3",
    "prev": "https://example.com?page=1",
    "last": "https://example.com?page=4"
  }
}
getMembership

Show a membership

Use this endpoint to retrieve a Membership by its ID.

Path parameters

Responses

  • 200

    The Membership was successfully retrieved

  • 404

    The resource couldn't be found

GET/customers/memberships/{membershipId}
200
example response
{
  "data": {
    "id": "f2084f6f-e85e-aeb6-4d47-8847dd16b521",
    "site_id": "5e7e8393-a8e7-20be-dd9e-ad4581f5d0c5",
    "membership_number": "1234567890",
    "customer": {
      "id": "1d690c56-4ec0-bba8-e5f7-34587306e441",
      "first_name": "Jane",
      "last_name": "Doe",
      "full_name": "Jane Doe",
      "phone": "+447900000000",
      "has_password": true,
      "dob": "1916-04-06",
      "brand_id": "7b805b42-0093-a65c-bba9-961200e4db0b",
      "site_id": "b441f5a5-8940-a961-9b28-18e5f3438d8d",
      "stripe_id": "cus_1234567890",
      "express_stripe_id": "cus_1234567890",
      "email": "janedoe@example.com",
      "labels": [
        {
          "id": "2542aa8f-b67c-d3f4-3f32-d975c7fed8ea",
          "value": "VIP",
          "colour": "ff6634"
        }
      ],
      "preferred_locale": "en",
      "locked_at": "1955-09-30T07:58:31.0Z",
      "created_at": "1954-06-09T13:51:57.0Z",
      "updated_at": "1891-07-30T23:36:44.0Z",
      "deleted_at": "1907-08-15T03:22:48.0Z",
      "last_active_at": "1894-08-29T14:04:54.0Z",
      "email_verified_at": "1967-12-07T19:27:03.0Z",
      "last_check_in": {
        "checked_in_at": "1897-07-28T11:33:46.0Z",
        "method": "Scanned"
      },
      "avatar_id": "000000-000000-000000-000000",
      "avatar": {
        "id": "3a9061e6-946e-0e20-273f-93995f5904cc",
        "file_name": "super-cool-photo.jpg",
        "mime_type": "image/jpeg",
        "size": 84256,
        "url": "https://example.com/media/super-cool-photo.jpg"
      },
      "external_ref": "reprehenderit Ut magna ut"
    },
    "members": [],
    "type": {
      "id": "5e234cd0-9119-0f66-53db-14bae1215996",
      "name": "Gold tier",
      "description": "Enjoy exclusive benefits as part of being a member in our Gold tier",
      "terms": "aute eu",
      "brand_id": "f76bf116-e349-438b-04d7-30df7dfdbf72",
      "offline_payments": false,
      "disable_confirmation_email": true,
      "private": true,
      "visibility": "public",
      "minimum_start_date": "1918-10-16T02:33:22.0Z",
      "min_members": 2,
      "max_members": 4,
      "rates": [
        {
          "membership_type_id": "e7a18114-b93d-6bad-c76b-b0cd9551e0c0",
          "price": 5000,
          "private": true
        },
        {
          "id": "bb86fe7b-36bb-544a-f62d-9981b3c73cb4",
          "membership_type_id": "5188efaf-fbd6-2c3a-ff14-fac42944d0f8",
          "name": "Standard rate",
          "currency": "GBP",
          "price": 5000,
          "joining_fee": 1000,
          "tax": 1250,
          "billing_frequency": "P1M",
          "processors": [
            "ipsum ut occaecat do laboris",
            "dolore qui",
            "enim cupidatat pariatur amet",
            "qui eiusmod et",
            "anim"
          ],
          "default_duration": "P1Y",
          "private": true,
          "created_at": "1904-03-02T12:12:39.0Z",
          "updated_at": "1892-08-02T01:47:34.0Z"
        }
      ],
      "revenue_schedule": "FREQ=WEEKLY",
      "created_at": "1945-06-13T04:26:03.0Z",
      "updated_at": "1920-07-15T04:20:01.0Z",
      "deleted_at": "1958-03-09T03:13:32.0Z"
    },
    "rate": {
      "id": "9f890c3a-c79c-a4da-6459-03502de30473",
      "membership_type_id": "65c8d431-603e-b0f0-9fca-fea333a24fc6",
      "name": "Standard rate",
      "currency": "GBP",
      "price": 5000,
      "joining_fee": 1000,
      "tax": 1250,
      "billing_frequency": "P1M",
      "processors": [
        "aute nostrud",
        "incididunt ex sunt",
        "laboris consequat sit"
      ],
      "default_duration": "P1Y",
      "private": true,
      "created_at": "1912-10-29T17:58:32.0Z"
    },
    "status": "upcoming",
    "source": "unknown",
    "external_ref": "sit ea laboris cillum dolor",
    "next_billing_date": "1910-12-03T14:09:15.0Z"
  }
}
404
example response
{
  "message": "The requested resource could not be found"
}
actionAddMembershipChargePayment

Record a manual payment against a charge

This endpoint allows a manual (off-Trybe) payment to be recorded against a membership charge.

Path parameters

Request body

  • The ID of the custom payment type this payment should be recorded as

Responses

  • 200

    A charge against a membership.

  • 404

    The resource couldn't be found

POST/shop/memberships/{membershipId}/charges/{chargeId}/payment
200
example response
{
  "data": {
    "id": "08019c19-56f3-f75c-f63a-1c172def7a44",
    "membership": {
      "id": "4d067fc3-8ece-5ed4-0ad4-a8fdbfa5f53d",
      "membership_number": "00000014",
      "type_name": "Gold Membership",
      "customer_id": "dba6e972-8172-6d8c-848a-6da394e25a80"
    },
    "processor": "adyen",
    "processor_data": {
      "cardholder_name": "Mrs J Jones",
      "last_4": 4001,
      "processor_type": "Cash",
      "processor_type_id": "67bf49e188fd140166000046"
    },
    "amount": 3995,
    "currency": "gbp",
    "tax": 1000,
    "status": "succeeded",
    "can_download_receipt": false,
    "amount_refunded": "pariatur dolore",
    "refunded": "ut",
    "refunds": [
      {
        "id": "96a5ee5e-e1f3-2dda-aa11-250bdd8a475f",
        "status": "succeeded",
        "amount": 995,
        "currency": "gbp",
        "notes": "Gesture of good will",
        "failure_reason": "invalid_details",
        "refunded_by": {
          "id": "c8c3eeb5-48d5-ba1c-c632-10af134818a6",
          "full_name": "Jane Jenkins"
        },
        "processor_data": {
          "processor": "adyen",
          "processor_id": "re_64301e0b2df9d11814010ea6"
        },
        "created_at": "1920-04-26T03:27:44.0Z",
        "updated_at": "1913-11-10T01:41:37.0Z"
      },
      {
        "id": "2f4e8d2a-1d1a-2efc-6138-b03d8c06f562",
        "status": "succeeded",
        "amount": 995,
        "currency": "gbp",
        "notes": "Gesture of good will",
        "failure_reason": "invalid_details",
        "refunded_by": {
          "id": "61025ca5-3b55-bc5b-2c8e-162faec79c8e",
          "full_name": "Jane Jenkins"
        },
        "processor_data": {
          "processor": "adyen",
          "processor_id": "re_64301e0b2df9d11814010ea6"
        },
        "created_at": "1901-05-29T11:39:16.0Z",
        "updated_at": "1931-09-10T13:58:35.0Z"
      },
      {
        "id": "20e75fc5-f676-5654-e001-28daaa3436a3",
        "status": "succeeded",
        "amount": 995,
        "currency": "gbp",
        "notes": "Gesture of good will",
        "processor_data": {
          "processor": "adyen",
          "processor_id": "re_64301e0b2df9d11814010ea6"
        },
        "created_at": "1926-01-15T10:32:44.0Z",
        "updated_at": "1919-09-08T21:30:45.0Z"
      },
      {
        "id": "5d3feb21-7e8d-f57d-90f6-db67954f903e",
        "status": "succeeded",
        "amount": 995,
        "currency": "gbp",
        "notes": "Gesture of good will",
        "failure_reason": "invalid_details",
        "refunded_by": {
          "id": "6521d131-612a-3f23-12a0-b53ada2e560e",
          "full_name": "Jane Jenkins"
        },
        "processor_data": {
          "processor": "adyen",
          "processor_id": "re_64301e0b2df9d11814010ea6"
        },
        "created_at": "1959-08-15T03:38:20.0Z",
        "updated_at": "1905-03-08T10:45:21.0Z"
      },
      {
        "id": "4f801ff8-9ebf-d006-598c-3453ab812d87",
        "status": "succeeded",
        "amount": 995,
        "currency": "gbp",
        "notes": "Gesture of good will",
        "processor_data": {
          "processor": "adyen",
          "processor_id": "re_64301e0b2df9d11814010ea6"
        },
        "created_at": "1940-06-29T11:30:39.0Z",
        "updated_at": "1893-10-01T04:26:33.0Z"
      }
    ],
    "site_id": "bd73b584-a1e6-667e-d233-8c55b5b6a96f",
    "billing_period_from": "1929-07-30",
    "billing_period_to": "1966-03-07",
    "created_at": "1941-01-16T10:29:43.0Z",
    "updated_at": "1899-12-16T01:10:49.0Z"
  }
}
404
example response
{
  "message": "The requested resource could not be found"
}