id: api-debounce

info:
  name: DeBounce API Test
  author: 0ri2N
  severity: info
  reference:
    - https://developers.debounce.io/reference/api-key-authentication
    - https://debounce.io
  metadata:
    max-request: 1
  tags: debounce,token-spray

self-contained: true

http:
  - method: GET
    path:
      - "https://api.debounce.io/v1/?api={{token}}&email=test@interact.sh"

    matchers:
      - type: word
        part: body
        words:
          - '"balance":'
          - '"success":'
          - '"debounce":'
        condition: and
# digest: 4a0a004730450220636f1259f9949ba946e35b12a3d4893bf7608862bbb7f09984378909c0cd452b022100f5db697fe2fa60aa1801f2a02d2dc6d36b31e06aaae2ccf4fa0615b8aa67b744:922c64590222798bb761d5b6d8e72950