Get a list of sub-accounts

Show all accounts you have created using the Passcreator API
URL

https://app.passcreator.com/api/customer

HTTP-Method
GET
Purpose
Returns information about your own account and all sub-accounts/customers that you have created using the Passcreator API
Required input parameters

• HTTP Authorization Header that contains your API key

Returned values

• identifier - the unique identifier of your Passcreator account

• name - your company name

• maximumNumberOfActivePasses - the maximum number of active passes this account may be use. Before that limit is reached we'll send E-Mails

• currentNumberOfActivePasses - the number of passes that is currently active

• pricePerMonth - the price you'll pay per month

• createdCustomers - an array of customers that you have created using the API. The same information that is listed above will be returned (identifier, name, maximumNumberOfActivePasses, currentNumberOfActivePasses and pricePerMonth)

Example output:

  1. {
  2. "identifier": "b2f4f8f4-44c0-43a7-8b8a-fafe4195c70c",
  3. "name": "Passcreator",
  4. "maximumNumberOfActivePasses": 100000,
  5. "currentNumberOfActivePasses": 15000,
  6. "pricePerMonth": 4000,
  7. "createdCustomers": [
  8. {
  9. "identifier": "044624ce-9fe8-4129-a261-c29d59f51ba1",
  10. "name": "Customer One",
  11. "maximumNumberOfActivePasses": 200,
  12. "currentNumberOfActivePasses": 76,
  13. "pricePerMonth": 16
  14. },
  15. {
  16. "identifier": "8a02c68a-5db0-4c9e-a875-3a098f53b8d8",
  17. "name": "Customer Two",
  18. "maximumNumberOfActivePasses": 200,
  19. "currentNumberOfActivePasses": 48,
  20. "pricePerMonth": 16
  21. },
  22. {
  23. "identifier": "db5f7cf3-a474-4317-b602-849d29906bcd",
  24. "name": "Customer Three",
  25. "maximumNumberOfActivePasses": 200,
  26. "currentNumberOfActivePasses": 195,
  27. "pricePerMonth": 16
  28. }
  29. ]
  30. }