diff --git a/token-spray/api-moonpay.yaml b/token-spray/api-moonpay.yaml new file mode 100644 index 0000000000..a7ec6a7d0d --- /dev/null +++ b/token-spray/api-moonpay.yaml @@ -0,0 +1,22 @@ +id: api-moonpay + +info: + name: MoonPay API Test + author: 0ri2N + severity: info + reference: + - https://dashboard.moonpay.com/getting_started + tags: token-spray,moonpay,cryptocurrencies + +self-contained: true +requests: + - 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