wire4_client 0.0.1.pre.SNAPSHOT

Sign up to get free protection for your applications and to get access to all the features.
Files changed (187) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +7 -0
  3. data/Gemfile.lock +69 -0
  4. data/README.md +188 -0
  5. data/Rakefile +8 -0
  6. data/docs/Account.md +18 -0
  7. data/docs/AccountRequest.md +10 -0
  8. data/docs/AccountResponse.md +18 -0
  9. data/docs/AccountSpid.md +19 -0
  10. data/docs/AmountRequest.md +10 -0
  11. data/docs/Balance.md +10 -0
  12. data/docs/BalanceListResponse.md +8 -0
  13. data/docs/BeneficiariesResponse.md +8 -0
  14. data/docs/BeneficiaryInstitution.md +8 -0
  15. data/docs/Billing.md +16 -0
  16. data/docs/BillingTransaction.md +15 -0
  17. data/docs/CepResponse.md +28 -0
  18. data/docs/CepSearchBanxico.md +15 -0
  19. data/docs/ComprobanteElectrnicoDePagoCEPApi.md +61 -0
  20. data/docs/ContactRequest.md +12 -0
  21. data/docs/ContactoApi.md +60 -0
  22. data/docs/CuentasDeBeneficiariosSPEIApi.md +342 -0
  23. data/docs/CuentasDeBeneficiariosSPIDApi.md +62 -0
  24. data/docs/Deposit.md +27 -0
  25. data/docs/Depositant.md +12 -0
  26. data/docs/DepositantesApi.md +117 -0
  27. data/docs/DepositantsRegister.md +11 -0
  28. data/docs/DepositantsResponse.md +8 -0
  29. data/docs/ErrorResponse.md +9 -0
  30. data/docs/FacturasApi.md +115 -0
  31. data/docs/GetDepositants.md +8 -0
  32. data/docs/InstitucionesApi.md +53 -0
  33. data/docs/Institution.md +11 -0
  34. data/docs/InstitutionsList.md +8 -0
  35. data/docs/MessageAccountBeneficiary.md +10 -0
  36. data/docs/MessageCEP.md +28 -0
  37. data/docs/MessageDepositReceived.md +27 -0
  38. data/docs/MessageInstitution.md +11 -0
  39. data/docs/MessagePayment.md +25 -0
  40. data/docs/MessageSubscription.md +12 -0
  41. data/docs/MessageWebHook.md +16 -0
  42. data/docs/Payment.md +24 -0
  43. data/docs/Person.md +10 -0
  44. data/docs/PreEnrollmentData.md +9 -0
  45. data/docs/PreEnrollmentResponse.md +9 -0
  46. data/docs/Relationship.md +9 -0
  47. data/docs/RelationshipsResponse.md +8 -0
  48. data/docs/SaldoApi.md +61 -0
  49. data/docs/SpidClassificationDTO.md +9 -0
  50. data/docs/SpidClassificationsResponseDTO.md +8 -0
  51. data/docs/SuscripcionesApi.md +165 -0
  52. data/docs/Timestamp.md +17 -0
  53. data/docs/TokenRequiredResponse.md +9 -0
  54. data/docs/TransactionOutgoing.md +14 -0
  55. data/docs/TransactionOutgoingSpid.md +17 -0
  56. data/docs/TransactionsOutgoingRegister.md +10 -0
  57. data/docs/TransferenciasSPEIApi.md +229 -0
  58. data/docs/TransferenciasSPIDApi.md +117 -0
  59. data/docs/WebhookRequest.md +10 -0
  60. data/docs/WebhookResponse.md +13 -0
  61. data/docs/WebhooksApi.md +161 -0
  62. data/docs/WebhooksList.md +8 -0
  63. data/git_push.sh +55 -0
  64. data/lib/wire4_client.rb +96 -0
  65. data/lib/wire4_client/api/comprobante_electrnico_de_pago_cep_api.rb +77 -0
  66. data/lib/wire4_client/api/contacto_api.rb +76 -0
  67. data/lib/wire4_client/api/cuentas_de_beneficiarios_spei_api.rb +453 -0
  68. data/lib/wire4_client/api/cuentas_de_beneficiarios_spid_api.rb +93 -0
  69. data/lib/wire4_client/api/depositantes_api.rb +159 -0
  70. data/lib/wire4_client/api/facturas_api.rb +124 -0
  71. data/lib/wire4_client/api/instituciones_api.rb +67 -0
  72. data/lib/wire4_client/api/saldo_api.rb +87 -0
  73. data/lib/wire4_client/api/suscripciones_api.rb +203 -0
  74. data/lib/wire4_client/api/transferencias_spei_api.rb +307 -0
  75. data/lib/wire4_client/api/transferencias_spid_api.rb +155 -0
  76. data/lib/wire4_client/api/webhooks_api.rb +175 -0
  77. data/lib/wire4_client/api_client.rb +389 -0
  78. data/lib/wire4_client/api_error.rb +38 -0
  79. data/lib/wire4_client/configuration.rb +223 -0
  80. data/lib/wire4_client/models/account.rb +345 -0
  81. data/lib/wire4_client/models/account_request.rb +217 -0
  82. data/lib/wire4_client/models/account_response.rb +345 -0
  83. data/lib/wire4_client/models/account_spid.rb +388 -0
  84. data/lib/wire4_client/models/amount_request.rb +258 -0
  85. data/lib/wire4_client/models/balance.rb +205 -0
  86. data/lib/wire4_client/models/balance_list_response.rb +187 -0
  87. data/lib/wire4_client/models/beneficiaries_response.rb +186 -0
  88. data/lib/wire4_client/models/beneficiary_institution.rb +185 -0
  89. data/lib/wire4_client/models/billing.rb +300 -0
  90. data/lib/wire4_client/models/billing_transaction.rb +289 -0
  91. data/lib/wire4_client/models/cep_response.rb +384 -0
  92. data/lib/wire4_client/models/cep_search_banxico.rb +373 -0
  93. data/lib/wire4_client/models/contact_request.rb +272 -0
  94. data/lib/wire4_client/models/deposit.rb +374 -0
  95. data/lib/wire4_client/models/depositant.rb +227 -0
  96. data/lib/wire4_client/models/depositants_register.rb +315 -0
  97. data/lib/wire4_client/models/depositants_response.rb +184 -0
  98. data/lib/wire4_client/models/error_response.rb +192 -0
  99. data/lib/wire4_client/models/get_depositants.rb +192 -0
  100. data/lib/wire4_client/models/institution.rb +215 -0
  101. data/lib/wire4_client/models/institutions_list.rb +186 -0
  102. data/lib/wire4_client/models/message_account_beneficiary.rb +205 -0
  103. data/lib/wire4_client/models/message_cep.rb +385 -0
  104. data/lib/wire4_client/models/message_deposit_received.rb +375 -0
  105. data/lib/wire4_client/models/message_institution.rb +215 -0
  106. data/lib/wire4_client/models/message_payment.rb +354 -0
  107. data/lib/wire4_client/models/message_subscription.rb +225 -0
  108. data/lib/wire4_client/models/message_web_hook.rb +265 -0
  109. data/lib/wire4_client/models/payment.rb +344 -0
  110. data/lib/wire4_client/models/person.rb +220 -0
  111. data/lib/wire4_client/models/pre_enrollment_data.rb +260 -0
  112. data/lib/wire4_client/models/pre_enrollment_response.rb +194 -0
  113. data/lib/wire4_client/models/relationship.rb +194 -0
  114. data/lib/wire4_client/models/relationships_response.rb +186 -0
  115. data/lib/wire4_client/models/spid_classification_dto.rb +195 -0
  116. data/lib/wire4_client/models/spid_classifications_response_dto.rb +186 -0
  117. data/lib/wire4_client/models/timestamp.rb +264 -0
  118. data/lib/wire4_client/models/token_required_response.rb +195 -0
  119. data/lib/wire4_client/models/transaction_outgoing.rb +380 -0
  120. data/lib/wire4_client/models/transaction_outgoing_spid.rb +425 -0
  121. data/lib/wire4_client/models/transactions_outgoing_register.rb +222 -0
  122. data/lib/wire4_client/models/webhook_request.rb +222 -0
  123. data/lib/wire4_client/models/webhook_response.rb +271 -0
  124. data/lib/wire4_client/models/webhooks_list.rb +186 -0
  125. data/lib/wire4_client/version.rb +15 -0
  126. data/spec/api/comprobante_electrnico_de_pago_cep_api_spec.rb +47 -0
  127. data/spec/api/contacto_api_spec.rb +47 -0
  128. data/spec/api/cuentas_de_beneficiarios_spei_api_spec.rb +113 -0
  129. data/spec/api/cuentas_de_beneficiarios_spid_api_spec.rb +47 -0
  130. data/spec/api/depositantes_api_spec.rb +60 -0
  131. data/spec/api/facturas_api_spec.rb +59 -0
  132. data/spec/api/instituciones_api_spec.rb +45 -0
  133. data/spec/api/saldo_api_spec.rb +47 -0
  134. data/spec/api/suscripciones_api_spec.rb +71 -0
  135. data/spec/api/transferencias_spei_api_spec.rb +86 -0
  136. data/spec/api/transferencias_spid_api_spec.rb +60 -0
  137. data/spec/api/webhooks_api_spec.rb +70 -0
  138. data/spec/api_client_spec.rb +226 -0
  139. data/spec/configuration_spec.rb +42 -0
  140. data/spec/models/account_request_spec.rb +53 -0
  141. data/spec/models/account_response_spec.rb +101 -0
  142. data/spec/models/account_spec.rb +101 -0
  143. data/spec/models/account_spid_spec.rb +107 -0
  144. data/spec/models/amount_request_spec.rb +53 -0
  145. data/spec/models/balance_list_response_spec.rb +41 -0
  146. data/spec/models/balance_spec.rb +53 -0
  147. data/spec/models/beneficiaries_response_spec.rb +41 -0
  148. data/spec/models/beneficiary_institution_spec.rb +41 -0
  149. data/spec/models/billing_spec.rb +93 -0
  150. data/spec/models/billing_transaction_spec.rb +87 -0
  151. data/spec/models/cep_response_spec.rb +161 -0
  152. data/spec/models/cep_search_banxico_spec.rb +83 -0
  153. data/spec/models/contact_request_spec.rb +65 -0
  154. data/spec/models/deposit_spec.rb +155 -0
  155. data/spec/models/depositant_spec.rb +65 -0
  156. data/spec/models/depositants_register_spec.rb +59 -0
  157. data/spec/models/depositants_response_spec.rb +41 -0
  158. data/spec/models/error_response_spec.rb +47 -0
  159. data/spec/models/get_depositants_spec.rb +41 -0
  160. data/spec/models/institution_spec.rb +59 -0
  161. data/spec/models/institutions_list_spec.rb +41 -0
  162. data/spec/models/message_account_beneficiary_spec.rb +53 -0
  163. data/spec/models/message_cep_spec.rb +161 -0
  164. data/spec/models/message_deposit_received_spec.rb +155 -0
  165. data/spec/models/message_institution_spec.rb +59 -0
  166. data/spec/models/message_payment_spec.rb +143 -0
  167. data/spec/models/message_subscription_spec.rb +65 -0
  168. data/spec/models/message_web_hook_spec.rb +89 -0
  169. data/spec/models/payment_spec.rb +137 -0
  170. data/spec/models/person_spec.rb +53 -0
  171. data/spec/models/pre_enrollment_data_spec.rb +47 -0
  172. data/spec/models/pre_enrollment_response_spec.rb +47 -0
  173. data/spec/models/relationship_spec.rb +47 -0
  174. data/spec/models/relationships_response_spec.rb +41 -0
  175. data/spec/models/spid_classification_dto_spec.rb +47 -0
  176. data/spec/models/spid_classifications_response_dto_spec.rb +41 -0
  177. data/spec/models/timestamp_spec.rb +95 -0
  178. data/spec/models/token_required_response_spec.rb +47 -0
  179. data/spec/models/transaction_outgoing_spec.rb +77 -0
  180. data/spec/models/transaction_outgoing_spid_spec.rb +95 -0
  181. data/spec/models/transactions_outgoing_register_spec.rb +53 -0
  182. data/spec/models/webhook_request_spec.rb +53 -0
  183. data/spec/models/webhook_response_spec.rb +75 -0
  184. data/spec/models/webhooks_list_spec.rb +41 -0
  185. data/spec/spec_helper.rb +111 -0
  186. data/wire4_client.gemspec +45 -0
  187. metadata +468 -0
@@ -0,0 +1,15 @@
1
+ # Wire4Client::CepSearchBanxico
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **amount** | **Float** | Monto de la transferencia |
7
+ **beneficiary_account** | **String** | Cuenta de beneficiario |
8
+ **beneficiary_bank_key** | **String** | Clave del banco beneficiario, se puede obtener este valor del listado de institucines '/institutions'. Si este valor no esta presente se obtiene de la cuenta del beneficiario, si la cuenta de beneficiario es un número celular este campo es requerido | [optional]
9
+ **clave_rastreo** | **String** | Clave de rastreo de la transferencia |
10
+ **operation_date** | **String** | Fecha de operación de la transferencia, formato: dd-MM-yyyy |
11
+ **reference** | **String** | Referencia numérica de la transferencia | [optional]
12
+ **sender_account** | **String** | Cuenta ordenante, es requerida cuando se no se envía la clave del banco ordenante | [optional]
13
+ **sender_bank_key** | **String** | Clave del banco ordenante, se puede obtener este valor del listado de institucines '/institutions'. Es requerida cuando no se envía la cuenta ordenante | [optional]
14
+
15
+
@@ -0,0 +1,61 @@
1
+ # Wire4Client::ComprobanteElectrnicoDePagoCEPApi
2
+
3
+ All URIs are relative to *https://sandbox-api.wire4.mx/wire4/1.0.0*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**obtain_transaction_cep_using_post**](ComprobanteElectrnicoDePagoCEPApi.md#obtain_transaction_cep_using_post) | **POST** /ceps | Consulta de CEP
8
+
9
+
10
+ # **obtain_transaction_cep_using_post**
11
+ > CepResponse obtain_transaction_cep_using_post(cep_data)
12
+
13
+ Consulta de CEP
14
+
15
+ Consulta el CEP de un pago realizado a través del SPEI, si es que este se encuentra disponible en BANXICO.
16
+
17
+ ### Example
18
+ ```ruby
19
+ # load the gem
20
+ require 'wire4_client'
21
+ # setup authorization
22
+ Wire4Client.configure do |config|
23
+ # Configure OAuth2 access token for authorization: wire4_aut_app
24
+ config.access_token = 'YOUR ACCESS TOKEN'
25
+ end
26
+
27
+ api_instance = Wire4Client::ComprobanteElectrnicoDePagoCEPApi.new
28
+
29
+ cep_data = Wire4Client::CepSearchBanxico.new # CepSearchBanxico | Información para buscar un CEP
30
+
31
+
32
+ begin
33
+ #Consulta de CEP
34
+ result = api_instance.obtain_transaction_cep_using_post(cep_data)
35
+ p result
36
+ rescue Wire4Client::ApiError => e
37
+ puts "Exception when calling ComprobanteElectrnicoDePagoCEPApi->obtain_transaction_cep_using_post: #{e}"
38
+ end
39
+ ```
40
+
41
+ ### Parameters
42
+
43
+ Name | Type | Description | Notes
44
+ ------------- | ------------- | ------------- | -------------
45
+ **cep_data** | [**CepSearchBanxico**](CepSearchBanxico.md)| Información para buscar un CEP |
46
+
47
+ ### Return type
48
+
49
+ [**CepResponse**](CepResponse.md)
50
+
51
+ ### Authorization
52
+
53
+ [wire4_aut_app](../README.md#wire4_aut_app)
54
+
55
+ ### HTTP request headers
56
+
57
+ - **Content-Type**: application/json
58
+ - **Accept**: application/json
59
+
60
+
61
+
@@ -0,0 +1,12 @@
1
+ # Wire4Client::ContactRequest
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **address** | **String** | Dirección del contacto | [optional]
7
+ **company** | **String** | Nombre de la empresa | [optional]
8
+ **contact_person** | **String** | Nombre de la persona quién será contactada | [optional]
9
+ **email** | **String** | Email de la persona |
10
+ **phone_number** | **String** | Número de teléfono de la persona |
11
+
12
+
@@ -0,0 +1,60 @@
1
+ # Wire4Client::ContactoApi
2
+
3
+ All URIs are relative to *https://sandbox-api.wire4.mx/wire4/1.0.0*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**send_contact_using_post**](ContactoApi.md#send_contact_using_post) | **POST** /contact | Solicitud de contacto
8
+
9
+
10
+ # **send_contact_using_post**
11
+ > send_contact_using_post(request_dto)
12
+
13
+ Solicitud de contacto
14
+
15
+ Notifica a un asesor Monex para que se ponga en contacto con un posible cliente.
16
+
17
+ ### Example
18
+ ```ruby
19
+ # load the gem
20
+ require 'wire4_client'
21
+ # setup authorization
22
+ Wire4Client.configure do |config|
23
+ # Configure OAuth2 access token for authorization: wire4_aut_app
24
+ config.access_token = 'YOUR ACCESS TOKEN'
25
+ end
26
+
27
+ api_instance = Wire4Client::ContactoApi.new
28
+
29
+ request_dto = Wire4Client::ContactRequest.new # ContactRequest | Información del contacto
30
+
31
+
32
+ begin
33
+ #Solicitud de contacto
34
+ api_instance.send_contact_using_post(request_dto)
35
+ rescue Wire4Client::ApiError => e
36
+ puts "Exception when calling ContactoApi->send_contact_using_post: #{e}"
37
+ end
38
+ ```
39
+
40
+ ### Parameters
41
+
42
+ Name | Type | Description | Notes
43
+ ------------- | ------------- | ------------- | -------------
44
+ **request_dto** | [**ContactRequest**](ContactRequest.md)| Información del contacto |
45
+
46
+ ### Return type
47
+
48
+ nil (empty response body)
49
+
50
+ ### Authorization
51
+
52
+ [wire4_aut_app](../README.md#wire4_aut_app)
53
+
54
+ ### HTTP request headers
55
+
56
+ - **Content-Type**: application/json
57
+ - **Accept**: application/json
58
+
59
+
60
+
@@ -0,0 +1,342 @@
1
+ # Wire4Client::CuentasDeBeneficiariosSPEIApi
2
+
3
+ All URIs are relative to *https://sandbox-api.wire4.mx/wire4/1.0.0*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**delete_account_using_delete**](CuentasDeBeneficiariosSPEIApi.md#delete_account_using_delete) | **DELETE** /subscriptions/{subscription}/beneficiaries/spei/{account} | Elimina la cuenta del beneficiario
8
+ [**get_available_relationships_monex_using_get**](CuentasDeBeneficiariosSPEIApi.md#get_available_relationships_monex_using_get) | **GET** /subscriptions/{subscription}/beneficiaries/relationships | Consulta de relaciones
9
+ [**get_beneficiaries_for_account_using_get**](CuentasDeBeneficiariosSPEIApi.md#get_beneficiaries_for_account_using_get) | **GET** /subscriptions/{subscription}/beneficiaries/spei | Consulta los beneficiarios registrados
10
+ [**pre_register_accounts_using_post**](CuentasDeBeneficiariosSPEIApi.md#pre_register_accounts_using_post) | **POST** /subscriptions/{subscription}/beneficiaries/spei | Pre-registro de cuentas de beneficiarios.
11
+ [**remove_beneficiaries_pending_using_delete**](CuentasDeBeneficiariosSPEIApi.md#remove_beneficiaries_pending_using_delete) | **DELETE** /subscriptions/{subscription}/beneficiaries/spei/request/{requestId} | Eliminación de beneficiarios SPEI® sin confirmar
12
+ [**update_amount_limit_account_using_put**](CuentasDeBeneficiariosSPEIApi.md#update_amount_limit_account_using_put) | **PUT** /subscriptions/{subscription}/beneficiaries/spei/{account} | Actualiza el monto límite
13
+
14
+
15
+ # **delete_account_using_delete**
16
+ > delete_account_using_delete(account, subscription)
17
+
18
+ Elimina la cuenta del beneficiario
19
+
20
+ Borra la cuenta de beneficiario proporcionada relacionada al contrato perteneciente a la subscripción. La cuenta a borrar debe ser una cuenta que opere con SPEI.
21
+
22
+ ### Example
23
+ ```ruby
24
+ # load the gem
25
+ require 'wire4_client'
26
+ # setup authorization
27
+ Wire4Client.configure do |config|
28
+ # Configure OAuth2 access token for authorization: wire4_aut_app_user_spei
29
+ config.access_token = 'YOUR ACCESS TOKEN'
30
+ end
31
+
32
+ api_instance = Wire4Client::CuentasDeBeneficiariosSPEIApi.new
33
+
34
+ account = 'account_example' # String | La cuenta del beneciario que será eliminada
35
+
36
+ subscription = 'subscription_example' # String | El identificador de la suscripción a esta API
37
+
38
+
39
+ begin
40
+ #Elimina la cuenta del beneficiario
41
+ api_instance.delete_account_using_delete(account, subscription)
42
+ rescue Wire4Client::ApiError => e
43
+ puts "Exception when calling CuentasDeBeneficiariosSPEIApi->delete_account_using_delete: #{e}"
44
+ end
45
+ ```
46
+
47
+ ### Parameters
48
+
49
+ Name | Type | Description | Notes
50
+ ------------- | ------------- | ------------- | -------------
51
+ **account** | **String**| La cuenta del beneciario que será eliminada |
52
+ **subscription** | **String**| El identificador de la suscripción a esta API |
53
+
54
+ ### Return type
55
+
56
+ nil (empty response body)
57
+
58
+ ### Authorization
59
+
60
+ [wire4_aut_app_user_spei](../README.md#wire4_aut_app_user_spei)
61
+
62
+ ### HTTP request headers
63
+
64
+ - **Content-Type**: Not defined
65
+ - **Accept**: application/json
66
+
67
+
68
+
69
+ # **get_available_relationships_monex_using_get**
70
+ > RelationshipsResponse get_available_relationships_monex_using_get(subscription)
71
+
72
+ Consulta de relaciones
73
+
74
+ Obtiene las posibles relaciones existentes para registrar beneficiarios en Monex. Se debe invocar este recurso antes de pre-registrar una cuenta de beneficiario.
75
+
76
+ ### Example
77
+ ```ruby
78
+ # load the gem
79
+ require 'wire4_client'
80
+ # setup authorization
81
+ Wire4Client.configure do |config|
82
+ # Configure OAuth2 access token for authorization: wire4_aut_app_user_spei
83
+ config.access_token = 'YOUR ACCESS TOKEN'
84
+ end
85
+
86
+ api_instance = Wire4Client::CuentasDeBeneficiariosSPEIApi.new
87
+
88
+ subscription = 'subscription_example' # String | Identificador de la suscripción a esta API
89
+
90
+
91
+ begin
92
+ #Consulta de relaciones
93
+ result = api_instance.get_available_relationships_monex_using_get(subscription)
94
+ p result
95
+ rescue Wire4Client::ApiError => e
96
+ puts "Exception when calling CuentasDeBeneficiariosSPEIApi->get_available_relationships_monex_using_get: #{e}"
97
+ end
98
+ ```
99
+
100
+ ### Parameters
101
+
102
+ Name | Type | Description | Notes
103
+ ------------- | ------------- | ------------- | -------------
104
+ **subscription** | **String**| Identificador de la suscripción a esta API |
105
+
106
+ ### Return type
107
+
108
+ [**RelationshipsResponse**](RelationshipsResponse.md)
109
+
110
+ ### Authorization
111
+
112
+ [wire4_aut_app_user_spei](../README.md#wire4_aut_app_user_spei)
113
+
114
+ ### HTTP request headers
115
+
116
+ - **Content-Type**: Not defined
117
+ - **Accept**: application/json
118
+
119
+
120
+
121
+ # **get_beneficiaries_for_account_using_get**
122
+ > BeneficiariesResponse get_beneficiaries_for_account_using_get(subscription, opts)
123
+
124
+ Consulta los beneficiarios registrados
125
+
126
+ Obtiene los beneficiarios registrados al contrato relacionado con la suscripción, Los beneficiarios son los que actualmente se encuentran registrados en banca Monex.
127
+
128
+ ### Example
129
+ ```ruby
130
+ # load the gem
131
+ require 'wire4_client'
132
+ # setup authorization
133
+ Wire4Client.configure do |config|
134
+ # Configure OAuth2 access token for authorization: wire4_aut_app_user_spei
135
+ config.access_token = 'YOUR ACCESS TOKEN'
136
+ end
137
+
138
+ api_instance = Wire4Client::CuentasDeBeneficiariosSPEIApi.new
139
+
140
+ subscription = 'subscription_example' # String | El identificador de la suscripción a esta API
141
+
142
+ opts = {
143
+ rfc: 'rfc_example' # String | RFC del beneficiario
144
+ }
145
+
146
+ begin
147
+ #Consulta los beneficiarios registrados
148
+ result = api_instance.get_beneficiaries_for_account_using_get(subscription, opts)
149
+ p result
150
+ rescue Wire4Client::ApiError => e
151
+ puts "Exception when calling CuentasDeBeneficiariosSPEIApi->get_beneficiaries_for_account_using_get: #{e}"
152
+ end
153
+ ```
154
+
155
+ ### Parameters
156
+
157
+ Name | Type | Description | Notes
158
+ ------------- | ------------- | ------------- | -------------
159
+ **subscription** | **String**| El identificador de la suscripción a esta API |
160
+ **rfc** | **String**| RFC del beneficiario | [optional]
161
+
162
+ ### Return type
163
+
164
+ [**BeneficiariesResponse**](BeneficiariesResponse.md)
165
+
166
+ ### Authorization
167
+
168
+ [wire4_aut_app_user_spei](../README.md#wire4_aut_app_user_spei)
169
+
170
+ ### HTTP request headers
171
+
172
+ - **Content-Type**: Not defined
173
+ - **Accept**: application/json
174
+
175
+
176
+
177
+ # **pre_register_accounts_using_post**
178
+ > TokenRequiredResponse pre_register_accounts_using_post(request_dto, subscription)
179
+
180
+ Pre-registro de cuentas de beneficiarios.
181
+
182
+ Pre-registra una o más cuentas de beneficiario en la plataforma, proporcionando una URL donde el cuentahabiente Monex debe ingresar un valor de su llave digital para confirmar el alta de las cuentas de beneficiarios.<br/>Los posibles valores de <i>relationship</i> y <i>kind_of_relationship</i> se deben obtener de /subscriptions/{subscription}/beneficiaries/relationships.<br/><br/>La confirmación de registro en Monex se realiza a través de una llamada a los webhooks registrados con el evento ACCOUNT.CREATED.
183
+
184
+ ### Example
185
+ ```ruby
186
+ # load the gem
187
+ require 'wire4_client'
188
+ # setup authorization
189
+ Wire4Client.configure do |config|
190
+ # Configure OAuth2 access token for authorization: wire4_aut_app_user_spei
191
+ config.access_token = 'YOUR ACCESS TOKEN'
192
+ end
193
+
194
+ api_instance = Wire4Client::CuentasDeBeneficiariosSPEIApi.new
195
+
196
+ request_dto = Wire4Client::AccountRequest.new # AccountRequest | Información de la cuenta del beneficiario
197
+
198
+ subscription = 'subscription_example' # String | El identificador de la suscripción a esta API
199
+
200
+
201
+ begin
202
+ #Pre-registro de cuentas de beneficiarios.
203
+ result = api_instance.pre_register_accounts_using_post(request_dto, subscription)
204
+ p result
205
+ rescue Wire4Client::ApiError => e
206
+ puts "Exception when calling CuentasDeBeneficiariosSPEIApi->pre_register_accounts_using_post: #{e}"
207
+ end
208
+ ```
209
+
210
+ ### Parameters
211
+
212
+ Name | Type | Description | Notes
213
+ ------------- | ------------- | ------------- | -------------
214
+ **request_dto** | [**AccountRequest**](AccountRequest.md)| Información de la cuenta del beneficiario |
215
+ **subscription** | **String**| El identificador de la suscripción a esta API |
216
+
217
+ ### Return type
218
+
219
+ [**TokenRequiredResponse**](TokenRequiredResponse.md)
220
+
221
+ ### Authorization
222
+
223
+ [wire4_aut_app_user_spei](../README.md#wire4_aut_app_user_spei)
224
+
225
+ ### HTTP request headers
226
+
227
+ - **Content-Type**: application/json
228
+ - **Accept**: application/json
229
+
230
+
231
+
232
+ # **remove_beneficiaries_pending_using_delete**
233
+ > remove_beneficiaries_pending_using_delete(request_id, subscription)
234
+
235
+ Eliminación de beneficiarios SPEI® sin confirmar
236
+
237
+ Elimina un conjunto de beneficiarios a registrar en la cuenta del cliente Monex relacionada a la suscripción, los beneficiarios no deben haber sido confirmados por el cliente.
238
+
239
+ ### Example
240
+ ```ruby
241
+ # load the gem
242
+ require 'wire4_client'
243
+ # setup authorization
244
+ Wire4Client.configure do |config|
245
+ # Configure OAuth2 access token for authorization: wire4_aut_app_user_spei
246
+ config.access_token = 'YOUR ACCESS TOKEN'
247
+ end
248
+
249
+ api_instance = Wire4Client::CuentasDeBeneficiariosSPEIApi.new
250
+
251
+ request_id = 'request_id_example' # String | Identificador de los beneficiarios a eliminar
252
+
253
+ subscription = 'subscription_example' # String | El identificador de la suscripción a esta API
254
+
255
+
256
+ begin
257
+ #Eliminación de beneficiarios SPEI® sin confirmar
258
+ api_instance.remove_beneficiaries_pending_using_delete(request_id, subscription)
259
+ rescue Wire4Client::ApiError => e
260
+ puts "Exception when calling CuentasDeBeneficiariosSPEIApi->remove_beneficiaries_pending_using_delete: #{e}"
261
+ end
262
+ ```
263
+
264
+ ### Parameters
265
+
266
+ Name | Type | Description | Notes
267
+ ------------- | ------------- | ------------- | -------------
268
+ **request_id** | **String**| Identificador de los beneficiarios a eliminar |
269
+ **subscription** | **String**| El identificador de la suscripción a esta API |
270
+
271
+ ### Return type
272
+
273
+ nil (empty response body)
274
+
275
+ ### Authorization
276
+
277
+ [wire4_aut_app_user_spei](../README.md#wire4_aut_app_user_spei)
278
+
279
+ ### HTTP request headers
280
+
281
+ - **Content-Type**: Not defined
282
+ - **Accept**: application/json
283
+
284
+
285
+
286
+ # **update_amount_limit_account_using_put**
287
+ > update_amount_limit_account_using_put(account, request_dto, subscription)
288
+
289
+ Actualiza el monto límite
290
+
291
+ Actualiza el monto límite a la cuenta de beneficiario proporcionada relacionada al contrato perteneciente a la subscripción.
292
+
293
+ ### Example
294
+ ```ruby
295
+ # load the gem
296
+ require 'wire4_client'
297
+ # setup authorization
298
+ Wire4Client.configure do |config|
299
+ # Configure OAuth2 access token for authorization: wire4_aut_app_user_spei
300
+ config.access_token = 'YOUR ACCESS TOKEN'
301
+ end
302
+
303
+ api_instance = Wire4Client::CuentasDeBeneficiariosSPEIApi.new
304
+
305
+ account = 'account_example' # String | Cuenta a actualizar
306
+
307
+ request_dto = Wire4Client::AmountRequest.new # AmountRequest | Información de la cuenta y el monto límite a actualizar
308
+
309
+ subscription = 'subscription_example' # String | El identificador de la suscripción a esta API
310
+
311
+
312
+ begin
313
+ #Actualiza el monto límite
314
+ api_instance.update_amount_limit_account_using_put(account, request_dto, subscription)
315
+ rescue Wire4Client::ApiError => e
316
+ puts "Exception when calling CuentasDeBeneficiariosSPEIApi->update_amount_limit_account_using_put: #{e}"
317
+ end
318
+ ```
319
+
320
+ ### Parameters
321
+
322
+ Name | Type | Description | Notes
323
+ ------------- | ------------- | ------------- | -------------
324
+ **account** | **String**| Cuenta a actualizar |
325
+ **request_dto** | [**AmountRequest**](AmountRequest.md)| Información de la cuenta y el monto límite a actualizar |
326
+ **subscription** | **String**| El identificador de la suscripción a esta API |
327
+
328
+ ### Return type
329
+
330
+ nil (empty response body)
331
+
332
+ ### Authorization
333
+
334
+ [wire4_aut_app_user_spei](../README.md#wire4_aut_app_user_spei)
335
+
336
+ ### HTTP request headers
337
+
338
+ - **Content-Type**: application/json
339
+ - **Accept**: application/json
340
+
341
+
342
+