btcpayserver / btcpayserver-greenfield-php

28 stars 25 forks source link

Missing Getters for Invoices #58

Closed ghost closed 2 years ago

ghost commented 2 years ago

Currently only getters exist for getting invoice status, and not individual fields.

Example:

{ "metadata": { "orderId": "string", "orderUrl": "string" }, "checkout": { "speedPolicy": "HighSpeed", "paymentMethods": [], "defaultPaymentMethod": "string", "expirationMinutes": 90, "monitoringMinutes": 90, "paymentTolerance": 0, "redirectURL": "string", "redirectAutomatically": true, "requiresRefundEmail": true, "defaultLanguage": "string" }, "id": "string", "storeId": "string", "amount": "5.00", "currency": "USD", "type": "Standard", "checkoutLink": "string", "createdTime": 1592312018, "expirationTime": 1592312018, "monitoringTime": 1592312018, "status": "New", "additionalStatus": "None", "availableStatusesForManualMarking": [ "New" ], "archived": true }

utxo-one commented 2 years ago

Solved in #72