id: api-tink

info:
  name: Tink API Test
  author: dwisiswant0
  severity: info
  reference:
    - https://docs.tink.com/api
  metadata:
    max-request: 1
  tags: token-spray,tink

self-contained: true

http:
  - method: GET
    path:
      - "https://api.tink.com/api/v1/user"

    headers:
      Authorization: Bearer {{token}}
    matchers:
      - type: word
        part: body
        words:
          - "appId"
          - "externalUserId"
          - "username"
        condition: and
# digest: 4a0a0047304502210088bfd5c3e85a59c9a4ea2c163d0574b401fda63c903430e494ff4b56aa94cc3e02203a7d362cd116702ca850ed69e72ba820f4063fce33460a8988f64252d31a2de3:922c64590222798bb761d5b6d8e72950