21 lines
378 B
YAML
21 lines
378 B
YAML
id: api-stripe
|
|
|
|
info:
|
|
name: Stripe API Test
|
|
author: zzeitlin
|
|
reference: https://stripe.com/docs/api/authentication
|
|
severity: info
|
|
tags: token-spray,stripe
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "https://api.stripe.com/v1/charges"
|
|
headers:
|
|
Authorization: Basic {{base64(token + ':')}}
|
|
|
|
matchers:
|
|
- type: status
|
|
status:
|
|
- 200
|