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
@@ -0,0 +1,10 @@
|
|
1
|
+
# Wire4Client::MessageAccountBeneficiary
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**account** | **String** | Cuenta del beneficiario | [optional]
|
7
|
+
**error_message** | **String** | Mensaje de error en caso de existir, el valor de este atributo contiene el mensaje | [optional]
|
8
|
+
**request_id** | **String** | El identificador, en esta API, de la petición de registro de la cuenta del beneficiario | [optional]
|
9
|
+
|
10
|
+
|
data/docs/MessageCEP.md
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
# Wire4Client::MessageCEP
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**account_beneficiary** | **String** | Cuenta del beneficiario | [optional]
|
7
|
+
**account_sender** | **String** | Cuenta que envia la operación | [optional]
|
8
|
+
**amount** | **Float** | Monto de la operación | [optional]
|
9
|
+
**available** | **BOOLEAN** | Bander para saber si el cep esta disponible | [optional]
|
10
|
+
**bank_beneficiary** | **String** | Clave del banco beneficiario | [optional]
|
11
|
+
**bank_sender** | **String** | Clave del banco que envia la operación | [optional]
|
12
|
+
**beneficiary_name** | **String** | Nombre del beneficiario | [optional]
|
13
|
+
**beneficiary_rfc** | **String** | RFC del beneficiario | [optional]
|
14
|
+
**cadena_original** | **String** | Cadena original emita por el SAT | [optional]
|
15
|
+
**capture_date** | **DateTime** | Fecha de captura | [optional]
|
16
|
+
**certificate_serial_number** | **String** | Numero de serie emitido por el SAT | [optional]
|
17
|
+
**clave_rastreo** | **String** | Clave de rastreo de la operación | [optional]
|
18
|
+
**description** | **String** | Descripción de la operación | [optional]
|
19
|
+
**iva** | **Float** | Iva de la operación | [optional]
|
20
|
+
**operation_date** | **DateTime** | Fecha en la que se realizó la operación | [optional]
|
21
|
+
**operation_date_cep** | **DateTime** | Fecha en la que genera el cep | [optional]
|
22
|
+
**reference** | **String** | Referencia de la operación | [optional]
|
23
|
+
**sender_name** | **String** | Nombre de quien envia la operación | [optional]
|
24
|
+
**sender_rfc** | **String** | RFC de quien envia la operación | [optional]
|
25
|
+
**signature** | **String** | Firma del Cep | [optional]
|
26
|
+
**url_zip** | **String** | Url que contiene el PDF y XML del CEP proporcionado por banxico | [optional]
|
27
|
+
|
28
|
+
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# Wire4Client::MessageDepositReceived
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**amount** | **Float** | Monto de la transferencia | [optional]
|
7
|
+
**beneficiary_account** | **String** | Cuenta del beneficiario | [optional]
|
8
|
+
**beneficiary_name** | **String** | Nombre del beneficiario | [optional]
|
9
|
+
**beneficiary_rfc** | **String** | RFC del beneficiario | [optional]
|
10
|
+
**clave_rastreo** | **String** | Clave de rastreo de la transferencia | [optional]
|
11
|
+
**confirm_date** | **DateTime** | Fecha de confirmación de la transferencia | [optional]
|
12
|
+
**currency_code** | **String** | Código de moneda de la transferencia, puede ser MXP, USD | [optional]
|
13
|
+
**deposit_date** | **DateTime** | Fecha de recepción de la transferencia | [optional]
|
14
|
+
**depositant** | **String** | Nombre del depositante, en caso que la transferencia se reciba en una cuenta de depositante | [optional]
|
15
|
+
**depositant_clabe** | **String** | CLABE del depositante, en caso que la transferencia se reciba en una cuenta de depositante | [optional]
|
16
|
+
**depositant_email** | **String** | Correo electrónico del depositante, en caso que la transferencia se reciba en una cuenta de depositante | [optional]
|
17
|
+
**depositant_rfc** | **String** | RFC del depositante, en caso que la transferencia se reciba en una cuenta de depositante | [optional]
|
18
|
+
**description** | **String** | Concepto de la transferencia | [optional]
|
19
|
+
**monex_description** | **String** | Descripción de Monex para la transferencia | [optional]
|
20
|
+
**monex_transaction_id** | **String** | Identificador asignado por Monex a la transferencia | [optional]
|
21
|
+
**reference** | **String** | Referecia de la transferencia | [optional]
|
22
|
+
**sender_account** | **String** | Cuenta del ordenante, podría ser un número celular, TDD o Cuenta CLABE interbancaria | [optional]
|
23
|
+
**sender_bank** | [**MessageInstitution**](MessageInstitution.md) | Información del banco del ordenante | [optional]
|
24
|
+
**sender_name** | **String** | Nombre del ordenante | [optional]
|
25
|
+
**sender_rfc** | **String** | RFC del ordenante | [optional]
|
26
|
+
|
27
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Wire4Client::MessageInstitution
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**company_name** | **String** | Nombre de la institución registrada ante el SAT | [optional]
|
7
|
+
**key** | **String** | Clave 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
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# Wire4Client::MessagePayment
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**account** | **String** | Cuenta del ordenante | [optional]
|
7
|
+
**amount** | **Float** | Monto de la transferencia | [optional]
|
8
|
+
**beneficiary_account** | **String** | Cuenta del beneficiario | [optional]
|
9
|
+
**beneficiary_bank** | [**MessageInstitution**](MessageInstitution.md) | Banco del beneficiario | [optional]
|
10
|
+
**beneficiary_name** | **String** | Nombre del beneficiario | [optional]
|
11
|
+
**cep** | [**MessageCEP**](MessageCEP.md) | | [optional]
|
12
|
+
**clave_rastreo** | **String** | Clave de rastreo de la transferencia | [optional]
|
13
|
+
**concept** | **String** | Concepto de la transferencia de salida | [optional]
|
14
|
+
**confirm_date** | **DateTime** | Fecha de confirmación de la transferencia de salida | [optional]
|
15
|
+
**currency_code** | **String** | Código de la moneda de la transferencia de salida | [optional]
|
16
|
+
**detention_message** | **String** | Mensaje de detención de Monex de la transferencia de salida | [optional]
|
17
|
+
**monex_description** | **String** | La descripción de Monex de la transferencia de salida | [optional]
|
18
|
+
**order_id** | **String** | El identificador de la transferencia de salida | [optional]
|
19
|
+
**payment_order_id** | **Integer** | El identificador de la orden de pago de Monex de la transferencia de salida | [optional]
|
20
|
+
**reference** | **Integer** | Referecia de la transferencia | [optional]
|
21
|
+
**request_id** | **String** | El identificador, en esta API, de la petición de envío de la transferencia de salida | [optional]
|
22
|
+
**status_code** | **String** | El estado de la transferencia de salida | [optional]
|
23
|
+
**transaction_id** | **Integer** | El identificador de Monex de la transferencia de salida | [optional]
|
24
|
+
|
25
|
+
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# Wire4Client::MessageSubscription
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**contract** | **String** | Contrato Monex, con el cual se suscribió el cliente Monex en Wire4 | [optional]
|
7
|
+
**subscription** | **String** | Identificador de la suscripción, el cual se utiliza en las operaciones que solicitan una suscripción | [optional]
|
8
|
+
**user** | **String** | Usuario enmascardo, con el cual se suscribió el cliente Monex en Wire4 | [optional]
|
9
|
+
**user_key** | **String** | Usuario proporcionado por Wire4, el cual se debe utilizar para autenticar a esta suscripción | [optional]
|
10
|
+
**user_secret** | **String** | Contraseña proporcionada por Wire4, la cual se debe utilizar para autenticar a esta suscripción | [optional]
|
11
|
+
|
12
|
+
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# Wire4Client::MessageWebHook
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**api_version** | **String** | La versión de la API | [optional]
|
7
|
+
**created** | **DateTime** | Fecha de creación del mensaje | [optional]
|
8
|
+
**data** | **Object** | Objeto que contiene la información del evento | [optional]
|
9
|
+
**id** | **String** | El identificador del mensaje | [optional]
|
10
|
+
**livemode** | **BOOLEAN** | Indica si proviene de un entorno productivo | [optional]
|
11
|
+
**object** | **String** | Tipo de objeto que contiene el mensaje en el atributo data los posibles valores son: subscription, beneficiary, spei_outgoing, spei_incoming, spid_outgoing | [optional]
|
12
|
+
**pending_webhooks** | **Integer** | Número de mensajes pendientes de enviar | [optional]
|
13
|
+
**request** | **String** | Identificador del recurso relacionado | [optional]
|
14
|
+
**type** | **String** | El tipo evento que se esta enviando en la notifiación | [optional]
|
15
|
+
|
16
|
+
|
data/docs/Payment.md
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
# Wire4Client::Payment
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**account** | **String** | Cuenta emisora | [optional]
|
7
|
+
**amount** | **Float** | Monto de la transferencia | [optional]
|
8
|
+
**beneficiary_account** | **String** | Cuenta del beneficiario | [optional]
|
9
|
+
**beneficiary_bank** | [**MessageInstitution**](MessageInstitution.md) | Información del banco beneficiario | [optional]
|
10
|
+
**beneficiary_name** | **String** | Nombre del Beneficiario | [optional]
|
11
|
+
**cep** | [**MessageCEP**](MessageCEP.md) | CEP emitido por Banxico de la transferencia, sólo en caso de que este disponible en banxico, posteriomente podrá usar la consulta de CEP del API | [optional]
|
12
|
+
**clave_rastreo** | **String** | Clave de rastreo de la transferencia | [optional]
|
13
|
+
**concept** | **String** | Concepto de pago | [optional]
|
14
|
+
**confirm_date** | **DateTime** | Fecha de aplicación de la transferencia | [optional]
|
15
|
+
**currency_code** | **String** | Código de moneda de la transferencia | [optional]
|
16
|
+
**detention_message** | **String** | Mensaje proporcionado por Monex para la transferencia | [optional]
|
17
|
+
**monex_description** | **String** | Descripción | [optional]
|
18
|
+
**order_id** | **String** | Identificador asignado por la aplciación a la transferencia | [optional]
|
19
|
+
**payment_order_id** | **Integer** | Identificador de la orden de pago en Monex | [optional]
|
20
|
+
**reference** | **Integer** | Referencia numérica | [optional]
|
21
|
+
**status_code** | **String** | Estado de la transferencia de la transferencia, los posibles valores son: PENDING, COMPLETED, FAILED, CANCELLED | [optional]
|
22
|
+
**transaction_id** | **Integer** | Identificador de la transferencia asignado por Monex | [optional]
|
23
|
+
|
24
|
+
|
data/docs/Person.md
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
# Wire4Client::Person
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**last_name** | **String** | Apellido Materno del propietario de la cuenta |
|
7
|
+
**middle_name** | **String** | Apellido Paterno del propietario de la cuenta |
|
8
|
+
**name** | **String** | Nombre(s) del propietario de la cuenta |
|
9
|
+
|
10
|
+
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# Wire4Client::PreEnrollmentData
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**cancel_return_url** | **String** | Url a la que se redirigirá en caso de un error |
|
7
|
+
**return_url** | **String** | Url a la que se redirigirá en caso de exito |
|
8
|
+
|
9
|
+
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# Wire4Client::PreEnrollmentResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**subscription_id** | **String** | Identificador público generado | [optional]
|
7
|
+
**url** | **String** | Url para confirmación de enrolamiento | [optional]
|
8
|
+
|
9
|
+
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# Wire4Client::Relationship
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**kind_of_relationship** | **String** | Tipo de relación | [optional]
|
7
|
+
**relationship** | **String** | Nombre de la relación | [optional]
|
8
|
+
|
9
|
+
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# Wire4Client::RelationshipsResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**relationships** | [**Array<Relationship>**](Relationship.md) | Lista de relaciones del beneficiario | [optional]
|
7
|
+
|
8
|
+
|
data/docs/SaldoApi.md
ADDED
@@ -0,0 +1,61 @@
|
|
1
|
+
# Wire4Client::SaldoApi
|
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_balance_using_get**](SaldoApi.md#get_balance_using_get) | **GET** /subscriptions/{subscription}/balance | Consulta los saldo de una cuenta
|
8
|
+
|
9
|
+
|
10
|
+
# **get_balance_using_get**
|
11
|
+
> BalanceListResponse get_balance_using_get(subscription)
|
12
|
+
|
13
|
+
Consulta los saldo de una cuenta
|
14
|
+
|
15
|
+
Obtiene el de las divisas que se manejen en el contrato.
|
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_user_spei
|
24
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
25
|
+
end
|
26
|
+
|
27
|
+
api_instance = Wire4Client::SaldoApi.new
|
28
|
+
|
29
|
+
subscription = 'subscription_example' # String | El identificador de la suscripción a esta API
|
30
|
+
|
31
|
+
|
32
|
+
begin
|
33
|
+
#Consulta los saldo de una cuenta
|
34
|
+
result = api_instance.get_balance_using_get(subscription)
|
35
|
+
p result
|
36
|
+
rescue Wire4Client::ApiError => e
|
37
|
+
puts "Exception when calling SaldoApi->get_balance_using_get: #{e}"
|
38
|
+
end
|
39
|
+
```
|
40
|
+
|
41
|
+
### Parameters
|
42
|
+
|
43
|
+
Name | Type | Description | Notes
|
44
|
+
------------- | ------------- | ------------- | -------------
|
45
|
+
**subscription** | **String**| El identificador de la suscripción a esta API |
|
46
|
+
|
47
|
+
### Return type
|
48
|
+
|
49
|
+
[**BalanceListResponse**](BalanceListResponse.md)
|
50
|
+
|
51
|
+
### Authorization
|
52
|
+
|
53
|
+
[wire4_aut_app_user_spei](../README.md#wire4_aut_app_user_spei)
|
54
|
+
|
55
|
+
### HTTP request headers
|
56
|
+
|
57
|
+
- **Content-Type**: Not defined
|
58
|
+
- **Accept**: application/json
|
59
|
+
|
60
|
+
|
61
|
+
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# Wire4Client::SpidClassificationDTO
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**classification_id** | **String** | El identificador de la clasificación | [optional]
|
7
|
+
**description** | **String** | Las descripción de la clasificación de la operación | [optional]
|
8
|
+
|
9
|
+
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# Wire4Client::SpidClassificationsResponseDTO
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**classifications** | [**Array<SpidClassificationDTO>**](SpidClassificationDTO.md) | Lista de clasificaciones para operaciones con dólares (SPID) | [optional]
|
7
|
+
|
8
|
+
|
@@ -0,0 +1,165 @@
|
|
1
|
+
# Wire4Client::SuscripcionesApi
|
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_enrollment_monex_user_using_post**](SuscripcionesApi.md#pre_enrollment_monex_user_using_post) | **POST** /subscriptions/pre-subscription | registra una pre-suscripción
|
8
|
+
[**remove_enrollment_user_using_delete**](SuscripcionesApi.md#remove_enrollment_user_using_delete) | **DELETE** /subscriptions/{subscription} | Elimna una suscripción por id
|
9
|
+
[**remove_subscription_pending_status_using_delete**](SuscripcionesApi.md#remove_subscription_pending_status_using_delete) | **DELETE** /subscriptions/pre-subscription/{subscription} | Elimna una pre-suscripción
|
10
|
+
|
11
|
+
|
12
|
+
# **pre_enrollment_monex_user_using_post**
|
13
|
+
> PreEnrollmentResponse pre_enrollment_monex_user_using_post(pre_enrollment_data)
|
14
|
+
|
15
|
+
registra una pre-suscripción
|
16
|
+
|
17
|
+
Pre-registra una suscripción para operar un contrato a través de un aplicación socio de la plataforma, proporcionando una URL donde el cliente Monex debe autorizar el acceso a los datos de su cuenta a el socio.<br/>Una vez que el cuentahabiente autorice el acceso, se envia un webhook con el evento ENROLLMENT.CREATED, el cual contiene los datos de acceso.
|
18
|
+
|
19
|
+
### Example
|
20
|
+
```ruby
|
21
|
+
# load the gem
|
22
|
+
require 'wire4_client'
|
23
|
+
# setup authorization
|
24
|
+
Wire4Client.configure do |config|
|
25
|
+
# Configure OAuth2 access token for authorization: wire4_aut_app
|
26
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
27
|
+
end
|
28
|
+
|
29
|
+
api_instance = Wire4Client::SuscripcionesApi.new
|
30
|
+
|
31
|
+
pre_enrollment_data = Wire4Client::PreEnrollmentData.new # PreEnrollmentData | Información para el enrolamiento
|
32
|
+
|
33
|
+
|
34
|
+
begin
|
35
|
+
#registra una pre-suscripción
|
36
|
+
result = api_instance.pre_enrollment_monex_user_using_post(pre_enrollment_data)
|
37
|
+
p result
|
38
|
+
rescue Wire4Client::ApiError => e
|
39
|
+
puts "Exception when calling SuscripcionesApi->pre_enrollment_monex_user_using_post: #{e}"
|
40
|
+
end
|
41
|
+
```
|
42
|
+
|
43
|
+
### Parameters
|
44
|
+
|
45
|
+
Name | Type | Description | Notes
|
46
|
+
------------- | ------------- | ------------- | -------------
|
47
|
+
**pre_enrollment_data** | [**PreEnrollmentData**](PreEnrollmentData.md)| Información para el enrolamiento |
|
48
|
+
|
49
|
+
### Return type
|
50
|
+
|
51
|
+
[**PreEnrollmentResponse**](PreEnrollmentResponse.md)
|
52
|
+
|
53
|
+
### Authorization
|
54
|
+
|
55
|
+
[wire4_aut_app](../README.md#wire4_aut_app)
|
56
|
+
|
57
|
+
### HTTP request headers
|
58
|
+
|
59
|
+
- **Content-Type**: application/json
|
60
|
+
- **Accept**: application/json
|
61
|
+
|
62
|
+
|
63
|
+
|
64
|
+
# **remove_enrollment_user_using_delete**
|
65
|
+
> remove_enrollment_user_using_delete(subscription)
|
66
|
+
|
67
|
+
Elimna una suscripción por id
|
68
|
+
|
69
|
+
Elimina una suscripción, una ves eliminada la suscripcion ya no se podran realizar operacions en el API uilizando esta suscripción
|
70
|
+
|
71
|
+
### Example
|
72
|
+
```ruby
|
73
|
+
# load the gem
|
74
|
+
require 'wire4_client'
|
75
|
+
# setup authorization
|
76
|
+
Wire4Client.configure do |config|
|
77
|
+
# Configure OAuth2 access token for authorization: wire4_aut_app_user_spei
|
78
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
79
|
+
end
|
80
|
+
|
81
|
+
api_instance = Wire4Client::SuscripcionesApi.new
|
82
|
+
|
83
|
+
subscription = 'subscription_example' # String | El identificador de la suscripción a esta API
|
84
|
+
|
85
|
+
|
86
|
+
begin
|
87
|
+
#Elimna una suscripción por id
|
88
|
+
api_instance.remove_enrollment_user_using_delete(subscription)
|
89
|
+
rescue Wire4Client::ApiError => e
|
90
|
+
puts "Exception when calling SuscripcionesApi->remove_enrollment_user_using_delete: #{e}"
|
91
|
+
end
|
92
|
+
```
|
93
|
+
|
94
|
+
### Parameters
|
95
|
+
|
96
|
+
Name | Type | Description | Notes
|
97
|
+
------------- | ------------- | ------------- | -------------
|
98
|
+
**subscription** | **String**| El identificador de la suscripción a esta API |
|
99
|
+
|
100
|
+
### Return type
|
101
|
+
|
102
|
+
nil (empty response body)
|
103
|
+
|
104
|
+
### Authorization
|
105
|
+
|
106
|
+
[wire4_aut_app_user_spei](../README.md#wire4_aut_app_user_spei)
|
107
|
+
|
108
|
+
### HTTP request headers
|
109
|
+
|
110
|
+
- **Content-Type**: Not defined
|
111
|
+
- **Accept**: */*
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
# **remove_subscription_pending_status_using_delete**
|
116
|
+
> remove_subscription_pending_status_using_delete(subscription)
|
117
|
+
|
118
|
+
Elimna una pre-suscripción
|
119
|
+
|
120
|
+
Se elimina una pre-suscripción, sólo se elimina en caso de que cliente monex no haya concedio su autorización de acceso, es decir que la pre-suscripcion este pendiente.
|
121
|
+
|
122
|
+
### Example
|
123
|
+
```ruby
|
124
|
+
# load the gem
|
125
|
+
require 'wire4_client'
|
126
|
+
# setup authorization
|
127
|
+
Wire4Client.configure do |config|
|
128
|
+
# Configure OAuth2 access token for authorization: wire4_aut_app
|
129
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
130
|
+
end
|
131
|
+
|
132
|
+
api_instance = Wire4Client::SuscripcionesApi.new
|
133
|
+
|
134
|
+
subscription = 'subscription_example' # String | El identificador de la suscripción a esta API
|
135
|
+
|
136
|
+
|
137
|
+
begin
|
138
|
+
#Elimna una pre-suscripción
|
139
|
+
api_instance.remove_subscription_pending_status_using_delete(subscription)
|
140
|
+
rescue Wire4Client::ApiError => e
|
141
|
+
puts "Exception when calling SuscripcionesApi->remove_subscription_pending_status_using_delete: #{e}"
|
142
|
+
end
|
143
|
+
```
|
144
|
+
|
145
|
+
### Parameters
|
146
|
+
|
147
|
+
Name | Type | Description | Notes
|
148
|
+
------------- | ------------- | ------------- | -------------
|
149
|
+
**subscription** | **String**| El identificador de la suscripción a esta API |
|
150
|
+
|
151
|
+
### Return type
|
152
|
+
|
153
|
+
nil (empty response body)
|
154
|
+
|
155
|
+
### Authorization
|
156
|
+
|
157
|
+
[wire4_aut_app](../README.md#wire4_aut_app)
|
158
|
+
|
159
|
+
### HTTP request headers
|
160
|
+
|
161
|
+
- **Content-Type**: Not defined
|
162
|
+
- **Accept**: */*
|
163
|
+
|
164
|
+
|
165
|
+
|