@spritz-finance/service-client 0.8.8 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/platform/types.d.ts +10 -2
- package/package.json +1 -1
package/lib/platform/types.d.ts
CHANGED
|
@@ -68,10 +68,18 @@ export interface MTAccount {
|
|
|
68
68
|
currency: string;
|
|
69
69
|
balances: MTAccountBalance[];
|
|
70
70
|
/**
|
|
71
|
-
*
|
|
72
|
-
* available balance, as decimal dollars (e.g.
|
|
71
|
+
* Component 1 — payouts committed but not yet sent (still held by us),
|
|
72
|
+
* not yet reflected in the available balance, as decimal dollars (e.g.
|
|
73
|
+
* "1234.56").
|
|
73
74
|
*/
|
|
74
75
|
liability: string;
|
|
76
|
+
/**
|
|
77
|
+
* Component 2 — payouts that bounced (returned/reversed/failed) and have not
|
|
78
|
+
* yet been refunded to the user: funds are back in the MT account but still
|
|
79
|
+
* owed out. Decimal dollars. Disjoint from `liability`; the two sum to the
|
|
80
|
+
* full MT payable.
|
|
81
|
+
*/
|
|
82
|
+
terminalLiability: string;
|
|
75
83
|
}
|
|
76
84
|
export interface MTBalancesData {
|
|
77
85
|
accounts: MTAccount[];
|