payjp 2.2.0 → 2.2.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.
- package/built/balance.d.ts +1 -0
- package/built/balance.js +3 -0
- package/built/index.d.ts +1 -0
- package/package.json +1 -1
package/built/balance.d.ts
CHANGED
|
@@ -5,4 +5,5 @@ export default class Balances extends Resource {
|
|
|
5
5
|
constructor(payjp: any);
|
|
6
6
|
list(query?: I.BalanceListOptions): Promise<I.List<I.Balance>>;
|
|
7
7
|
retrieve(id: string): Promise<I.Balance>;
|
|
8
|
+
statementUrls(id: string, query?: I.StatementUrlOptions): Promise<I.StatementUrl>;
|
|
8
9
|
}
|
package/built/balance.js
CHANGED
|
@@ -13,5 +13,8 @@ class Balances extends resource_1.default {
|
|
|
13
13
|
retrieve(id) {
|
|
14
14
|
return this.request('GET', `${this.resource}/${id}`);
|
|
15
15
|
}
|
|
16
|
+
statementUrls(id, query = {}) {
|
|
17
|
+
return this.request('POST', `${this.resource}/${id}/statement_urls`, query);
|
|
18
|
+
}
|
|
16
19
|
}
|
|
17
20
|
exports.default = Balances;
|
package/built/index.d.ts
CHANGED