Add optional owner gateway routing to Give.
Deploy Ladill Give / deploy (push) Successful in 1m0s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-21 19:47:13 +00:00
co-authored by Cursor
parent 4ab2fcb3ad
commit e5d95167dd
9 changed files with 330 additions and 4 deletions
+9
View File
@@ -45,6 +45,15 @@ class BillingClient
return $this->get('/service-ledger', ['user' => $publicId, 'service' => $service]);
}
/** @return array<string,mixed> */
public function suiteEntitlement(string $publicId): array
{
return (array) ($this->get('/suite-entitlements', [
'user' => $publicId,
'app' => (string) config('billing.service', 'give'),
])['data'] ?? []);
}
/**
* Debit the wallet. Returns true on success, false on insufficient balance
* (HTTP 402). Idempotent by $reference.