@kuvarpay/sdk 1.9.0 → 1.9.1

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.
Files changed (2) hide show
  1. package/index.d.ts +14 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -148,6 +148,11 @@ export interface KuvarSendPayout {
148
148
  amount: string;
149
149
  currency: string;
150
150
  external_reference?: string;
151
+ /** Your balance's currency and what it was debited. Create response only. */
152
+ source_currency?: string;
153
+ source_amount?: string;
154
+ /** The same charge valued in USD. Create response only. */
155
+ source_amount_usd?: string;
151
156
  created_at: string;
152
157
  }
153
158
 
@@ -156,9 +161,17 @@ export interface KuvarSendPayoutQuote {
156
161
  linked_account_id: string;
157
162
  amount: string;
158
163
  currency: string;
159
- source_currency: 'USD';
164
+ /** Your balance's currency — the one the payout will debit. */
165
+ source_currency: string;
166
+ /** What your balance will be debited, in source_currency. */
160
167
  source_amount: string;
168
+ /** Destination units per USD. */
161
169
  rate: string;
170
+ fee_percent: string;
171
+ /** Recipient fee, deducted from amount. */
172
+ fee_amount: string;
173
+ /** amount minus fee_amount — what the user is credited. */
174
+ recipient_amount: string;
162
175
  expires_at: string;
163
176
  }
164
177
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kuvarpay/sdk",
3
- "version": "1.9.0",
3
+ "version": "1.9.1",
4
4
  "description": "Official KuvarPay Server SDK for Node.js",
5
5
  "main": "index.js",
6
6
  "module": "index.mjs",