wire4_client 0.0.1.pre.SNAPSHOT
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +7 -0
- data/Gemfile.lock +69 -0
- data/README.md +188 -0
- data/Rakefile +8 -0
- data/docs/Account.md +18 -0
- data/docs/AccountRequest.md +10 -0
- data/docs/AccountResponse.md +18 -0
- data/docs/AccountSpid.md +19 -0
- data/docs/AmountRequest.md +10 -0
- data/docs/Balance.md +10 -0
- data/docs/BalanceListResponse.md +8 -0
- data/docs/BeneficiariesResponse.md +8 -0
- data/docs/BeneficiaryInstitution.md +8 -0
- data/docs/Billing.md +16 -0
- data/docs/BillingTransaction.md +15 -0
- data/docs/CepResponse.md +28 -0
- data/docs/CepSearchBanxico.md +15 -0
- data/docs/ComprobanteElectrnicoDePagoCEPApi.md +61 -0
- data/docs/ContactRequest.md +12 -0
- data/docs/ContactoApi.md +60 -0
- data/docs/CuentasDeBeneficiariosSPEIApi.md +342 -0
- data/docs/CuentasDeBeneficiariosSPIDApi.md +62 -0
- data/docs/Deposit.md +27 -0
- data/docs/Depositant.md +12 -0
- data/docs/DepositantesApi.md +117 -0
- data/docs/DepositantsRegister.md +11 -0
- data/docs/DepositantsResponse.md +8 -0
- data/docs/ErrorResponse.md +9 -0
- data/docs/FacturasApi.md +115 -0
- data/docs/GetDepositants.md +8 -0
- data/docs/InstitucionesApi.md +53 -0
- data/docs/Institution.md +11 -0
- data/docs/InstitutionsList.md +8 -0
- data/docs/MessageAccountBeneficiary.md +10 -0
- data/docs/MessageCEP.md +28 -0
- data/docs/MessageDepositReceived.md +27 -0
- data/docs/MessageInstitution.md +11 -0
- data/docs/MessagePayment.md +25 -0
- data/docs/MessageSubscription.md +12 -0
- data/docs/MessageWebHook.md +16 -0
- data/docs/Payment.md +24 -0
- data/docs/Person.md +10 -0
- data/docs/PreEnrollmentData.md +9 -0
- data/docs/PreEnrollmentResponse.md +9 -0
- data/docs/Relationship.md +9 -0
- data/docs/RelationshipsResponse.md +8 -0
- data/docs/SaldoApi.md +61 -0
- data/docs/SpidClassificationDTO.md +9 -0
- data/docs/SpidClassificationsResponseDTO.md +8 -0
- data/docs/SuscripcionesApi.md +165 -0
- data/docs/Timestamp.md +17 -0
- data/docs/TokenRequiredResponse.md +9 -0
- data/docs/TransactionOutgoing.md +14 -0
- data/docs/TransactionOutgoingSpid.md +17 -0
- data/docs/TransactionsOutgoingRegister.md +10 -0
- data/docs/TransferenciasSPEIApi.md +229 -0
- data/docs/TransferenciasSPIDApi.md +117 -0
- data/docs/WebhookRequest.md +10 -0
- data/docs/WebhookResponse.md +13 -0
- data/docs/WebhooksApi.md +161 -0
- data/docs/WebhooksList.md +8 -0
- data/git_push.sh +55 -0
- data/lib/wire4_client.rb +96 -0
- data/lib/wire4_client/api/comprobante_electrnico_de_pago_cep_api.rb +77 -0
- data/lib/wire4_client/api/contacto_api.rb +76 -0
- data/lib/wire4_client/api/cuentas_de_beneficiarios_spei_api.rb +453 -0
- data/lib/wire4_client/api/cuentas_de_beneficiarios_spid_api.rb +93 -0
- data/lib/wire4_client/api/depositantes_api.rb +159 -0
- data/lib/wire4_client/api/facturas_api.rb +124 -0
- data/lib/wire4_client/api/instituciones_api.rb +67 -0
- data/lib/wire4_client/api/saldo_api.rb +87 -0
- data/lib/wire4_client/api/suscripciones_api.rb +203 -0
- data/lib/wire4_client/api/transferencias_spei_api.rb +307 -0
- data/lib/wire4_client/api/transferencias_spid_api.rb +155 -0
- data/lib/wire4_client/api/webhooks_api.rb +175 -0
- data/lib/wire4_client/api_client.rb +389 -0
- data/lib/wire4_client/api_error.rb +38 -0
- data/lib/wire4_client/configuration.rb +223 -0
- data/lib/wire4_client/models/account.rb +345 -0
- data/lib/wire4_client/models/account_request.rb +217 -0
- data/lib/wire4_client/models/account_response.rb +345 -0
- data/lib/wire4_client/models/account_spid.rb +388 -0
- data/lib/wire4_client/models/amount_request.rb +258 -0
- data/lib/wire4_client/models/balance.rb +205 -0
- data/lib/wire4_client/models/balance_list_response.rb +187 -0
- data/lib/wire4_client/models/beneficiaries_response.rb +186 -0
- data/lib/wire4_client/models/beneficiary_institution.rb +185 -0
- data/lib/wire4_client/models/billing.rb +300 -0
- data/lib/wire4_client/models/billing_transaction.rb +289 -0
- data/lib/wire4_client/models/cep_response.rb +384 -0
- data/lib/wire4_client/models/cep_search_banxico.rb +373 -0
- data/lib/wire4_client/models/contact_request.rb +272 -0
- data/lib/wire4_client/models/deposit.rb +374 -0
- data/lib/wire4_client/models/depositant.rb +227 -0
- data/lib/wire4_client/models/depositants_register.rb +315 -0
- data/lib/wire4_client/models/depositants_response.rb +184 -0
- data/lib/wire4_client/models/error_response.rb +192 -0
- data/lib/wire4_client/models/get_depositants.rb +192 -0
- data/lib/wire4_client/models/institution.rb +215 -0
- data/lib/wire4_client/models/institutions_list.rb +186 -0
- data/lib/wire4_client/models/message_account_beneficiary.rb +205 -0
- data/lib/wire4_client/models/message_cep.rb +385 -0
- data/lib/wire4_client/models/message_deposit_received.rb +375 -0
- data/lib/wire4_client/models/message_institution.rb +215 -0
- data/lib/wire4_client/models/message_payment.rb +354 -0
- data/lib/wire4_client/models/message_subscription.rb +225 -0
- data/lib/wire4_client/models/message_web_hook.rb +265 -0
- data/lib/wire4_client/models/payment.rb +344 -0
- data/lib/wire4_client/models/person.rb +220 -0
- data/lib/wire4_client/models/pre_enrollment_data.rb +260 -0
- data/lib/wire4_client/models/pre_enrollment_response.rb +194 -0
- data/lib/wire4_client/models/relationship.rb +194 -0
- data/lib/wire4_client/models/relationships_response.rb +186 -0
- data/lib/wire4_client/models/spid_classification_dto.rb +195 -0
- data/lib/wire4_client/models/spid_classifications_response_dto.rb +186 -0
- data/lib/wire4_client/models/timestamp.rb +264 -0
- data/lib/wire4_client/models/token_required_response.rb +195 -0
- data/lib/wire4_client/models/transaction_outgoing.rb +380 -0
- data/lib/wire4_client/models/transaction_outgoing_spid.rb +425 -0
- data/lib/wire4_client/models/transactions_outgoing_register.rb +222 -0
- data/lib/wire4_client/models/webhook_request.rb +222 -0
- data/lib/wire4_client/models/webhook_response.rb +271 -0
- data/lib/wire4_client/models/webhooks_list.rb +186 -0
- data/lib/wire4_client/version.rb +15 -0
- data/spec/api/comprobante_electrnico_de_pago_cep_api_spec.rb +47 -0
- data/spec/api/contacto_api_spec.rb +47 -0
- data/spec/api/cuentas_de_beneficiarios_spei_api_spec.rb +113 -0
- data/spec/api/cuentas_de_beneficiarios_spid_api_spec.rb +47 -0
- data/spec/api/depositantes_api_spec.rb +60 -0
- data/spec/api/facturas_api_spec.rb +59 -0
- data/spec/api/instituciones_api_spec.rb +45 -0
- data/spec/api/saldo_api_spec.rb +47 -0
- data/spec/api/suscripciones_api_spec.rb +71 -0
- data/spec/api/transferencias_spei_api_spec.rb +86 -0
- data/spec/api/transferencias_spid_api_spec.rb +60 -0
- data/spec/api/webhooks_api_spec.rb +70 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/account_request_spec.rb +53 -0
- data/spec/models/account_response_spec.rb +101 -0
- data/spec/models/account_spec.rb +101 -0
- data/spec/models/account_spid_spec.rb +107 -0
- data/spec/models/amount_request_spec.rb +53 -0
- data/spec/models/balance_list_response_spec.rb +41 -0
- data/spec/models/balance_spec.rb +53 -0
- data/spec/models/beneficiaries_response_spec.rb +41 -0
- data/spec/models/beneficiary_institution_spec.rb +41 -0
- data/spec/models/billing_spec.rb +93 -0
- data/spec/models/billing_transaction_spec.rb +87 -0
- data/spec/models/cep_response_spec.rb +161 -0
- data/spec/models/cep_search_banxico_spec.rb +83 -0
- data/spec/models/contact_request_spec.rb +65 -0
- data/spec/models/deposit_spec.rb +155 -0
- data/spec/models/depositant_spec.rb +65 -0
- data/spec/models/depositants_register_spec.rb +59 -0
- data/spec/models/depositants_response_spec.rb +41 -0
- data/spec/models/error_response_spec.rb +47 -0
- data/spec/models/get_depositants_spec.rb +41 -0
- data/spec/models/institution_spec.rb +59 -0
- data/spec/models/institutions_list_spec.rb +41 -0
- data/spec/models/message_account_beneficiary_spec.rb +53 -0
- data/spec/models/message_cep_spec.rb +161 -0
- data/spec/models/message_deposit_received_spec.rb +155 -0
- data/spec/models/message_institution_spec.rb +59 -0
- data/spec/models/message_payment_spec.rb +143 -0
- data/spec/models/message_subscription_spec.rb +65 -0
- data/spec/models/message_web_hook_spec.rb +89 -0
- data/spec/models/payment_spec.rb +137 -0
- data/spec/models/person_spec.rb +53 -0
- data/spec/models/pre_enrollment_data_spec.rb +47 -0
- data/spec/models/pre_enrollment_response_spec.rb +47 -0
- data/spec/models/relationship_spec.rb +47 -0
- data/spec/models/relationships_response_spec.rb +41 -0
- data/spec/models/spid_classification_dto_spec.rb +47 -0
- data/spec/models/spid_classifications_response_dto_spec.rb +41 -0
- data/spec/models/timestamp_spec.rb +95 -0
- data/spec/models/token_required_response_spec.rb +47 -0
- data/spec/models/transaction_outgoing_spec.rb +77 -0
- data/spec/models/transaction_outgoing_spid_spec.rb +95 -0
- data/spec/models/transactions_outgoing_register_spec.rb +53 -0
- data/spec/models/webhook_request_spec.rb +53 -0
- data/spec/models/webhook_response_spec.rb +75 -0
- data/spec/models/webhooks_list_spec.rb +41 -0
- data/spec/spec_helper.rb +111 -0
- data/wire4_client.gemspec +45 -0
- metadata +468 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: '0368906bdb4c19ad33bfecc0c1cee9351783a75806096cf46d3c3772714d1b8c'
|
4
|
+
data.tar.gz: b325da35b78e44f559176a710be755bde5516fe3c26c8ed61f6fdea3184f8c22
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 17e3cfe78521a4c88f35c6b5277e5d7e28ebd28a07cfd2b051d95cd680f014dd89aaaff5a40214ee01761f3cbd3301faef48cbf3296760cb249c4a67326f9391
|
7
|
+
data.tar.gz: f30054dc378b8a64a3b1105d9b4cfe8b7423aa378e9eb5e1864df6d9feaf2e226defdffca755ca9bdcf98da0bcb31f81d7ec8dc8feab581e4451eb713a0b3467
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,69 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
wire4_client (0.0.1.pre.SNAPSHOT)
|
5
|
+
json (~> 2.1, >= 2.1.0)
|
6
|
+
typhoeus (~> 1.0, >= 1.0.1)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
ZenTest (4.12.0)
|
12
|
+
addressable (2.7.0)
|
13
|
+
public_suffix (>= 2.0.2, < 5.0)
|
14
|
+
autotest (4.4.6)
|
15
|
+
ZenTest (>= 4.4.1)
|
16
|
+
autotest-fsevent (0.2.15)
|
17
|
+
sys-uname
|
18
|
+
autotest-growl (0.2.16)
|
19
|
+
autotest-rails-pure (4.1.2)
|
20
|
+
crack (0.4.3)
|
21
|
+
safe_yaml (~> 1.0.0)
|
22
|
+
diff-lcs (1.3)
|
23
|
+
ethon (0.12.0)
|
24
|
+
ffi (>= 1.3.0)
|
25
|
+
ffi (1.11.3)
|
26
|
+
hashdiff (1.0.0)
|
27
|
+
json (2.3.0)
|
28
|
+
public_suffix (4.0.1)
|
29
|
+
rake (12.0.0)
|
30
|
+
rspec (3.9.0)
|
31
|
+
rspec-core (~> 3.9.0)
|
32
|
+
rspec-expectations (~> 3.9.0)
|
33
|
+
rspec-mocks (~> 3.9.0)
|
34
|
+
rspec-core (3.9.0)
|
35
|
+
rspec-support (~> 3.9.0)
|
36
|
+
rspec-expectations (3.9.0)
|
37
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
38
|
+
rspec-support (~> 3.9.0)
|
39
|
+
rspec-mocks (3.9.0)
|
40
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
41
|
+
rspec-support (~> 3.9.0)
|
42
|
+
rspec-support (3.9.0)
|
43
|
+
safe_yaml (1.0.5)
|
44
|
+
sys-uname (1.1.1)
|
45
|
+
ffi (>= 1.0.0)
|
46
|
+
typhoeus (1.3.1)
|
47
|
+
ethon (>= 0.9.0)
|
48
|
+
vcr (3.0.3)
|
49
|
+
webmock (1.24.6)
|
50
|
+
addressable (>= 2.3.6)
|
51
|
+
crack (>= 0.3.2)
|
52
|
+
hashdiff
|
53
|
+
|
54
|
+
PLATFORMS
|
55
|
+
ruby
|
56
|
+
|
57
|
+
DEPENDENCIES
|
58
|
+
autotest (~> 4.4, >= 4.4.6)
|
59
|
+
autotest-fsevent (~> 0.2, >= 0.2.12)
|
60
|
+
autotest-growl (~> 0.2, >= 0.2.16)
|
61
|
+
autotest-rails-pure (~> 4.1, >= 4.1.2)
|
62
|
+
rake (~> 12.0.0)
|
63
|
+
rspec (~> 3.6, >= 3.6.0)
|
64
|
+
vcr (~> 3.0, >= 3.0.1)
|
65
|
+
webmock (~> 1.24, >= 1.24.3)
|
66
|
+
wire4_client!
|
67
|
+
|
68
|
+
BUNDLED WITH
|
69
|
+
1.17.2
|
data/README.md
ADDED
@@ -0,0 +1,188 @@
|
|
1
|
+
# wire4_client
|
2
|
+
|
3
|
+
Wire4Client - the Ruby gem for the Wire4RestAPI
|
4
|
+
|
5
|
+
Referencia de la API de Wire4
|
6
|
+
|
7
|
+
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
8
|
+
|
9
|
+
- API version: 1.0.0
|
10
|
+
- Package version: 0.0.1-SNAPSHOT
|
11
|
+
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
12
|
+
|
13
|
+
## Installation
|
14
|
+
|
15
|
+
### Build a gem
|
16
|
+
|
17
|
+
To build the Ruby code into a gem:
|
18
|
+
|
19
|
+
```shell
|
20
|
+
gem build wire4_client.gemspec
|
21
|
+
```
|
22
|
+
|
23
|
+
Then either install the gem locally:
|
24
|
+
|
25
|
+
```shell
|
26
|
+
gem install ./wire4_client-0.0.1-SNAPSHOT.gem
|
27
|
+
```
|
28
|
+
(for development, run `gem install --dev ./wire4_client-0.0.1-SNAPSHOT.gem` to install the development dependencies)
|
29
|
+
|
30
|
+
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
31
|
+
|
32
|
+
Finally add this to the Gemfile:
|
33
|
+
|
34
|
+
gem 'wire4_client', '~> 0.0.1-SNAPSHOT'
|
35
|
+
|
36
|
+
### Install from Git
|
37
|
+
|
38
|
+
If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:
|
39
|
+
|
40
|
+
gem 'wire4_client', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'
|
41
|
+
|
42
|
+
### Include the Ruby code directly
|
43
|
+
|
44
|
+
Include the Ruby code directly using `-I` as follows:
|
45
|
+
|
46
|
+
```shell
|
47
|
+
ruby -Ilib script.rb
|
48
|
+
```
|
49
|
+
|
50
|
+
## Getting Started
|
51
|
+
|
52
|
+
Please follow the [installation](#installation) procedure and then run the following code:
|
53
|
+
```ruby
|
54
|
+
# Load the gem
|
55
|
+
require 'wire4_client'
|
56
|
+
|
57
|
+
# Setup authorization
|
58
|
+
Wire4Client.configure do |config|
|
59
|
+
# Configure OAuth2 access token for authorization: wire4_aut_app
|
60
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
61
|
+
end
|
62
|
+
|
63
|
+
api_instance = Wire4Client::ComprobanteElectrnicoDePagoCEPApi.new
|
64
|
+
|
65
|
+
cep_data = Wire4Client::CepSearchBanxico.new # CepSearchBanxico | Información para buscar un CEP
|
66
|
+
|
67
|
+
|
68
|
+
begin
|
69
|
+
#Consulta de CEP
|
70
|
+
result = api_instance.obtain_transaction_cep_using_post(cep_data)
|
71
|
+
p result
|
72
|
+
rescue Wire4Client::ApiError => e
|
73
|
+
puts "Exception when calling ComprobanteElectrnicoDePagoCEPApi->obtain_transaction_cep_using_post: #{e}"
|
74
|
+
end
|
75
|
+
|
76
|
+
```
|
77
|
+
|
78
|
+
## Documentation for API Endpoints
|
79
|
+
|
80
|
+
All URIs are relative to *https://sandbox-api.wire4.mx/wire4/1.0.0*
|
81
|
+
|
82
|
+
Class | Method | HTTP request | Description
|
83
|
+
------------ | ------------- | ------------- | -------------
|
84
|
+
*Wire4Client::ComprobanteElectrnicoDePagoCEPApi* | [**obtain_transaction_cep_using_post**](docs/ComprobanteElectrnicoDePagoCEPApi.md#obtain_transaction_cep_using_post) | **POST** /ceps | Consulta de CEP
|
85
|
+
*Wire4Client::ContactoApi* | [**send_contact_using_post**](docs/ContactoApi.md#send_contact_using_post) | **POST** /contact | Solicitud de contacto
|
86
|
+
*Wire4Client::CuentasDeBeneficiariosSPEIApi* | [**delete_account_using_delete**](docs/CuentasDeBeneficiariosSPEIApi.md#delete_account_using_delete) | **DELETE** /subscriptions/{subscription}/beneficiaries/spei/{account} | Elimina la cuenta del beneficiario
|
87
|
+
*Wire4Client::CuentasDeBeneficiariosSPEIApi* | [**get_available_relationships_monex_using_get**](docs/CuentasDeBeneficiariosSPEIApi.md#get_available_relationships_monex_using_get) | **GET** /subscriptions/{subscription}/beneficiaries/relationships | Consulta de relaciones
|
88
|
+
*Wire4Client::CuentasDeBeneficiariosSPEIApi* | [**get_beneficiaries_for_account_using_get**](docs/CuentasDeBeneficiariosSPEIApi.md#get_beneficiaries_for_account_using_get) | **GET** /subscriptions/{subscription}/beneficiaries/spei | Consulta los beneficiarios registrados
|
89
|
+
*Wire4Client::CuentasDeBeneficiariosSPEIApi* | [**pre_register_accounts_using_post**](docs/CuentasDeBeneficiariosSPEIApi.md#pre_register_accounts_using_post) | **POST** /subscriptions/{subscription}/beneficiaries/spei | Pre-registro de cuentas de beneficiarios.
|
90
|
+
*Wire4Client::CuentasDeBeneficiariosSPEIApi* | [**remove_beneficiaries_pending_using_delete**](docs/CuentasDeBeneficiariosSPEIApi.md#remove_beneficiaries_pending_using_delete) | **DELETE** /subscriptions/{subscription}/beneficiaries/spei/request/{requestId} | Eliminación de beneficiarios SPEI® sin confirmar
|
91
|
+
*Wire4Client::CuentasDeBeneficiariosSPEIApi* | [**update_amount_limit_account_using_put**](docs/CuentasDeBeneficiariosSPEIApi.md#update_amount_limit_account_using_put) | **PUT** /subscriptions/{subscription}/beneficiaries/spei/{account} | Actualiza el monto límite
|
92
|
+
*Wire4Client::CuentasDeBeneficiariosSPIDApi* | [**pre_register_accounts_using_post1**](docs/CuentasDeBeneficiariosSPIDApi.md#pre_register_accounts_using_post1) | **POST** /subscriptions/{subscription}/beneficiaries/spid | Pre-registro de cuentas de beneficiarios SPID
|
93
|
+
*Wire4Client::DepositantesApi* | [**get_depositants_using_get**](docs/DepositantesApi.md#get_depositants_using_get) | **GET** /subscriptions/{subscription}/depositants | Consulta de cuentas de depositantes
|
94
|
+
*Wire4Client::DepositantesApi* | [**register_depositants_using_post**](docs/DepositantesApi.md#register_depositants_using_post) | **POST** /subscriptions/{subscription}/depositants | Registra un nuevo depositante
|
95
|
+
*Wire4Client::FacturasApi* | [**billings_report_by_id_using_get**](docs/FacturasApi.md#billings_report_by_id_using_get) | **GET** /billings/{id} | Consulta de facturas por identificador
|
96
|
+
*Wire4Client::FacturasApi* | [**billings_report_using_get**](docs/FacturasApi.md#billings_report_using_get) | **GET** /billings | Consulta de facturas
|
97
|
+
*Wire4Client::InstitucionesApi* | [**get_all_institutions_using_get**](docs/InstitucionesApi.md#get_all_institutions_using_get) | **GET** /institutions | Información de instituciones bancarias.
|
98
|
+
*Wire4Client::SaldoApi* | [**get_balance_using_get**](docs/SaldoApi.md#get_balance_using_get) | **GET** /subscriptions/{subscription}/balance | Consulta los saldo de una cuenta
|
99
|
+
*Wire4Client::SuscripcionesApi* | [**pre_enrollment_monex_user_using_post**](docs/SuscripcionesApi.md#pre_enrollment_monex_user_using_post) | **POST** /subscriptions/pre-subscription | registra una pre-suscripción
|
100
|
+
*Wire4Client::SuscripcionesApi* | [**remove_enrollment_user_using_delete**](docs/SuscripcionesApi.md#remove_enrollment_user_using_delete) | **DELETE** /subscriptions/{subscription} | Elimna una suscripción por id
|
101
|
+
*Wire4Client::SuscripcionesApi* | [**remove_subscription_pending_status_using_delete**](docs/SuscripcionesApi.md#remove_subscription_pending_status_using_delete) | **DELETE** /subscriptions/pre-subscription/{subscription} | Elimna una pre-suscripción
|
102
|
+
*Wire4Client::TransferenciasSPEIApi* | [**drop_transactions_pending_using_delete**](docs/TransferenciasSPEIApi.md#drop_transactions_pending_using_delete) | **DELETE** /subscriptions/{subscription}/transactions/outcoming/spei/request/{requestId} | Eliminación de transferencias SPEI® pendientes
|
103
|
+
*Wire4Client::TransferenciasSPEIApi* | [**incoming_spei_transactions_report_using_get**](docs/TransferenciasSPEIApi.md#incoming_spei_transactions_report_using_get) | **GET** /subscriptions/{subscription}/transactions/incoming/spei | Consulta de transferencias recibidas
|
104
|
+
*Wire4Client::TransferenciasSPEIApi* | [**outgoing_spei_transactions_report_using_get**](docs/TransferenciasSPEIApi.md#outgoing_spei_transactions_report_using_get) | **GET** /subscriptions/{subscription}/transactions/outcoming/spei | Consulta de transferencias realizadas
|
105
|
+
*Wire4Client::TransferenciasSPEIApi* | [**register_outgoing_spei_transaction_using_post**](docs/TransferenciasSPEIApi.md#register_outgoing_spei_transaction_using_post) | **POST** /subscriptions/{subscription}/transactions/outcoming/spei | Registro de transferencias
|
106
|
+
*Wire4Client::TransferenciasSPIDApi* | [**get_spid_classifications_using_get**](docs/TransferenciasSPIDApi.md#get_spid_classifications_using_get) | **GET** /subscriptions/{subscription}/beneficiaries/spid/classifications | Consulta las clasificaciones para operaciones con SPID
|
107
|
+
*Wire4Client::TransferenciasSPIDApi* | [**register_outgoing_spid_transaction_using_post**](docs/TransferenciasSPIDApi.md#register_outgoing_spid_transaction_using_post) | **POST** /subscriptions/{subscription}/transactions/outcoming/spid | Registro de transferencias SPID
|
108
|
+
*Wire4Client::WebhooksApi* | [**get_webhook**](docs/WebhooksApi.md#get_webhook) | **GET** /webhooks/{id} | Consulta de Webhook
|
109
|
+
*Wire4Client::WebhooksApi* | [**get_webhooks**](docs/WebhooksApi.md#get_webhooks) | **GET** /webhooks | Consulta de Webhooks
|
110
|
+
*Wire4Client::WebhooksApi* | [**register_webhook**](docs/WebhooksApi.md#register_webhook) | **POST** /webhooks | Alta de Webhook
|
111
|
+
|
112
|
+
|
113
|
+
## Documentation for Models
|
114
|
+
|
115
|
+
- [Wire4Client::Account](docs/Account.md)
|
116
|
+
- [Wire4Client::AccountRequest](docs/AccountRequest.md)
|
117
|
+
- [Wire4Client::AccountResponse](docs/AccountResponse.md)
|
118
|
+
- [Wire4Client::AccountSpid](docs/AccountSpid.md)
|
119
|
+
- [Wire4Client::AmountRequest](docs/AmountRequest.md)
|
120
|
+
- [Wire4Client::Balance](docs/Balance.md)
|
121
|
+
- [Wire4Client::BalanceListResponse](docs/BalanceListResponse.md)
|
122
|
+
- [Wire4Client::BeneficiariesResponse](docs/BeneficiariesResponse.md)
|
123
|
+
- [Wire4Client::BeneficiaryInstitution](docs/BeneficiaryInstitution.md)
|
124
|
+
- [Wire4Client::Billing](docs/Billing.md)
|
125
|
+
- [Wire4Client::BillingTransaction](docs/BillingTransaction.md)
|
126
|
+
- [Wire4Client::CepResponse](docs/CepResponse.md)
|
127
|
+
- [Wire4Client::CepSearchBanxico](docs/CepSearchBanxico.md)
|
128
|
+
- [Wire4Client::ContactRequest](docs/ContactRequest.md)
|
129
|
+
- [Wire4Client::Deposit](docs/Deposit.md)
|
130
|
+
- [Wire4Client::Depositant](docs/Depositant.md)
|
131
|
+
- [Wire4Client::DepositantsRegister](docs/DepositantsRegister.md)
|
132
|
+
- [Wire4Client::DepositantsResponse](docs/DepositantsResponse.md)
|
133
|
+
- [Wire4Client::ErrorResponse](docs/ErrorResponse.md)
|
134
|
+
- [Wire4Client::GetDepositants](docs/GetDepositants.md)
|
135
|
+
- [Wire4Client::Institution](docs/Institution.md)
|
136
|
+
- [Wire4Client::InstitutionsList](docs/InstitutionsList.md)
|
137
|
+
- [Wire4Client::MessageAccountBeneficiary](docs/MessageAccountBeneficiary.md)
|
138
|
+
- [Wire4Client::MessageCEP](docs/MessageCEP.md)
|
139
|
+
- [Wire4Client::MessageDepositReceived](docs/MessageDepositReceived.md)
|
140
|
+
- [Wire4Client::MessageInstitution](docs/MessageInstitution.md)
|
141
|
+
- [Wire4Client::MessagePayment](docs/MessagePayment.md)
|
142
|
+
- [Wire4Client::MessageSubscription](docs/MessageSubscription.md)
|
143
|
+
- [Wire4Client::MessageWebHook](docs/MessageWebHook.md)
|
144
|
+
- [Wire4Client::Payment](docs/Payment.md)
|
145
|
+
- [Wire4Client::Person](docs/Person.md)
|
146
|
+
- [Wire4Client::PreEnrollmentData](docs/PreEnrollmentData.md)
|
147
|
+
- [Wire4Client::PreEnrollmentResponse](docs/PreEnrollmentResponse.md)
|
148
|
+
- [Wire4Client::Relationship](docs/Relationship.md)
|
149
|
+
- [Wire4Client::RelationshipsResponse](docs/RelationshipsResponse.md)
|
150
|
+
- [Wire4Client::SpidClassificationDTO](docs/SpidClassificationDTO.md)
|
151
|
+
- [Wire4Client::SpidClassificationsResponseDTO](docs/SpidClassificationsResponseDTO.md)
|
152
|
+
- [Wire4Client::Timestamp](docs/Timestamp.md)
|
153
|
+
- [Wire4Client::TokenRequiredResponse](docs/TokenRequiredResponse.md)
|
154
|
+
- [Wire4Client::TransactionOutgoing](docs/TransactionOutgoing.md)
|
155
|
+
- [Wire4Client::TransactionOutgoingSpid](docs/TransactionOutgoingSpid.md)
|
156
|
+
- [Wire4Client::TransactionsOutgoingRegister](docs/TransactionsOutgoingRegister.md)
|
157
|
+
- [Wire4Client::WebhookRequest](docs/WebhookRequest.md)
|
158
|
+
- [Wire4Client::WebhookResponse](docs/WebhookResponse.md)
|
159
|
+
- [Wire4Client::WebhooksList](docs/WebhooksList.md)
|
160
|
+
|
161
|
+
|
162
|
+
## Documentation for Authorization
|
163
|
+
|
164
|
+
|
165
|
+
### wire4_aut_app
|
166
|
+
|
167
|
+
- **Type**: OAuth
|
168
|
+
- **Flow**: application
|
169
|
+
- **Authorization URL**:
|
170
|
+
- **Scopes**:
|
171
|
+
- general: Grants general access
|
172
|
+
|
173
|
+
### wire4_aut_app_user_spei
|
174
|
+
|
175
|
+
- **Type**: OAuth
|
176
|
+
- **Flow**: password
|
177
|
+
- **Authorization URL**:
|
178
|
+
- **Scopes**:
|
179
|
+
- spei_admin: Grants spei admin access
|
180
|
+
|
181
|
+
### wire4_aut_app_user_spid
|
182
|
+
|
183
|
+
- **Type**: OAuth
|
184
|
+
- **Flow**: password
|
185
|
+
- **Authorization URL**:
|
186
|
+
- **Scopes**:
|
187
|
+
- spid_admin: Grants spid admin access
|
188
|
+
|
data/Rakefile
ADDED
data/docs/Account.md
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
# Wire4Client::Account
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**amount_limit** | **Float** | Monto límite permitido registrado para la cuenta |
|
7
|
+
**bank_key** | **String** | Clave del banco, es requerido en caso de que la cuenta del beneficiario sea un número de celular | [optional]
|
8
|
+
**beneficiary_account** | **String** | Cuenta del beneficiario, podría ser teléfono celular, TDD o cuenta CLABE |
|
9
|
+
**email** | **Array<String>** | Lista de email's, este dato es opcional | [optional]
|
10
|
+
**institution** | [**BeneficiaryInstitution**](BeneficiaryInstitution.md) | Objeto que contiene el nombre de la institución, es mutuamente exclusivo con el objeto Person | [optional]
|
11
|
+
**kind_of_relationship** | **String** | Tipo de relación con el propietario de la cuenta, para registrar una cuenta este valor se debe obtener del recurso relationships |
|
12
|
+
**numeric_reference_spei** | **String** | Referencia numérica a utilizar cuando se realice una transferencia y no se especifique una referencia | [optional]
|
13
|
+
**payment_concept_spei** | **String** | Concepto de pago a utilizar cuando se realice una transferencia y no se especifique un concepto | [optional]
|
14
|
+
**person** | [**Person**](Person.md) | Objeto que contiene los datos de la persona propietaria de la cuenta, si se incluye este atributo, el atributo institution no debe estar presente | [optional]
|
15
|
+
**relationship** | **String** | Relación con el propietario de la cuenta, para registrar una cuenta este valor se debe obtener del recurso relationships |
|
16
|
+
**rfc** | **String** | Registro federal de contribuyentes de la persona o institución propietaria de la cuenta |
|
17
|
+
|
18
|
+
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# Wire4Client::AccountRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**accounts** | [**Array<Account>**](Account.md) | Lista de cuentas del beneficiario que serán registradas | [optional]
|
7
|
+
**cancel_return_url** | **String** | Url a la que se redirigira en caso de que el cliente cancele el registro |
|
8
|
+
**return_url** | **String** | Url a la que se redireccionara en caso exitoso |
|
9
|
+
|
10
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# Wire4Client::AccountResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**amount_limit** | **Float** | Monto límite permitido registrado para la cuenta |
|
7
|
+
**bank** | [**Institution**](Institution.md) | El banco al cual pertenece la cuenta | [optional]
|
8
|
+
**beneficiary_account** | **String** | Cuenta del beneficiario, podría ser teléfono celular, TDD o cuenta CLABE |
|
9
|
+
**email** | **Array<String>** | Lista de email's, este dato es opcional | [optional]
|
10
|
+
**institution** | [**BeneficiaryInstitution**](BeneficiaryInstitution.md) | Objeto que contiene el nombre de la institución, es mutuamente exclusivo con el objeto Person | [optional]
|
11
|
+
**kind_of_relationship** | **String** | Tipo de relación con el propietario de la cuenta, para registrar una cuenta este valor se debe obtener del recurso relationships |
|
12
|
+
**numeric_reference_spei** | **String** | Referencia numérica a utilizar cuando se realice una transferencia y no se especifique una referencia | [optional]
|
13
|
+
**payment_concept_spei** | **String** | Concepto de pago a utilizar cuando se realice una transferencia y no se especifique un concepto | [optional]
|
14
|
+
**person** | [**Person**](Person.md) | Objeto que contiene los datos de la persona propietaria de la cuenta, si se incluye este atributo, el atributo institution no debe estar presente | [optional]
|
15
|
+
**relationship** | **String** | Relación con el propietario de la cuenta, para registrar una cuenta este valor se debe obtener del recurso relationships |
|
16
|
+
**rfc** | **String** | Registro federal de contribuyentes de la persona o institución propietaria de la cuenta |
|
17
|
+
|
18
|
+
|
data/docs/AccountSpid.md
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# Wire4Client::AccountSpid
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**amount_limit** | **Float** | Monto límite permitido para la cuenta |
|
7
|
+
**bank_code_banxico** | **String** | Código banxico con una longitud de 5 dígitos, es requerido en caso de que la cuenta del beneficiario sea un número de celular | [optional]
|
8
|
+
**beneficiary_account** | **String** | Cuenta del beneficiario debe ser una cuenta CLABE |
|
9
|
+
**cancel_return_url** | **String** | Url a la que se redirigira en caso no exitoso | [optional]
|
10
|
+
**email** | **Array<String>** | Lista de email's, este dato es opcional | [optional]
|
11
|
+
**institution** | [**BeneficiaryInstitution**](BeneficiaryInstitution.md) | Objeto que contiene el nombre de la institución, es mutuamente exclusivo con el objeto Person |
|
12
|
+
**kind_of_relationship** | **String** | Tipo de relación de la cuentaobtained of endpoint relationships |
|
13
|
+
**numeric_reference** | **String** | Referencia numérica | [optional]
|
14
|
+
**payment_concept** | **String** | Concepto de pago | [optional]
|
15
|
+
**relationship** | **String** | Código de relación de la cuenta, este valor debe ser igual a un valor obtenido del endpoint relationship |
|
16
|
+
**return_url** | **String** | Url a la que se redireccionara en caso exitoso | [optional]
|
17
|
+
**rfc** | **String** | Registro federal de contribuyentes | [optional]
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# Wire4Client::AmountRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**amount_limit** | **Float** | Nuevo monto límite que reemplazará al actual, un monto de 0.0 implica que no hay límite |
|
7
|
+
**currency_code** | **String** | Código de moneda de la cuenta |
|
8
|
+
**previous_amount_limit** | **Float** | Monto límite registrado actualmente, un monto de 0.0 implica que no hay límite |
|
9
|
+
|
10
|
+
|
data/docs/Balance.md
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
# Wire4Client::Balance
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**balance** | **Float** | Monto del balance del contrato para la moneda especificada | [optional]
|
7
|
+
**currency** | **String** | Moneda | [optional]
|
8
|
+
**currency_code** | **String** | Código de la moneda | [optional]
|
9
|
+
|
10
|
+
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# Wire4Client::BeneficiariesResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**beneficiaries** | [**Array<AccountResponse>**](AccountResponse.md) | Lista de beneficiarios obtenidos | [optional]
|
7
|
+
|
8
|
+
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# Wire4Client::BeneficiaryInstitution
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**name** | **String** | Nombre de la institución / empresa (persona moral) propietaria la cuenta bancaria | [optional]
|
7
|
+
|
8
|
+
|
data/docs/Billing.md
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
# Wire4Client::Billing
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**amount** | **Float** | Monto total de la factura | [optional]
|
7
|
+
**emission_at** | **DateTime** | Fecha y hora en que se emitió de la factura | [optional]
|
8
|
+
**end_date** | **DateTime** | Fecha en que finaliza el periodo que se factura | [optional]
|
9
|
+
**id** | **String** | Identificador de la factura | [optional]
|
10
|
+
**start_date** | **DateTime** | Fecha de inicio del periodo que se factura | [optional]
|
11
|
+
**status** | **String** | Estatus de la factura | [optional]
|
12
|
+
**transactions** | [**Array<BillingTransaction>**](BillingTransaction.md) | | [optional]
|
13
|
+
**url_pdf** | **String** | Url de la representación impresa en pdf de la factura | [optional]
|
14
|
+
**url_xml** | **String** | Url del archivo xml de la factura | [optional]
|
15
|
+
|
16
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# Wire4Client::BillingTransaction
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**amount** | **Float** | Monto de la transacción | [optional]
|
7
|
+
**clave_rastreo** | **String** | Clave de rastreo que se asignó a la transacción | [optional]
|
8
|
+
**monex_id** | **Integer** | Identificador de transaccion en banco monex | [optional]
|
9
|
+
**operation_date** | [**Timestamp**](Timestamp.md) | Fecha y hora de la transacción | [optional]
|
10
|
+
**order_id** | **String** | Identificador de la orden | [optional]
|
11
|
+
**payment_order_id** | **String** | Identificador de la orden de pago | [optional]
|
12
|
+
**transaction_id** | **Integer** | Identificador de la transacción | [optional]
|
13
|
+
**type** | **String** | Tipo de transaccion IN | OUT | [optional]
|
14
|
+
|
15
|
+
|
data/docs/CepResponse.md
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
# Wire4Client::CepResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**account_beneficiary** | **String** | Cuenta del beneficiario | [optional]
|
7
|
+
**account_sender** | **String** | Cuenta del ordenante | [optional]
|
8
|
+
**amount** | **Float** | Monto de la transferencia | [optional]
|
9
|
+
**available** | **BOOLEAN** | Indica si o no el CEP se encuentra disponible | [optional]
|
10
|
+
**beneficiary_bank_key** | **String** | Clave del banco beneficiario | [optional]
|
11
|
+
**beneficiary_name** | **String** | Nombre del beneficiario | [optional]
|
12
|
+
**beneficiary_rfc** | **String** | RFC del beneficiario | [optional]
|
13
|
+
**cadena_original** | **String** | Cadena original del CEP | [optional]
|
14
|
+
**capture_date** | **DateTime** | Fecha de captura de la transferencia | [optional]
|
15
|
+
**certificate_serial_number** | **String** | Número de serie del certificado | [optional]
|
16
|
+
**clave_rastreo** | **String** | Clave de rastreo | [optional]
|
17
|
+
**description** | **String** | Descripción de la transferencia | [optional]
|
18
|
+
**iva** | **Float** | IVA de la transferencia | [optional]
|
19
|
+
**operation_date** | **DateTime** | Fecha de operación de la transferencia | [optional]
|
20
|
+
**operation_date_cep** | **DateTime** | Fecha de abono registrada en el CEP | [optional]
|
21
|
+
**reference** | **String** | Referencia numérica de la transferencia | [optional]
|
22
|
+
**sender_bank_key** | **String** | Clave del banco emisor | [optional]
|
23
|
+
**sender_name** | **String** | Nombre del emisor | [optional]
|
24
|
+
**sender_rfc** | **String** | RFC del emisor | [optional]
|
25
|
+
**signature** | **String** | Firma del CEP | [optional]
|
26
|
+
**url_zip** | **String** | La url al archivo zip del CEP, el cual contiene el xml y pdf | [optional]
|
27
|
+
|
28
|
+
|