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: 490a00463044022064bc122a937a39b63ea026801501211eec64ce7aa8adc30f055b2b4c87e69928022010d864dc724658ccf145c743989d9e1ea361b506b53e6d909eaeee6850ee8447:922c64590222798bb761d5b6d8e72950
