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,62 @@
1
+ # Wire4Client::CuentasDeBeneficiariosSPIDApi
2
+
3
+ All URIs are relative to *https://sandbox-api.wire4.mx/wire4/1.0.0*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**pre_register_accounts_using_post1**](CuentasDeBeneficiariosSPIDApi.md#pre_register_accounts_using_post1) | **POST** /subscriptions/{subscription}/beneficiaries/spid | Pre-registro de cuentas de beneficiarios SPID
8
+
9
+
10
+ # **pre_register_accounts_using_post1**
11
+ > TokenRequiredResponse pre_register_accounts_using_post1(request_spid_dto, subscription)
12
+
13
+ Pre-registro de cuentas de beneficiarios SPID
14
+
15
+ ### Example
16
+ ```ruby
17
+ # load the gem
18
+ require 'wire4_client'
19
+ # setup authorization
20
+ Wire4Client.configure do |config|
21
+ # Configure OAuth2 access token for authorization: wire4_aut_app_user_spid
22
+ config.access_token = 'YOUR ACCESS TOKEN'
23
+ end
24
+
25
+ api_instance = Wire4Client::CuentasDeBeneficiariosSPIDApi.new
26
+
27
+ request_spid_dto = Wire4Client::AccountSpid.new # AccountSpid | Información de la cuenta del beneficiario
28
+
29
+ subscription = 'subscription_example' # String | El identificador de la suscripción a esta API
30
+
31
+
32
+ begin
33
+ #Pre-registro de cuentas de beneficiarios SPID
34
+ result = api_instance.pre_register_accounts_using_post1(request_spid_dto, subscription)
35
+ p result
36
+ rescue Wire4Client::ApiError => e
37
+ puts "Exception when calling CuentasDeBeneficiariosSPIDApi->pre_register_accounts_using_post1: #{e}"
38
+ end
39
+ ```
40
+
41
+ ### Parameters
42
+
43
+ Name | Type | Description | Notes
44
+ ------------- | ------------- | ------------- | -------------
45
+ **request_spid_dto** | [**AccountSpid**](AccountSpid.md)| Información de la cuenta del beneficiario |
46
+ **subscription** | **String**| El identificador de la suscripción a esta API |
47
+
48
+ ### Return type
49
+
50
+ [**TokenRequiredResponse**](TokenRequiredResponse.md)
51
+
52
+ ### Authorization
53
+
54
+ [wire4_aut_app_user_spid](../README.md#wire4_aut_app_user_spid)
55
+
56
+ ### HTTP request headers
57
+
58
+ - **Content-Type**: application/json
59
+ - **Accept**: application/json
60
+
61
+
62
+
@@ -0,0 +1,27 @@
1
+ # Wire4Client::Deposit
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **amount** | **Float** | Monto de la transferencia | [optional]
7
+ **beneficiary_account** | **String** | La cuenta del beneficiario | [optional]
8
+ **beneficiary_name** | **String** | El nombre del beneficiario | [optional]
9
+ **beneficiary_rfc** | **String** | El RFC del beneficiario | [optional]
10
+ **clave_rastreo** | **String** | La clave de rastreo de la transferencia | [optional]
11
+ **confirm_date** | **DateTime** | Fecha de confirmación del deposito | [optional]
12
+ **currency_code** | **String** | Código de moneda de la transferencia | [optional]
13
+ **deposit_date** | **DateTime** | Fecha del deposito | [optional]
14
+ **depositant** | **String** | Depositante | [optional]
15
+ **depositant_clabe** | **String** | Cuenta CLABE interbancaria del depositante | [optional]
16
+ **depositant_email** | **String** | Email del depositante | [optional]
17
+ **depositant_rfc** | **String** | RFC del depositante | [optional]
18
+ **description** | **String** | Descripción del traspaso | [optional]
19
+ **monex_description** | **String** | Descripción directa de Monex | [optional]
20
+ **monex_transaction_id** | **String** | Identificador de la transferencia en Monex | [optional]
21
+ **reference** | **String** | La referencia del depósito | [optional]
22
+ **sender_account** | **String** | La cuenta del ordenante | [optional]
23
+ **sender_bank** | [**MessageInstitution**](MessageInstitution.md) | El banco del ordenante | [optional]
24
+ **sender_name** | **String** | El nombre del ordenante | [optional]
25
+ **sender_rfc** | **String** | El RFC del ordenante | [optional]
26
+
27
+
@@ -0,0 +1,12 @@
1
+ # Wire4Client::Depositant
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **_alias** | **String** | Alias del depositante | [optional]
7
+ **currency_code** | **String** | Código de moneda con el que operará el depositante | [optional]
8
+ **depositant_clabe** | **String** | Cuenta clabe del depositante | [optional]
9
+ **email** | **Array<String>** | Lista de emails del depositante | [optional]
10
+ **name** | **String** | Nombre del depositante | [optional]
11
+
12
+
@@ -0,0 +1,117 @@
1
+ # Wire4Client::DepositantesApi
2
+
3
+ All URIs are relative to *https://sandbox-api.wire4.mx/wire4/1.0.0*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**get_depositants_using_get**](DepositantesApi.md#get_depositants_using_get) | **GET** /subscriptions/{subscription}/depositants | Consulta de cuentas de depositantes
8
+ [**register_depositants_using_post**](DepositantesApi.md#register_depositants_using_post) | **POST** /subscriptions/{subscription}/depositants | Registra un nuevo depositante
9
+
10
+
11
+ # **get_depositants_using_get**
12
+ > GetDepositants get_depositants_using_get(subscription)
13
+
14
+ Consulta de cuentas de depositantes
15
+
16
+ Obtiene una lista de depositantes asociados al contrato relacionado a la subscripción.
17
+
18
+ ### Example
19
+ ```ruby
20
+ # load the gem
21
+ require 'wire4_client'
22
+ # setup authorization
23
+ Wire4Client.configure do |config|
24
+ # Configure OAuth2 access token for authorization: wire4_aut_app_user_spei
25
+ config.access_token = 'YOUR ACCESS TOKEN'
26
+ end
27
+
28
+ api_instance = Wire4Client::DepositantesApi.new
29
+
30
+ subscription = 'subscription_example' # String | El identificador de la suscripción a esta API
31
+
32
+
33
+ begin
34
+ #Consulta de cuentas de depositantes
35
+ result = api_instance.get_depositants_using_get(subscription)
36
+ p result
37
+ rescue Wire4Client::ApiError => e
38
+ puts "Exception when calling DepositantesApi->get_depositants_using_get: #{e}"
39
+ end
40
+ ```
41
+
42
+ ### Parameters
43
+
44
+ Name | Type | Description | Notes
45
+ ------------- | ------------- | ------------- | -------------
46
+ **subscription** | **String**| El identificador de la suscripción a esta API |
47
+
48
+ ### Return type
49
+
50
+ [**GetDepositants**](GetDepositants.md)
51
+
52
+ ### Authorization
53
+
54
+ [wire4_aut_app_user_spei](../README.md#wire4_aut_app_user_spei)
55
+
56
+ ### HTTP request headers
57
+
58
+ - **Content-Type**: Not defined
59
+ - **Accept**: application/json
60
+
61
+
62
+
63
+ # **register_depositants_using_post**
64
+ > DepositantsResponse register_depositants_using_post(register, subscription)
65
+
66
+ Registra un nuevo depositante
67
+
68
+ Registra un nuevo depositante en el contrato asociado a la subscripción.
69
+
70
+ ### Example
71
+ ```ruby
72
+ # load the gem
73
+ require 'wire4_client'
74
+ # setup authorization
75
+ Wire4Client.configure do |config|
76
+ # Configure OAuth2 access token for authorization: wire4_aut_app_user_spei
77
+ config.access_token = 'YOUR ACCESS TOKEN'
78
+ end
79
+
80
+ api_instance = Wire4Client::DepositantesApi.new
81
+
82
+ register = Wire4Client::DepositantsRegister.new # DepositantsRegister | Depositant info
83
+
84
+ subscription = 'subscription_example' # String | El identificador de la suscripción a esta API
85
+
86
+
87
+ begin
88
+ #Registra un nuevo depositante
89
+ result = api_instance.register_depositants_using_post(register, subscription)
90
+ p result
91
+ rescue Wire4Client::ApiError => e
92
+ puts "Exception when calling DepositantesApi->register_depositants_using_post: #{e}"
93
+ end
94
+ ```
95
+
96
+ ### Parameters
97
+
98
+ Name | Type | Description | Notes
99
+ ------------- | ------------- | ------------- | -------------
100
+ **register** | [**DepositantsRegister**](DepositantsRegister.md)| Depositant info |
101
+ **subscription** | **String**| El identificador de la suscripción a esta API |
102
+
103
+ ### Return type
104
+
105
+ [**DepositantsResponse**](DepositantsResponse.md)
106
+
107
+ ### Authorization
108
+
109
+ [wire4_aut_app_user_spei](../README.md#wire4_aut_app_user_spei)
110
+
111
+ ### HTTP request headers
112
+
113
+ - **Content-Type**: application/json
114
+ - **Accept**: application/json
115
+
116
+
117
+
@@ -0,0 +1,11 @@
1
+ # Wire4Client::DepositantsRegister
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **_alias** | **String** | Alias del depositante |
7
+ **currency_code** | **String** | Codigo de la moneda en que operará el depositante, los valores validos son MXP y USD |
8
+ **email** | **Array<String>** | Lista de email del depositante | [optional]
9
+ **name** | **String** | Nombre del depositante |
10
+
11
+
@@ -0,0 +1,8 @@
1
+ # Wire4Client::DepositantsResponse
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **clabe** | **String** | Cuenta clabe del depositante | [optional]
7
+
8
+
@@ -0,0 +1,9 @@
1
+ # Wire4Client::ErrorResponse
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **http_status** | **Integer** | | [optional]
7
+ **message** | **String** | | [optional]
8
+
9
+
@@ -0,0 +1,115 @@
1
+ # Wire4Client::FacturasApi
2
+
3
+ All URIs are relative to *https://sandbox-api.wire4.mx/wire4/1.0.0*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**billings_report_by_id_using_get**](FacturasApi.md#billings_report_by_id_using_get) | **GET** /billings/{id} | Consulta de facturas por identificador
8
+ [**billings_report_using_get**](FacturasApi.md#billings_report_using_get) | **GET** /billings | Consulta de facturas
9
+
10
+
11
+ # **billings_report_by_id_using_get**
12
+ > Billing billings_report_by_id_using_get(id)
13
+
14
+ Consulta de facturas por identificador
15
+
16
+ Consulta las facturas emitidas por conceptos de uso de la plataforma y operaciones realizadas tanto de entrada como de salida. Se debe especificar el identificador de la factura
17
+
18
+ ### Example
19
+ ```ruby
20
+ # load the gem
21
+ require 'wire4_client'
22
+ # setup authorization
23
+ Wire4Client.configure do |config|
24
+ # Configure OAuth2 access token for authorization: wire4_aut_app
25
+ config.access_token = 'YOUR ACCESS TOKEN'
26
+ end
27
+
28
+ api_instance = Wire4Client::FacturasApi.new
29
+
30
+ id = 'id_example' # String | Identificador de la factura
31
+
32
+
33
+ begin
34
+ #Consulta de facturas por identificador
35
+ result = api_instance.billings_report_by_id_using_get(id)
36
+ p result
37
+ rescue Wire4Client::ApiError => e
38
+ puts "Exception when calling FacturasApi->billings_report_by_id_using_get: #{e}"
39
+ end
40
+ ```
41
+
42
+ ### Parameters
43
+
44
+ Name | Type | Description | Notes
45
+ ------------- | ------------- | ------------- | -------------
46
+ **id** | **String**| Identificador de la factura |
47
+
48
+ ### Return type
49
+
50
+ [**Billing**](Billing.md)
51
+
52
+ ### Authorization
53
+
54
+ [wire4_aut_app](../README.md#wire4_aut_app)
55
+
56
+ ### HTTP request headers
57
+
58
+ - **Content-Type**: Not defined
59
+ - **Accept**: application/json
60
+
61
+
62
+
63
+ # **billings_report_using_get**
64
+ > Array<Billing> billings_report_using_get(opts)
65
+
66
+ Consulta de facturas
67
+
68
+ Consulta las facturas emitidas por conceptos de uso de la plataforma y operaciones realizadas tanto de entrada como de salida. Es posible filtrar por periodo de fecha yyyy-MM, por ejemplo 2019-11
69
+
70
+ ### Example
71
+ ```ruby
72
+ # load the gem
73
+ require 'wire4_client'
74
+ # setup authorization
75
+ Wire4Client.configure do |config|
76
+ # Configure OAuth2 access token for authorization: wire4_aut_app
77
+ config.access_token = 'YOUR ACCESS TOKEN'
78
+ end
79
+
80
+ api_instance = Wire4Client::FacturasApi.new
81
+
82
+ opts = {
83
+ period: 'period_example' # String | Filtro de fecha yyyy-MM
84
+ }
85
+
86
+ begin
87
+ #Consulta de facturas
88
+ result = api_instance.billings_report_using_get(opts)
89
+ p result
90
+ rescue Wire4Client::ApiError => e
91
+ puts "Exception when calling FacturasApi->billings_report_using_get: #{e}"
92
+ end
93
+ ```
94
+
95
+ ### Parameters
96
+
97
+ Name | Type | Description | Notes
98
+ ------------- | ------------- | ------------- | -------------
99
+ **period** | **String**| Filtro de fecha yyyy-MM | [optional]
100
+
101
+ ### Return type
102
+
103
+ [**Array<Billing>**](Billing.md)
104
+
105
+ ### Authorization
106
+
107
+ [wire4_aut_app](../README.md#wire4_aut_app)
108
+
109
+ ### HTTP request headers
110
+
111
+ - **Content-Type**: Not defined
112
+ - **Accept**: application/json
113
+
114
+
115
+
@@ -0,0 +1,8 @@
1
+ # Wire4Client::GetDepositants
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **depositants** | [**Array<Depositant>**](Depositant.md) | Lista de depositantes que contiene cada depositante encontrado |
7
+
8
+
@@ -0,0 +1,53 @@
1
+ # Wire4Client::InstitucionesApi
2
+
3
+ All URIs are relative to *https://sandbox-api.wire4.mx/wire4/1.0.0*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**get_all_institutions_using_get**](InstitucionesApi.md#get_all_institutions_using_get) | **GET** /institutions | Información de instituciones bancarias.
8
+
9
+
10
+ # **get_all_institutions_using_get**
11
+ > InstitutionsList get_all_institutions_using_get
12
+
13
+ Información de instituciones bancarias.
14
+
15
+ ### Example
16
+ ```ruby
17
+ # load the gem
18
+ require 'wire4_client'
19
+ # setup authorization
20
+ Wire4Client.configure do |config|
21
+ # Configure OAuth2 access token for authorization: wire4_aut_app
22
+ config.access_token = 'YOUR ACCESS TOKEN'
23
+ end
24
+
25
+ api_instance = Wire4Client::InstitucionesApi.new
26
+
27
+ begin
28
+ #Información de instituciones bancarias.
29
+ result = api_instance.get_all_institutions_using_get
30
+ p result
31
+ rescue Wire4Client::ApiError => e
32
+ puts "Exception when calling InstitucionesApi->get_all_institutions_using_get: #{e}"
33
+ end
34
+ ```
35
+
36
+ ### Parameters
37
+ This endpoint does not need any parameter.
38
+
39
+ ### Return type
40
+
41
+ [**InstitutionsList**](InstitutionsList.md)
42
+
43
+ ### Authorization
44
+
45
+ [wire4_aut_app](../README.md#wire4_aut_app)
46
+
47
+ ### HTTP request headers
48
+
49
+ - **Content-Type**: Not defined
50
+ - **Accept**: application/json
51
+
52
+
53
+
@@ -0,0 +1,11 @@
1
+ # Wire4Client::Institution
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **company_name** | **String** | Razón social de la institución | [optional]
7
+ **key** | **String** | La clabe BANXICO de la institución | [optional]
8
+ **name** | **String** | Nombre de la institución | [optional]
9
+ **rfc** | **String** | RFC de la institución | [optional]
10
+
11
+