@blindpay/node 2.5.0 → 3.0.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 (74) hide show
  1. package/dist/{api-client-Drd7alfK.d.mts → api-client-B7VQkM_4.d.mts} +94 -33
  2. package/dist/{api-client-Drd7alfK.d.ts → api-client-B7VQkM_4.d.ts} +94 -33
  3. package/dist/{chunk-5XJJKYXE.mjs → chunk-LEPGLH7Q.mjs} +20 -10
  4. package/dist/{chunk-3QQCDR3E.mjs → chunk-VBZHAPK7.mjs} +8 -0
  5. package/dist/{chunk-CEJF5Y4K.mjs → chunk-WH2VNZE7.mjs} +11 -11
  6. package/dist/index.d.mts +4 -4
  7. package/dist/index.d.ts +4 -4
  8. package/dist/index.js +29 -11
  9. package/dist/index.mjs +11 -11
  10. package/dist/resources/api-keys/api-keys.test.js +29 -11
  11. package/dist/resources/api-keys/api-keys.test.mjs +5 -5
  12. package/dist/resources/api-keys/index.d.mts +1 -1
  13. package/dist/resources/api-keys/index.d.ts +1 -1
  14. package/dist/resources/available/available.test.js +29 -11
  15. package/dist/resources/available/available.test.mjs +5 -5
  16. package/dist/resources/available/index.d.mts +1 -1
  17. package/dist/resources/available/index.d.ts +1 -1
  18. package/dist/resources/bank-accounts/bank-accounts.test.js +29 -11
  19. package/dist/resources/bank-accounts/bank-accounts.test.mjs +5 -5
  20. package/dist/resources/bank-accounts/index.d.mts +2 -4
  21. package/dist/resources/bank-accounts/index.d.ts +2 -4
  22. package/dist/resources/instances/index.d.mts +1 -1
  23. package/dist/resources/instances/index.d.ts +1 -1
  24. package/dist/resources/instances/instances.test.js +29 -11
  25. package/dist/resources/instances/instances.test.mjs +5 -5
  26. package/dist/resources/partner-fees/index.d.mts +1 -1
  27. package/dist/resources/partner-fees/index.d.ts +1 -1
  28. package/dist/resources/partner-fees/partner-fees.test.js +29 -11
  29. package/dist/resources/partner-fees/partner-fees.test.mjs +5 -5
  30. package/dist/resources/payins/index.d.mts +9 -33
  31. package/dist/resources/payins/index.d.ts +9 -33
  32. package/dist/resources/payins/payins-quotes.test.js +29 -11
  33. package/dist/resources/payins/payins-quotes.test.mjs +5 -5
  34. package/dist/resources/payins/payins.test.js +141 -36
  35. package/dist/resources/payins/payins.test.mjs +117 -30
  36. package/dist/resources/payins/quotes.d.mts +1 -1
  37. package/dist/resources/payins/quotes.d.ts +1 -1
  38. package/dist/resources/payouts/index.d.mts +42 -17
  39. package/dist/resources/payouts/index.d.ts +42 -17
  40. package/dist/resources/payouts/index.js +8 -0
  41. package/dist/resources/payouts/index.mjs +1 -1
  42. package/dist/resources/payouts/payouts.test.js +139 -11
  43. package/dist/resources/payouts/payouts.test.mjs +115 -5
  44. package/dist/resources/quotes/index.d.mts +1 -1
  45. package/dist/resources/quotes/index.d.ts +1 -1
  46. package/dist/resources/quotes/quotes.test.js +29 -11
  47. package/dist/resources/quotes/quotes.test.mjs +5 -5
  48. package/dist/resources/receivers/index.d.mts +9 -7
  49. package/dist/resources/receivers/index.d.ts +9 -7
  50. package/dist/resources/receivers/receivers.test.js +36 -19
  51. package/dist/resources/receivers/receivers.test.mjs +12 -13
  52. package/dist/resources/terms-of-service/index.d.mts +1 -1
  53. package/dist/resources/terms-of-service/index.d.ts +1 -1
  54. package/dist/resources/terms-of-service/terms-of-service.test.js +29 -11
  55. package/dist/resources/terms-of-service/terms-of-service.test.mjs +5 -5
  56. package/dist/resources/virtual-accounts/index.d.mts +22 -7
  57. package/dist/resources/virtual-accounts/index.d.ts +22 -7
  58. package/dist/resources/virtual-accounts/index.js +20 -10
  59. package/dist/resources/virtual-accounts/index.mjs +1 -1
  60. package/dist/resources/virtual-accounts/virtual-accounts.test.js +148 -30
  61. package/dist/resources/virtual-accounts/virtual-accounts.test.mjs +124 -24
  62. package/dist/resources/wallets/blockchain.d.mts +1 -1
  63. package/dist/resources/wallets/blockchain.d.ts +1 -1
  64. package/dist/resources/wallets/blockchain.test.js +29 -11
  65. package/dist/resources/wallets/blockchain.test.mjs +5 -5
  66. package/dist/resources/wallets/offramp.d.mts +1 -1
  67. package/dist/resources/wallets/offramp.d.ts +1 -1
  68. package/dist/resources/wallets/offramp.test.js +29 -11
  69. package/dist/resources/wallets/offramp.test.mjs +5 -5
  70. package/dist/resources/webhooks/index.d.mts +1 -1
  71. package/dist/resources/webhooks/index.d.ts +1 -1
  72. package/dist/resources/webhooks/webhooks.test.js +29 -11
  73. package/dist/resources/webhooks/webhooks.test.mjs +5 -5
  74. package/package.json +2 -1
@@ -1,4 +1,4 @@
1
- import { I as InternalApiClient, P as PaginationParams, T as TransactionStatus, B as BlindpayApiResponse, b as TrackingTransaction, c as TrackingPayment, d as TrackingComplete, e as TrackingPartnerFee, S as StablecoinToken, N as Network, f as PaginationMetadata } from '../../api-client-Drd7alfK.mjs';
1
+ import { I as InternalApiClient, P as PaginationParams, T as TransactionStatus, B as BlindpayApiResponse, d as PayinTrackingTransaction, e as PayinTrackingPayment, f as PayinTrackingComplete, g as PayinTrackingPartnerFee, S as StablecoinToken, N as Network, h as PaginationMetadata } from '../../api-client-B7VQkM_4.mjs';
2
2
 
3
3
  type Payin = {
4
4
  receiver_id: string;
@@ -9,10 +9,10 @@ type Payin = {
9
9
  status: TransactionStatus;
10
10
  payin_quote_id: string;
11
11
  instance_id: string;
12
- tracking_transaction?: TrackingTransaction;
13
- tracking_payment?: TrackingPayment;
14
- tracking_complete?: TrackingComplete;
15
- tracking_partner_fee?: TrackingPartnerFee;
12
+ tracking_transaction?: PayinTrackingTransaction;
13
+ tracking_payment?: PayinTrackingPayment;
14
+ tracking_complete?: PayinTrackingComplete;
15
+ tracking_partner_fee?: PayinTrackingPartnerFee;
16
16
  created_at: string;
17
17
  updated_at: string;
18
18
  image_url?: string;
@@ -91,34 +91,10 @@ type GetPayinTrackResponse = {
91
91
  status: string;
92
92
  payin_quote_id: string;
93
93
  instance_id: string;
94
- tracking_transaction: {
95
- step: string;
96
- status: string;
97
- external_id: string;
98
- completed_at: string;
99
- sender_name: string;
100
- sender_tax_id: string;
101
- sender_bank_code: string;
102
- sender_account_number: string;
103
- trace_number: string;
104
- transaction_reference: string;
105
- description: string;
106
- };
107
- tracking_payment: {
108
- step: string;
109
- provider_name: string;
110
- completed_at: string;
111
- };
112
- tracking_complete: {
113
- step: string;
114
- transaction_hash: string;
115
- completed_at: string;
116
- };
117
- tracking_partner_fee: {
118
- step: string;
119
- transaction_hash: string;
120
- completed_at: string;
121
- };
94
+ tracking_transaction: PayinTrackingTransaction;
95
+ tracking_payment: PayinTrackingPayment;
96
+ tracking_complete: PayinTrackingComplete;
97
+ tracking_partner_fee: PayinTrackingPartnerFee;
122
98
  created_at: string;
123
99
  updated_at: string;
124
100
  image_url: string;
@@ -1,4 +1,4 @@
1
- import { I as InternalApiClient, P as PaginationParams, T as TransactionStatus, B as BlindpayApiResponse, b as TrackingTransaction, c as TrackingPayment, d as TrackingComplete, e as TrackingPartnerFee, S as StablecoinToken, N as Network, f as PaginationMetadata } from '../../api-client-Drd7alfK.js';
1
+ import { I as InternalApiClient, P as PaginationParams, T as TransactionStatus, B as BlindpayApiResponse, d as PayinTrackingTransaction, e as PayinTrackingPayment, f as PayinTrackingComplete, g as PayinTrackingPartnerFee, S as StablecoinToken, N as Network, h as PaginationMetadata } from '../../api-client-B7VQkM_4.js';
2
2
 
3
3
  type Payin = {
4
4
  receiver_id: string;
@@ -9,10 +9,10 @@ type Payin = {
9
9
  status: TransactionStatus;
10
10
  payin_quote_id: string;
11
11
  instance_id: string;
12
- tracking_transaction?: TrackingTransaction;
13
- tracking_payment?: TrackingPayment;
14
- tracking_complete?: TrackingComplete;
15
- tracking_partner_fee?: TrackingPartnerFee;
12
+ tracking_transaction?: PayinTrackingTransaction;
13
+ tracking_payment?: PayinTrackingPayment;
14
+ tracking_complete?: PayinTrackingComplete;
15
+ tracking_partner_fee?: PayinTrackingPartnerFee;
16
16
  created_at: string;
17
17
  updated_at: string;
18
18
  image_url?: string;
@@ -91,34 +91,10 @@ type GetPayinTrackResponse = {
91
91
  status: string;
92
92
  payin_quote_id: string;
93
93
  instance_id: string;
94
- tracking_transaction: {
95
- step: string;
96
- status: string;
97
- external_id: string;
98
- completed_at: string;
99
- sender_name: string;
100
- sender_tax_id: string;
101
- sender_bank_code: string;
102
- sender_account_number: string;
103
- trace_number: string;
104
- transaction_reference: string;
105
- description: string;
106
- };
107
- tracking_payment: {
108
- step: string;
109
- provider_name: string;
110
- completed_at: string;
111
- };
112
- tracking_complete: {
113
- step: string;
114
- transaction_hash: string;
115
- completed_at: string;
116
- };
117
- tracking_partner_fee: {
118
- step: string;
119
- transaction_hash: string;
120
- completed_at: string;
121
- };
94
+ tracking_transaction: PayinTrackingTransaction;
95
+ tracking_payment: PayinTrackingPayment;
96
+ tracking_complete: PayinTrackingComplete;
97
+ tracking_partner_fee: PayinTrackingPartnerFee;
122
98
  created_at: string;
123
99
  updated_at: string;
124
100
  image_url: string;
@@ -18702,7 +18702,7 @@ var import_expect_type = __toESM(require_dist(), 1);
18702
18702
  var import_svix = require("svix");
18703
18703
 
18704
18704
  // package.json
18705
- var version = "2.5.0";
18705
+ var version = "3.0.0";
18706
18706
 
18707
18707
  // src/internal/blindpay-error.ts
18708
18708
  var BlindPayError = class extends Error {
@@ -18967,6 +18967,14 @@ function createPayoutsResource(instanceId, client) {
18967
18967
  createEvm(_c) {
18968
18968
  var data = __objRest(_c, []);
18969
18969
  return client.post(`/instances/${instanceId}/payouts/evm`, data);
18970
+ },
18971
+ authorizeSolana(_d) {
18972
+ var data = __objRest(_d, []);
18973
+ return client.post(`/instances/${instanceId}/payouts/solana/authorize`, data);
18974
+ },
18975
+ createSolana(_e) {
18976
+ var data = __objRest(_e, []);
18977
+ return client.post(`/instances/${instanceId}/payouts/solana`, data);
18970
18978
  }
18971
18979
  };
18972
18980
  }
@@ -19059,30 +19067,40 @@ function createTermsOfServiceResource(instanceId, client) {
19059
19067
  // src/resources/virtual-accounts/index.ts
19060
19068
  function createVirtualAccountsResource(instanceId, client) {
19061
19069
  return {
19062
- update(_a3) {
19070
+ list(receiver_id) {
19071
+ return client.get(`/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts`);
19072
+ },
19073
+ get({
19074
+ receiver_id,
19075
+ id
19076
+ }) {
19077
+ return client.get(
19078
+ `/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts/${id}`
19079
+ );
19080
+ },
19081
+ create(_a3) {
19063
19082
  var _b = _a3, {
19064
19083
  receiver_id
19065
19084
  } = _b, data = __objRest(_b, [
19066
19085
  "receiver_id"
19067
19086
  ]);
19068
- return client.put(
19087
+ return client.post(
19069
19088
  `/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts`,
19070
19089
  data
19071
19090
  );
19072
19091
  },
19073
- create(_c) {
19092
+ update(_c) {
19074
19093
  var _d = _c, {
19075
- receiver_id
19094
+ receiver_id,
19095
+ id
19076
19096
  } = _d, data = __objRest(_d, [
19077
- "receiver_id"
19097
+ "receiver_id",
19098
+ "id"
19078
19099
  ]);
19079
- return client.post(
19080
- `/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts`,
19100
+ return client.put(
19101
+ `/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts/${id}`,
19081
19102
  data
19082
19103
  );
19083
- },
19084
- get(receiver_id) {
19085
- return client.get(`/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts`);
19086
19104
  }
19087
19105
  };
19088
19106
  }
@@ -8,21 +8,21 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-CEJF5Y4K.mjs";
12
- import "../../chunk-UC57SCKQ.mjs";
11
+ } from "../../chunk-WH2VNZE7.mjs";
13
12
  import "../../chunk-FG25JHDX.mjs";
14
13
  import "../../chunk-QGNLMN6Z.mjs";
14
+ import "../../chunk-UC57SCKQ.mjs";
15
15
  import "../../chunk-TBTA7A2P.mjs";
16
16
  import "../../chunk-67XECGMJ.mjs";
17
17
  import "../../chunk-Z6EYX4D3.mjs";
18
- import "../../chunk-5XJJKYXE.mjs";
19
- import "../../chunk-U7CKUUO7.mjs";
18
+ import "../../chunk-LEPGLH7Q.mjs";
20
19
  import "../../chunk-RC5NN5UF.mjs";
21
20
  import "../../chunk-W7NJUABI.mjs";
22
21
  import "../../chunk-VRA5HP7F.mjs";
23
- import "../../chunk-3QQCDR3E.mjs";
22
+ import "../../chunk-VBZHAPK7.mjs";
24
23
  import "../../chunk-LRHWT4JU.mjs";
25
24
  import "../../chunk-CPOSU35L.mjs";
25
+ import "../../chunk-U7CKUUO7.mjs";
26
26
  import "../../chunk-B5T7AQLH.mjs";
27
27
  import {
28
28
  __async,
@@ -18702,7 +18702,7 @@ var import_expect_type = __toESM(require_dist(), 1);
18702
18702
  var import_svix = require("svix");
18703
18703
 
18704
18704
  // package.json
18705
- var version = "2.5.0";
18705
+ var version = "3.0.0";
18706
18706
 
18707
18707
  // src/internal/blindpay-error.ts
18708
18708
  var BlindPayError = class extends Error {
@@ -18967,6 +18967,14 @@ function createPayoutsResource(instanceId, client) {
18967
18967
  createEvm(_c) {
18968
18968
  var data = __objRest(_c, []);
18969
18969
  return client.post(`/instances/${instanceId}/payouts/evm`, data);
18970
+ },
18971
+ authorizeSolana(_d) {
18972
+ var data = __objRest(_d, []);
18973
+ return client.post(`/instances/${instanceId}/payouts/solana/authorize`, data);
18974
+ },
18975
+ createSolana(_e) {
18976
+ var data = __objRest(_e, []);
18977
+ return client.post(`/instances/${instanceId}/payouts/solana`, data);
18970
18978
  }
18971
18979
  };
18972
18980
  }
@@ -19059,30 +19067,40 @@ function createTermsOfServiceResource(instanceId, client) {
19059
19067
  // src/resources/virtual-accounts/index.ts
19060
19068
  function createVirtualAccountsResource(instanceId, client) {
19061
19069
  return {
19062
- update(_a3) {
19070
+ list(receiver_id) {
19071
+ return client.get(`/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts`);
19072
+ },
19073
+ get({
19074
+ receiver_id,
19075
+ id
19076
+ }) {
19077
+ return client.get(
19078
+ `/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts/${id}`
19079
+ );
19080
+ },
19081
+ create(_a3) {
19063
19082
  var _b = _a3, {
19064
19083
  receiver_id
19065
19084
  } = _b, data = __objRest(_b, [
19066
19085
  "receiver_id"
19067
19086
  ]);
19068
- return client.put(
19087
+ return client.post(
19069
19088
  `/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts`,
19070
19089
  data
19071
19090
  );
19072
19091
  },
19073
- create(_c) {
19092
+ update(_c) {
19074
19093
  var _d = _c, {
19075
- receiver_id
19094
+ receiver_id,
19095
+ id
19076
19096
  } = _d, data = __objRest(_d, [
19077
- "receiver_id"
19097
+ "receiver_id",
19098
+ "id"
19078
19099
  ]);
19079
- return client.post(
19080
- `/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts`,
19100
+ return client.put(
19101
+ `/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts/${id}`,
19081
19102
  data
19082
19103
  );
19083
- },
19084
- get(receiver_id) {
19085
- return client.get(`/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts`);
19086
19104
  }
19087
19105
  };
19088
19106
  }
@@ -19386,20 +19404,38 @@ describe("Payins", () => {
19386
19404
  tracking_transaction: {
19387
19405
  step: "processing",
19388
19406
  status: "failed",
19389
- transaction_hash: "0x123...890",
19390
- completed_at: "2011-10-05T14:48:00.000Z"
19407
+ external_id: "12345678",
19408
+ completed_at: "2011-10-05T14:48:00.000Z",
19409
+ sender_name: "John Doe Smith",
19410
+ sender_tax_id: "123.456.789-10",
19411
+ sender_bank_code: "00416968",
19412
+ sender_account_number: "1234567890",
19413
+ trace_number: "1234567890",
19414
+ transaction_reference: "1234567890",
19415
+ description: "Payment from John Doe Smith",
19416
+ pse_instruction: {
19417
+ payment_link: "https://pse.example.com/payment/abc123",
19418
+ fid: "fid_abc123",
19419
+ full_name: "Juan P\xE9rez Garc\xEDa",
19420
+ tax_id: "1234567890",
19421
+ document_type: "CC",
19422
+ phone: "+573001234567",
19423
+ email: "juan@example.com",
19424
+ bank_code: "1007"
19425
+ },
19426
+ transfers_instruction: {
19427
+ account: "0000003100012389237485",
19428
+ type: "CVU",
19429
+ tax_id: "20123456783"
19430
+ }
19391
19431
  },
19392
19432
  tracking_payment: {
19393
19433
  step: "on_hold",
19394
19434
  provider_name: "blockchain",
19395
- provider_transaction_id: "tx_123456789",
19396
- provider_status: "confirmed",
19397
- estimated_time_of_arrival: "2011-10-05T15:00:00.000Z",
19398
19435
  completed_at: "2011-10-05T14:48:00.000Z"
19399
19436
  },
19400
19437
  tracking_complete: {
19401
19438
  step: "on_hold",
19402
- status: "completed",
19403
19439
  transaction_hash: "0x123...890",
19404
19440
  completed_at: "2011-10-05T14:48:00.000Z"
19405
19441
  },
@@ -19486,20 +19522,38 @@ describe("Payins", () => {
19486
19522
  tracking_transaction: {
19487
19523
  step: "processing",
19488
19524
  status: "failed",
19489
- transaction_hash: "0x123...890",
19490
- completed_at: "2011-10-05T14:48:00.000Z"
19525
+ external_id: "12345678",
19526
+ completed_at: "2011-10-05T14:48:00.000Z",
19527
+ sender_name: "John Doe Smith",
19528
+ sender_tax_id: "123.456.789-10",
19529
+ sender_bank_code: "00416968",
19530
+ sender_account_number: "1234567890",
19531
+ trace_number: "1234567890",
19532
+ transaction_reference: "1234567890",
19533
+ description: "Payment from John Doe Smith",
19534
+ pse_instruction: {
19535
+ payment_link: "https://pse.example.com/payment/abc123",
19536
+ fid: "fid_abc123",
19537
+ full_name: "Juan P\xE9rez Garc\xEDa",
19538
+ tax_id: "1234567890",
19539
+ document_type: "CC",
19540
+ phone: "+573001234567",
19541
+ email: "juan@example.com",
19542
+ bank_code: "1007"
19543
+ },
19544
+ transfers_instruction: {
19545
+ account: "0000003100012389237485",
19546
+ type: "CVU",
19547
+ tax_id: "20123456783"
19548
+ }
19491
19549
  },
19492
19550
  tracking_payment: {
19493
19551
  step: "on_hold",
19494
19552
  provider_name: "blockchain",
19495
- provider_transaction_id: "tx_123456789",
19496
- provider_status: "confirmed",
19497
- estimated_time_of_arrival: "2011-10-05T15:00:00.000Z",
19498
19553
  completed_at: "2011-10-05T14:48:00.000Z"
19499
19554
  },
19500
19555
  tracking_complete: {
19501
19556
  step: "on_hold",
19502
- status: "completed",
19503
19557
  transaction_hash: "0x123...890",
19504
19558
  completed_at: "2011-10-05T14:48:00.000Z"
19505
19559
  },
@@ -19587,7 +19641,22 @@ describe("Payins", () => {
19587
19641
  sender_account_number: "1234567890",
19588
19642
  trace_number: "1234567890",
19589
19643
  transaction_reference: "1234567890",
19590
- description: "Payment from John Doe Smith"
19644
+ description: "Payment from John Doe Smith",
19645
+ pse_instruction: {
19646
+ payment_link: "https://pse.example.com/payment/abc123",
19647
+ fid: "fid_abc123",
19648
+ full_name: "Juan P\xE9rez Garc\xEDa",
19649
+ tax_id: "1234567890",
19650
+ document_type: "CC",
19651
+ phone: "+573001234567",
19652
+ email: "juan@example.com",
19653
+ bank_code: "1007"
19654
+ },
19655
+ transfers_instruction: {
19656
+ account: "0000003100012389237485",
19657
+ type: "CVU",
19658
+ tax_id: "20123456783"
19659
+ }
19591
19660
  },
19592
19661
  tracking_payment: {
19593
19662
  step: "on_hold",
@@ -19676,20 +19745,38 @@ describe("Payins", () => {
19676
19745
  tracking_transaction: {
19677
19746
  step: "processing",
19678
19747
  status: "failed",
19679
- transaction_hash: "0x123...890",
19680
- completed_at: "2011-10-05T14:48:00.000Z"
19748
+ external_id: "12345678",
19749
+ completed_at: "2011-10-05T14:48:00.000Z",
19750
+ sender_name: "John Doe Smith",
19751
+ sender_tax_id: "123.456.789-10",
19752
+ sender_bank_code: "00416968",
19753
+ sender_account_number: "1234567890",
19754
+ trace_number: "1234567890",
19755
+ transaction_reference: "1234567890",
19756
+ description: "Payment from John Doe Smith",
19757
+ pse_instruction: {
19758
+ payment_link: "https://pse.example.com/payment/abc123",
19759
+ fid: "fid_abc123",
19760
+ full_name: "Juan P\xE9rez Garc\xEDa",
19761
+ tax_id: "1234567890",
19762
+ document_type: "CC",
19763
+ phone: "+573001234567",
19764
+ email: "juan@example.com",
19765
+ bank_code: "1007"
19766
+ },
19767
+ transfers_instruction: {
19768
+ account: "0000003100012389237485",
19769
+ type: "CVU",
19770
+ tax_id: "20123456783"
19771
+ }
19681
19772
  },
19682
19773
  tracking_payment: {
19683
19774
  step: "on_hold",
19684
19775
  provider_name: "blockchain",
19685
- provider_transaction_id: "tx_123456789",
19686
- provider_status: "confirmed",
19687
- estimated_time_of_arrival: "2011-10-05T15:00:00.000Z",
19688
19776
  completed_at: "2011-10-05T14:48:00.000Z"
19689
19777
  },
19690
19778
  tracking_complete: {
19691
19779
  step: "on_hold",
19692
- status: "completed",
19693
19780
  transaction_hash: "0x123...890",
19694
19781
  completed_at: "2011-10-05T14:48:00.000Z"
19695
19782
  },
@@ -19768,23 +19855,41 @@ describe("Payins", () => {
19768
19855
  clabe: "014027000000000008",
19769
19856
  tracking_complete: {
19770
19857
  step: "on_hold",
19771
- status: "completed",
19772
19858
  transaction_hash: "0x123...890",
19773
19859
  completed_at: "2011-10-05T14:48:00.000Z"
19774
19860
  },
19775
19861
  tracking_payment: {
19776
19862
  step: "on_hold",
19777
19863
  provider_name: "blockchain",
19778
- provider_transaction_id: "tx_123456789",
19779
- provider_status: "confirmed",
19780
- estimated_time_of_arrival: "2011-10-05T15:00:00.000Z",
19781
19864
  completed_at: "2011-10-05T14:48:00.000Z"
19782
19865
  },
19783
19866
  tracking_transaction: {
19784
19867
  step: "processing",
19785
19868
  status: "failed",
19786
- transaction_hash: "0x123...890",
19787
- completed_at: "2011-10-05T14:48:00.000Z"
19869
+ external_id: "12345678",
19870
+ completed_at: "2011-10-05T14:48:00.000Z",
19871
+ sender_name: "John Doe Smith",
19872
+ sender_tax_id: "123.456.789-10",
19873
+ sender_bank_code: "00416968",
19874
+ sender_account_number: "1234567890",
19875
+ trace_number: "1234567890",
19876
+ transaction_reference: "1234567890",
19877
+ description: "Payment from John Doe Smith",
19878
+ pse_instruction: {
19879
+ payment_link: "https://pse.example.com/payment/abc123",
19880
+ fid: "fid_abc123",
19881
+ full_name: "Juan P\xE9rez Garc\xEDa",
19882
+ tax_id: "1234567890",
19883
+ document_type: "CC",
19884
+ phone: "+573001234567",
19885
+ email: "juan@example.com",
19886
+ bank_code: "1007"
19887
+ },
19888
+ transfers_instruction: {
19889
+ account: "0000003100012389237485",
19890
+ type: "CVU",
19891
+ tax_id: "20123456783"
19892
+ }
19788
19893
  },
19789
19894
  tracking_partner_fee: {
19790
19895
  step: "on_hold",