From 0f14fa1b4cb466c361555916e14bc57379357c71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maurice=20Preu=C3=9F?= Date: Sat, 6 Sep 2025 13:32:06 +0000 Subject: [PATCH] remove endpoint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maurice Preuß --- src/Id/Resources/Transactions.php | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/src/Id/Resources/Transactions.php b/src/Id/Resources/Transactions.php index 7a1f5ab..e512475 100644 --- a/src/Id/Resources/Transactions.php +++ b/src/Id/Resources/Transactions.php @@ -10,35 +10,6 @@ class Transactions extends BaseCollection { use HasBillable; - /** - * Create a new transaction for the current user. - * - * @param array{ - * group: null|string, - * invoice_id: null|string, - * payment_provider: null|string, - * payment_intent: null|string, - * status: string, - * type: string, - * amount: float, - * created_at: string - * } $attributes The attributes for the transaction. - * - group: The group (optional) - * - invoice_id: The invoice id (optional) - * - payment_provider: The payment provider (optional, e.g. "kofi", "stripe") - * - payment_intent: The payment intent (optional) - * - status: The status (e.g. "expired", "failed", "pending", "refunded", "succeeded") - * - type: The type (e.g. "deposit", "withdrawal") - * - amount: The amount - * - created_at: The created at datetime string (e.g. "Y-M-D H:i:s") - * @throws Throwable - */ - public function create(array $attributes = []): Transaction - { - return (new Transaction($this->billable->request('POST', 'v1/transactions', $attributes))) - ->setBillable($this->billable); - } - /** * {@inheritDoc} */