-
Notifications
You must be signed in to change notification settings - Fork 59
/
Copy pathstripe-fixtures.json
111 lines (111 loc) · 2.51 KB
/
stripe-fixtures.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"_meta": {
"template_version": 0
},
"fixtures": [
{
"name": "basic",
"path": "/v1/products",
"method": "post",
"params": {
"name": "Basic",
"description": "Perfect product for small businesses.",
"metadata": {
"price_card_variant": "basic",
"generated_images": 10,
"image_editor": "basic",
"support_level": "email"
}
}
},
{
"name": "price_basic_month",
"path": "/v1/prices",
"method": "post",
"params": {
"product": "${basic:id}",
"currency": "usd",
"billing_scheme": "per_unit",
"unit_amount": 500,
"recurring": {
"interval": "month",
"interval_count": 1
}
}
},
{
"name": "price_basic_year",
"path": "/v1/prices",
"method": "post",
"params": {
"product": "${basic:id}",
"currency": "usd",
"billing_scheme": "per_unit",
"unit_amount": 5000,
"recurring": {
"interval": "year",
"interval_count": 1
}
}
},
{
"name": "pro",
"path": "/v1/products",
"method": "post",
"params": {
"name": "Pro",
"description": "Perfect product for growing or large businesses.",
"metadata": {
"price_card_variant": "pro",
"generated_images": 100,
"image_editor": "pro",
"support_level": "live"
}
}
},
{
"name": "price_pro_month",
"path": "/v1/prices",
"method": "post",
"params": {
"product": "${pro:id}",
"currency": "usd",
"billing_scheme": "per_unit",
"unit_amount": 1000,
"recurring": {
"interval": "month",
"interval_count": 1
}
}
},
{
"name": "price_pro_year",
"path": "/v1/prices",
"method": "post",
"params": {
"product": "${pro:id}",
"currency": "usd",
"billing_scheme": "per_unit",
"unit_amount": 10000,
"recurring": {
"interval": "year",
"interval_count": 1
}
}
},
{
"name": "enterprise",
"path": "/v1/products",
"method": "post",
"params": {
"name": "Enterprise",
"description": "Perfect product for enterprises.",
"metadata": {
"price_card_variant": "enterprise",
"image_editor": "pro",
"support_level": "live"
}
}
}
]
}