Add PayPal API test

patch-1
Dwi Siswanto 2021-10-23 11:13:04 +07:00
parent 0dd3b87aeb
commit 86376871e7
1 changed files with 22 additions and 0 deletions

22
token-spray/paypal.yaml Normal file
View File

@ -0,0 +1,22 @@
id: api-paypal
info:
name: PayPal API Test
author: dwisiswant0
reference: https://developer.paypal.com/docs/api/overview/
severity: info
tags: token-spray,paypal
self-contained: true
requests:
- 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:
- type: status
status:
- 200