We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c7ff91c + 6b47d62 commit 70f4cf3Copy full SHA for 70f4cf3
1 file changed
src/Result/Invoice.php
@@ -74,4 +74,14 @@ public function isMarked(): bool
74
$data = $this->getData();
75
return $data['additionalStatus'] === self::ADDITIONAL_STATUS_MARKED;
76
}
77
+
78
+ /**
79
+ * Get the statuses you can use to manually mark this invoice.
80
+ * Available since BTCPay Server version x.x.x
81
+ * @return string[] Example: ["Settled", "Invalid"]
82
+ */
83
+ public function getAvailableStatusesForManualMarking(): array
84
+ {
85
+ return $this->getData()['availableStatusesForManualMarking'];
86
+ }
87
0 commit comments