# LIST SCRATCHCARDS

Gets the list of scratchcards

Endpoint: GET /api/v1/scratchcards
Version: v1

## Query parameters:

  - `registration_authority` (string)
    Registration authority number

  - `sn` (string)
    Number of scratchcard

## Response 200 fields (application/json):

  - `count` (string)
    The number of existing scratchcards

  - `next` (string)
    The list next page endpoint

  - `previous` (string)
    The list previous page endpoint

  - `results` (array)

  - `results.pk` (number)
    The scratchcard database id

  - `results.sn` (string)
    The scratchcard serial number

  - `results.secrets` (string)
    The credentials associated with the scratchcard

  - `results.registration_authority` (number)
    The registration authority of the scratchcard

## Response 400 fields (application/json):

  - `detail` (string)
    JSON syntax error


