@blindpay/node 1.1.1 → 1.2.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.
Files changed (40) hide show
  1. package/README.md +1 -3
  2. package/dist/{chunk-64EFLUS3.mjs → chunk-CPOSU35L.mjs} +10 -0
  3. package/dist/{chunk-YPXYUS2X.mjs → chunk-E4S6NTNE.mjs} +2 -2
  4. package/dist/index.d.mts +1 -1
  5. package/dist/index.d.ts +1 -1
  6. package/dist/index.js +11 -1
  7. package/dist/index.mjs +2 -2
  8. package/dist/resources/api-keys/api-keys.test.js +11 -1
  9. package/dist/resources/api-keys/api-keys.test.mjs +2 -2
  10. package/dist/resources/available/available.test.js +11 -1
  11. package/dist/resources/available/available.test.mjs +2 -2
  12. package/dist/resources/bank-accounts/bank-accounts.test.js +47 -1
  13. package/dist/resources/bank-accounts/bank-accounts.test.mjs +38 -2
  14. package/dist/resources/bank-accounts/index.d.mts +30 -1
  15. package/dist/resources/bank-accounts/index.d.ts +30 -1
  16. package/dist/resources/bank-accounts/index.js +10 -0
  17. package/dist/resources/bank-accounts/index.mjs +1 -1
  18. package/dist/resources/instances/instances.test.js +11 -1
  19. package/dist/resources/instances/instances.test.mjs +2 -2
  20. package/dist/resources/partner-fees/partner-fees.test.js +11 -1
  21. package/dist/resources/partner-fees/partner-fees.test.mjs +2 -2
  22. package/dist/resources/payins/payins-quotes.test.js +11 -1
  23. package/dist/resources/payins/payins-quotes.test.mjs +2 -2
  24. package/dist/resources/payins/payins.test.js +11 -1
  25. package/dist/resources/payins/payins.test.mjs +2 -2
  26. package/dist/resources/payouts/payouts.test.js +11 -1
  27. package/dist/resources/payouts/payouts.test.mjs +2 -2
  28. package/dist/resources/quotes/quotes.test.js +11 -1
  29. package/dist/resources/quotes/quotes.test.mjs +2 -2
  30. package/dist/resources/receivers/receivers.test.js +11 -1
  31. package/dist/resources/receivers/receivers.test.mjs +2 -2
  32. package/dist/resources/virtual-accounts/virtual-accounts.test.js +11 -1
  33. package/dist/resources/virtual-accounts/virtual-accounts.test.mjs +2 -2
  34. package/dist/resources/wallets/blockchain.test.js +11 -1
  35. package/dist/resources/wallets/blockchain.test.mjs +2 -2
  36. package/dist/resources/wallets/offramp.test.js +11 -1
  37. package/dist/resources/wallets/offramp.test.mjs +2 -2
  38. package/dist/resources/webhooks/webhooks.test.js +11 -1
  39. package/dist/resources/webhooks/webhooks.test.mjs +2 -2
  40. package/package.json +1 -1
package/README.md CHANGED
@@ -82,9 +82,7 @@ All API methods return a consistent response format
82
82
  This SDK uses a consistent error handling pattern. Always check for errors:
83
83
 
84
84
  ```typescript
85
- const { data, error } = await blindpay.payins.list({
86
- instanceId: "your-instance-id",
87
- });
85
+ const { data, error } = await blindpay.payins.list();
88
86
 
89
87
  if (error) {
90
88
  // Handle error
@@ -92,6 +92,16 @@ function createBankAccountsResource(instanceId, client) {
92
92
  return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
93
93
  type: "international_swift"
94
94
  }, data));
95
+ },
96
+ createRtp(_o) {
97
+ var _p = _o, {
98
+ receiver_id
99
+ } = _p, data = __objRest(_p, [
100
+ "receiver_id"
101
+ ]);
102
+ return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
103
+ type: "rtp"
104
+ }, data));
95
105
  }
96
106
  };
97
107
  }
@@ -49,7 +49,7 @@ import {
49
49
  import {
50
50
  createBankAccountsResource,
51
51
  init_bank_accounts
52
- } from "./chunk-64EFLUS3.mjs";
52
+ } from "./chunk-CPOSU35L.mjs";
53
53
  import {
54
54
  createInstancesResource,
55
55
  init_instances
@@ -65,7 +65,7 @@ import {
65
65
  var version;
66
66
  var init_package = __esm({
67
67
  "package.json"() {
68
- version = "1.1.1";
68
+ version = "1.2.0";
69
69
  }
70
70
  });
71
71
 
package/dist/index.d.mts CHANGED
@@ -3,7 +3,7 @@ export { CreateApiKeyInput, CreateApiKeyResponse, DeleteApiKeyInput, GetApiKeyIn
3
3
  import { createAvailableResource } from './resources/available/index.mjs';
4
4
  export { BankDetailKey, GetBankDetailsResponse, GetRailsResponse } from './resources/available/index.mjs';
5
5
  import { createBankAccountsResource } from './resources/bank-accounts/index.mjs';
6
- export { AchCopDocument, ArgentinaTransfers, CreateAchInput, CreateAchResponse, CreateArgentinaTransfersInput, CreateArgentinaTransfersResponse, CreateColombiaAchInput, CreateColombiaAchResponse, CreateInternationalSwiftInput, CreateInternationalSwiftResponse, CreatePixInput, CreatePixResponse, CreateSpeiInput, CreateSpeiResponse, CreateWireInput, CreateWireResponse, DeleteBankAccountInput, GetBankAccountInput, GetBankAccountResponse, ListBankAccountsInput, ListBankAccountsResponse } from './resources/bank-accounts/index.mjs';
6
+ export { AchCopDocument, ArgentinaTransfers, CreateAchInput, CreateAchResponse, CreateArgentinaTransfersInput, CreateArgentinaTransfersResponse, CreateColombiaAchInput, CreateColombiaAchResponse, CreateInternationalSwiftInput, CreateInternationalSwiftResponse, CreatePixInput, CreatePixResponse, CreateRtpInput, CreateRtpResponse, CreateSpeiInput, CreateSpeiResponse, CreateWireInput, CreateWireResponse, DeleteBankAccountInput, GetBankAccountInput, GetBankAccountResponse, ListBankAccountsInput, ListBankAccountsResponse } from './resources/bank-accounts/index.mjs';
7
7
  import { createInstancesResource } from './resources/instances/index.mjs';
8
8
  export { DeleteInstanceMemberInput, GetInstanceMembersResponse, InstanceMemberRole, UpdateInstanceInput, UpdateInstanceMemberRoleInput } from './resources/instances/index.mjs';
9
9
  import { createPartnerFeesResource } from './resources/partner-fees/index.mjs';
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@ export { CreateApiKeyInput, CreateApiKeyResponse, DeleteApiKeyInput, GetApiKeyIn
3
3
  import { createAvailableResource } from './resources/available/index.js';
4
4
  export { BankDetailKey, GetBankDetailsResponse, GetRailsResponse } from './resources/available/index.js';
5
5
  import { createBankAccountsResource } from './resources/bank-accounts/index.js';
6
- export { AchCopDocument, ArgentinaTransfers, CreateAchInput, CreateAchResponse, CreateArgentinaTransfersInput, CreateArgentinaTransfersResponse, CreateColombiaAchInput, CreateColombiaAchResponse, CreateInternationalSwiftInput, CreateInternationalSwiftResponse, CreatePixInput, CreatePixResponse, CreateSpeiInput, CreateSpeiResponse, CreateWireInput, CreateWireResponse, DeleteBankAccountInput, GetBankAccountInput, GetBankAccountResponse, ListBankAccountsInput, ListBankAccountsResponse } from './resources/bank-accounts/index.js';
6
+ export { AchCopDocument, ArgentinaTransfers, CreateAchInput, CreateAchResponse, CreateArgentinaTransfersInput, CreateArgentinaTransfersResponse, CreateColombiaAchInput, CreateColombiaAchResponse, CreateInternationalSwiftInput, CreateInternationalSwiftResponse, CreatePixInput, CreatePixResponse, CreateRtpInput, CreateRtpResponse, CreateSpeiInput, CreateSpeiResponse, CreateWireInput, CreateWireResponse, DeleteBankAccountInput, GetBankAccountInput, GetBankAccountResponse, ListBankAccountsInput, ListBankAccountsResponse } from './resources/bank-accounts/index.js';
7
7
  import { createInstancesResource } from './resources/instances/index.js';
8
8
  export { DeleteInstanceMemberInput, GetInstanceMembersResponse, InstanceMemberRole, UpdateInstanceInput, UpdateInstanceMemberRoleInput } from './resources/instances/index.js';
9
9
  import { createPartnerFeesResource } from './resources/partner-fees/index.js';
package/dist/index.js CHANGED
@@ -91,7 +91,7 @@ module.exports = __toCommonJS(index_exports);
91
91
  var import_node_crypto = require("crypto");
92
92
 
93
93
  // package.json
94
- var version = "1.1.1";
94
+ var version = "1.2.0";
95
95
 
96
96
  // src/internal/blindpay-error.ts
97
97
  var BlindPayError = class extends Error {
@@ -220,6 +220,16 @@ function createBankAccountsResource(instanceId, client) {
220
220
  return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
221
221
  type: "international_swift"
222
222
  }, data));
223
+ },
224
+ createRtp(_o) {
225
+ var _p = _o, {
226
+ receiver_id
227
+ } = _p, data = __objRest(_p, [
228
+ "receiver_id"
229
+ ]);
230
+ return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
231
+ type: "rtp"
232
+ }, data));
223
233
  }
224
234
  };
225
235
  }
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  BlindPay,
3
3
  init_client
4
- } from "./chunk-YPXYUS2X.mjs";
4
+ } from "./chunk-E4S6NTNE.mjs";
5
5
  import {
6
6
  createBlockchainWalletsResource,
7
7
  init_blockchain
@@ -53,7 +53,7 @@ import {
53
53
  import {
54
54
  createBankAccountsResource,
55
55
  init_bank_accounts
56
- } from "./chunk-64EFLUS3.mjs";
56
+ } from "./chunk-CPOSU35L.mjs";
57
57
  import {
58
58
  createInstancesResource,
59
59
  init_instances
@@ -18709,7 +18709,7 @@ var import_expect_type = __toESM(require_dist(), 1);
18709
18709
  var import_node_crypto = require("crypto");
18710
18710
 
18711
18711
  // package.json
18712
- var version = "1.1.1";
18712
+ var version = "1.2.0";
18713
18713
 
18714
18714
  // src/internal/blindpay-error.ts
18715
18715
  var BlindPayError = class extends Error {
@@ -18838,6 +18838,16 @@ function createBankAccountsResource(instanceId, client) {
18838
18838
  return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18839
18839
  type: "international_swift"
18840
18840
  }, data));
18841
+ },
18842
+ createRtp(_o) {
18843
+ var _p = _o, {
18844
+ receiver_id
18845
+ } = _p, data = __objRest(_p, [
18846
+ "receiver_id"
18847
+ ]);
18848
+ return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18849
+ type: "rtp"
18850
+ }, data));
18841
18851
  }
18842
18852
  };
18843
18853
  }
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  BlindPay,
9
9
  init_client
10
- } from "../../chunk-YPXYUS2X.mjs";
10
+ } from "../../chunk-E4S6NTNE.mjs";
11
11
  import "../../chunk-IZYPRCCV.mjs";
12
12
  import "../../chunk-QGNLMN6Z.mjs";
13
13
  import "../../chunk-UC57SCKQ.mjs";
@@ -20,7 +20,7 @@ import "../../chunk-E7M4CJKR.mjs";
20
20
  import "../../chunk-3QQCDR3E.mjs";
21
21
  import "../../chunk-LRHWT4JU.mjs";
22
22
  import "../../chunk-QHMIK7U3.mjs";
23
- import "../../chunk-64EFLUS3.mjs";
23
+ import "../../chunk-CPOSU35L.mjs";
24
24
  import "../../chunk-B5T7AQLH.mjs";
25
25
  import {
26
26
  __async,
@@ -18714,7 +18714,7 @@ var import_expect_type = __toESM(require_dist(), 1);
18714
18714
  var import_node_crypto = require("crypto");
18715
18715
 
18716
18716
  // package.json
18717
- var version = "1.1.1";
18717
+ var version = "1.2.0";
18718
18718
 
18719
18719
  // src/internal/blindpay-error.ts
18720
18720
  var BlindPayError = class extends Error {
@@ -18843,6 +18843,16 @@ function createBankAccountsResource(instanceId, client) {
18843
18843
  return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18844
18844
  type: "international_swift"
18845
18845
  }, data));
18846
+ },
18847
+ createRtp(_o) {
18848
+ var _p = _o, {
18849
+ receiver_id
18850
+ } = _p, data = __objRest(_p, [
18851
+ "receiver_id"
18852
+ ]);
18853
+ return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18854
+ type: "rtp"
18855
+ }, data));
18846
18856
  }
18847
18857
  };
18848
18858
  }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-YPXYUS2X.mjs";
11
+ } from "../../chunk-E4S6NTNE.mjs";
12
12
  import "../../chunk-IZYPRCCV.mjs";
13
13
  import "../../chunk-QGNLMN6Z.mjs";
14
14
  import "../../chunk-UC57SCKQ.mjs";
@@ -21,7 +21,7 @@ import "../../chunk-E7M4CJKR.mjs";
21
21
  import "../../chunk-3QQCDR3E.mjs";
22
22
  import "../../chunk-LRHWT4JU.mjs";
23
23
  import "../../chunk-QHMIK7U3.mjs";
24
- import "../../chunk-64EFLUS3.mjs";
24
+ import "../../chunk-CPOSU35L.mjs";
25
25
  import "../../chunk-B5T7AQLH.mjs";
26
26
  import {
27
27
  __async,
@@ -18714,7 +18714,7 @@ var import_expect_type = __toESM(require_dist(), 1);
18714
18714
  var import_node_crypto = require("crypto");
18715
18715
 
18716
18716
  // package.json
18717
- var version = "1.1.1";
18717
+ var version = "1.2.0";
18718
18718
 
18719
18719
  // src/internal/blindpay-error.ts
18720
18720
  var BlindPayError = class extends Error {
@@ -18843,6 +18843,16 @@ function createBankAccountsResource(instanceId, client) {
18843
18843
  return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18844
18844
  type: "international_swift"
18845
18845
  }, data));
18846
+ },
18847
+ createRtp(_o) {
18848
+ var _p = _o, {
18849
+ receiver_id
18850
+ } = _p, data = __objRest(_p, [
18851
+ "receiver_id"
18852
+ ]);
18853
+ return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18854
+ type: "rtp"
18855
+ }, data));
18846
18856
  }
18847
18857
  };
18848
18858
  }
@@ -19556,6 +19566,42 @@ describe("Bank accounts", () => {
19556
19566
  globalExpect(data).toEqual(mockedInternationalSwiftAccount);
19557
19567
  }));
19558
19568
  });
19569
+ describe("Create RTP bank account", () => {
19570
+ it("should create an RTP bank account", () => __async(null, null, function* () {
19571
+ const mockedRtpAccount = {
19572
+ id: "ba_JW5ZtlKMlgS1",
19573
+ type: "rtp",
19574
+ name: "John Doe RTP",
19575
+ beneficiary_name: "John Doe",
19576
+ routing_number: "121000358",
19577
+ account_number: "325203027578",
19578
+ address_line_1: "Street of the fools",
19579
+ address_line_2: null,
19580
+ city: "Fools City",
19581
+ state_province_region: "FL",
19582
+ country: "US",
19583
+ postal_code: "22599",
19584
+ created_at: "2025-09-30T04:23:30.823Z"
19585
+ };
19586
+ fetchMock.mockResponseOnce(JSON.stringify(mockedRtpAccount), {
19587
+ headers: { "Content-Type": "application/json" }
19588
+ });
19589
+ const { data, error } = yield blindpay.receivers.bankAccounts.createRtp({
19590
+ receiver_id: "re_000000000000",
19591
+ name: "John Doe RTP",
19592
+ beneficiary_name: "John Doe",
19593
+ routing_number: "121000358",
19594
+ account_number: "325203027578",
19595
+ address_line_1: "Street of the fools",
19596
+ city: "Fools City",
19597
+ state_province_region: "FL",
19598
+ country: "US",
19599
+ postal_code: "22599"
19600
+ });
19601
+ globalExpect(error).toBeNull();
19602
+ globalExpect(data).toEqual(mockedRtpAccount);
19603
+ }));
19604
+ });
19559
19605
  describe("Get bank account", () => {
19560
19606
  it("should get a bank account", () => __async(null, null, function* () {
19561
19607
  const mockedBankAccount = {
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-YPXYUS2X.mjs";
11
+ } from "../../chunk-E4S6NTNE.mjs";
12
12
  import "../../chunk-IZYPRCCV.mjs";
13
13
  import "../../chunk-QGNLMN6Z.mjs";
14
14
  import "../../chunk-UC57SCKQ.mjs";
@@ -21,7 +21,7 @@ import "../../chunk-E7M4CJKR.mjs";
21
21
  import "../../chunk-3QQCDR3E.mjs";
22
22
  import "../../chunk-LRHWT4JU.mjs";
23
23
  import "../../chunk-QHMIK7U3.mjs";
24
- import "../../chunk-64EFLUS3.mjs";
24
+ import "../../chunk-CPOSU35L.mjs";
25
25
  import "../../chunk-B5T7AQLH.mjs";
26
26
  import {
27
27
  __async,
@@ -287,6 +287,42 @@ var require_bank_accounts_test = __commonJS({
287
287
  globalExpect(data).toEqual(mockedInternationalSwiftAccount);
288
288
  }));
289
289
  });
290
+ describe("Create RTP bank account", () => {
291
+ it("should create an RTP bank account", () => __async(null, null, function* () {
292
+ const mockedRtpAccount = {
293
+ id: "ba_JW5ZtlKMlgS1",
294
+ type: "rtp",
295
+ name: "John Doe RTP",
296
+ beneficiary_name: "John Doe",
297
+ routing_number: "121000358",
298
+ account_number: "325203027578",
299
+ address_line_1: "Street of the fools",
300
+ address_line_2: null,
301
+ city: "Fools City",
302
+ state_province_region: "FL",
303
+ country: "US",
304
+ postal_code: "22599",
305
+ created_at: "2025-09-30T04:23:30.823Z"
306
+ };
307
+ fetchMock.mockResponseOnce(JSON.stringify(mockedRtpAccount), {
308
+ headers: { "Content-Type": "application/json" }
309
+ });
310
+ const { data, error } = yield blindpay.receivers.bankAccounts.createRtp({
311
+ receiver_id: "re_000000000000",
312
+ name: "John Doe RTP",
313
+ beneficiary_name: "John Doe",
314
+ routing_number: "121000358",
315
+ account_number: "325203027578",
316
+ address_line_1: "Street of the fools",
317
+ city: "Fools City",
318
+ state_province_region: "FL",
319
+ country: "US",
320
+ postal_code: "22599"
321
+ });
322
+ globalExpect(error).toBeNull();
323
+ globalExpect(data).toEqual(mockedRtpAccount);
324
+ }));
325
+ });
290
326
  describe("Get bank account", () => {
291
327
  it("should get a bank account", () => __async(null, null, function* () {
292
328
  const mockedBankAccount = {
@@ -275,6 +275,34 @@ type CreateInternationalSwiftResponse = {
275
275
  swift_intermediary_bank_country: Country | null;
276
276
  created_at: string;
277
277
  };
278
+ type CreateRtpInput = {
279
+ receiver_id: string;
280
+ name: string;
281
+ beneficiary_name: string;
282
+ routing_number: string;
283
+ account_number: string;
284
+ address_line_1: string;
285
+ address_line_2?: string;
286
+ city: string;
287
+ state_province_region: string;
288
+ country: Country;
289
+ postal_code: string;
290
+ };
291
+ type CreateRtpResponse = {
292
+ id: string;
293
+ type: "rtp";
294
+ name: string;
295
+ beneficiary_name: string;
296
+ routing_number: string;
297
+ account_number: string;
298
+ address_line_1: string;
299
+ address_line_2: string | null;
300
+ city: string;
301
+ state_province_region: string;
302
+ country: Country;
303
+ postal_code: string;
304
+ created_at: string;
305
+ };
278
306
  declare function createBankAccountsResource(instanceId: string, client: InternalApiClient): {
279
307
  list(receiver_id: ListBankAccountsInput): Promise<BlindpayApiResponse<ListBankAccountsResponse>>;
280
308
  get({ receiver_id, id, }: GetBankAccountInput): Promise<BlindpayApiResponse<GetBankAccountResponse>>;
@@ -286,6 +314,7 @@ declare function createBankAccountsResource(instanceId: string, client: Internal
286
314
  createAch({ receiver_id, ...data }: CreateAchInput): Promise<BlindpayApiResponse<CreateAchResponse>>;
287
315
  createWire({ receiver_id, ...data }: CreateWireInput): Promise<BlindpayApiResponse<CreateWireResponse>>;
288
316
  createInternationalSwift({ receiver_id, ...data }: CreateInternationalSwiftInput): Promise<BlindpayApiResponse<CreateInternationalSwiftResponse>>;
317
+ createRtp({ receiver_id, ...data }: CreateRtpInput): Promise<BlindpayApiResponse<CreateRtpResponse>>;
289
318
  };
290
319
 
291
- export { type AchCopDocument, type ArgentinaTransfers, type CreateAchInput, type CreateAchResponse, type CreateArgentinaTransfersInput, type CreateArgentinaTransfersResponse, type CreateColombiaAchInput, type CreateColombiaAchResponse, type CreateInternationalSwiftInput, type CreateInternationalSwiftResponse, type CreatePixInput, type CreatePixResponse, type CreateSpeiInput, type CreateSpeiResponse, type CreateWireInput, type CreateWireResponse, type DeleteBankAccountInput, type GetBankAccountInput, type GetBankAccountResponse, type ListBankAccountsInput, type ListBankAccountsResponse, createBankAccountsResource };
320
+ export { type AchCopDocument, type ArgentinaTransfers, type CreateAchInput, type CreateAchResponse, type CreateArgentinaTransfersInput, type CreateArgentinaTransfersResponse, type CreateColombiaAchInput, type CreateColombiaAchResponse, type CreateInternationalSwiftInput, type CreateInternationalSwiftResponse, type CreatePixInput, type CreatePixResponse, type CreateRtpInput, type CreateRtpResponse, type CreateSpeiInput, type CreateSpeiResponse, type CreateWireInput, type CreateWireResponse, type DeleteBankAccountInput, type GetBankAccountInput, type GetBankAccountResponse, type ListBankAccountsInput, type ListBankAccountsResponse, createBankAccountsResource };
@@ -275,6 +275,34 @@ type CreateInternationalSwiftResponse = {
275
275
  swift_intermediary_bank_country: Country | null;
276
276
  created_at: string;
277
277
  };
278
+ type CreateRtpInput = {
279
+ receiver_id: string;
280
+ name: string;
281
+ beneficiary_name: string;
282
+ routing_number: string;
283
+ account_number: string;
284
+ address_line_1: string;
285
+ address_line_2?: string;
286
+ city: string;
287
+ state_province_region: string;
288
+ country: Country;
289
+ postal_code: string;
290
+ };
291
+ type CreateRtpResponse = {
292
+ id: string;
293
+ type: "rtp";
294
+ name: string;
295
+ beneficiary_name: string;
296
+ routing_number: string;
297
+ account_number: string;
298
+ address_line_1: string;
299
+ address_line_2: string | null;
300
+ city: string;
301
+ state_province_region: string;
302
+ country: Country;
303
+ postal_code: string;
304
+ created_at: string;
305
+ };
278
306
  declare function createBankAccountsResource(instanceId: string, client: InternalApiClient): {
279
307
  list(receiver_id: ListBankAccountsInput): Promise<BlindpayApiResponse<ListBankAccountsResponse>>;
280
308
  get({ receiver_id, id, }: GetBankAccountInput): Promise<BlindpayApiResponse<GetBankAccountResponse>>;
@@ -286,6 +314,7 @@ declare function createBankAccountsResource(instanceId: string, client: Internal
286
314
  createAch({ receiver_id, ...data }: CreateAchInput): Promise<BlindpayApiResponse<CreateAchResponse>>;
287
315
  createWire({ receiver_id, ...data }: CreateWireInput): Promise<BlindpayApiResponse<CreateWireResponse>>;
288
316
  createInternationalSwift({ receiver_id, ...data }: CreateInternationalSwiftInput): Promise<BlindpayApiResponse<CreateInternationalSwiftResponse>>;
317
+ createRtp({ receiver_id, ...data }: CreateRtpInput): Promise<BlindpayApiResponse<CreateRtpResponse>>;
289
318
  };
290
319
 
291
- export { type AchCopDocument, type ArgentinaTransfers, type CreateAchInput, type CreateAchResponse, type CreateArgentinaTransfersInput, type CreateArgentinaTransfersResponse, type CreateColombiaAchInput, type CreateColombiaAchResponse, type CreateInternationalSwiftInput, type CreateInternationalSwiftResponse, type CreatePixInput, type CreatePixResponse, type CreateSpeiInput, type CreateSpeiResponse, type CreateWireInput, type CreateWireResponse, type DeleteBankAccountInput, type GetBankAccountInput, type GetBankAccountResponse, type ListBankAccountsInput, type ListBankAccountsResponse, createBankAccountsResource };
320
+ export { type AchCopDocument, type ArgentinaTransfers, type CreateAchInput, type CreateAchResponse, type CreateArgentinaTransfersInput, type CreateArgentinaTransfersResponse, type CreateColombiaAchInput, type CreateColombiaAchResponse, type CreateInternationalSwiftInput, type CreateInternationalSwiftResponse, type CreatePixInput, type CreatePixResponse, type CreateRtpInput, type CreateRtpResponse, type CreateSpeiInput, type CreateSpeiResponse, type CreateWireInput, type CreateWireResponse, type DeleteBankAccountInput, type GetBankAccountInput, type GetBankAccountResponse, type ListBankAccountsInput, type ListBankAccountsResponse, createBankAccountsResource };
@@ -136,6 +136,16 @@ function createBankAccountsResource(instanceId, client) {
136
136
  return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
137
137
  type: "international_swift"
138
138
  }, data));
139
+ },
140
+ createRtp(_o) {
141
+ var _p = _o, {
142
+ receiver_id
143
+ } = _p, data = __objRest(_p, [
144
+ "receiver_id"
145
+ ]);
146
+ return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
147
+ type: "rtp"
148
+ }, data));
139
149
  }
140
150
  };
141
151
  }
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createBankAccountsResource,
3
3
  init_bank_accounts
4
- } from "../../chunk-64EFLUS3.mjs";
4
+ } from "../../chunk-CPOSU35L.mjs";
5
5
  import "../../chunk-OBKEW4AQ.mjs";
6
6
  init_bank_accounts();
7
7
  export {
@@ -18714,7 +18714,7 @@ var import_expect_type = __toESM(require_dist(), 1);
18714
18714
  var import_node_crypto = require("crypto");
18715
18715
 
18716
18716
  // package.json
18717
- var version = "1.1.1";
18717
+ var version = "1.2.0";
18718
18718
 
18719
18719
  // src/internal/blindpay-error.ts
18720
18720
  var BlindPayError = class extends Error {
@@ -18843,6 +18843,16 @@ function createBankAccountsResource(instanceId, client) {
18843
18843
  return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18844
18844
  type: "international_swift"
18845
18845
  }, data));
18846
+ },
18847
+ createRtp(_o) {
18848
+ var _p = _o, {
18849
+ receiver_id
18850
+ } = _p, data = __objRest(_p, [
18851
+ "receiver_id"
18852
+ ]);
18853
+ return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18854
+ type: "rtp"
18855
+ }, data));
18846
18856
  }
18847
18857
  };
18848
18858
  }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-YPXYUS2X.mjs";
11
+ } from "../../chunk-E4S6NTNE.mjs";
12
12
  import "../../chunk-IZYPRCCV.mjs";
13
13
  import "../../chunk-QGNLMN6Z.mjs";
14
14
  import "../../chunk-UC57SCKQ.mjs";
@@ -21,7 +21,7 @@ import "../../chunk-E7M4CJKR.mjs";
21
21
  import "../../chunk-3QQCDR3E.mjs";
22
22
  import "../../chunk-LRHWT4JU.mjs";
23
23
  import "../../chunk-QHMIK7U3.mjs";
24
- import "../../chunk-64EFLUS3.mjs";
24
+ import "../../chunk-CPOSU35L.mjs";
25
25
  import "../../chunk-B5T7AQLH.mjs";
26
26
  import {
27
27
  __async,
@@ -18714,7 +18714,7 @@ var import_expect_type = __toESM(require_dist(), 1);
18714
18714
  var import_node_crypto = require("crypto");
18715
18715
 
18716
18716
  // package.json
18717
- var version = "1.1.1";
18717
+ var version = "1.2.0";
18718
18718
 
18719
18719
  // src/internal/blindpay-error.ts
18720
18720
  var BlindPayError = class extends Error {
@@ -18843,6 +18843,16 @@ function createBankAccountsResource(instanceId, client) {
18843
18843
  return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18844
18844
  type: "international_swift"
18845
18845
  }, data));
18846
+ },
18847
+ createRtp(_o) {
18848
+ var _p = _o, {
18849
+ receiver_id
18850
+ } = _p, data = __objRest(_p, [
18851
+ "receiver_id"
18852
+ ]);
18853
+ return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18854
+ type: "rtp"
18855
+ }, data));
18846
18856
  }
18847
18857
  };
18848
18858
  }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-YPXYUS2X.mjs";
11
+ } from "../../chunk-E4S6NTNE.mjs";
12
12
  import "../../chunk-IZYPRCCV.mjs";
13
13
  import "../../chunk-QGNLMN6Z.mjs";
14
14
  import "../../chunk-UC57SCKQ.mjs";
@@ -21,7 +21,7 @@ import "../../chunk-E7M4CJKR.mjs";
21
21
  import "../../chunk-3QQCDR3E.mjs";
22
22
  import "../../chunk-LRHWT4JU.mjs";
23
23
  import "../../chunk-QHMIK7U3.mjs";
24
- import "../../chunk-64EFLUS3.mjs";
24
+ import "../../chunk-CPOSU35L.mjs";
25
25
  import "../../chunk-B5T7AQLH.mjs";
26
26
  import {
27
27
  __async,
@@ -18714,7 +18714,7 @@ var import_expect_type = __toESM(require_dist(), 1);
18714
18714
  var import_node_crypto = require("crypto");
18715
18715
 
18716
18716
  // package.json
18717
- var version = "1.1.1";
18717
+ var version = "1.2.0";
18718
18718
 
18719
18719
  // src/internal/blindpay-error.ts
18720
18720
  var BlindPayError = class extends Error {
@@ -18843,6 +18843,16 @@ function createBankAccountsResource(instanceId, client) {
18843
18843
  return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18844
18844
  type: "international_swift"
18845
18845
  }, data));
18846
+ },
18847
+ createRtp(_o) {
18848
+ var _p = _o, {
18849
+ receiver_id
18850
+ } = _p, data = __objRest(_p, [
18851
+ "receiver_id"
18852
+ ]);
18853
+ return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18854
+ type: "rtp"
18855
+ }, data));
18846
18856
  }
18847
18857
  };
18848
18858
  }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-YPXYUS2X.mjs";
11
+ } from "../../chunk-E4S6NTNE.mjs";
12
12
  import "../../chunk-IZYPRCCV.mjs";
13
13
  import "../../chunk-QGNLMN6Z.mjs";
14
14
  import "../../chunk-UC57SCKQ.mjs";
@@ -21,7 +21,7 @@ import "../../chunk-E7M4CJKR.mjs";
21
21
  import "../../chunk-3QQCDR3E.mjs";
22
22
  import "../../chunk-LRHWT4JU.mjs";
23
23
  import "../../chunk-QHMIK7U3.mjs";
24
- import "../../chunk-64EFLUS3.mjs";
24
+ import "../../chunk-CPOSU35L.mjs";
25
25
  import "../../chunk-B5T7AQLH.mjs";
26
26
  import {
27
27
  __async,
@@ -18714,7 +18714,7 @@ var import_expect_type = __toESM(require_dist(), 1);
18714
18714
  var import_node_crypto = require("crypto");
18715
18715
 
18716
18716
  // package.json
18717
- var version = "1.1.1";
18717
+ var version = "1.2.0";
18718
18718
 
18719
18719
  // src/internal/blindpay-error.ts
18720
18720
  var BlindPayError = class extends Error {
@@ -18843,6 +18843,16 @@ function createBankAccountsResource(instanceId, client) {
18843
18843
  return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18844
18844
  type: "international_swift"
18845
18845
  }, data));
18846
+ },
18847
+ createRtp(_o) {
18848
+ var _p = _o, {
18849
+ receiver_id
18850
+ } = _p, data = __objRest(_p, [
18851
+ "receiver_id"
18852
+ ]);
18853
+ return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18854
+ type: "rtp"
18855
+ }, data));
18846
18856
  }
18847
18857
  };
18848
18858
  }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-YPXYUS2X.mjs";
11
+ } from "../../chunk-E4S6NTNE.mjs";
12
12
  import "../../chunk-IZYPRCCV.mjs";
13
13
  import "../../chunk-QGNLMN6Z.mjs";
14
14
  import "../../chunk-UC57SCKQ.mjs";
@@ -21,7 +21,7 @@ import "../../chunk-E7M4CJKR.mjs";
21
21
  import "../../chunk-3QQCDR3E.mjs";
22
22
  import "../../chunk-LRHWT4JU.mjs";
23
23
  import "../../chunk-QHMIK7U3.mjs";
24
- import "../../chunk-64EFLUS3.mjs";
24
+ import "../../chunk-CPOSU35L.mjs";
25
25
  import "../../chunk-B5T7AQLH.mjs";
26
26
  import {
27
27
  __async,
@@ -18714,7 +18714,7 @@ var import_expect_type = __toESM(require_dist(), 1);
18714
18714
  var import_node_crypto = require("crypto");
18715
18715
 
18716
18716
  // package.json
18717
- var version = "1.1.1";
18717
+ var version = "1.2.0";
18718
18718
 
18719
18719
  // src/internal/blindpay-error.ts
18720
18720
  var BlindPayError = class extends Error {
@@ -18843,6 +18843,16 @@ function createBankAccountsResource(instanceId, client) {
18843
18843
  return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18844
18844
  type: "international_swift"
18845
18845
  }, data));
18846
+ },
18847
+ createRtp(_o) {
18848
+ var _p = _o, {
18849
+ receiver_id
18850
+ } = _p, data = __objRest(_p, [
18851
+ "receiver_id"
18852
+ ]);
18853
+ return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18854
+ type: "rtp"
18855
+ }, data));
18846
18856
  }
18847
18857
  };
18848
18858
  }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-YPXYUS2X.mjs";
11
+ } from "../../chunk-E4S6NTNE.mjs";
12
12
  import "../../chunk-IZYPRCCV.mjs";
13
13
  import "../../chunk-QGNLMN6Z.mjs";
14
14
  import "../../chunk-UC57SCKQ.mjs";
@@ -21,7 +21,7 @@ import "../../chunk-E7M4CJKR.mjs";
21
21
  import "../../chunk-3QQCDR3E.mjs";
22
22
  import "../../chunk-LRHWT4JU.mjs";
23
23
  import "../../chunk-QHMIK7U3.mjs";
24
- import "../../chunk-64EFLUS3.mjs";
24
+ import "../../chunk-CPOSU35L.mjs";
25
25
  import "../../chunk-B5T7AQLH.mjs";
26
26
  import {
27
27
  __async,
@@ -18714,7 +18714,7 @@ var import_expect_type = __toESM(require_dist(), 1);
18714
18714
  var import_node_crypto = require("crypto");
18715
18715
 
18716
18716
  // package.json
18717
- var version = "1.1.1";
18717
+ var version = "1.2.0";
18718
18718
 
18719
18719
  // src/internal/blindpay-error.ts
18720
18720
  var BlindPayError = class extends Error {
@@ -18843,6 +18843,16 @@ function createBankAccountsResource(instanceId, client) {
18843
18843
  return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18844
18844
  type: "international_swift"
18845
18845
  }, data));
18846
+ },
18847
+ createRtp(_o) {
18848
+ var _p = _o, {
18849
+ receiver_id
18850
+ } = _p, data = __objRest(_p, [
18851
+ "receiver_id"
18852
+ ]);
18853
+ return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18854
+ type: "rtp"
18855
+ }, data));
18846
18856
  }
18847
18857
  };
18848
18858
  }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-YPXYUS2X.mjs";
11
+ } from "../../chunk-E4S6NTNE.mjs";
12
12
  import "../../chunk-IZYPRCCV.mjs";
13
13
  import "../../chunk-QGNLMN6Z.mjs";
14
14
  import "../../chunk-UC57SCKQ.mjs";
@@ -21,7 +21,7 @@ import "../../chunk-E7M4CJKR.mjs";
21
21
  import "../../chunk-3QQCDR3E.mjs";
22
22
  import "../../chunk-LRHWT4JU.mjs";
23
23
  import "../../chunk-QHMIK7U3.mjs";
24
- import "../../chunk-64EFLUS3.mjs";
24
+ import "../../chunk-CPOSU35L.mjs";
25
25
  import "../../chunk-B5T7AQLH.mjs";
26
26
  import {
27
27
  __async,
@@ -18714,7 +18714,7 @@ var import_expect_type = __toESM(require_dist(), 1);
18714
18714
  var import_node_crypto = require("crypto");
18715
18715
 
18716
18716
  // package.json
18717
- var version = "1.1.1";
18717
+ var version = "1.2.0";
18718
18718
 
18719
18719
  // src/internal/blindpay-error.ts
18720
18720
  var BlindPayError = class extends Error {
@@ -18843,6 +18843,16 @@ function createBankAccountsResource(instanceId, client) {
18843
18843
  return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18844
18844
  type: "international_swift"
18845
18845
  }, data));
18846
+ },
18847
+ createRtp(_o) {
18848
+ var _p = _o, {
18849
+ receiver_id
18850
+ } = _p, data = __objRest(_p, [
18851
+ "receiver_id"
18852
+ ]);
18853
+ return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18854
+ type: "rtp"
18855
+ }, data));
18846
18856
  }
18847
18857
  };
18848
18858
  }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-YPXYUS2X.mjs";
11
+ } from "../../chunk-E4S6NTNE.mjs";
12
12
  import "../../chunk-IZYPRCCV.mjs";
13
13
  import "../../chunk-QGNLMN6Z.mjs";
14
14
  import "../../chunk-UC57SCKQ.mjs";
@@ -21,7 +21,7 @@ import "../../chunk-E7M4CJKR.mjs";
21
21
  import "../../chunk-3QQCDR3E.mjs";
22
22
  import "../../chunk-LRHWT4JU.mjs";
23
23
  import "../../chunk-QHMIK7U3.mjs";
24
- import "../../chunk-64EFLUS3.mjs";
24
+ import "../../chunk-CPOSU35L.mjs";
25
25
  import "../../chunk-B5T7AQLH.mjs";
26
26
  import {
27
27
  __async,
@@ -18714,7 +18714,7 @@ var import_expect_type = __toESM(require_dist(), 1);
18714
18714
  var import_node_crypto = require("crypto");
18715
18715
 
18716
18716
  // package.json
18717
- var version = "1.1.1";
18717
+ var version = "1.2.0";
18718
18718
 
18719
18719
  // src/internal/blindpay-error.ts
18720
18720
  var BlindPayError = class extends Error {
@@ -18843,6 +18843,16 @@ function createBankAccountsResource(instanceId, client) {
18843
18843
  return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18844
18844
  type: "international_swift"
18845
18845
  }, data));
18846
+ },
18847
+ createRtp(_o) {
18848
+ var _p = _o, {
18849
+ receiver_id
18850
+ } = _p, data = __objRest(_p, [
18851
+ "receiver_id"
18852
+ ]);
18853
+ return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18854
+ type: "rtp"
18855
+ }, data));
18846
18856
  }
18847
18857
  };
18848
18858
  }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-YPXYUS2X.mjs";
11
+ } from "../../chunk-E4S6NTNE.mjs";
12
12
  import "../../chunk-IZYPRCCV.mjs";
13
13
  import "../../chunk-QGNLMN6Z.mjs";
14
14
  import "../../chunk-UC57SCKQ.mjs";
@@ -21,7 +21,7 @@ import "../../chunk-E7M4CJKR.mjs";
21
21
  import "../../chunk-3QQCDR3E.mjs";
22
22
  import "../../chunk-LRHWT4JU.mjs";
23
23
  import "../../chunk-QHMIK7U3.mjs";
24
- import "../../chunk-64EFLUS3.mjs";
24
+ import "../../chunk-CPOSU35L.mjs";
25
25
  import "../../chunk-B5T7AQLH.mjs";
26
26
  import {
27
27
  __async,
@@ -18714,7 +18714,7 @@ var import_expect_type = __toESM(require_dist(), 1);
18714
18714
  var import_node_crypto = require("crypto");
18715
18715
 
18716
18716
  // package.json
18717
- var version = "1.1.1";
18717
+ var version = "1.2.0";
18718
18718
 
18719
18719
  // src/internal/blindpay-error.ts
18720
18720
  var BlindPayError = class extends Error {
@@ -18843,6 +18843,16 @@ function createBankAccountsResource(instanceId, client) {
18843
18843
  return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18844
18844
  type: "international_swift"
18845
18845
  }, data));
18846
+ },
18847
+ createRtp(_o) {
18848
+ var _p = _o, {
18849
+ receiver_id
18850
+ } = _p, data = __objRest(_p, [
18851
+ "receiver_id"
18852
+ ]);
18853
+ return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18854
+ type: "rtp"
18855
+ }, data));
18846
18856
  }
18847
18857
  };
18848
18858
  }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-YPXYUS2X.mjs";
11
+ } from "../../chunk-E4S6NTNE.mjs";
12
12
  import "../../chunk-IZYPRCCV.mjs";
13
13
  import "../../chunk-QGNLMN6Z.mjs";
14
14
  import "../../chunk-UC57SCKQ.mjs";
@@ -21,7 +21,7 @@ import "../../chunk-E7M4CJKR.mjs";
21
21
  import "../../chunk-3QQCDR3E.mjs";
22
22
  import "../../chunk-LRHWT4JU.mjs";
23
23
  import "../../chunk-QHMIK7U3.mjs";
24
- import "../../chunk-64EFLUS3.mjs";
24
+ import "../../chunk-CPOSU35L.mjs";
25
25
  import "../../chunk-B5T7AQLH.mjs";
26
26
  import {
27
27
  __async,
@@ -18714,7 +18714,7 @@ var import_expect_type = __toESM(require_dist(), 1);
18714
18714
  var import_node_crypto = require("crypto");
18715
18715
 
18716
18716
  // package.json
18717
- var version = "1.1.1";
18717
+ var version = "1.2.0";
18718
18718
 
18719
18719
  // src/internal/blindpay-error.ts
18720
18720
  var BlindPayError = class extends Error {
@@ -18843,6 +18843,16 @@ function createBankAccountsResource(instanceId, client) {
18843
18843
  return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18844
18844
  type: "international_swift"
18845
18845
  }, data));
18846
+ },
18847
+ createRtp(_o) {
18848
+ var _p = _o, {
18849
+ receiver_id
18850
+ } = _p, data = __objRest(_p, [
18851
+ "receiver_id"
18852
+ ]);
18853
+ return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18854
+ type: "rtp"
18855
+ }, data));
18846
18856
  }
18847
18857
  };
18848
18858
  }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-YPXYUS2X.mjs";
11
+ } from "../../chunk-E4S6NTNE.mjs";
12
12
  import "../../chunk-IZYPRCCV.mjs";
13
13
  import "../../chunk-QGNLMN6Z.mjs";
14
14
  import "../../chunk-UC57SCKQ.mjs";
@@ -21,7 +21,7 @@ import "../../chunk-E7M4CJKR.mjs";
21
21
  import "../../chunk-3QQCDR3E.mjs";
22
22
  import "../../chunk-LRHWT4JU.mjs";
23
23
  import "../../chunk-QHMIK7U3.mjs";
24
- import "../../chunk-64EFLUS3.mjs";
24
+ import "../../chunk-CPOSU35L.mjs";
25
25
  import "../../chunk-B5T7AQLH.mjs";
26
26
  import {
27
27
  __async,
@@ -18714,7 +18714,7 @@ var import_expect_type = __toESM(require_dist(), 1);
18714
18714
  var import_node_crypto = require("crypto");
18715
18715
 
18716
18716
  // package.json
18717
- var version = "1.1.1";
18717
+ var version = "1.2.0";
18718
18718
 
18719
18719
  // src/internal/blindpay-error.ts
18720
18720
  var BlindPayError = class extends Error {
@@ -18843,6 +18843,16 @@ function createBankAccountsResource(instanceId, client) {
18843
18843
  return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18844
18844
  type: "international_swift"
18845
18845
  }, data));
18846
+ },
18847
+ createRtp(_o) {
18848
+ var _p = _o, {
18849
+ receiver_id
18850
+ } = _p, data = __objRest(_p, [
18851
+ "receiver_id"
18852
+ ]);
18853
+ return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18854
+ type: "rtp"
18855
+ }, data));
18846
18856
  }
18847
18857
  };
18848
18858
  }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-YPXYUS2X.mjs";
11
+ } from "../../chunk-E4S6NTNE.mjs";
12
12
  import "../../chunk-IZYPRCCV.mjs";
13
13
  import "../../chunk-QGNLMN6Z.mjs";
14
14
  import "../../chunk-UC57SCKQ.mjs";
@@ -21,7 +21,7 @@ import "../../chunk-E7M4CJKR.mjs";
21
21
  import "../../chunk-3QQCDR3E.mjs";
22
22
  import "../../chunk-LRHWT4JU.mjs";
23
23
  import "../../chunk-QHMIK7U3.mjs";
24
- import "../../chunk-64EFLUS3.mjs";
24
+ import "../../chunk-CPOSU35L.mjs";
25
25
  import "../../chunk-B5T7AQLH.mjs";
26
26
  import {
27
27
  __async,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blindpay/node",
3
- "version": "1.1.1",
3
+ "version": "1.2.0",
4
4
  "description": "Official Node.js SDK for Blindpay API - Global payments infrastructure",
5
5
  "keywords": [
6
6
  "blindpay",