id: api-abstract-iban-validation

info:
  name: Abstract Api IBAN Validation Test
  author: daffainfo
  severity: info
  description: A powerful REST API to validate IBAN quickly and securely
  reference:
    - https://www.abstractapi.com/api/iban-validation
    - https://github.com/daffainfo/all-about-apikey/tree/main/abstract-iban-validation
  metadata:
    max-request: 1
  tags: token-spray,abstractapi

self-contained: true

http:
  - method: GET
    path:
      - "https://ibanvalidation.abstractapi.com/v1/?api_key={{token}}&iban=BE71096123456769"

    matchers:
      - type: word
        part: body
        words:
          - '"iban":'
          - '"is_valid":'
        condition: and

# digest: 490a00463044022028824c8b52ccf841d69daffc23f19103050a26b873e48defc9c35ee308338d330220172c39ddcdb8053f54f534bb2ea2fe00c5d0b18b3457748cbc18d2522f3e555b:922c64590222798bb761d5b6d8e72950
