id: api-moonpay

info:
  name: MoonPay API Test
  author: 0ri2N
  severity: info
  reference:
    - https://dashboard.moonpay.com/getting_started
  metadata:
    max-request: 1
  tags: token-spray,moonpay,cryptocurrencies

self-contained: true

http:
  - method: GET
    path:
      - "https://api.moonpay.com/v3/currencies/btc/buy_quote?apiKey={{token}}&baseCurrencyAmount=1"

    matchers:
      - type: word
        part: body
        words:
          - '"accountId":'
        condition: and
# digest: 490a00463044022036d4f6b65707a60bf863e914a154302c2ebb26b6662d226a2f09425dfa871f0102207634a7552940262a28d779d68694b6136fcb639e61a6a68d8de4d7fe5cae5611:922c64590222798bb761d5b6d8e72950