Generate New Pay Ids

GET /admin/pay-id

Generate New Pay Ids

Responds with a list of Pay Ids that the admin can add to the bank system. Will not include any pay IDs that are already in the system and will lock them so they will not be handed out again.

Query parameters

  • amount integer(int32) Required

    The amount of pay IDs to generate. Must be between 1 and 50.

GET /admin/pay-id
curl \
 -X GET http://api.example.com/admin/pay-id?amount=42
Response examples (200)
[
  [
    "string"
  ]
]
Response examples (200)
[
  [
    "string"
  ]
]