Skip to content

PayPal API Test

ID: api-paypal

Severity: info

Author: dwisiswant0

Tags: token-spray,paypal

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

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/token-spray/api-paypal.yaml"

View on Github