didit-sdk 2.35.0 → 2.36.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 64451cf7f43e0874045cc8d8431c373427b6ee09be5474a57f8db68bdaefa360
4
- data.tar.gz: 659d6ae80bb6d1d4bbcdf3430936875bc68a925e56082b4c83d7f80f5c1ba97d
3
+ metadata.gz: e7d50b5954c429ca72570decc50a9e633504b165530aea049c5f32ed2be4f534
4
+ data.tar.gz: e72437078d76cf62b433bb50cb5064619a0a6761e51aadd88c60a587ba9f0929
5
5
  SHA512:
6
- metadata.gz: b40608aa6b6efdbc13c5be90f1d11fd79ce0040577f15b89c87277fe348f21e3d30235d369db49510873e2943ea6c5e4502f1354ee291ad5352e17a5a5ca4dc9
7
- data.tar.gz: 07adf859caf7529b9bbac3a7d11801d6657ee576c45edb4733d65e4ccff0b51cb7d38a842ec3e1adcafdf15dba5ba3f81e8e03db0937fe0afb4e0769d3b9b917
6
+ metadata.gz: 58137fdd16fbe566b8de1cd5e2a085fb3e1eea352a392bbd7b801a20d4740627c4553f76c7a2601c23079280bf5a68a4da71851d826ed3b532fd9b29b6dbd662
7
+ data.tar.gz: d2d88e632f111d30423b989dc4b172f170b71bc03451fc1997da941fc801a52982032814c5bc6f3044b528f53520ce1d34de3e44a753c5b74ba140ae7f4e7cd5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,41 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.36.0](https://github.com/didit-protocol/sdk-ruby/compare/v2.35.0...v2.36.0) (2026-11-23)
4
+
5
+
6
+ ### API changes that can break typed code
7
+
8
+ * **spec:** `phone.check_code` (`POST /v3/phone/check/`): request body `code`: now required ([205e062](https://github.com/didit-protocol/sdk-ruby/commit/205e0624750809cc5ac62a8e82d52579e918896c))
9
+ * **spec:** `phone.check_code` (`POST /v3/phone/check/`): request body `factor_id`: removed ([205e062](https://github.com/didit-protocol/sdk-ruby/commit/205e0624750809cc5ac62a8e82d52579e918896c))
10
+ * **spec:** `phone.check_code` (`POST /v3/phone/check/`): request body `phone_number`: now required ([205e062](https://github.com/didit-protocol/sdk-ruby/commit/205e0624750809cc5ac62a8e82d52579e918896c))
11
+ * **spec:** `phone.check_code` (`POST /v3/phone/check/`): request body: type changed from any to object ([205e062](https://github.com/didit-protocol/sdk-ruby/commit/205e0624750809cc5ac62a8e82d52579e918896c))
12
+ * **spec:** `phone.check_code` (`POST /v3/phone/check/`): request body: type changed: 1 anyOf variant(s) removed ([205e062](https://github.com/didit-protocol/sdk-ruby/commit/205e0624750809cc5ac62a8e82d52579e918896c))
13
+ * **spec:** `phone.check_code` (`POST /v3/phone/check/`): response `status`: no longer always present ([205e062](https://github.com/didit-protocol/sdk-ruby/commit/205e0624750809cc5ac62a8e82d52579e918896c))
14
+ * **spec:** `phone.check_code` (`POST /v3/phone/check/`): response: type changed: 1 oneOf variant(s) removed ([205e062](https://github.com/didit-protocol/sdk-ruby/commit/205e0624750809cc5ac62a8e82d52579e918896c))
15
+ * **spec:** `phone.factors.create` (`POST /v3/phone/factors/`) was removed upstream; the method is deprecated and kept through version 2.36.0 ([205e062](https://github.com/didit-protocol/sdk-ruby/commit/205e0624750809cc5ac62a8e82d52579e918896c))
16
+ * **spec:** `phone.factors.delete` (`DELETE /v3/phone/factors/{factor_id}/`) was removed upstream; the method is deprecated and kept through version 2.36.0 ([205e062](https://github.com/didit-protocol/sdk-ruby/commit/205e0624750809cc5ac62a8e82d52579e918896c))
17
+ * **spec:** `phone.factors.list` (`GET /v3/phone/factors/`) was removed upstream; the method is deprecated and kept through version 2.36.0 ([205e062](https://github.com/didit-protocol/sdk-ruby/commit/205e0624750809cc5ac62a8e82d52579e918896c))
18
+ * **spec:** `phone.factors.retrieve` (`GET /v3/phone/factors/{factor_id}/`) was removed upstream; the method is deprecated and kept through version 2.36.0 ([205e062](https://github.com/didit-protocol/sdk-ruby/commit/205e0624750809cc5ac62a8e82d52579e918896c))
19
+ * **spec:** `phone.factors.update` (`PATCH /v3/phone/factors/{factor_id}/`) was removed upstream; the method is deprecated and kept through version 2.36.0 ([205e062](https://github.com/didit-protocol/sdk-ruby/commit/205e0624750809cc5ac62a8e82d52579e918896c))
20
+ * **spec:** `phone.network.registrations.create` (`POST /v3/phone/network/registrations/`) was removed upstream; the method is deprecated and kept through version 2.36.0 ([205e062](https://github.com/didit-protocol/sdk-ruby/commit/205e0624750809cc5ac62a8e82d52579e918896c))
21
+ * **spec:** `phone.network.registrations.list` (`GET /v3/phone/network/registrations/`) was removed upstream; the method is deprecated and kept through version 2.36.0 ([205e062](https://github.com/didit-protocol/sdk-ruby/commit/205e0624750809cc5ac62a8e82d52579e918896c))
22
+ * **spec:** `phone.network.registrations.retrieve` (`GET /v3/phone/network/registrations/{registration_id}/`) was removed upstream; the method is deprecated and kept through version 2.36.0 ([205e062](https://github.com/didit-protocol/sdk-ruby/commit/205e0624750809cc5ac62a8e82d52579e918896c))
23
+ * **spec:** `phone.network.registrations.test_numbers.create` (`POST /v3/phone/network/registrations/{registration_id}/test-numbers/`) was removed upstream; the method is deprecated and kept through version 2.36.0 ([205e062](https://github.com/didit-protocol/sdk-ruby/commit/205e0624750809cc5ac62a8e82d52579e918896c))
24
+ * **spec:** `phone.network.registrations.test_numbers.delete` (`DELETE /v3/phone/network/registrations/{registration_id}/test-numbers/{phone_number}/`) was removed upstream; the method is deprecated and kept through version 2.36.0 ([205e062](https://github.com/didit-protocol/sdk-ruby/commit/205e0624750809cc5ac62a8e82d52579e918896c))
25
+ * **spec:** `phone.sdk_keys.create` (`POST /v3/phone/sdk-keys/`) was removed upstream; the method is deprecated and kept through version 2.36.0 ([205e062](https://github.com/didit-protocol/sdk-ruby/commit/205e0624750809cc5ac62a8e82d52579e918896c))
26
+ * **spec:** `phone.sdk_keys.list` (`GET /v3/phone/sdk-keys/`) was removed upstream; the method is deprecated and kept through version 2.36.0 ([205e062](https://github.com/didit-protocol/sdk-ruby/commit/205e0624750809cc5ac62a8e82d52579e918896c))
27
+ * **spec:** `phone.sdk_keys.revoke` (`DELETE /v3/phone/sdk-keys/{key_id}/`) was removed upstream; the method is deprecated and kept through version 2.36.0 ([205e062](https://github.com/didit-protocol/sdk-ruby/commit/205e0624750809cc5ac62a8e82d52579e918896c))
28
+ * **spec:** `phone.sdk_keys.rotate` (`POST /v3/phone/sdk-keys/{key_id}/rotate/`) was removed upstream; the method is deprecated and kept through version 2.36.0 ([205e062](https://github.com/didit-protocol/sdk-ruby/commit/205e0624750809cc5ac62a8e82d52579e918896c))
29
+ * **spec:** `phone.silent.coverage` (`GET /v3/phone/silent/coverage/`) was removed upstream; the method is deprecated and kept through version 2.36.0 ([205e062](https://github.com/didit-protocol/sdk-ruby/commit/205e0624750809cc5ac62a8e82d52579e918896c))
30
+ * **spec:** `phone.silent.eligibility` (`POST /v3/phone/silent/eligibility/`) was removed upstream; the method is deprecated and kept through version 2.36.0 ([205e062](https://github.com/didit-protocol/sdk-ruby/commit/205e0624750809cc5ac62a8e82d52579e918896c))
31
+ * **spec:** `phone.silent.registrations.create` (`POST /v3/phone/silent/registrations/`) was removed upstream; the method is deprecated and kept through version 2.36.0 ([205e062](https://github.com/didit-protocol/sdk-ruby/commit/205e0624750809cc5ac62a8e82d52579e918896c))
32
+ * **spec:** `phone.silent.registrations.retrieve` (`GET /v3/phone/silent/registrations/{registration_id}/`) was removed upstream; the method is deprecated and kept through version 2.36.0 ([205e062](https://github.com/didit-protocol/sdk-ruby/commit/205e0624750809cc5ac62a8e82d52579e918896c))
33
+
34
+
35
+ ### Features
36
+
37
+ * **spec:** sync API spec 2026-11-23 ([205e062](https://github.com/didit-protocol/sdk-ruby/commit/205e0624750809cc5ac62a8e82d52579e918896c))
38
+
3
39
  ## [2.35.0](https://github.com/didit-protocol/sdk-ruby/compare/v2.34.0...v2.35.0) (2026-11-23)
4
40
 
5
41
 
@@ -122,9 +122,9 @@ module Didit
122
122
  # by the browser. History: send `history_from` or `history_days`, not both. Where the bank allows, ongoing
123
123
  # access keeps working until the consent ends; the real date is on each connection.
124
124
  #
125
- # Needs an API key with the Bank data permission (`bank-data`): write for this operation, which changes
126
- # something. A key with full access does not include it: grant it explicitly when you create the key, or the
127
- # call answers `403 bank_data_access_denied`.
125
+ # Needs an API key with write access to Bank data, because this operation changes something: a full-access key
126
+ # has it, and a scoped key needs `bank-data` write in its scopes. Otherwise the call answers `403
127
+ # bank_data_access_denied`.
128
128
  #
129
129
  # +POST /v3/bank/links/+
130
130
  #
@@ -169,7 +169,7 @@ module Didit
169
169
  # @param language [String] Optional. One of the [supported languages](/integration/supported-languages), the
170
170
  # same codes the `language` of the session API takes, for example `es`, `pt`, `pt-BR` or `zh-CN` (`pt-PT` is not
171
171
  # one of them). The match is exact and case-sensitive (`ES` and `pt-PT` are refused). A code outside that list
172
- # answers `400 invalid_request` with `field: language`. Otherwise the browser language.
172
+ # answers `400 invalid_request` with `field: language`. The language of the hosted page and of the...
173
173
  # @param vendor_data [String] Your own reference, returned on the link and the connection.
174
174
  # @param expires_in [Integer] Lifetime of the link in seconds, 300 to 86400. Default 3600.
175
175
  # @param duplicates [String] `reuse` (default) completes a link that resolves to accounts you already share as a
@@ -263,9 +263,9 @@ module Didit
263
263
  # already downloaded, which is your own copy. Repeating the call is safe. To stop access without deleting, use
264
264
  # `revoke_connection`.
265
265
  #
266
- # Needs an API key with the Bank data permission (`bank-data`): write for this operation, which changes
267
- # something. A key with full access does not include it: grant it explicitly when you create the key, or the
268
- # call answers `403 bank_data_access_denied`.
266
+ # Needs an API key with write access to Bank data, because this operation changes something: a full-access key
267
+ # has it, and a scoped key needs `bank-data` write in its scopes. Otherwise the call answers `403
268
+ # bank_data_access_denied`.
269
269
  #
270
270
  # +DELETE /v3/bank/connections/{id}/+
271
271
  #
@@ -290,10 +290,10 @@ module Didit
290
290
  # bank delivered of the history you asked for. `sync.last_synced_at` is when the data was fetched from the bank,
291
291
  # not when you read it.
292
292
  #
293
- # Needs an API key with the Bank data permission (`bank-data`): read for this operation. A key with full access
294
- # does not include it: grant it explicitly when you create the key, or the call answers `403
295
- # bank_data_access_denied`. A sandbox application reads its Test Bank data with the key alone. A request without
296
- # an API key (client credentials) is refused on raw data with the same `403`.
293
+ # Needs an API key with read access to Bank data: a full-access key has it, and a scoped key needs `bank-data`
294
+ # read in its scopes. Otherwise the call answers `403 bank_data_access_denied`. A sandbox application reads its
295
+ # Test Bank data with the key alone. A request without an API key (client credentials) is refused on raw data
296
+ # with the same `403`.
297
297
  #
298
298
  # +GET /v3/bank/accounts/{account_id}/+
299
299
  #
@@ -314,10 +314,10 @@ module Didit
314
314
  #
315
315
  # Returns the typed balances of an account with their reference dates. Balances are replaced at each sync.
316
316
  #
317
- # Needs an API key with the Bank data permission (`bank-data`): read for this operation. A key with full access
318
- # does not include it: grant it explicitly when you create the key, or the call answers `403
319
- # bank_data_access_denied`. A sandbox application reads its Test Bank data with the key alone. A request without
320
- # an API key (client credentials) is refused on raw data with the same `403`.
317
+ # Needs an API key with read access to Bank data: a full-access key has it, and a scoped key needs `bank-data`
318
+ # read in its scopes. Otherwise the call answers `403 bank_data_access_denied`. A sandbox application reads its
319
+ # Test Bank data with the key alone. A request without an API key (client credentials) is refused on raw data
320
+ # with the same `403`.
321
321
  #
322
322
  # +GET /v3/bank/accounts/{account_id}/balances/+
323
323
  #
@@ -341,9 +341,8 @@ module Didit
341
341
  # its id, `status: deleted`, the reason, its dates and its `erasure` status, and no accounts, balances,
342
342
  # transactions, consent or sync data.
343
343
  #
344
- # Needs an API key with the Bank data permission (`bank-data`): read for this operation. A key with full access
345
- # does not include it: grant it explicitly when you create the key, or the call answers `403
346
- # bank_data_access_denied`.
344
+ # Needs an API key with read access to Bank data: a full-access key has it, and a scoped key needs `bank-data`
345
+ # read in its scopes. Otherwise the call answers `403 bank_data_access_denied`.
347
346
  #
348
347
  # +GET /v3/bank/connections/{id}/+
349
348
  #
@@ -367,9 +366,8 @@ module Didit
367
366
  # and whether business accounts are supported. Ongoing access is counted only where a bank is switched on for
368
367
  # it. Use it to decide which countries to offer; use `list_institutions` for a single bank.
369
368
  #
370
- # Needs an API key with the Bank data permission (`bank-data`): read for this operation. A key with full access
371
- # does not include it: grant it explicitly when you create the key, or the call answers `403
372
- # bank_data_access_denied`.
369
+ # Needs an API key with read access to Bank data: a full-access key has it, and a scoped key needs `bank-data`
370
+ # read in its scopes. Otherwise the call answers `403 bank_data_access_denied`.
373
371
  #
374
372
  # +GET /v3/bank/coverage/+
375
373
  #
@@ -388,9 +386,8 @@ module Didit
388
386
  #
389
387
  # Returns one bank with its capabilities. The id is Didit's slug, as listed by `list_institutions`.
390
388
  #
391
- # Needs an API key with the Bank data permission (`bank-data`): read for this operation. A key with full access
392
- # does not include it: grant it explicitly when you create the key, or the call answers `403
393
- # bank_data_access_denied`.
389
+ # Needs an API key with read access to Bank data: a full-access key has it, and a scoped key needs `bank-data`
390
+ # read in its scopes. Otherwise the call answers `403 bank_data_access_denied`.
394
391
  #
395
392
  # +GET /v3/bank/institutions/{id}/+
396
393
  #
@@ -417,9 +414,8 @@ module Didit
417
414
  # example `duplicate_conflict` with `conflicts_with`. `url` and `client_token` are returned only when the link
418
415
  # is created.
419
416
  #
420
- # Needs an API key with the Bank data permission (`bank-data`): read for this operation. A key with full access
421
- # does not include it: grant it explicitly when you create the key, or the call answers `403
422
- # bank_data_access_denied`.
417
+ # Needs an API key with read access to Bank data: a full-access key has it, and a scoped key needs `bank-data`
418
+ # read in its scopes. Otherwise the call answers `403 bank_data_access_denied`.
423
419
  #
424
420
  # +GET /v3/bank/links/{id}/+
425
421
  #
@@ -440,9 +436,8 @@ module Didit
440
436
  #
441
437
  # Returns one sync run with its results per account and resource.
442
438
  #
443
- # Needs an API key with the Bank data permission (`bank-data`): read for this operation. A key with full access
444
- # does not include it: grant it explicitly when you create the key, or the call answers `403
445
- # bank_data_access_denied`.
439
+ # Needs an API key with read access to Bank data: a full-access key has it, and a scoped key needs `bank-data`
440
+ # read in its scopes. Otherwise the call answers `403 bank_data_access_denied`.
446
441
  #
447
442
  # +GET /v3/bank/connections/{id}/sync-runs/{sync_id}/+
448
443
  #
@@ -464,10 +459,10 @@ module Didit
464
459
  #
465
460
  # Lists every account of the connection, oldest first, with full identifiers and holders. A read never bills.
466
461
  #
467
- # Needs an API key with the Bank data permission (`bank-data`): read for this operation. A key with full access
468
- # does not include it: grant it explicitly when you create the key, or the call answers `403
469
- # bank_data_access_denied`. A sandbox application reads its Test Bank data with the key alone. A request without
470
- # an API key (client credentials) is refused on raw data with the same `403`.
462
+ # Needs an API key with read access to Bank data: a full-access key has it, and a scoped key needs `bank-data`
463
+ # read in its scopes. Otherwise the call answers `403 bank_data_access_denied`. A sandbox application reads its
464
+ # Test Bank data with the key alone. A request without an API key (client credentials) is refused on raw data
465
+ # with the same `403`.
471
466
  #
472
467
  # +GET /v3/bank/connections/{id}/accounts/+
473
468
  #
@@ -501,9 +496,8 @@ module Didit
501
496
  # carries no bank data, and reading it by id returns the same minimal record (`id`, `status`, `status_reason`,
502
497
  # `created_at` and `erasure`).
503
498
  #
504
- # Needs an API key with the Bank data permission (`bank-data`): read for this operation. A key with full access
505
- # does not include it: grant it explicitly when you create the key, or the call answers `403
506
- # bank_data_access_denied`.
499
+ # Needs an API key with read access to Bank data: a full-access key has it, and a scoped key needs `bank-data`
500
+ # read in its scopes. Otherwise the call answers `403 bank_data_access_denied`.
507
501
  #
508
502
  # In this list `sync.budgets` shows only the budgets that exist already; `GET /v3/bank/connections/{id}/` opens
509
503
  # today's budgets.
@@ -565,9 +559,8 @@ module Didit
565
559
  # `null`. The same data feeds the bank picker, so use it to know what to expect before you create a link.
566
560
  # `access` lists `ongoing` only where ongoing access is available.
567
561
  #
568
- # Needs an API key with the Bank data permission (`bank-data`): read for this operation. A key with full access
569
- # does not include it: grant it explicitly when you create the key, or the call answers `403
570
- # bank_data_access_denied`.
562
+ # Needs an API key with read access to Bank data: a full-access key has it, and a scoped key needs `bank-data`
563
+ # read in its scopes. Otherwise the call answers `403 bank_data_access_denied`.
571
564
  #
572
565
  # The list is sorted by name, then id.
573
566
  #
@@ -614,9 +607,8 @@ module Didit
614
607
  #
615
608
  # Lists what each sync of a connection did, newest first, per account and resource.
616
609
  #
617
- # Needs an API key with the Bank data permission (`bank-data`): read for this operation. A key with full access
618
- # does not include it: grant it explicitly when you create the key, or the call answers `403
619
- # bank_data_access_denied`.
610
+ # Needs an API key with read access to Bank data: a full-access key has it, and a scoped key needs `bank-data`
611
+ # read in its scopes. Otherwise the call answers `403 bank_data_access_denied`.
620
612
  #
621
613
  # +GET /v3/bank/connections/{id}/sync-runs/+
622
614
  #
@@ -655,10 +647,10 @@ module Didit
655
647
  #
656
648
  # Response headers: `X-Bank-Last-Synced-At` and `Cache-Control: no-store`.
657
649
  #
658
- # Needs an API key with the Bank data permission (`bank-data`): read for this operation. A key with full access
659
- # does not include it: grant it explicitly when you create the key, or the call answers `403
660
- # bank_data_access_denied`. A sandbox application reads its Test Bank data with the key alone. A request without
661
- # an API key (client credentials) is refused on raw data with the same `403`.
650
+ # Needs an API key with read access to Bank data: a full-access key has it, and a scoped key needs `bank-data`
651
+ # read in its scopes. Otherwise the call answers `403 bank_data_access_denied`. A sandbox application reads its
652
+ # Test Bank data with the key alone. A request without an API key (client credentials) is refused on raw data
653
+ # with the same `403`.
662
654
  #
663
655
  # +GET /v3/bank/accounts/{account_id}/transactions/+
664
656
  #
@@ -716,9 +708,9 @@ module Didit
716
708
  #
717
709
  # When a sync stores changes, `bank.data.updated` tells you; then read the change feed.
718
710
  #
719
- # Needs an API key with the Bank data permission (`bank-data`): write for this operation, which changes
720
- # something. A key with full access does not include it: grant it explicitly when you create the key, or the
721
- # call answers `403 bank_data_access_denied`.
711
+ # Needs an API key with write access to Bank data, because this operation changes something: a full-access key
712
+ # has it, and a scoped key needs `bank-data` write in its scopes. Otherwise the call answers `403
713
+ # bank_data_access_denied`.
722
714
  #
723
715
  # Refreshing a deleted connection answers `409 connection_not_active`. A one-time connection is read once and
724
716
  # its access then ends, so refreshing it answers `409 one_time_connection`: create a new link to read the bank
@@ -764,9 +756,9 @@ module Didit
764
756
  # Until the consent has 30 days left or fewer it answers `409 renewal_not_needed`; after
765
757
  # `consent.renewable_until` it answers `409 renewal_window_expired` and the person connects again.
766
758
  #
767
- # Needs an API key with the Bank data permission (`bank-data`): write for this operation, which changes
768
- # something. A key with full access does not include it: grant it explicitly when you create the key, or the
769
- # call answers `403 bank_data_access_denied`.
759
+ # Needs an API key with write access to Bank data, because this operation changes something: a full-access key
760
+ # has it, and a scoped key needs `bank-data` write in its scopes. Otherwise the call answers `403
761
+ # bank_data_access_denied`.
770
762
  #
771
763
  # +POST /v3/bank/connections/{id}/renew/+
772
764
  #
@@ -779,7 +771,7 @@ module Didit
779
771
  # @param language [String] Optional. One of the [supported languages](/integration/supported-languages), the
780
772
  # same codes the `language` of the session API takes, for example `es`, `pt`, `pt-BR` or `zh-CN` (`pt-PT` is not
781
773
  # one of them). The match is exact and case-sensitive (`ES` and `pt-PT` are refused). A code outside that list
782
- # answers `400 invalid_request` with `field: language`.
774
+ # answers `400 invalid_request` with `field: language`. The language of the hosted page and of the...
783
775
  # @param expires_in [Integer] Lifetime in seconds, 300 to 86400.
784
776
  # @param idempotency_key [String] sent as the Idempotency-Key header
785
777
  # @param request_options [Hash, nil] :timeout, :max_retries, :extra_headers, :extra_query, :extra_body
@@ -821,9 +813,9 @@ module Didit
821
813
  # `consent.retain_until`, the retention setting of your application, and nothing is charged. To delete them now,
822
814
  # call `delete_connection`. Repeating the call returns the current state.
823
815
  #
824
- # Needs an API key with the Bank data permission (`bank-data`): write for this operation, which changes
825
- # something. A key with full access does not include it: grant it explicitly when you create the key, or the
826
- # call answers `403 bank_data_access_denied`.
816
+ # Needs an API key with write access to Bank data, because this operation changes something: a full-access key
817
+ # has it, and a scoped key needs `bank-data` write in its scopes. Otherwise the call answers `403
818
+ # bank_data_access_denied`.
827
819
  #
828
820
  # Revoking a connection that was deleted answers `200` with the deleted connection, so repeating the call is
829
821
  # safe.
@@ -883,10 +875,10 @@ module Didit
883
875
  # `days` is only accepted with `consent_expiring` and `count` only with `new_transactions`: sent with another
884
876
  # action, each answers `400 invalid_request` with `field` naming it.
885
877
  #
886
- # Needs an API key with the Bank data permission (`bank-data`): write for this operation, which changes
887
- # something. A key with full access does not include it: grant it explicitly when you create the key, or the
888
- # call answers `403 bank_data_access_denied`. Sandbox only: a live application, or a link or connection that
889
- # belongs to the live environment, answers `404 not_found`, exactly as an unknown route does.
878
+ # Needs an API key with write access to Bank data, because this operation changes something: a full-access key
879
+ # has it, and a scoped key needs `bank-data` write in its scopes. Otherwise the call answers `403
880
+ # bank_data_access_denied`. Sandbox only: a live application, or a link or connection that belongs to the live
881
+ # environment, answers `404 not_found`, exactly as an unknown route does.
890
882
  #
891
883
  # +POST /v3/bank/connections/{id}/simulate/+
892
884
  #
@@ -935,10 +927,10 @@ module Didit
935
927
  # access and finishes in the same call. A link that is no longer open (completed, cancelled, expired or failed)
936
928
  # is returned unchanged, so the call is safe to repeat.
937
929
  #
938
- # Needs an API key with the Bank data permission (`bank-data`): write for this operation, which changes
939
- # something. A key with full access does not include it: grant it explicitly when you create the key, or the
940
- # call answers `403 bank_data_access_denied`. Sandbox only: a live application, or a link or connection that
941
- # belongs to the live environment, answers `404 not_found`, exactly as an unknown route does.
930
+ # Needs an API key with write access to Bank data, because this operation changes something: a full-access key
931
+ # has it, and a scoped key needs `bank-data` write in its scopes. Otherwise the call answers `403
932
+ # bank_data_access_denied`. Sandbox only: a live application, or a link or connection that belongs to the live
933
+ # environment, answers `404 not_found`, exactly as an unknown route does.
942
934
  #
943
935
  # +POST /v3/bank/links/{id}/simulate/+
944
936
  #
@@ -988,10 +980,10 @@ module Didit
988
980
  # pending transaction appears in `added` and the pending one in `removed` with `reason: pending_booked`. Webhook
989
981
  # `bank.data.updated` tells you when to call.
990
982
  #
991
- # Needs an API key with the Bank data permission (`bank-data`): read for this operation. A key with full access
992
- # does not include it: grant it explicitly when you create the key, or the call answers `403
993
- # bank_data_access_denied`. A sandbox application reads its Test Bank data with the key alone. A request without
994
- # an API key (client credentials) is refused on raw data with the same `403`.
983
+ # Needs an API key with read access to Bank data: a full-access key has it, and a scoped key needs `bank-data`
984
+ # read in its scopes. Otherwise the call answers `403 bank_data_access_denied`. A sandbox application reads its
985
+ # Test Bank data with the key alone. A request without an API key (client credentials) is refused on raw data
986
+ # with the same `403`.
995
987
  #
996
988
  # +GET /v3/bank/connections/{id}/transactions/sync/+
997
989
  #