Add PayPal API test
parent
0dd3b87aeb
commit
86376871e7
|
@ -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
|
Loading…
Reference in New Issue