cybrid_api_bank_ruby 0.71.71 → 0.72.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (178) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +5 -13
  4. data/cybrid_api_bank_ruby.gemspec +1 -1
  5. data/lib/cybrid_api_bank_ruby/api/accounts_bank_api.rb +1 -1
  6. data/lib/cybrid_api_bank_ruby/api/assets_bank_api.rb +1 -1
  7. data/lib/cybrid_api_bank_ruby/api/banks_bank_api.rb +1 -1
  8. data/lib/cybrid_api_bank_ruby/api/customers_bank_api.rb +1 -1
  9. data/lib/cybrid_api_bank_ruby/api/deposit_addresses_bank_api.rb +1 -1
  10. data/lib/cybrid_api_bank_ruby/api/external_bank_accounts_bank_api.rb +1 -1
  11. data/lib/cybrid_api_bank_ruby/api/external_wallets_bank_api.rb +1 -1
  12. data/lib/cybrid_api_bank_ruby/api/identity_verifications_bank_api.rb +1 -1
  13. data/lib/cybrid_api_bank_ruby/api/prices_bank_api.rb +1 -1
  14. data/lib/cybrid_api_bank_ruby/api/quotes_bank_api.rb +1 -1
  15. data/lib/cybrid_api_bank_ruby/api/rewards_bank_api.rb +1 -1
  16. data/lib/cybrid_api_bank_ruby/api/symbols_bank_api.rb +1 -1
  17. data/lib/cybrid_api_bank_ruby/api/trades_bank_api.rb +1 -1
  18. data/lib/cybrid_api_bank_ruby/api/transfers_bank_api.rb +1 -1
  19. data/lib/cybrid_api_bank_ruby/api/verification_keys_bank_api.rb +1 -1
  20. data/lib/cybrid_api_bank_ruby/api/workflows_bank_api.rb +1 -1
  21. data/lib/cybrid_api_bank_ruby/api_client.rb +1 -1
  22. data/lib/cybrid_api_bank_ruby/api_error.rb +1 -1
  23. data/lib/cybrid_api_bank_ruby/configuration.rb +1 -1
  24. data/lib/cybrid_api_bank_ruby/models/account_bank_model.rb +1 -1
  25. data/lib/cybrid_api_bank_ruby/models/account_list_bank_model.rb +1 -1
  26. data/lib/cybrid_api_bank_ruby/models/asset_bank_model.rb +1 -1
  27. data/lib/cybrid_api_bank_ruby/models/asset_list_bank_model.rb +1 -1
  28. data/lib/cybrid_api_bank_ruby/models/bank_bank_model.rb +1 -1
  29. data/lib/cybrid_api_bank_ruby/models/bank_list_bank_model.rb +1 -1
  30. data/lib/cybrid_api_bank_ruby/models/customer_bank_model.rb +1 -1
  31. data/lib/cybrid_api_bank_ruby/models/customer_list_bank_model.rb +1 -1
  32. data/lib/cybrid_api_bank_ruby/models/deposit_address_bank_model.rb +1 -1
  33. data/lib/cybrid_api_bank_ruby/models/deposit_address_list_bank_model.rb +1 -1
  34. data/lib/cybrid_api_bank_ruby/models/error_response_bank_model.rb +1 -1
  35. data/lib/cybrid_api_bank_ruby/models/external_bank_account_bank_model.rb +1 -1
  36. data/lib/cybrid_api_bank_ruby/models/external_bank_account_list_bank_model.rb +1 -1
  37. data/lib/cybrid_api_bank_ruby/models/external_wallet_bank_model.rb +1 -1
  38. data/lib/cybrid_api_bank_ruby/models/external_wallet_list_bank_model.rb +1 -1
  39. data/lib/cybrid_api_bank_ruby/models/identity_verification_bank_model.rb +1 -1
  40. data/lib/cybrid_api_bank_ruby/models/identity_verification_list_bank_model.rb +1 -1
  41. data/lib/cybrid_api_bank_ruby/models/identity_verification_with_details_all_of_bank_model.rb +1 -1
  42. data/lib/cybrid_api_bank_ruby/models/identity_verification_with_details_bank_model.rb +1 -1
  43. data/lib/cybrid_api_bank_ruby/models/patch_bank_bank_model.rb +1 -1
  44. data/lib/cybrid_api_bank_ruby/models/patch_external_bank_account_bank_model.rb +1 -1
  45. data/lib/cybrid_api_bank_ruby/models/post_account_bank_model.rb +1 -1
  46. data/lib/cybrid_api_bank_ruby/models/post_bank_bank_model.rb +1 -1
  47. data/lib/cybrid_api_bank_ruby/models/post_customer_address_bank_model.rb +1 -1
  48. data/lib/cybrid_api_bank_ruby/models/post_customer_bank_model.rb +1 -1
  49. data/lib/cybrid_api_bank_ruby/models/post_customer_name_bank_model.rb +1 -1
  50. data/lib/cybrid_api_bank_ruby/models/post_deposit_address_bank_model.rb +1 -1
  51. data/lib/cybrid_api_bank_ruby/models/post_external_bank_account_bank_model.rb +1 -1
  52. data/lib/cybrid_api_bank_ruby/models/post_external_wallet_bank_model.rb +1 -1
  53. data/lib/cybrid_api_bank_ruby/models/post_identification_number_bank_model.rb +1 -1
  54. data/lib/cybrid_api_bank_ruby/models/post_identity_verification_address_bank_model.rb +1 -1
  55. data/lib/cybrid_api_bank_ruby/models/post_identity_verification_bank_model.rb +1 -1
  56. data/lib/cybrid_api_bank_ruby/models/post_identity_verification_name_bank_model.rb +1 -1
  57. data/lib/cybrid_api_bank_ruby/models/post_one_time_address_bank_model.rb +1 -1
  58. data/lib/cybrid_api_bank_ruby/models/post_quote_bank_model.rb +1 -1
  59. data/lib/cybrid_api_bank_ruby/models/post_reward_bank_model.rb +1 -1
  60. data/lib/cybrid_api_bank_ruby/models/post_trade_bank_model.rb +1 -1
  61. data/lib/cybrid_api_bank_ruby/models/post_transfer_bank_model.rb +1 -1
  62. data/lib/cybrid_api_bank_ruby/models/post_verification_key_bank_model.rb +1 -1
  63. data/lib/cybrid_api_bank_ruby/models/post_workflow_bank_model.rb +1 -1
  64. data/lib/cybrid_api_bank_ruby/models/quote_bank_model.rb +1 -1
  65. data/lib/cybrid_api_bank_ruby/models/quote_list_bank_model.rb +1 -1
  66. data/lib/cybrid_api_bank_ruby/models/reward_bank_model.rb +1 -1
  67. data/lib/cybrid_api_bank_ruby/models/reward_list_bank_model.rb +1 -1
  68. data/lib/cybrid_api_bank_ruby/models/symbol_price_bank_model.rb +1 -1
  69. data/lib/cybrid_api_bank_ruby/models/trade_bank_model.rb +1 -1
  70. data/lib/cybrid_api_bank_ruby/models/trade_list_bank_model.rb +1 -1
  71. data/lib/cybrid_api_bank_ruby/models/transfer_bank_model.rb +1 -1
  72. data/lib/cybrid_api_bank_ruby/models/transfer_list_bank_model.rb +1 -1
  73. data/lib/cybrid_api_bank_ruby/models/verification_key_bank_model.rb +1 -1
  74. data/lib/cybrid_api_bank_ruby/models/verification_key_list_bank_model.rb +1 -1
  75. data/lib/cybrid_api_bank_ruby/models/workflow_bank_model.rb +1 -1
  76. data/lib/cybrid_api_bank_ruby/models/workflow_with_details_all_of_bank_model.rb +1 -1
  77. data/lib/cybrid_api_bank_ruby/models/workflow_with_details_bank_model.rb +1 -1
  78. data/lib/cybrid_api_bank_ruby/models/workflows_list_bank_model.rb +1 -1
  79. data/lib/cybrid_api_bank_ruby/version.rb +2 -2
  80. data/lib/cybrid_api_bank_ruby.rb +1 -7
  81. data/spec/api/accounts_bank_api_spec.rb +1 -1
  82. data/spec/api/assets_bank_api_spec.rb +1 -1
  83. data/spec/api/banks_bank_api_spec.rb +1 -1
  84. data/spec/api/customers_bank_api_spec.rb +1 -1
  85. data/spec/api/deposit_addresses_bank_api_spec.rb +1 -1
  86. data/spec/api/external_bank_accounts_bank_api_spec.rb +1 -1
  87. data/spec/api/external_wallets_bank_api_spec.rb +1 -1
  88. data/spec/api/identity_verifications_bank_api_spec.rb +1 -1
  89. data/spec/api/prices_bank_api_spec.rb +1 -1
  90. data/spec/api/quotes_bank_api_spec.rb +1 -1
  91. data/spec/api/rewards_bank_api_spec.rb +1 -1
  92. data/spec/api/symbols_bank_api_spec.rb +1 -1
  93. data/spec/api/trades_bank_api_spec.rb +1 -1
  94. data/spec/api/transfers_bank_api_spec.rb +1 -1
  95. data/spec/api/verification_keys_bank_api_spec.rb +1 -1
  96. data/spec/api/workflows_bank_api_spec.rb +1 -1
  97. data/spec/api_client_spec.rb +1 -1
  98. data/spec/configuration_spec.rb +1 -1
  99. data/spec/models/account_bank_model_spec.rb +1 -1
  100. data/spec/models/account_list_bank_model_spec.rb +1 -1
  101. data/spec/models/asset_bank_model_spec.rb +1 -1
  102. data/spec/models/asset_list_bank_model_spec.rb +1 -1
  103. data/spec/models/bank_bank_model_spec.rb +1 -1
  104. data/spec/models/bank_list_bank_model_spec.rb +1 -1
  105. data/spec/models/customer_bank_model_spec.rb +1 -1
  106. data/spec/models/customer_list_bank_model_spec.rb +1 -1
  107. data/spec/models/deposit_address_bank_model_spec.rb +1 -1
  108. data/spec/models/deposit_address_list_bank_model_spec.rb +1 -1
  109. data/spec/models/error_response_bank_model_spec.rb +1 -1
  110. data/spec/models/external_bank_account_bank_model_spec.rb +1 -1
  111. data/spec/models/external_bank_account_list_bank_model_spec.rb +1 -1
  112. data/spec/models/external_wallet_bank_model_spec.rb +1 -1
  113. data/spec/models/external_wallet_list_bank_model_spec.rb +1 -1
  114. data/spec/models/identity_verification_bank_model_spec.rb +1 -1
  115. data/spec/models/identity_verification_list_bank_model_spec.rb +1 -1
  116. data/spec/models/identity_verification_with_details_all_of_bank_model_spec.rb +1 -1
  117. data/spec/models/identity_verification_with_details_bank_model_spec.rb +1 -1
  118. data/spec/models/patch_bank_bank_model_spec.rb +1 -1
  119. data/spec/models/patch_external_bank_account_bank_model_spec.rb +1 -1
  120. data/spec/models/post_account_bank_model_spec.rb +1 -1
  121. data/spec/models/post_bank_bank_model_spec.rb +1 -1
  122. data/spec/models/post_customer_address_bank_model_spec.rb +1 -1
  123. data/spec/models/post_customer_bank_model_spec.rb +1 -1
  124. data/spec/models/post_customer_name_bank_model_spec.rb +1 -1
  125. data/spec/models/post_deposit_address_bank_model_spec.rb +1 -1
  126. data/spec/models/post_external_bank_account_bank_model_spec.rb +1 -1
  127. data/spec/models/post_external_wallet_bank_model_spec.rb +1 -1
  128. data/spec/models/post_identification_number_bank_model_spec.rb +1 -1
  129. data/spec/models/post_identity_verification_address_bank_model_spec.rb +1 -1
  130. data/spec/models/post_identity_verification_bank_model_spec.rb +1 -1
  131. data/spec/models/post_identity_verification_name_bank_model_spec.rb +1 -1
  132. data/spec/models/post_one_time_address_bank_model_spec.rb +1 -1
  133. data/spec/models/post_quote_bank_model_spec.rb +1 -1
  134. data/spec/models/post_reward_bank_model_spec.rb +1 -1
  135. data/spec/models/post_trade_bank_model_spec.rb +1 -1
  136. data/spec/models/post_transfer_bank_model_spec.rb +1 -1
  137. data/spec/models/post_verification_key_bank_model_spec.rb +1 -1
  138. data/spec/models/post_workflow_bank_model_spec.rb +1 -1
  139. data/spec/models/quote_bank_model_spec.rb +1 -1
  140. data/spec/models/quote_list_bank_model_spec.rb +1 -1
  141. data/spec/models/reward_bank_model_spec.rb +1 -1
  142. data/spec/models/reward_list_bank_model_spec.rb +1 -1
  143. data/spec/models/symbol_price_bank_model_spec.rb +1 -1
  144. data/spec/models/trade_bank_model_spec.rb +1 -1
  145. data/spec/models/trade_list_bank_model_spec.rb +1 -1
  146. data/spec/models/transfer_bank_model_spec.rb +1 -1
  147. data/spec/models/transfer_list_bank_model_spec.rb +1 -1
  148. data/spec/models/verification_key_bank_model_spec.rb +1 -1
  149. data/spec/models/verification_key_list_bank_model_spec.rb +1 -1
  150. data/spec/models/workflow_bank_model_spec.rb +1 -1
  151. data/spec/models/workflow_with_details_all_of_bank_model_spec.rb +1 -1
  152. data/spec/models/workflow_with_details_bank_model_spec.rb +1 -1
  153. data/spec/models/workflows_list_bank_model_spec.rb +1 -1
  154. data/spec/spec_helper.rb +1 -1
  155. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-11.1.3/gem_make.out +5 -5
  156. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/ffi-1.15.5/gem_make.out +5 -5
  157. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.6/gem_make.out +5 -5
  158. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.1.0/gem_make.out +5 -5
  159. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.0.7/gem_make.out +5 -5
  160. metadata +1 -25
  161. data/docs/AttestationDetailsBankModel.md +0 -20
  162. data/docs/IdentityRecordBankModel.md +0 -28
  163. data/docs/IdentityRecordListBankModel.md +0 -24
  164. data/docs/IdentityRecordsBankApi.md +0 -232
  165. data/docs/PostIdentityRecordAttestationDetailsBankModel.md +0 -18
  166. data/docs/PostIdentityRecordBankModel.md +0 -22
  167. data/lib/cybrid_api_bank_ruby/api/identity_records_bank_api.rb +0 -231
  168. data/lib/cybrid_api_bank_ruby/models/attestation_details_bank_model.rb +0 -277
  169. data/lib/cybrid_api_bank_ruby/models/identity_record_bank_model.rb +0 -352
  170. data/lib/cybrid_api_bank_ruby/models/identity_record_list_bank_model.rb +0 -328
  171. data/lib/cybrid_api_bank_ruby/models/post_identity_record_attestation_details_bank_model.rb +0 -244
  172. data/lib/cybrid_api_bank_ruby/models/post_identity_record_bank_model.rb +0 -316
  173. data/spec/api/identity_records_bank_api_spec.rb +0 -73
  174. data/spec/models/attestation_details_bank_model_spec.rb +0 -48
  175. data/spec/models/identity_record_bank_model_spec.rb +0 -68
  176. data/spec/models/identity_record_list_bank_model_spec.rb +0 -52
  177. data/spec/models/post_identity_record_attestation_details_bank_model_spec.rb +0 -34
  178. data/spec/models/post_identity_record_bank_model_spec.rb +0 -50
@@ -5,7 +5,7 @@ checking for yaml_get_version() in -lyaml... yes
5
5
  creating Makefile
6
6
 
7
7
  current directory: /home/circleci/project/api-service-clients/api-platform-bank/ruby/vendor/bundle/ruby/3.2.0/gems/psych-5.1.0/ext/psych
8
- make DESTDIR\= sitearchdir\=./.gem.20230607-3931-bx67sz sitelibdir\=./.gem.20230607-3931-bx67sz clean
8
+ make DESTDIR\= sitearchdir\=./.gem.20230607-3927-fiheo0 sitelibdir\=./.gem.20230607-3927-fiheo0 clean
9
9
  make[1]: Entering directory '/home/circleci/project/api-service-clients/api-platform-bank/ruby/vendor/bundle/ruby/3.2.0/gems/psych-5.1.0/ext/psych'
10
10
  cd libyaml && make clean
11
11
  /bin/sh: 1: cd: can't cd to libyaml
@@ -13,7 +13,7 @@ make[1]: [Makefile:283: clean-so] Error 2 (ignored)
13
13
  make[1]: Leaving directory '/home/circleci/project/api-service-clients/api-platform-bank/ruby/vendor/bundle/ruby/3.2.0/gems/psych-5.1.0/ext/psych'
14
14
 
15
15
  current directory: /home/circleci/project/api-service-clients/api-platform-bank/ruby/vendor/bundle/ruby/3.2.0/gems/psych-5.1.0/ext/psych
16
- make DESTDIR\= sitearchdir\=./.gem.20230607-3931-bx67sz sitelibdir\=./.gem.20230607-3931-bx67sz
16
+ make DESTDIR\= sitearchdir\=./.gem.20230607-3927-fiheo0 sitelibdir\=./.gem.20230607-3927-fiheo0
17
17
  make[1]: Entering directory '/home/circleci/project/api-service-clients/api-platform-bank/ruby/vendor/bundle/ruby/3.2.0/gems/psych-5.1.0/ext/psych'
18
18
  compiling psych.c
19
19
  compiling psych_emitter.c
@@ -24,13 +24,13 @@ linking shared-object psych.so
24
24
  make[1]: Leaving directory '/home/circleci/project/api-service-clients/api-platform-bank/ruby/vendor/bundle/ruby/3.2.0/gems/psych-5.1.0/ext/psych'
25
25
 
26
26
  current directory: /home/circleci/project/api-service-clients/api-platform-bank/ruby/vendor/bundle/ruby/3.2.0/gems/psych-5.1.0/ext/psych
27
- make DESTDIR\= sitearchdir\=./.gem.20230607-3931-bx67sz sitelibdir\=./.gem.20230607-3931-bx67sz install
27
+ make DESTDIR\= sitearchdir\=./.gem.20230607-3927-fiheo0 sitelibdir\=./.gem.20230607-3927-fiheo0 install
28
28
  make[1]: Entering directory '/home/circleci/project/api-service-clients/api-platform-bank/ruby/vendor/bundle/ruby/3.2.0/gems/psych-5.1.0/ext/psych'
29
- /usr/bin/install -c -m 0755 psych.so ./.gem.20230607-3931-bx67sz
29
+ /usr/bin/install -c -m 0755 psych.so ./.gem.20230607-3927-fiheo0
30
30
  make[1]: Leaving directory '/home/circleci/project/api-service-clients/api-platform-bank/ruby/vendor/bundle/ruby/3.2.0/gems/psych-5.1.0/ext/psych'
31
31
 
32
32
  current directory: /home/circleci/project/api-service-clients/api-platform-bank/ruby/vendor/bundle/ruby/3.2.0/gems/psych-5.1.0/ext/psych
33
- make DESTDIR\= sitearchdir\=./.gem.20230607-3931-bx67sz sitelibdir\=./.gem.20230607-3931-bx67sz clean
33
+ make DESTDIR\= sitearchdir\=./.gem.20230607-3927-fiheo0 sitelibdir\=./.gem.20230607-3927-fiheo0 clean
34
34
  make[1]: Entering directory '/home/circleci/project/api-service-clients/api-platform-bank/ruby/vendor/bundle/ruby/3.2.0/gems/psych-5.1.0/ext/psych'
35
35
  cd libyaml && make clean
36
36
  /bin/sh: 1: cd: can't cd to libyaml
@@ -3,24 +3,24 @@ current directory: /home/circleci/project/api-service-clients/api-platform-bank/
3
3
  creating Makefile
4
4
 
5
5
  current directory: /home/circleci/project/api-service-clients/api-platform-bank/ruby/vendor/bundle/ruby/3.2.0/gems/stringio-3.0.7/ext/stringio
6
- make DESTDIR\= sitearchdir\=./.gem.20230607-3931-4727di sitelibdir\=./.gem.20230607-3931-4727di clean
6
+ make DESTDIR\= sitearchdir\=./.gem.20230607-3927-ssm3ek sitelibdir\=./.gem.20230607-3927-ssm3ek clean
7
7
  make[1]: Entering directory '/home/circleci/project/api-service-clients/api-platform-bank/ruby/vendor/bundle/ruby/3.2.0/gems/stringio-3.0.7/ext/stringio'
8
8
  make[1]: Leaving directory '/home/circleci/project/api-service-clients/api-platform-bank/ruby/vendor/bundle/ruby/3.2.0/gems/stringio-3.0.7/ext/stringio'
9
9
 
10
10
  current directory: /home/circleci/project/api-service-clients/api-platform-bank/ruby/vendor/bundle/ruby/3.2.0/gems/stringio-3.0.7/ext/stringio
11
- make DESTDIR\= sitearchdir\=./.gem.20230607-3931-4727di sitelibdir\=./.gem.20230607-3931-4727di
11
+ make DESTDIR\= sitearchdir\=./.gem.20230607-3927-ssm3ek sitelibdir\=./.gem.20230607-3927-ssm3ek
12
12
  make[1]: Entering directory '/home/circleci/project/api-service-clients/api-platform-bank/ruby/vendor/bundle/ruby/3.2.0/gems/stringio-3.0.7/ext/stringio'
13
13
  compiling stringio.c
14
14
  linking shared-object stringio.so
15
15
  make[1]: Leaving directory '/home/circleci/project/api-service-clients/api-platform-bank/ruby/vendor/bundle/ruby/3.2.0/gems/stringio-3.0.7/ext/stringio'
16
16
 
17
17
  current directory: /home/circleci/project/api-service-clients/api-platform-bank/ruby/vendor/bundle/ruby/3.2.0/gems/stringio-3.0.7/ext/stringio
18
- make DESTDIR\= sitearchdir\=./.gem.20230607-3931-4727di sitelibdir\=./.gem.20230607-3931-4727di install
18
+ make DESTDIR\= sitearchdir\=./.gem.20230607-3927-ssm3ek sitelibdir\=./.gem.20230607-3927-ssm3ek install
19
19
  make[1]: Entering directory '/home/circleci/project/api-service-clients/api-platform-bank/ruby/vendor/bundle/ruby/3.2.0/gems/stringio-3.0.7/ext/stringio'
20
- /usr/bin/install -c -m 0755 stringio.so ./.gem.20230607-3931-4727di
20
+ /usr/bin/install -c -m 0755 stringio.so ./.gem.20230607-3927-ssm3ek
21
21
  make[1]: Leaving directory '/home/circleci/project/api-service-clients/api-platform-bank/ruby/vendor/bundle/ruby/3.2.0/gems/stringio-3.0.7/ext/stringio'
22
22
 
23
23
  current directory: /home/circleci/project/api-service-clients/api-platform-bank/ruby/vendor/bundle/ruby/3.2.0/gems/stringio-3.0.7/ext/stringio
24
- make DESTDIR\= sitearchdir\=./.gem.20230607-3931-4727di sitelibdir\=./.gem.20230607-3931-4727di clean
24
+ make DESTDIR\= sitearchdir\=./.gem.20230607-3927-ssm3ek sitelibdir\=./.gem.20230607-3927-ssm3ek clean
25
25
  make[1]: Entering directory '/home/circleci/project/api-service-clients/api-platform-bank/ruby/vendor/bundle/ruby/3.2.0/gems/stringio-3.0.7/ext/stringio'
26
26
  make[1]: Leaving directory '/home/circleci/project/api-service-clients/api-platform-bank/ruby/vendor/bundle/ruby/3.2.0/gems/stringio-3.0.7/ext/stringio'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cybrid_api_bank_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.71.71
4
+ version: 0.72.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cybrid
@@ -68,7 +68,6 @@ files:
68
68
  - docs/AssetBankModel.md
69
69
  - docs/AssetListBankModel.md
70
70
  - docs/AssetsBankApi.md
71
- - docs/AttestationDetailsBankModel.md
72
71
  - docs/BankBankModel.md
73
72
  - docs/BankListBankModel.md
74
73
  - docs/BanksBankApi.md
@@ -85,9 +84,6 @@ files:
85
84
  - docs/ExternalWalletBankModel.md
86
85
  - docs/ExternalWalletListBankModel.md
87
86
  - docs/ExternalWalletsBankApi.md
88
- - docs/IdentityRecordBankModel.md
89
- - docs/IdentityRecordListBankModel.md
90
- - docs/IdentityRecordsBankApi.md
91
87
  - docs/IdentityVerificationBankModel.md
92
88
  - docs/IdentityVerificationListBankModel.md
93
89
  - docs/IdentityVerificationWithDetailsAllOfBankModel.md
@@ -104,8 +100,6 @@ files:
104
100
  - docs/PostExternalBankAccountBankModel.md
105
101
  - docs/PostExternalWalletBankModel.md
106
102
  - docs/PostIdentificationNumberBankModel.md
107
- - docs/PostIdentityRecordAttestationDetailsBankModel.md
108
- - docs/PostIdentityRecordBankModel.md
109
103
  - docs/PostIdentityVerificationAddressBankModel.md
110
104
  - docs/PostIdentityVerificationBankModel.md
111
105
  - docs/PostIdentityVerificationNameBankModel.md
@@ -148,7 +142,6 @@ files:
148
142
  - lib/cybrid_api_bank_ruby/api/deposit_addresses_bank_api.rb
149
143
  - lib/cybrid_api_bank_ruby/api/external_bank_accounts_bank_api.rb
150
144
  - lib/cybrid_api_bank_ruby/api/external_wallets_bank_api.rb
151
- - lib/cybrid_api_bank_ruby/api/identity_records_bank_api.rb
152
145
  - lib/cybrid_api_bank_ruby/api/identity_verifications_bank_api.rb
153
146
  - lib/cybrid_api_bank_ruby/api/prices_bank_api.rb
154
147
  - lib/cybrid_api_bank_ruby/api/quotes_bank_api.rb
@@ -165,7 +158,6 @@ files:
165
158
  - lib/cybrid_api_bank_ruby/models/account_list_bank_model.rb
166
159
  - lib/cybrid_api_bank_ruby/models/asset_bank_model.rb
167
160
  - lib/cybrid_api_bank_ruby/models/asset_list_bank_model.rb
168
- - lib/cybrid_api_bank_ruby/models/attestation_details_bank_model.rb
169
161
  - lib/cybrid_api_bank_ruby/models/bank_bank_model.rb
170
162
  - lib/cybrid_api_bank_ruby/models/bank_list_bank_model.rb
171
163
  - lib/cybrid_api_bank_ruby/models/customer_bank_model.rb
@@ -177,8 +169,6 @@ files:
177
169
  - lib/cybrid_api_bank_ruby/models/external_bank_account_list_bank_model.rb
178
170
  - lib/cybrid_api_bank_ruby/models/external_wallet_bank_model.rb
179
171
  - lib/cybrid_api_bank_ruby/models/external_wallet_list_bank_model.rb
180
- - lib/cybrid_api_bank_ruby/models/identity_record_bank_model.rb
181
- - lib/cybrid_api_bank_ruby/models/identity_record_list_bank_model.rb
182
172
  - lib/cybrid_api_bank_ruby/models/identity_verification_bank_model.rb
183
173
  - lib/cybrid_api_bank_ruby/models/identity_verification_list_bank_model.rb
184
174
  - lib/cybrid_api_bank_ruby/models/identity_verification_with_details_all_of_bank_model.rb
@@ -194,8 +184,6 @@ files:
194
184
  - lib/cybrid_api_bank_ruby/models/post_external_bank_account_bank_model.rb
195
185
  - lib/cybrid_api_bank_ruby/models/post_external_wallet_bank_model.rb
196
186
  - lib/cybrid_api_bank_ruby/models/post_identification_number_bank_model.rb
197
- - lib/cybrid_api_bank_ruby/models/post_identity_record_attestation_details_bank_model.rb
198
- - lib/cybrid_api_bank_ruby/models/post_identity_record_bank_model.rb
199
187
  - lib/cybrid_api_bank_ruby/models/post_identity_verification_address_bank_model.rb
200
188
  - lib/cybrid_api_bank_ruby/models/post_identity_verification_bank_model.rb
201
189
  - lib/cybrid_api_bank_ruby/models/post_identity_verification_name_bank_model.rb
@@ -229,7 +217,6 @@ files:
229
217
  - spec/api/deposit_addresses_bank_api_spec.rb
230
218
  - spec/api/external_bank_accounts_bank_api_spec.rb
231
219
  - spec/api/external_wallets_bank_api_spec.rb
232
- - spec/api/identity_records_bank_api_spec.rb
233
220
  - spec/api/identity_verifications_bank_api_spec.rb
234
221
  - spec/api/prices_bank_api_spec.rb
235
222
  - spec/api/quotes_bank_api_spec.rb
@@ -245,7 +232,6 @@ files:
245
232
  - spec/models/account_list_bank_model_spec.rb
246
233
  - spec/models/asset_bank_model_spec.rb
247
234
  - spec/models/asset_list_bank_model_spec.rb
248
- - spec/models/attestation_details_bank_model_spec.rb
249
235
  - spec/models/bank_bank_model_spec.rb
250
236
  - spec/models/bank_list_bank_model_spec.rb
251
237
  - spec/models/customer_bank_model_spec.rb
@@ -257,8 +243,6 @@ files:
257
243
  - spec/models/external_bank_account_list_bank_model_spec.rb
258
244
  - spec/models/external_wallet_bank_model_spec.rb
259
245
  - spec/models/external_wallet_list_bank_model_spec.rb
260
- - spec/models/identity_record_bank_model_spec.rb
261
- - spec/models/identity_record_list_bank_model_spec.rb
262
246
  - spec/models/identity_verification_bank_model_spec.rb
263
247
  - spec/models/identity_verification_list_bank_model_spec.rb
264
248
  - spec/models/identity_verification_with_details_all_of_bank_model_spec.rb
@@ -274,8 +258,6 @@ files:
274
258
  - spec/models/post_external_bank_account_bank_model_spec.rb
275
259
  - spec/models/post_external_wallet_bank_model_spec.rb
276
260
  - spec/models/post_identification_number_bank_model_spec.rb
277
- - spec/models/post_identity_record_attestation_details_bank_model_spec.rb
278
- - spec/models/post_identity_record_bank_model_spec.rb
279
261
  - spec/models/post_identity_verification_address_bank_model_spec.rb
280
262
  - spec/models/post_identity_verification_bank_model_spec.rb
281
263
  - spec/models/post_identity_verification_name_bank_model_spec.rb
@@ -2775,7 +2757,6 @@ test_files:
2775
2757
  - spec/api/deposit_addresses_bank_api_spec.rb
2776
2758
  - spec/api/external_bank_accounts_bank_api_spec.rb
2777
2759
  - spec/api/external_wallets_bank_api_spec.rb
2778
- - spec/api/identity_records_bank_api_spec.rb
2779
2760
  - spec/api/identity_verifications_bank_api_spec.rb
2780
2761
  - spec/api/prices_bank_api_spec.rb
2781
2762
  - spec/api/quotes_bank_api_spec.rb
@@ -2791,7 +2772,6 @@ test_files:
2791
2772
  - spec/models/account_list_bank_model_spec.rb
2792
2773
  - spec/models/asset_bank_model_spec.rb
2793
2774
  - spec/models/asset_list_bank_model_spec.rb
2794
- - spec/models/attestation_details_bank_model_spec.rb
2795
2775
  - spec/models/bank_bank_model_spec.rb
2796
2776
  - spec/models/bank_list_bank_model_spec.rb
2797
2777
  - spec/models/customer_bank_model_spec.rb
@@ -2803,8 +2783,6 @@ test_files:
2803
2783
  - spec/models/external_bank_account_list_bank_model_spec.rb
2804
2784
  - spec/models/external_wallet_bank_model_spec.rb
2805
2785
  - spec/models/external_wallet_list_bank_model_spec.rb
2806
- - spec/models/identity_record_bank_model_spec.rb
2807
- - spec/models/identity_record_list_bank_model_spec.rb
2808
2786
  - spec/models/identity_verification_bank_model_spec.rb
2809
2787
  - spec/models/identity_verification_list_bank_model_spec.rb
2810
2788
  - spec/models/identity_verification_with_details_all_of_bank_model_spec.rb
@@ -2820,8 +2798,6 @@ test_files:
2820
2798
  - spec/models/post_external_bank_account_bank_model_spec.rb
2821
2799
  - spec/models/post_external_wallet_bank_model_spec.rb
2822
2800
  - spec/models/post_identification_number_bank_model_spec.rb
2823
- - spec/models/post_identity_record_attestation_details_bank_model_spec.rb
2824
- - spec/models/post_identity_record_bank_model_spec.rb
2825
2801
  - spec/models/post_identity_verification_address_bank_model_spec.rb
2826
2802
  - spec/models/post_identity_verification_bank_model_spec.rb
2827
2803
  - spec/models/post_identity_verification_name_bank_model_spec.rb
@@ -1,20 +0,0 @@
1
- # CybridApiBank::AttestationDetailsBankModel
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **state** | **String** | The state of an identity record attestation | [optional] |
8
- | **failure_code** | **String** | The failure code of an identity record attestation (if any) | [optional] |
9
-
10
- ## Example
11
-
12
- ```ruby
13
- require 'cybrid_api_bank_ruby'
14
-
15
- instance = CybridApiBank::AttestationDetailsBankModel.new(
16
- state: null,
17
- failure_code: null
18
- )
19
- ```
20
-
@@ -1,28 +0,0 @@
1
- # CybridApiBank::IdentityRecordBankModel
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **guid** | **String** | Auto-generated unique identifier for the identity record. | [optional] |
8
- | **customer_guid** | **String** | The customer's identifier. | [optional] |
9
- | **type** | **String** | The identity record's type. | [optional] |
10
- | **attestation_details** | [**AttestationDetailsBankModel**](AttestationDetailsBankModel.md) | | [optional] |
11
- | **created_at** | **Time** | ISO8601 datetime the record was created at. | [optional] |
12
- | **expired_at** | **Time** | ISO8601 datetime the record is expired at. | [optional] |
13
-
14
- ## Example
15
-
16
- ```ruby
17
- require 'cybrid_api_bank_ruby'
18
-
19
- instance = CybridApiBank::IdentityRecordBankModel.new(
20
- guid: null,
21
- customer_guid: null,
22
- type: null,
23
- attestation_details: null,
24
- created_at: null,
25
- expired_at: null
26
- )
27
- ```
28
-
@@ -1,24 +0,0 @@
1
- # CybridApiBank::IdentityRecordListBankModel
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **total** | **Integer** | The total number of records available. | |
8
- | **page** | **Integer** | The page index to retrieve. | |
9
- | **per_page** | **Integer** | The number of entities per page to return. | |
10
- | **objects** | [**Array<IdentityRecordBankModel>**](IdentityRecordBankModel.md) | | |
11
-
12
- ## Example
13
-
14
- ```ruby
15
- require 'cybrid_api_bank_ruby'
16
-
17
- instance = CybridApiBank::IdentityRecordListBankModel.new(
18
- total: null,
19
- page: null,
20
- per_page: null,
21
- objects: null
22
- )
23
- ```
24
-
@@ -1,232 +0,0 @@
1
- # CybridApiBank::IdentityRecordsBankApi
2
-
3
- All URIs are relative to *https://bank.sandbox.cybrid.app*
4
-
5
- | Method | HTTP request | Description |
6
- | ------ | ------------ | ----------- |
7
- | [**create_identity_record**](IdentityRecordsBankApi.md#create_identity_record) | **POST** /api/identity_records | Create Identity Record |
8
- | [**get_identity_record**](IdentityRecordsBankApi.md#get_identity_record) | **GET** /api/identity_records/{identity_record_guid} | Get Identity Record |
9
- | [**list_identity_records**](IdentityRecordsBankApi.md#list_identity_records) | **GET** /api/identity_records | List Identity Records |
10
-
11
-
12
- ## create_identity_record
13
-
14
- > <IdentityRecordBankModel> create_identity_record(post_identity_record_bank_model)
15
-
16
- Create Identity Record
17
-
18
- Creates an identity record. ## Identity Records Identity Records verify an individual for inclusion on the platform. This know-your-customer (KYC) process is a requirement for individuals to be able to transact. At present, we offer support for Attestation Identity Records. Once an Identity Record has been submitted, it will be reviewed by our system and transit through a lifecycle before ultimately being `verified` or `failed`. If an Identity Record is ends up `failed`, contextual information as to the reason may be provided on the resource and additional attempts can be made. ## Attestation Identity Records An Attestation Identity Record is a confirmation of fact that the Organization has completed their own KYC process and can vouch for its correctness. Prior to uploading `verified` attestation identity records, an Organization must register their signing public key with their Bank through the create Verification Key API. To create an attestation identity record, a signed JWT is required as proof that the Customer's identity has been verified by the Organization. When creating the JWT, the Organization must use the RS512 signing algorithm. The JWT must contain the following headers: - **alg**: The RS512 algorithm value, e.g., 'RS512'. - **kid**: Set to the guid of the verification key that has been registered for the Bank The JWT must contain the following claims: - **iss**: Set to http://api.cybrid.app/banks/{bank_guid} - **aud**: Set to http://api.cybrid.app - **sub**: Set to http://api.cybrid.app/customers/{customer_guid} - **iat**: Set to the time at which the JWT was issued - **exp**: Set to the time after which the JWT expires - **jti**: Set to a unique identifier for the JWT Example code (python) for generating an Attestation Identity Record JWT token: ```python # Assumes an RSA private key has been generated (`private_key`), a Verification Key has been created and a `verification_key_guid` is available. # # `customer_guid` should be set to the guid assigned to a Customer that has been created. # `bank_guid` should be set to the guid of your bank # import uuid from datetime import datetime, timezone, timedelta from jwcrypto import jwt, jwk from cryptography.hazmat.primitives import serialization from cryptography.hazmat.primitives.serialization import load_pem_private_key algorithm = 'RS512' issued_at = datetime.now(timezone.utc) expired_at = issued_at + timedelta(days=365) with open(\"verification_key.pem\", 'rb') as pem_in: pem_lines = pem_in.read() private_key = load_pem_private_key(pem_lines, None) ### DISCLAIMER:- Since NO ENCRYPTION is used in the key storage/formatting. Please DO NOT use this code in production environment. signing_key = jwk.JWK.from_pem( private_key.private_bytes( encoding=serialization.Encoding.PEM, format=serialization.PrivateFormat.PKCS8, encryption_algorithm=serialization.NoEncryption() ) ) signing_key.update({\"kid\": verification_key_guid}) attestation_jwt = jwt.JWT( header={ \"alg\": algorithm, \"kid\": verification_key_guid }, claims={ \"iss\": f\"http://api.cybrid.app/banks/{bank_guid}\", \"aud\": \"http://api.cybrid.app\", \"sub\": f\"http://api.cybrid.app/customers/{customer_guid}\", \"iat\": int(issued_at.timestamp()), \"exp\": int(expired_at.timestamp()), \"jti\": str(uuid.uuid4()) }, key=signing_key, algs=[algorithm] ) attestation_jwt.make_signed_token(signing_key) token = attestation_jwt.serialize(compact=True) print(\"Token is : \", token) ``` ## Default Attestation Signing Key The Cybrid Sandbox environment comes provisioned with a default signing key that can be used to perform identity record attestation. The default identity signing key provides a convenient starting point for testing Sandbox flows that require identity attestation, such as executing trades. The signing key can be loaded directly into a client application by passing its PEM encoded value as an environment variable. ``` -----BEGIN PRIVATE KEY----- MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQDZ75nSfJy/eeuj 4f7EK7i+n4FUDE8BsD/acCdk9Pn56suuDc3SFcMoyjBIoDLZkbRsVfmBEcPDNJOp GNqzoaXa7qe7Yw0qpK9MbNbAYxiyAfxwVHM+ZpwP6M/r3LmsCRFXgNdCjfOzok7u V59hDjfHMMQm/M9ztGVhaJpgozY/7DKk+R6qY/DEBs63eXwfcHE0u0NbS8Y9Qp+6 7cB2f1iuy++5Uut1vx4qdgZ4UFMkwIdTWl/e6LDcdXhk3///T5WOnDlI+S4rhGUO xsAOfOa+T9uqYBr2hbQR9emTEYmwF1lgZ7VU4S9sSjAMKpB/TVlVVOsNhdNSGg6f 6hu7fuadAgMBAAECggEBAMUJL1VyfHVRUY5VoPTTYrBVnaPTjQrFwrVHeRZ5thgS BBxVNqSeMFgMlSLUU6UJasoX4QCkgw1V17qmUfTeTQlnhBaTMzA+vI6oSHCgJ4+o 5AbbE2Zzdt2ba4Cfiu7TM+6c+gGePZtHP32Vku84340jtfRZ1WWSz6YF4K1GYqHe y7I4POotHu2WcSTXYKs2zTu5KAO7gvx7yITVytaiUGUHk9FNyZPDIh0u7e9CAEti BangdYTfvbXAIx9lrg3XQ4gtFXTd0aY/3R9K3SE+s5iWh/SabjV4U7x+MuHZS5kv 8rcLCPQ5kUgiF4bQMy7QznUuNso65SbRJKHaU8UAuIECgYEA7+bNdz/uiN/JxUJY 3xwjD+CG4vXOyEmCioBjllYBeXQyB/VrsdzVrdF2JiECnStPRH6/6nd7/wUcLORv NyrQqnCa5/O8Kv9Z3t4TmxYf+ECIgx+gazehQHptUkr8QWtxceorUC9pu4cUJ8z3 nQLCggHYQ3g7xj73LLZ+5QQBC8kCgYEA6I91Dgs+HZWDMMcGbKV2cMkXK8BTOgZZ 6B6i6flO4tf9U2CPBZsjYLBN5EEuxxy9Yl7rlV7CxAhnnjdIKk2jQbzTPI0qmJfp 397rvdR8bur1OkALj2Tb39fz8z1Qy7AcN8siqXuortZZ5OI9XRWgnG/3B4gUFOnW 4Mr0dhfaxjUCgYEAmVcricehjneMnrtz1thDSQi47yUzES57dE/wV82Nj7ZHrHKg bcW8ByhVnrWG2DMwrZVe0l2hMjZv9fnlZJvHWMo1GYHfipRBO4UzfvO7Z5DIMRfs D9w1A+O9MNahOqeUkb2eBdjoemcy6OXId+Gltje7phSaEHN6xme34GaYzJECgYBP eRbLYdQsT/exJ5JudmzvRgkBDoxie+EljbKmumfW5XDQmWLGy6lfVWCI7C2MJaoi f8WKGgP88dJXIxUqP7XWtSyKuMMhumhV9Nwi1wZe8TQ0X8aTjigFassXCJEfymMa PfTubi/K771wlk/aC5YDX8/PZxVVwEOKNlEsOiKtMQKBgQDqRv5AUHhabqcMfbs7 DTeo/fS/eXJv8MN+CUU2RSrNUKjEdHT2R5KP550TyXr1JXLKpEEZu8wvvaQDV4Dw p0Eij6bKsh03X38NR+C5SxonXPosdvoiXR8uUgya2f/aJYV+aWZ9euFgYZAXf/0Q MnWdKylfZlV50XP2KFn07wPs7w== -----END PRIVATE KEY----- ``` A corresponding public verification key can be retrieved from the Cybrid Banks API using the `/api/bank_verification_keys` endpoint. Performing a `get` request to this endpoint returns the available Verification Key records, the first of which is the provisioned default. The endpoint can be hit directly or by using the Cybrid Banks API client: ```python ... api_client = cybrid_api_bank.ApiClient(configuration) api_instance = verification_keys_bank_api.VerificationKeysBankApi(api_client) verification_keys = api_instance.list_verification_keys() verification_key = verification_keys.objects[0] ``` Once available to the application, the signing key and Verification Key record can be used in conjunction to create the attestation JWT. The Verification Key's GUID is passed as the JWT's `kid` while the signing key is used to sign the JWT. ## Attestation State | State | Description | |-------|-------------| | storing | The Platform is storing the attestation in our private store | | pending | The Platform is verifying the attestation's JWT | | verified | The Platform has verified the attestation and the customer is able to transact | | failed | The Platform was not able to verify the attestation and the customer is not able to transact | Required scope: **customers:write**
19
-
20
- ### Examples
21
-
22
- ```ruby
23
- require 'time'
24
- require 'cybrid_api_bank_ruby'
25
- # setup authorization
26
- CybridApiBank.configure do |config|
27
- # Configure Bearer authorization (JWT): BearerAuth
28
- config.access_token = 'YOUR_BEARER_TOKEN'
29
-
30
- # Configure OAuth2 access token for authorization: oauth2
31
- config.access_token = 'YOUR ACCESS TOKEN'
32
- end
33
-
34
- api_instance = CybridApiBank::IdentityRecordsBankApi.new
35
- post_identity_record_bank_model = CybridApiBank::PostIdentityRecordBankModel.new({customer_guid: 'customer_guid_example', type: 'attestation', attestation_details: CybridApiBank::PostIdentityRecordAttestationDetailsBankModel.new}) # PostIdentityRecordBankModel |
36
-
37
- begin
38
- # Create Identity Record
39
- result = api_instance.create_identity_record(post_identity_record_bank_model)
40
- p result
41
- rescue CybridApiBank::ApiError => e
42
- puts "Error when calling IdentityRecordsBankApi->create_identity_record: #{e}"
43
- end
44
- ```
45
-
46
- #### Using the create_identity_record_with_http_info variant
47
-
48
- This returns an Array which contains the response data, status code and headers.
49
-
50
- > <Array(<IdentityRecordBankModel>, Integer, Hash)> create_identity_record_with_http_info(post_identity_record_bank_model)
51
-
52
- ```ruby
53
- begin
54
- # Create Identity Record
55
- data, status_code, headers = api_instance.create_identity_record_with_http_info(post_identity_record_bank_model)
56
- p status_code # => 2xx
57
- p headers # => { ... }
58
- p data # => <IdentityRecordBankModel>
59
- rescue CybridApiBank::ApiError => e
60
- puts "Error when calling IdentityRecordsBankApi->create_identity_record_with_http_info: #{e}"
61
- end
62
- ```
63
-
64
- ### Parameters
65
-
66
- | Name | Type | Description | Notes |
67
- | ---- | ---- | ----------- | ----- |
68
- | **post_identity_record_bank_model** | [**PostIdentityRecordBankModel**](PostIdentityRecordBankModel.md) | | |
69
-
70
- ### Return type
71
-
72
- [**IdentityRecordBankModel**](IdentityRecordBankModel.md)
73
-
74
- ### Authorization
75
-
76
- [BearerAuth](../README.md#BearerAuth), [oauth2](../README.md#oauth2)
77
-
78
- ### HTTP request headers
79
-
80
- - **Content-Type**: application/json
81
- - **Accept**: application/json
82
-
83
-
84
- ## get_identity_record
85
-
86
- > <IdentityRecordBankModel> get_identity_record(identity_record_guid)
87
-
88
- Get Identity Record
89
-
90
- Retrieves an identity record. Required scope: **customers:read**
91
-
92
- ### Examples
93
-
94
- ```ruby
95
- require 'time'
96
- require 'cybrid_api_bank_ruby'
97
- # setup authorization
98
- CybridApiBank.configure do |config|
99
- # Configure Bearer authorization (JWT): BearerAuth
100
- config.access_token = 'YOUR_BEARER_TOKEN'
101
-
102
- # Configure OAuth2 access token for authorization: oauth2
103
- config.access_token = 'YOUR ACCESS TOKEN'
104
- end
105
-
106
- api_instance = CybridApiBank::IdentityRecordsBankApi.new
107
- identity_record_guid = 'identity_record_guid_example' # String | Identifier for the identity record.
108
-
109
- begin
110
- # Get Identity Record
111
- result = api_instance.get_identity_record(identity_record_guid)
112
- p result
113
- rescue CybridApiBank::ApiError => e
114
- puts "Error when calling IdentityRecordsBankApi->get_identity_record: #{e}"
115
- end
116
- ```
117
-
118
- #### Using the get_identity_record_with_http_info variant
119
-
120
- This returns an Array which contains the response data, status code and headers.
121
-
122
- > <Array(<IdentityRecordBankModel>, Integer, Hash)> get_identity_record_with_http_info(identity_record_guid)
123
-
124
- ```ruby
125
- begin
126
- # Get Identity Record
127
- data, status_code, headers = api_instance.get_identity_record_with_http_info(identity_record_guid)
128
- p status_code # => 2xx
129
- p headers # => { ... }
130
- p data # => <IdentityRecordBankModel>
131
- rescue CybridApiBank::ApiError => e
132
- puts "Error when calling IdentityRecordsBankApi->get_identity_record_with_http_info: #{e}"
133
- end
134
- ```
135
-
136
- ### Parameters
137
-
138
- | Name | Type | Description | Notes |
139
- | ---- | ---- | ----------- | ----- |
140
- | **identity_record_guid** | **String** | Identifier for the identity record. | |
141
-
142
- ### Return type
143
-
144
- [**IdentityRecordBankModel**](IdentityRecordBankModel.md)
145
-
146
- ### Authorization
147
-
148
- [BearerAuth](../README.md#BearerAuth), [oauth2](../README.md#oauth2)
149
-
150
- ### HTTP request headers
151
-
152
- - **Content-Type**: Not defined
153
- - **Accept**: application/json
154
-
155
-
156
- ## list_identity_records
157
-
158
- > <IdentityRecordListBankModel> list_identity_records(opts)
159
-
160
- List Identity Records
161
-
162
- Retrieves a listing of identity records for a bank. Required scope: **customers:read**
163
-
164
- ### Examples
165
-
166
- ```ruby
167
- require 'time'
168
- require 'cybrid_api_bank_ruby'
169
- # setup authorization
170
- CybridApiBank.configure do |config|
171
- # Configure Bearer authorization (JWT): BearerAuth
172
- config.access_token = 'YOUR_BEARER_TOKEN'
173
-
174
- # Configure OAuth2 access token for authorization: oauth2
175
- config.access_token = 'YOUR ACCESS TOKEN'
176
- end
177
-
178
- api_instance = CybridApiBank::IdentityRecordsBankApi.new
179
- opts = {
180
- customer_guid: 'customer_guid_example', # String | Comma separated customer identifier to list identity records for.
181
- page: 56, # Integer |
182
- per_page: 56 # Integer |
183
- }
184
-
185
- begin
186
- # List Identity Records
187
- result = api_instance.list_identity_records(opts)
188
- p result
189
- rescue CybridApiBank::ApiError => e
190
- puts "Error when calling IdentityRecordsBankApi->list_identity_records: #{e}"
191
- end
192
- ```
193
-
194
- #### Using the list_identity_records_with_http_info variant
195
-
196
- This returns an Array which contains the response data, status code and headers.
197
-
198
- > <Array(<IdentityRecordListBankModel>, Integer, Hash)> list_identity_records_with_http_info(opts)
199
-
200
- ```ruby
201
- begin
202
- # List Identity Records
203
- data, status_code, headers = api_instance.list_identity_records_with_http_info(opts)
204
- p status_code # => 2xx
205
- p headers # => { ... }
206
- p data # => <IdentityRecordListBankModel>
207
- rescue CybridApiBank::ApiError => e
208
- puts "Error when calling IdentityRecordsBankApi->list_identity_records_with_http_info: #{e}"
209
- end
210
- ```
211
-
212
- ### Parameters
213
-
214
- | Name | Type | Description | Notes |
215
- | ---- | ---- | ----------- | ----- |
216
- | **customer_guid** | **String** | Comma separated customer identifier to list identity records for. | [optional] |
217
- | **page** | **Integer** | | [optional] |
218
- | **per_page** | **Integer** | | [optional] |
219
-
220
- ### Return type
221
-
222
- [**IdentityRecordListBankModel**](IdentityRecordListBankModel.md)
223
-
224
- ### Authorization
225
-
226
- [BearerAuth](../README.md#BearerAuth), [oauth2](../README.md#oauth2)
227
-
228
- ### HTTP request headers
229
-
230
- - **Content-Type**: Not defined
231
- - **Accept**: application/json
232
-
@@ -1,18 +0,0 @@
1
- # CybridApiBank::PostIdentityRecordAttestationDetailsBankModel
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **token** | **String** | Customer attestation token. | [optional] |
8
-
9
- ## Example
10
-
11
- ```ruby
12
- require 'cybrid_api_bank_ruby'
13
-
14
- instance = CybridApiBank::PostIdentityRecordAttestationDetailsBankModel.new(
15
- token: null
16
- )
17
- ```
18
-
@@ -1,22 +0,0 @@
1
- # CybridApiBank::PostIdentityRecordBankModel
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **customer_guid** | **String** | The customer&#39;s identifier. | |
8
- | **type** | **String** | The identity record&#39;s type. | |
9
- | **attestation_details** | [**PostIdentityRecordAttestationDetailsBankModel**](PostIdentityRecordAttestationDetailsBankModel.md) | | |
10
-
11
- ## Example
12
-
13
- ```ruby
14
- require 'cybrid_api_bank_ruby'
15
-
16
- instance = CybridApiBank::PostIdentityRecordBankModel.new(
17
- customer_guid: null,
18
- type: null,
19
- attestation_details: null
20
- )
21
- ```
22
-