File tree 1 file changed +21
-1
lines changed
1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -112,11 +112,29 @@ $phpay->undoConfirmReceipt($chargeId);
112
112
113
113
```
114
114
115
+ ### Assinaturas
116
+
117
+ ``` php
118
+ /**
119
+ * @var Subscription $phpay
120
+ */
121
+ $phpay = PHPay::gateway(new AsaasGateway(TOKEN_ASAAS_SANDBOX))->subscription();
122
+
123
+ /**
124
+ * create a new subscription
125
+ */
126
+ $phpay->setCustomer($customer)->create([
127
+ 'billingType' => 'BOLETO',
128
+ 'value' => 100,
129
+ 'nextDueDate' => '2025-04-09',
130
+ ]);
131
+ ```
132
+
115
133
## 📝 Roadmap
116
134
117
135
- Definições de Arquitetura ✅
118
136
- Domínios ✅
119
- - Documentação 🕑
137
+ - Documentação ✍️
120
138
- Site 🕛
121
139
- Gateways ✍️
122
140
@@ -125,6 +143,7 @@ $phpay->undoConfirmReceipt($chargeId);
125
143
- Cobranças ✅
126
144
- Clientes ✅
127
145
- Webhook ✅
146
+ - Assinaturas ✍️
128
147
- Pix 🕥
129
148
130
149
- Efí.
@@ -133,6 +152,7 @@ $phpay->undoConfirmReceipt($chargeId);
133
152
- Cobranças ✅
134
153
- Clientes 🕥
135
154
- Webhook 🕥
155
+ - Assinaturas ✍️
136
156
- Pix 🕥
137
157
138
158
- Lançamento v1.0.0 🚀
You can’t perform that action at this time.
0 commit comments