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: 4a0a0047304502203a80bd4257ac3f75d805355dd40aacac5ef8281e634d96f77bb10089f0b66139022100fc9fe270c0dba0d4933ac2190908f94e1622bf6ca326f34573ec89889fd72583:922c64590222798bb761d5b6d8e72950