-
Notifications
You must be signed in to change notification settings - Fork 0
/
endpoints.json
152 lines (152 loc) · 4.21 KB
/
endpoints.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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
{
"URL": {
"production": "https: //api.gerencianet.com.br/v1",
"sandbox": "https: //sandbox.gerencianet.com.br/v1"
},
"ENDPOINTS": {
"authorize": {
"route": "/authorize",
"method": "post"
},
"createCharge": {
"route": "/charge",
"method": "post"
},
"detailCharge": {
"route": "/charge/:id",
"method": "get"
},
"updateChargeMetadata": {
"route": "/charge/:id/metadata",
"method": "put"
},
"updateBillet": {
"route": "/charge/:id/billet",
"method": "put"
},
"payCharge": {
"route": "/charge/:id/pay",
"method": "post"
},
"cancelCharge": {
"route": "/charge/:id/cancel",
"method": "put"
},
"createCarnet": {
"route": "/carnet",
"method": "post"
},
"detailCarnet": {
"route": "/carnet/:id",
"method": "get"
},
"updateParcel": {
"route": "/carnet/:id/parcel/:parcel",
"method": "put"
},
"updateCarnetMetadata": {
"route": "/carnet/:id/metadata",
"method": "put"
},
"getNotification": {
"route": "/notification/:token",
"method": "get"
},
"getPlans": {
"route": "/plans",
"method": "get"
},
"createPlan": {
"route": "/plan",
"method": "post"
},
"deletePlan": {
"route": "/plan/:id",
"method": "del"
},
"createSubscription": {
"route": "/plan/:id/subscription",
"method": "post"
},
"detailSubscription": {
"route": "/subscription/:id",
"method": "get"
},
"paySubscription": {
"route": "/subscription/:id/pay",
"method": "post"
},
"cancelSubscription": {
"route": "/subscription/:id/cancel",
"method": "put"
},
"updateSubscriptionMetadata": {
"route": "/subscription/:id/metadata",
"method": "put"
},
"getInstallments": {
"route": "/installments",
"method": "get"
},
"resendBillet": {
"route": "/charge/:id/billet/resend",
"method": "post"
},
"createChargeHistory": {
"route": "/charge/:id/history",
"method": "post"
},
"resendCarnet": {
"route": "/carnet/:id/resend",
"method": "post"
},
"resendParcel": {
"route": "/carnet/:id/parcel/:parcel/resend",
"method": "post"
},
"createCarnetHistory": {
"route": "/carnet/:id/history",
"method": "post"
},
"cancelCarnet": {
"route": "/carnet/:id/cancel",
"method": "put"
},
"cancelParcel": {
"route": "/carnet/:id/parcel/:parcel/cancel",
"method": "put"
},
"linkCharge": {
"route": "/charge/:id/link",
"method": "post"
},
"chargeLink": {
"route": "/charge/:id/link",
"method": "post"
},
"updateChargeLink": {
"route": "/charge/:id/link",
"method": "put"
},
"updatePlan": {
"route": "/plan/:id",
"method": "put"
},
"createSubscriptionHistory": {
"route": "/subscription/:id/history",
"method": "post"
},
"createChargeBalanceSheet": {
"route": "/charge/:id/balance-sheet",
"method": "post"
},
"settleCharge": {
"route": "/charge/:id/settle",
"method": "put"
},
"settleCarnetParcel": {
"route": "/carnet/:id/parcel/:parcel/settle",
"method": "put"
}
}
}