nuclei-templates/http/token-spray/api-paypal.yaml

36 lines
828 B
YAML
Raw Permalink Normal View History

2021-10-23 04:13:04 +00:00
id: api-paypal
info:
name: PayPal API Test
author: dwisiswant0
severity: info
reference:
- https://developer.paypal.com/docs/api/overview/
metadata:
max-request: 1
2023-10-14 11:27:55 +00:00
tags: token-spray,paypal
2021-10-23 04:13:04 +00:00
self-contained: true
2023-10-14 11:27:55 +00:00
http:
2021-10-23 04:13:04 +00:00
- method: GET
path:
- "https://api-m.sandbox.paypal.com/v1/identity/oauth2/userinfo?schema=paypalv1.1"
2023-10-14 11:27:55 +00:00
2021-10-23 04:13:04 +00:00
headers:
Content-Type: application/json
Authorization: Bearer {{token}}
2021-10-24 01:27:09 +00:00
matchers-condition: and
2021-10-23 04:13:04 +00:00
matchers:
- type: status
status:
2021-10-24 01:27:09 +00:00
- 200
- type: regex
negative: true
regex:
2023-10-14 11:27:55 +00:00
- "error(_description)?"
# digest: 4a0a004730450220316097ce4aff8b3acd0a539f16273572397fb3fc12375b821bee780a2a7424fd022100a770709957c50f5b0abd0caec3d87244a2d382ce65ae9a8a9ce7d74623bd93d9:922c64590222798bb761d5b6d8e72950