wire4_client 0.0.9.pre.TEST → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +69 -0
- data/README.md +15 -77
- data/docs/Account.md +3 -3
- data/docs/AccountResponse.md +3 -6
- data/docs/AmountRequest.md +0 -2
- data/docs/BillingTransaction.md +1 -1
- data/docs/CuentasDeBeneficiariosSPEIApi.md +8 -127
- data/docs/CuentasDeBeneficiariosSPIDApi.md +1 -11
- data/docs/Deposit.md +0 -1
- data/docs/MessageAccountBeneficiary.md +2 -2
- data/docs/MessageCEP.md +9 -9
- data/docs/MessageDepositReceived.md +0 -1
- data/docs/MessagePayment.md +1 -3
- data/docs/MessageSubscription.md +6 -6
- data/docs/MessageWebHook.md +2 -2
- data/docs/Payment.md +1 -3
- data/docs/SpidBeneficiaryResponse.md +0 -3
- data/docs/SuscripcionesApi.md +14 -14
- data/docs/Timestamp.md +17 -0
- data/docs/TransactionOutgoing.md +1 -2
- data/docs/TransferenciasSPEIApi.md +3 -61
- data/lib/wire4_client/api/comprobante_electrnico_de_pago_cep_api.rb +1 -1
- data/lib/wire4_client/api/contacto_api.rb +1 -1
- data/lib/wire4_client/api/cuentas_de_beneficiarios_spei_api.rb +10 -194
- data/lib/wire4_client/api/cuentas_de_beneficiarios_spid_api.rb +1 -16
- data/lib/wire4_client/api/depositantes_api.rb +1 -1
- data/lib/wire4_client/api/facturas_api.rb +1 -1
- data/lib/wire4_client/api/instituciones_api.rb +1 -1
- data/lib/wire4_client/api/saldo_api.rb +1 -1
- data/lib/wire4_client/api/suscripciones_api.rb +15 -15
- data/lib/wire4_client/api/transferencias_spei_api.rb +3 -85
- data/lib/wire4_client/api/transferencias_spid_api.rb +1 -1
- data/lib/wire4_client/api/webhooks_api.rb +1 -1
- data/lib/wire4_client/api_client.rb +1 -1
- data/lib/wire4_client/api_error.rb +1 -1
- data/lib/wire4_client/configuration.rb +1 -1
- data/lib/wire4_client/models/account.rb +4 -4
- data/lib/wire4_client/models/account_request.rb +1 -1
- data/lib/wire4_client/models/account_response.rb +8 -38
- data/lib/wire4_client/models/account_spid.rb +1 -1
- data/lib/wire4_client/models/amount_request.rb +5 -91
- data/lib/wire4_client/models/balance.rb +1 -1
- data/lib/wire4_client/models/balance_list_response.rb +1 -1
- data/lib/wire4_client/models/beneficiaries_response.rb +1 -1
- data/lib/wire4_client/models/beneficiary_institution.rb +1 -1
- data/lib/wire4_client/models/billing.rb +1 -1
- data/lib/wire4_client/models/billing_transaction.rb +2 -2
- data/lib/wire4_client/models/cep_response.rb +1 -1
- data/lib/wire4_client/models/cep_search_banxico.rb +1 -1
- data/lib/wire4_client/models/contact_request.rb +1 -1
- data/lib/wire4_client/models/deposit.rb +2 -12
- data/lib/wire4_client/models/depositant.rb +1 -1
- data/lib/wire4_client/models/depositants_register.rb +1 -1
- data/lib/wire4_client/models/depositants_response.rb +1 -1
- data/lib/wire4_client/models/error_response.rb +1 -1
- data/lib/wire4_client/models/get_depositants.rb +1 -1
- data/lib/wire4_client/models/institution.rb +1 -1
- data/lib/wire4_client/models/institutions_list.rb +1 -1
- data/lib/wire4_client/models/message_account_beneficiary.rb +3 -3
- data/lib/wire4_client/models/message_cep.rb +11 -11
- data/lib/wire4_client/models/message_deposit_received.rb +3 -13
- data/lib/wire4_client/models/message_institution.rb +1 -1
- data/lib/wire4_client/models/message_payment.rb +3 -24
- data/lib/wire4_client/models/message_subscription.rb +8 -8
- data/lib/wire4_client/models/message_web_hook.rb +3 -3
- data/lib/wire4_client/models/payment.rb +3 -23
- data/lib/wire4_client/models/payments_request_id.rb +1 -1
- data/lib/wire4_client/models/person.rb +1 -1
- data/lib/wire4_client/models/pre_enrollment_data.rb +1 -1
- data/lib/wire4_client/models/pre_enrollment_response.rb +1 -1
- data/lib/wire4_client/models/relationship.rb +1 -1
- data/lib/wire4_client/models/relationships_response.rb +1 -1
- data/lib/wire4_client/models/spid_beneficiaries_response.rb +1 -1
- data/lib/wire4_client/models/spid_beneficiary_response.rb +5 -35
- data/lib/wire4_client/models/spid_classification_dto.rb +1 -1
- data/lib/wire4_client/models/spid_classifications_response_dto.rb +1 -1
- data/lib/wire4_client/models/{codi_operation_response_dto.rb → timestamp.rb} +72 -53
- data/lib/wire4_client/models/token_required_response.rb +1 -1
- data/lib/wire4_client/models/transaction_outgoing.rb +3 -13
- data/lib/wire4_client/models/transaction_outgoing_spid.rb +1 -1
- data/lib/wire4_client/models/transactions_outgoing_register.rb +1 -1
- data/lib/wire4_client/models/webhook_request.rb +1 -1
- data/lib/wire4_client/models/webhook_response.rb +1 -1
- data/lib/wire4_client/models/webhooks_list.rb +1 -1
- data/lib/wire4_client/version.rb +2 -2
- data/lib/wire4_client.rb +2 -53
- data/spec/api/comprobante_electrnico_de_pago_cep_api_spec.rb +1 -1
- data/spec/api/contacto_api_spec.rb +1 -1
- data/spec/api/cuentas_de_beneficiarios_spei_api_spec.rb +4 -37
- data/spec/api/cuentas_de_beneficiarios_spid_api_spec.rb +1 -6
- data/spec/api/depositantes_api_spec.rb +1 -1
- data/spec/api/facturas_api_spec.rb +1 -1
- data/spec/api/instituciones_api_spec.rb +1 -1
- data/spec/api/saldo_api_spec.rb +1 -1
- data/spec/api/suscripciones_api_spec.rb +8 -8
- data/spec/api/transferencias_spei_api_spec.rb +2 -17
- data/spec/api/transferencias_spid_api_spec.rb +1 -1
- data/spec/api/webhooks_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/account_request_spec.rb +1 -1
- data/spec/models/account_response_spec.rb +1 -19
- data/spec/models/account_spec.rb +1 -1
- data/spec/models/account_spid_spec.rb +1 -1
- data/spec/models/amount_request_spec.rb +1 -13
- data/spec/models/balance_list_response_spec.rb +1 -1
- data/spec/models/balance_spec.rb +1 -1
- data/spec/models/beneficiaries_response_spec.rb +1 -1
- data/spec/models/beneficiary_institution_spec.rb +1 -1
- data/spec/models/billing_spec.rb +1 -1
- data/spec/models/billing_transaction_spec.rb +1 -1
- data/spec/models/cep_response_spec.rb +1 -1
- data/spec/models/cep_search_banxico_spec.rb +1 -1
- data/spec/models/contact_request_spec.rb +1 -1
- data/spec/models/deposit_spec.rb +1 -7
- data/spec/models/depositant_spec.rb +1 -1
- data/spec/models/depositants_register_spec.rb +1 -1
- data/spec/models/depositants_response_spec.rb +1 -1
- data/spec/models/error_response_spec.rb +1 -1
- data/spec/models/get_depositants_spec.rb +1 -1
- data/spec/models/institution_spec.rb +1 -1
- data/spec/models/institutions_list_spec.rb +1 -1
- data/spec/models/message_account_beneficiary_spec.rb +1 -1
- data/spec/models/message_cep_spec.rb +1 -1
- data/spec/models/message_deposit_received_spec.rb +1 -7
- data/spec/models/message_institution_spec.rb +1 -1
- data/spec/models/message_payment_spec.rb +1 -13
- data/spec/models/message_subscription_spec.rb +1 -1
- data/spec/models/message_web_hook_spec.rb +1 -1
- data/spec/models/payment_spec.rb +1 -13
- data/spec/models/payments_request_id_spec.rb +1 -1
- data/spec/models/person_spec.rb +1 -1
- data/spec/models/pre_enrollment_data_spec.rb +1 -1
- data/spec/models/pre_enrollment_response_spec.rb +1 -1
- data/spec/models/relationship_spec.rb +1 -1
- data/spec/models/relationships_response_spec.rb +1 -1
- data/spec/models/spid_beneficiaries_response_spec.rb +1 -1
- data/spec/models/spid_beneficiary_response_spec.rb +1 -19
- data/spec/models/spid_classification_dto_spec.rb +1 -1
- data/spec/models/spid_classifications_response_dto_spec.rb +1 -1
- data/spec/models/{address_company_spec.rb → timestamp_spec.rb} +17 -17
- data/spec/models/token_required_response_spec.rb +1 -1
- data/spec/models/transaction_outgoing_spec.rb +1 -7
- data/spec/models/transaction_outgoing_spid_spec.rb +1 -1
- data/spec/models/transactions_outgoing_register_spec.rb +1 -1
- data/spec/models/webhook_request_spec.rb +1 -1
- data/spec/models/webhook_response_spec.rb +1 -1
- data/spec/models/webhooks_list_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/wire4_client.gemspec +2 -2
- metadata +10 -214
- data/docs/AccountDetail.md +0 -13
- data/docs/AccountReassigned.md +0 -22
- data/docs/AddressCompany.md +0 -17
- data/docs/AuthorizationTransactionGroup.md +0 -9
- data/docs/AuthorizedBeneficiariesResponse.md +0 -10
- data/docs/AuthorizedUsers.md +0 -13
- data/docs/AutorizacinDeDepsitosApi.md +0 -113
- data/docs/BeneficiariesQueryRegisterStatus.md +0 -13
- data/docs/CertificateRequest.md +0 -11
- data/docs/CodiCodeQrResponseDTO.md +0 -17
- data/docs/CodiCodeRequestDTO.md +0 -14
- data/docs/CodiOperationResponseDTO.md +0 -14
- data/docs/CodiOperationsFiltersRequestDTO.md +0 -15
- data/docs/CompanyRegistered.md +0 -13
- data/docs/CompanyRequested.md +0 -11
- data/docs/Compay.md +0 -11
- data/docs/ConfigurationsLimits.md +0 -9
- data/docs/ContractDetailRequest.md +0 -11
- data/docs/ContractDetailResponse.md +0 -9
- data/docs/ContractsDetailsApi.md +0 -222
- data/docs/DepositAuthorizationRequest.md +0 -10
- data/docs/DepositsAuthorizationResponse.md +0 -10
- data/docs/DetailedErrorResponse.md +0 -10
- data/docs/EmpresasCoDiApi.md +0 -107
- data/docs/Item.md +0 -10
- data/docs/LmitesDeMontosApi.md +0 -112
- data/docs/MessageCodiAction.md +0 -19
- data/docs/MessageConfigurationsLimits.md +0 -8
- data/docs/MessageDepositAuthorizationRequest.md +0 -27
- data/docs/MessagePaymentStatePending.md +0 -23
- data/docs/MessageRequestChanged.md +0 -9
- data/docs/MessageSalesPoint.md +0 -10
- data/docs/MessageUserAuthorized.md +0 -14
- data/docs/OperacionesCoDiApi.md +0 -68
- data/docs/Operations.md +0 -17
- data/docs/PagerResponseDto.md +0 -13
- data/docs/PaymentCODI.md +0 -13
- data/docs/PaymentRequestCodiResponseDTO.md +0 -18
- data/docs/PeticionesDePagoPorCoDiApi.md +0 -116
- data/docs/PreMonexAuthorization.md +0 -11
- data/docs/PuntosDeVentaCoDiApi.md +0 -113
- data/docs/SalesPoint.md +0 -10
- data/docs/SalesPointFound.md +0 -14
- data/docs/SalesPointRequest.md +0 -11
- data/docs/SalesPointRespose.md +0 -11
- data/docs/TransactionErrorCode.md +0 -10
- data/docs/UpdateConfigurationsRequestDTO.md +0 -8
- data/docs/UrlsRedirect.md +0 -9
- data/docs/UserCompany.md +0 -16
- data/docs/WebHookDepositAuthorizationRequest.md +0 -9
- data/docs/WebHookDepositAuthorizationResponse.md +0 -13
- data/docs/Webhook.md +0 -13
- data/lib/wire4_client/api/autorizacin_de_depsitos_api.rb +0 -173
- data/lib/wire4_client/api/contracts_details_api.rb +0 -301
- data/lib/wire4_client/api/empresas_co_di_api.rb +0 -137
- data/lib/wire4_client/api/lmites_de_montos_api.rb +0 -160
- data/lib/wire4_client/api/operaciones_co_di_api.rb +0 -92
- data/lib/wire4_client/api/peticiones_de_pago_por_co_di_api.rb +0 -178
- data/lib/wire4_client/api/puntos_de_venta_co_di_api.rb +0 -151
- data/lib/wire4_client/models/account_detail.rb +0 -239
- data/lib/wire4_client/models/account_reassigned.rb +0 -385
- data/lib/wire4_client/models/address_company.rb +0 -275
- data/lib/wire4_client/models/authorization_transaction_group.rb +0 -207
- data/lib/wire4_client/models/authorized_beneficiaries_response.rb +0 -206
- data/lib/wire4_client/models/authorized_users.rb +0 -235
- data/lib/wire4_client/models/beneficiaries_query_register_status.rb +0 -270
- data/lib/wire4_client/models/certificate_request.rb +0 -248
- data/lib/wire4_client/models/codi_code_qr_response_dto.rb +0 -320
- data/lib/wire4_client/models/codi_code_request_dto.rb +0 -402
- data/lib/wire4_client/models/codi_operations_filters_request_dto.rb +0 -336
- data/lib/wire4_client/models/company_registered.rb +0 -235
- data/lib/wire4_client/models/company_requested.rb +0 -215
- data/lib/wire4_client/models/compay.rb +0 -215
- data/lib/wire4_client/models/configurations_limits.rb +0 -197
- data/lib/wire4_client/models/contract_detail_request.rb +0 -247
- data/lib/wire4_client/models/contract_detail_response.rb +0 -194
- data/lib/wire4_client/models/deposit_authorization_request.rb +0 -205
- data/lib/wire4_client/models/deposits_authorization_response.rb +0 -205
- data/lib/wire4_client/models/detailed_error_response.rb +0 -203
- data/lib/wire4_client/models/item.rb +0 -205
- data/lib/wire4_client/models/message_codi_action.rb +0 -295
- data/lib/wire4_client/models/message_configurations_limits.rb +0 -187
- data/lib/wire4_client/models/message_deposit_authorization_request.rb +0 -375
- data/lib/wire4_client/models/message_payment_state_pending.rb +0 -335
- data/lib/wire4_client/models/message_request_changed.rb +0 -229
- data/lib/wire4_client/models/message_sales_point.rb +0 -205
- data/lib/wire4_client/models/message_user_authorized.rb +0 -245
- data/lib/wire4_client/models/operations.rb +0 -321
- data/lib/wire4_client/models/pager_response_dto.rb +0 -236
- data/lib/wire4_client/models/payment_codi.rb +0 -269
- data/lib/wire4_client/models/payment_request_codi_response_dto.rb +0 -287
- data/lib/wire4_client/models/pre_monex_authorization.rb +0 -291
- data/lib/wire4_client/models/sales_point.rb +0 -205
- data/lib/wire4_client/models/sales_point_found.rb +0 -279
- data/lib/wire4_client/models/sales_point_request.rb +0 -254
- data/lib/wire4_client/models/sales_point_respose.rb +0 -215
- data/lib/wire4_client/models/transaction_error_code.rb +0 -201
- data/lib/wire4_client/models/update_configurations_request_dto.rb +0 -192
- data/lib/wire4_client/models/urls_redirect.rb +0 -205
- data/lib/wire4_client/models/user_company.rb +0 -269
- data/lib/wire4_client/models/web_hook_deposit_authorization_request.rb +0 -195
- data/lib/wire4_client/models/web_hook_deposit_authorization_response.rb +0 -237
- data/lib/wire4_client/models/webhook.rb +0 -271
- data/spec/api/autorizacin_de_depsitos_api_spec.rb +0 -62
- data/spec/api/contracts_details_api_spec.rb +0 -90
- data/spec/api/empresas_co_di_api_spec.rb +0 -60
- data/spec/api/lmites_de_montos_api_spec.rb +0 -62
- data/spec/api/operaciones_co_di_api_spec.rb +0 -52
- data/spec/api/peticiones_de_pago_por_co_di_api_spec.rb +0 -63
- data/spec/api/puntos_de_venta_co_di_api_spec.rb +0 -62
- data/spec/models/account_detail_spec.rb +0 -71
- data/spec/models/account_reassigned_spec.rb +0 -125
- data/spec/models/authorization_transaction_group_spec.rb +0 -47
- data/spec/models/authorized_beneficiaries_response_spec.rb +0 -53
- data/spec/models/authorized_users_spec.rb +0 -71
- data/spec/models/beneficiaries_query_register_status_spec.rb +0 -75
- data/spec/models/certificate_request_spec.rb +0 -59
- data/spec/models/codi_code_qr_response_dto_spec.rb +0 -103
- data/spec/models/codi_code_request_dto_spec.rb +0 -81
- data/spec/models/codi_operation_response_dto_spec.rb +0 -77
- data/spec/models/codi_operations_filters_request_dto_spec.rb +0 -87
- data/spec/models/company_registered_spec.rb +0 -71
- data/spec/models/company_requested_spec.rb +0 -59
- data/spec/models/compay_spec.rb +0 -59
- data/spec/models/configurations_limits_spec.rb +0 -47
- data/spec/models/contract_detail_request_spec.rb +0 -59
- data/spec/models/contract_detail_response_spec.rb +0 -47
- data/spec/models/deposit_authorization_request_spec.rb +0 -53
- data/spec/models/deposits_authorization_response_spec.rb +0 -53
- data/spec/models/detailed_error_response_spec.rb +0 -53
- data/spec/models/item_spec.rb +0 -53
- data/spec/models/message_codi_action_spec.rb +0 -107
- data/spec/models/message_configurations_limits_spec.rb +0 -41
- data/spec/models/message_deposit_authorization_request_spec.rb +0 -155
- data/spec/models/message_payment_state_pending_spec.rb +0 -131
- data/spec/models/message_request_changed_spec.rb +0 -51
- data/spec/models/message_sales_point_spec.rb +0 -53
- data/spec/models/message_user_authorized_spec.rb +0 -77
- data/spec/models/operations_spec.rb +0 -103
- data/spec/models/pager_response_dto_spec.rb +0 -71
- data/spec/models/payment_codi_spec.rb +0 -75
- data/spec/models/payment_request_codi_response_dto_spec.rb +0 -101
- data/spec/models/pre_monex_authorization_spec.rb +0 -59
- data/spec/models/sales_point_found_spec.rb +0 -81
- data/spec/models/sales_point_request_spec.rb +0 -59
- data/spec/models/sales_point_respose_spec.rb +0 -59
- data/spec/models/sales_point_spec.rb +0 -53
- data/spec/models/transaction_error_code_spec.rb +0 -53
- data/spec/models/update_configurations_request_dto_spec.rb +0 -41
- data/spec/models/urls_redirect_spec.rb +0 -47
- data/spec/models/user_company_spec.rb +0 -89
- data/spec/models/web_hook_deposit_authorization_request_spec.rb +0 -47
- data/spec/models/web_hook_deposit_authorization_response_spec.rb +0 -71
- data/spec/models/webhook_spec.rb +0 -75
- data/wire4_client-1.0.9.gem +0 -0
@@ -7,7 +7,6 @@ Name | Type | Description | Notes
|
|
7
7
|
**beneficiary_account** | **String** | Cuenta del beneficiario | [optional]
|
8
8
|
**beneficiary_name** | **String** | Nombre del beneficiario | [optional]
|
9
9
|
**beneficiary_rfc** | **String** | RFC del beneficiario | [optional]
|
10
|
-
**cep** | [**MessageCEP**](MessageCEP.md) | Informacion del CEP | [optional]
|
11
10
|
**clave_rastreo** | **String** | Clave de rastreo de la transferencia | [optional]
|
12
11
|
**confirm_date** | **DateTime** | Fecha de confirmación de la transferencia | [optional]
|
13
12
|
**currency_code** | **String** | Código de moneda de la transferencia, puede ser MXP, USD | [optional]
|
data/docs/MessagePayment.md
CHANGED
@@ -8,17 +8,15 @@ Name | Type | Description | Notes
|
|
8
8
|
**beneficiary_account** | **String** | Cuenta del beneficiario | [optional]
|
9
9
|
**beneficiary_bank** | [**MessageInstitution**](MessageInstitution.md) | Banco del beneficiario | [optional]
|
10
10
|
**beneficiary_name** | **String** | Nombre del beneficiario | [optional]
|
11
|
-
**cep** | [**MessageCEP**](MessageCEP.md) |
|
11
|
+
**cep** | [**MessageCEP**](MessageCEP.md) | | [optional]
|
12
12
|
**clave_rastreo** | **String** | Clave de rastreo de la transferencia | [optional]
|
13
13
|
**concept** | **String** | Concepto de la transferencia de salida | [optional]
|
14
14
|
**confirm_date** | **DateTime** | Fecha de confirmación de la transferencia de salida | [optional]
|
15
15
|
**currency_code** | **String** | Código de la moneda de la transferencia de salida | [optional]
|
16
16
|
**detention_message** | **String** | Mensaje de detención de Monex de la transferencia de salida | [optional]
|
17
|
-
**error_message** | **String** | Mensaje de error | [optional]
|
18
17
|
**monex_description** | **String** | La descripción de Monex de la transferencia de salida | [optional]
|
19
18
|
**order_id** | **String** | El identificador de la transferencia de salida | [optional]
|
20
19
|
**payment_order_id** | **Integer** | El identificador de la orden de pago de Monex de la transferencia de salida | [optional]
|
21
|
-
**pending_reason** | **String** | Razón de porque está pendiente aún cuando se autorizó la transferencia | [optional]
|
22
20
|
**reference** | **Integer** | Referecia de la transferencia | [optional]
|
23
21
|
**request_id** | **String** | El identificador, en esta API, de la petición de envío de la transferencia de salida | [optional]
|
24
22
|
**status_code** | **String** | El estado de la transferencia de salida | [optional]
|
data/docs/MessageSubscription.md
CHANGED
@@ -3,11 +3,11 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**contract** | **String** | Contrato Monex, con el
|
7
|
-
**masked_contract** | **String** | Contrato enmascarado de Monex, con el
|
8
|
-
**subscription** | **String** | Identificador de la suscripción, el cual se
|
9
|
-
**user** | **String** | Usuario enmascardo, con el
|
10
|
-
**user_key** | **String** | Usuario proporcionado por Wire4, el
|
11
|
-
**user_secret** | **String** | Contraseña proporcionada por Wire4, la
|
6
|
+
**contract** | **String** | Contrato Monex, con el cual se suscribió el cliente Monex en Wire4 | [optional]
|
7
|
+
**masked_contract** | **String** | Contrato enmascarado de Monex, con el cual se suscribió el cliente Monex en Wire4 | [optional]
|
8
|
+
**subscription** | **String** | Identificador de la suscripción, el cual se utiliza en las operaciones que solicitan una suscripción | [optional]
|
9
|
+
**user** | **String** | Usuario enmascardo, con el cual se suscribió el cliente Monex en Wire4 | [optional]
|
10
|
+
**user_key** | **String** | Usuario proporcionado por Wire4, el cual se debe utilizar para autenticar a esta suscripción | [optional]
|
11
|
+
**user_secret** | **String** | Contraseña proporcionada por Wire4, la cual se debe utilizar para autenticar a esta suscripción | [optional]
|
12
12
|
|
13
13
|
|
data/docs/MessageWebHook.md
CHANGED
@@ -3,12 +3,12 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**api_version** | **String** | La versión de
|
6
|
+
**api_version** | **String** | La versión de la API | [optional]
|
7
7
|
**created** | **DateTime** | Fecha de creación del mensaje | [optional]
|
8
8
|
**data** | **Object** | Objeto que contiene la información del evento | [optional]
|
9
9
|
**id** | **String** | El identificador del mensaje | [optional]
|
10
10
|
**livemode** | **BOOLEAN** | Indica si proviene de un entorno productivo | [optional]
|
11
|
-
**object** | **String** | Tipo de objeto que contiene el mensaje en el atributo
|
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
12
|
**pending_webhooks** | **Integer** | Número de mensajes pendientes de enviar | [optional]
|
13
13
|
**request** | **String** | Identificador del recurso relacionado | [optional]
|
14
14
|
**type** | **String** | El tipo evento que se esta enviando en la notifiación | [optional]
|
data/docs/Payment.md
CHANGED
@@ -8,17 +8,15 @@ Name | Type | Description | Notes
|
|
8
8
|
**beneficiary_account** | **String** | Cuenta del beneficiario | [optional]
|
9
9
|
**beneficiary_bank** | [**Institution**](Institution.md) | Información del banco beneficiario | [optional]
|
10
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
|
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
12
|
**clave_rastreo** | **String** | Clave de rastreo de la transferencia | [optional]
|
13
13
|
**concept** | **String** | Concepto de pago | [optional]
|
14
14
|
**confirm_date** | **DateTime** | Fecha de aplicación de la transferencia | [optional]
|
15
15
|
**currency_code** | **String** | Código de moneda de la transferencia | [optional]
|
16
16
|
**detention_message** | **String** | Mensaje proporcionado por Monex para la transferencia | [optional]
|
17
|
-
**error_message** | **String** | Mensaje de error, en caso de algún error se informará aquí | [optional]
|
18
17
|
**monex_description** | **String** | Descripción | [optional]
|
19
18
|
**order_id** | **String** | Identificador asignado por la aplciación a la transferencia | [optional]
|
20
19
|
**payment_order_id** | **Integer** | Identificador de la orden de pago en Monex | [optional]
|
21
|
-
**pending_reason** | **String** | Razón de porque esta pendiente aun cuando se autorizó la transferencia | [optional]
|
22
20
|
**reference** | **Integer** | Referencia numérica | [optional]
|
23
21
|
**status_code** | **String** | Estado de la transferencia de la transferencia, los posibles valores son: PENDING, COMPLETED, FAILED, CANCELLED | [optional]
|
24
22
|
**transaction_id** | **Integer** | Identificador de la transferencia asignado por Monex | [optional]
|
@@ -4,7 +4,6 @@
|
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**amount_limit** | **Float** | Monto límite permitido para la cuenta |
|
7
|
-
**authorization_date** | **DateTime** | La fecha/hora en la que se autorizo el registro del beneficiario desde el centro de autorización | [optional]
|
8
7
|
**bank** | [**Institution**](Institution.md) | El banco al cual pertenece la cuenta | [optional]
|
9
8
|
**beneficiary_account** | **String** | Cuenta del beneficiario debe ser una cuenta CLABE |
|
10
9
|
**email** | **Array<String>** | Lista de email's, este dato es opcional | [optional]
|
@@ -12,9 +11,7 @@ Name | Type | Description | Notes
|
|
12
11
|
**kind_of_relationship** | **String** | Tipo de relación de la cuenta, este valor debe ser igual a uno de los obtenidos del recurso de consulta de relationships |
|
13
12
|
**numeric_reference_spid** | **String** | Referencia numérica | [optional]
|
14
13
|
**payment_concept_spid** | **String** | Concepto de pago | [optional]
|
15
|
-
**register_date** | **DateTime** | La fecha en la que se registro el beneficiario | [optional]
|
16
14
|
**relationship** | **String** | Código de relación de la cuenta, este valor debe ser igual a uno de los obtenidos del recurso de consulta de relationship |
|
17
15
|
**rfc** | **String** | Registro federal de contribuyentes | [optional]
|
18
|
-
**status** | **String** | El estado en el que se encuentra el registo del beneficiario | [optional]
|
19
16
|
|
20
17
|
|
data/docs/SuscripcionesApi.md
CHANGED
@@ -4,17 +4,17 @@ All URIs are relative to *https://sandbox-api.wire4.mx/wire4/1.0.0*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**pre_enrollment_monex_user_using_post**](SuscripcionesApi.md#pre_enrollment_monex_user_using_post) | **POST** /subscriptions/pre-subscription |
|
8
|
-
[**remove_enrollment_user_using_delete**](SuscripcionesApi.md#remove_enrollment_user_using_delete) | **DELETE** /subscriptions/{subscription} |
|
9
|
-
[**remove_subscription_pending_status_using_delete**](SuscripcionesApi.md#remove_subscription_pending_status_using_delete) | **DELETE** /subscriptions/pre-subscription/{subscription} |
|
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
10
|
|
11
11
|
|
12
12
|
# **pre_enrollment_monex_user_using_post**
|
13
13
|
> PreEnrollmentResponse pre_enrollment_monex_user_using_post(authorization, pre_enrollment_data)
|
14
14
|
|
15
|
-
|
15
|
+
registra una pre-suscripción
|
16
16
|
|
17
|
-
|
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
18
|
|
19
19
|
### Example
|
20
20
|
```ruby
|
@@ -25,11 +25,11 @@ api_instance = Wire4Client::SuscripcionesApi.new
|
|
25
25
|
|
26
26
|
authorization = 'authorization_example' # String | Header para token
|
27
27
|
|
28
|
-
pre_enrollment_data = Wire4Client::PreEnrollmentData.new # PreEnrollmentData | Información para
|
28
|
+
pre_enrollment_data = Wire4Client::PreEnrollmentData.new # PreEnrollmentData | Información para el enrolamiento
|
29
29
|
|
30
30
|
|
31
31
|
begin
|
32
|
-
#
|
32
|
+
#registra una pre-suscripción
|
33
33
|
result = api_instance.pre_enrollment_monex_user_using_post(authorization, pre_enrollment_data)
|
34
34
|
p result
|
35
35
|
rescue Wire4Client::ApiError => e
|
@@ -42,7 +42,7 @@ end
|
|
42
42
|
Name | Type | Description | Notes
|
43
43
|
------------- | ------------- | ------------- | -------------
|
44
44
|
**authorization** | **String**| Header para token |
|
45
|
-
**pre_enrollment_data** | [**PreEnrollmentData**](PreEnrollmentData.md)| Información para
|
45
|
+
**pre_enrollment_data** | [**PreEnrollmentData**](PreEnrollmentData.md)| Información para el enrolamiento |
|
46
46
|
|
47
47
|
### Return type
|
48
48
|
|
@@ -62,9 +62,9 @@ No authorization required
|
|
62
62
|
# **remove_enrollment_user_using_delete**
|
63
63
|
> remove_enrollment_user_using_delete(authorization, subscription)
|
64
64
|
|
65
|
-
|
65
|
+
Elimna una suscripción por id
|
66
66
|
|
67
|
-
Elimina una suscripción, una
|
67
|
+
Elimina una suscripción, una ves eliminada la suscripcion ya no se podran realizar operacions en el API uilizando esta suscripción
|
68
68
|
|
69
69
|
### Example
|
70
70
|
```ruby
|
@@ -79,7 +79,7 @@ subscription = 'subscription_example' # String | El identificador de la suscripc
|
|
79
79
|
|
80
80
|
|
81
81
|
begin
|
82
|
-
#
|
82
|
+
#Elimna una suscripción por id
|
83
83
|
api_instance.remove_enrollment_user_using_delete(authorization, subscription)
|
84
84
|
rescue Wire4Client::ApiError => e
|
85
85
|
puts "Exception when calling SuscripcionesApi->remove_enrollment_user_using_delete: #{e}"
|
@@ -111,9 +111,9 @@ No authorization required
|
|
111
111
|
# **remove_subscription_pending_status_using_delete**
|
112
112
|
> remove_subscription_pending_status_using_delete(authorization, subscription)
|
113
113
|
|
114
|
-
|
114
|
+
Elimna una pre-suscripción
|
115
115
|
|
116
|
-
Se elimina una pre-suscripción, sólo se elimina en caso de que
|
116
|
+
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.
|
117
117
|
|
118
118
|
### Example
|
119
119
|
```ruby
|
@@ -128,7 +128,7 @@ subscription = 'subscription_example' # String | El identificador de la suscripc
|
|
128
128
|
|
129
129
|
|
130
130
|
begin
|
131
|
-
#
|
131
|
+
#Elimna una pre-suscripción
|
132
132
|
api_instance.remove_subscription_pending_status_using_delete(authorization, subscription)
|
133
133
|
rescue Wire4Client::ApiError => e
|
134
134
|
puts "Exception when calling SuscripcionesApi->remove_subscription_pending_status_using_delete: #{e}"
|
data/docs/Timestamp.md
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# Wire4Client::Timestamp
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**date** | **Integer** | | [optional]
|
7
|
+
**day** | **Integer** | | [optional]
|
8
|
+
**hours** | **Integer** | | [optional]
|
9
|
+
**minutes** | **Integer** | | [optional]
|
10
|
+
**month** | **Integer** | | [optional]
|
11
|
+
**nanos** | **Integer** | | [optional]
|
12
|
+
**seconds** | **Integer** | | [optional]
|
13
|
+
**time** | **Integer** | | [optional]
|
14
|
+
**timezone_offset** | **Integer** | | [optional]
|
15
|
+
**year** | **Integer** | | [optional]
|
16
|
+
|
17
|
+
|
data/docs/TransactionOutgoing.md
CHANGED
@@ -4,8 +4,7 @@
|
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**amount** | **Float** | Monto de la transferencia |
|
7
|
-
**beneficiary_account** | **String** | Cuenta del beneficiario, podría ser un
|
8
|
-
**beneficiary_bank_key** | **String** | La clave del banco beneficiario, proprocionada por BANXICO, este campo solo es obligatario cuando la cuenta beneficiaria es un número celular (*). | [optional]
|
7
|
+
**beneficiary_account** | **String** | Cuenta del beneficiario, podría ser un numero celular, TDD o Cuenta CLABE interbancaria |
|
9
8
|
**concept** | **String** | Concepto de la transferencia |
|
10
9
|
**currency_code** | **String** | Código de moneda en la que opera la cuenta |
|
11
10
|
**email** | **Array<String>** | Lista de email del beneficiario,es opcional | [optional]
|
@@ -4,7 +4,6 @@ All URIs are relative to *https://sandbox-api.wire4.mx/wire4/1.0.0*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**create_authorization_transactions_group**](TransferenciasSPEIApi.md#create_authorization_transactions_group) | **POST** /subscriptions/{subscription}/transactions/group | Agrupa un conjunto de transacciones bajo un mismo request_id para autorizar
|
8
7
|
[**drop_transactions_pending_using_delete**](TransferenciasSPEIApi.md#drop_transactions_pending_using_delete) | **DELETE** /subscriptions/{subscription}/transactions/outcoming/spei/request/{requestId} | Eliminación de transferencias SPEI® pendientes
|
9
8
|
[**incoming_spei_transactions_report_using_get**](TransferenciasSPEIApi.md#incoming_spei_transactions_report_using_get) | **GET** /subscriptions/{subscription}/transactions/incoming/spei | Consulta de transferencias recibidas
|
10
9
|
[**out_comming_spei_request_id_transactions_report_using_get**](TransferenciasSPEIApi.md#out_comming_spei_request_id_transactions_report_using_get) | **GET** /subscriptions/{subscription}/transactions/outcoming/spei/{requestId} | Consulta de transferencias de salida por identificador de petición
|
@@ -12,61 +11,8 @@ Method | HTTP request | Description
|
|
12
11
|
[**register_outgoing_spei_transaction_using_post**](TransferenciasSPEIApi.md#register_outgoing_spei_transaction_using_post) | **POST** /subscriptions/{subscription}/transactions/outcoming/spei | Registro de transferencias
|
13
12
|
|
14
13
|
|
15
|
-
# **create_authorization_transactions_group**
|
16
|
-
> TokenRequiredResponse create_authorization_transactions_group(authorization, authorization_transactions_group_request_dto, subscription)
|
17
|
-
|
18
|
-
Agrupa un conjunto de transacciones bajo un mismo request_id para autorizar
|
19
|
-
|
20
|
-
Agrupa transacciones SPEI/SPID en un transaction_id, generando la URL para su autorización. Las transacciones deben estar en estatus PENDING y pertenecer a un mmismo contrato
|
21
|
-
|
22
|
-
### Example
|
23
|
-
```ruby
|
24
|
-
# load the gem
|
25
|
-
require 'wire4_client'
|
26
|
-
|
27
|
-
api_instance = Wire4Client::TransferenciasSPEIApi.new
|
28
|
-
|
29
|
-
authorization = 'authorization_example' # String | Header para token
|
30
|
-
|
31
|
-
authorization_transactions_group_request_dto = Wire4Client::AuthorizationTransactionGroup.new # AuthorizationTransactionGroup | authorizationTransactionsGroupRequestDTO
|
32
|
-
|
33
|
-
subscription = 'subscription_example' # String | Identificador de la suscripcion
|
34
|
-
|
35
|
-
|
36
|
-
begin
|
37
|
-
#Agrupa un conjunto de transacciones bajo un mismo request_id para autorizar
|
38
|
-
result = api_instance.create_authorization_transactions_group(authorization, authorization_transactions_group_request_dto, subscription)
|
39
|
-
p result
|
40
|
-
rescue Wire4Client::ApiError => e
|
41
|
-
puts "Exception when calling TransferenciasSPEIApi->create_authorization_transactions_group: #{e}"
|
42
|
-
end
|
43
|
-
```
|
44
|
-
|
45
|
-
### Parameters
|
46
|
-
|
47
|
-
Name | Type | Description | Notes
|
48
|
-
------------- | ------------- | ------------- | -------------
|
49
|
-
**authorization** | **String**| Header para token |
|
50
|
-
**authorization_transactions_group_request_dto** | [**AuthorizationTransactionGroup**](AuthorizationTransactionGroup.md)| authorizationTransactionsGroupRequestDTO |
|
51
|
-
**subscription** | **String**| Identificador de la suscripcion |
|
52
|
-
|
53
|
-
### Return type
|
54
|
-
|
55
|
-
[**TokenRequiredResponse**](TokenRequiredResponse.md)
|
56
|
-
|
57
|
-
### Authorization
|
58
|
-
|
59
|
-
No authorization required
|
60
|
-
|
61
|
-
### HTTP request headers
|
62
|
-
|
63
|
-
- **Content-Type**: application/json
|
64
|
-
- **Accept**: */*
|
65
|
-
|
66
|
-
|
67
|
-
|
68
14
|
# **drop_transactions_pending_using_delete**
|
69
|
-
> drop_transactions_pending_using_delete(authorization, request_id, subscription
|
15
|
+
> drop_transactions_pending_using_delete(authorization, request_id, subscription)
|
70
16
|
|
71
17
|
Eliminación de transferencias SPEI® pendientes
|
72
18
|
|
@@ -85,13 +31,10 @@ request_id = 'request_id_example' # String | Identificador de las transferencias
|
|
85
31
|
|
86
32
|
subscription = 'subscription_example' # String | El identificador de la suscripción a esta API
|
87
33
|
|
88
|
-
opts = {
|
89
|
-
order_id: 'order_id_example' # String | Listado de identificadores dentro del request_id para eliminar
|
90
|
-
}
|
91
34
|
|
92
35
|
begin
|
93
36
|
#Eliminación de transferencias SPEI® pendientes
|
94
|
-
api_instance.drop_transactions_pending_using_delete(authorization, request_id, subscription
|
37
|
+
api_instance.drop_transactions_pending_using_delete(authorization, request_id, subscription)
|
95
38
|
rescue Wire4Client::ApiError => e
|
96
39
|
puts "Exception when calling TransferenciasSPEIApi->drop_transactions_pending_using_delete: #{e}"
|
97
40
|
end
|
@@ -104,7 +47,6 @@ Name | Type | Description | Notes
|
|
104
47
|
**authorization** | **String**| Header para token |
|
105
48
|
**request_id** | **String**| Identificador de las transferencias a eliminar |
|
106
49
|
**subscription** | **String**| El identificador de la suscripción a esta API |
|
107
|
-
**order_id** | **String**| Listado de identificadores dentro del request_id para eliminar | [optional]
|
108
50
|
|
109
51
|
### Return type
|
110
52
|
|
@@ -176,7 +118,7 @@ No authorization required
|
|
176
118
|
|
177
119
|
Consulta de transferencias de salida por identificador de petición
|
178
120
|
|
179
|
-
Consulta las transferencias de salida registradas en una petición, las transferencias que regresa este recuso son únicamente las transferencias
|
121
|
+
Consulta las transferencias de salida registradas en una petición, las transferencias que regresa este recuso son únicamente las transferencias de salida agrupadas al identificador de la petición que se generó al hacer el registro de las transacciones el cual se debe especificar como parte del path de este endpoint.
|
180
122
|
|
181
123
|
### Example
|
182
124
|
```ruby
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Wire4RestAPI
|
3
3
|
|
4
|
-
#
|
4
|
+
#Referencia de la API de Wire4
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
@@ -19,85 +19,6 @@ module Wire4Client
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
-
# Recibe la solicitud para agrupar las cuentas SPEI/SPID de beneficiarios en estado pendiente que deben ser autorizadas
|
23
|
-
# Solicta autorizar las cuentas de beneficiarios en estado pendiente agrupandolas en un set de cuentas que pueden incluir tanto cuentas de SPI como de SPID, debe indicar las urls de redireccion en caso de error y en caso de exito<br/>
|
24
|
-
# @param authorization Header para token
|
25
|
-
# @param subscription El identificador de la suscripción a esta API
|
26
|
-
# @param urls_redirect_dto Información de la cuenta del beneficiario
|
27
|
-
# @param [Hash] opts the optional parameters
|
28
|
-
# @return [AuthorizedBeneficiariesResponse]
|
29
|
-
def authorize_accounts_pending_put(authorization, subscription, urls_redirect_dto, opts = {})
|
30
|
-
data, _status_code, _headers = authorize_accounts_pending_put_with_http_info(authorization, subscription, urls_redirect_dto, opts)
|
31
|
-
data
|
32
|
-
end
|
33
|
-
|
34
|
-
# Recibe la solicitud para agrupar las cuentas SPEI/SPID de beneficiarios en estado pendiente que deben ser autorizadas
|
35
|
-
# Solicta autorizar las cuentas de beneficiarios en estado pendiente agrupandolas en un set de cuentas que pueden incluir tanto cuentas de SPI como de SPID, debe indicar las urls de redireccion en caso de error y en caso de exito<br/>
|
36
|
-
# @param authorization Header para token
|
37
|
-
# @param subscription El identificador de la suscripción a esta API
|
38
|
-
# @param urls_redirect_dto Información de la cuenta del beneficiario
|
39
|
-
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [Array<(AuthorizedBeneficiariesResponse, Fixnum, Hash)>] AuthorizedBeneficiariesResponse data, response status code and response headers
|
41
|
-
def authorize_accounts_pending_put_with_http_info(authorization, subscription, urls_redirect_dto, opts = {})
|
42
|
-
if @api_client.config.debugging
|
43
|
-
@api_client.config.logger.debug 'Calling API: CuentasDeBeneficiariosSPEIApi.authorize_accounts_pending_put ...'
|
44
|
-
end
|
45
|
-
# verify the required parameter 'authorization' is set
|
46
|
-
if @api_client.config.client_side_validation && authorization.nil?
|
47
|
-
fail ArgumentError, "Missing the required parameter 'authorization' when calling CuentasDeBeneficiariosSPEIApi.authorize_accounts_pending_put"
|
48
|
-
end
|
49
|
-
# verify the required parameter 'subscription' is set
|
50
|
-
if @api_client.config.client_side_validation && subscription.nil?
|
51
|
-
fail ArgumentError, "Missing the required parameter 'subscription' when calling CuentasDeBeneficiariosSPEIApi.authorize_accounts_pending_put"
|
52
|
-
end
|
53
|
-
if @api_client.config.client_side_validation && subscription.to_s.length > 36
|
54
|
-
fail ArgumentError, 'invalid value for "subscription" when calling CuentasDeBeneficiariosSPEIApi.authorize_accounts_pending_put, the character length must be smaller than or equal to 36.'
|
55
|
-
end
|
56
|
-
|
57
|
-
if @api_client.config.client_side_validation && subscription.to_s.length < 36
|
58
|
-
fail ArgumentError, 'invalid value for "subscription" when calling CuentasDeBeneficiariosSPEIApi.authorize_accounts_pending_put, the character length must be great than or equal to 36.'
|
59
|
-
end
|
60
|
-
|
61
|
-
if @api_client.config.client_side_validation && subscription !~ Regexp.new(/[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[34][A-Fa-f0-9]{3}-[89ab][A-Fa-f0-9]{3}-[A-Fa-f0-9]{12}$/)
|
62
|
-
fail ArgumentError, "invalid value for 'subscription' when calling CuentasDeBeneficiariosSPEIApi.authorize_accounts_pending_put, must conform to the pattern /[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[34][A-Fa-f0-9]{3}-[89ab][A-Fa-f0-9]{3}-[A-Fa-f0-9]{12}$/."
|
63
|
-
end
|
64
|
-
|
65
|
-
# verify the required parameter 'urls_redirect_dto' is set
|
66
|
-
if @api_client.config.client_side_validation && urls_redirect_dto.nil?
|
67
|
-
fail ArgumentError, "Missing the required parameter 'urls_redirect_dto' when calling CuentasDeBeneficiariosSPEIApi.authorize_accounts_pending_put"
|
68
|
-
end
|
69
|
-
# resource path
|
70
|
-
local_var_path = '/subscriptions/{subscription}/beneficiaries/pending'.sub('{' + 'subscription' + '}', subscription.to_s)
|
71
|
-
|
72
|
-
# query parameters
|
73
|
-
query_params = {}
|
74
|
-
|
75
|
-
# header parameters
|
76
|
-
header_params = {}
|
77
|
-
# HTTP header 'Accept' (if needed)
|
78
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
79
|
-
# HTTP header 'Content-Type'
|
80
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
81
|
-
header_params[:'Authorization'] = authorization
|
82
|
-
|
83
|
-
# form parameters
|
84
|
-
form_params = {}
|
85
|
-
|
86
|
-
# http body (model)
|
87
|
-
post_body = @api_client.object_to_http_body(urls_redirect_dto)
|
88
|
-
auth_names = []
|
89
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
90
|
-
:header_params => header_params,
|
91
|
-
:query_params => query_params,
|
92
|
-
:form_params => form_params,
|
93
|
-
:body => post_body,
|
94
|
-
:auth_names => auth_names,
|
95
|
-
:return_type => 'AuthorizedBeneficiariesResponse')
|
96
|
-
if @api_client.config.debugging
|
97
|
-
@api_client.config.logger.debug "API called: CuentasDeBeneficiariosSPEIApi#authorize_accounts_pending_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
98
|
-
end
|
99
|
-
return data, status_code, headers
|
100
|
-
end
|
101
22
|
# Elimina la cuenta del beneficiario
|
102
23
|
# Borra la cuenta de beneficiario proporcionada relacionada al contrato perteneciente a la subscripción. La cuenta a borrar debe ser una cuenta que opere con SPEI.
|
103
24
|
# @param authorization Header para token
|
@@ -253,107 +174,13 @@ module Wire4Client
|
|
253
174
|
end
|
254
175
|
return data, status_code, headers
|
255
176
|
end
|
256
|
-
# Consulta los beneficiarios por el identificador de la petición de registro
|
257
|
-
# Obtiene los beneficiarios enviados para registro en una petición al contrato relacionado con la suscripción, Los beneficiarios son los que actualmente se encuentran registrados en banca Monex, que pertenezcan a la petición que se solicita.
|
258
|
-
# @param authorization Header para token
|
259
|
-
# @param request_id El identificador de la petición del registro de beneficiarios a esta API
|
260
|
-
# @param subscription El identificador de la suscripción a esta API
|
261
|
-
# @param [Hash] opts the optional parameters
|
262
|
-
# @return [BeneficiariesResponse]
|
263
|
-
def get_beneficiaries_by_request_id(authorization, request_id, subscription, opts = {})
|
264
|
-
data, _status_code, _headers = get_beneficiaries_by_request_id_with_http_info(authorization, request_id, subscription, opts)
|
265
|
-
data
|
266
|
-
end
|
267
|
-
|
268
|
-
# Consulta los beneficiarios por el identificador de la petición de registro
|
269
|
-
# Obtiene los beneficiarios enviados para registro en una petición al contrato relacionado con la suscripción, Los beneficiarios son los que actualmente se encuentran registrados en banca Monex, que pertenezcan a la petición que se solicita.
|
270
|
-
# @param authorization Header para token
|
271
|
-
# @param request_id El identificador de la petición del registro de beneficiarios a esta API
|
272
|
-
# @param subscription El identificador de la suscripción a esta API
|
273
|
-
# @param [Hash] opts the optional parameters
|
274
|
-
# @return [Array<(BeneficiariesResponse, Fixnum, Hash)>] BeneficiariesResponse data, response status code and response headers
|
275
|
-
def get_beneficiaries_by_request_id_with_http_info(authorization, request_id, subscription, opts = {})
|
276
|
-
if @api_client.config.debugging
|
277
|
-
@api_client.config.logger.debug 'Calling API: CuentasDeBeneficiariosSPEIApi.get_beneficiaries_by_request_id ...'
|
278
|
-
end
|
279
|
-
# verify the required parameter 'authorization' is set
|
280
|
-
if @api_client.config.client_side_validation && authorization.nil?
|
281
|
-
fail ArgumentError, "Missing the required parameter 'authorization' when calling CuentasDeBeneficiariosSPEIApi.get_beneficiaries_by_request_id"
|
282
|
-
end
|
283
|
-
# verify the required parameter 'request_id' is set
|
284
|
-
if @api_client.config.client_side_validation && request_id.nil?
|
285
|
-
fail ArgumentError, "Missing the required parameter 'request_id' when calling CuentasDeBeneficiariosSPEIApi.get_beneficiaries_by_request_id"
|
286
|
-
end
|
287
|
-
if @api_client.config.client_side_validation && request_id.to_s.length > 36
|
288
|
-
fail ArgumentError, 'invalid value for "request_id" when calling CuentasDeBeneficiariosSPEIApi.get_beneficiaries_by_request_id, the character length must be smaller than or equal to 36.'
|
289
|
-
end
|
290
|
-
|
291
|
-
if @api_client.config.client_side_validation && request_id.to_s.length < 36
|
292
|
-
fail ArgumentError, 'invalid value for "request_id" when calling CuentasDeBeneficiariosSPEIApi.get_beneficiaries_by_request_id, the character length must be great than or equal to 36.'
|
293
|
-
end
|
294
|
-
|
295
|
-
if @api_client.config.client_side_validation && request_id !~ Regexp.new(/[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[34][A-Fa-f0-9]{3}-[89ab][A-Fa-f0-9]{3}-[A-Fa-f0-9]{12}$/)
|
296
|
-
fail ArgumentError, "invalid value for 'request_id' when calling CuentasDeBeneficiariosSPEIApi.get_beneficiaries_by_request_id, must conform to the pattern /[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[34][A-Fa-f0-9]{3}-[89ab][A-Fa-f0-9]{3}-[A-Fa-f0-9]{12}$/."
|
297
|
-
end
|
298
|
-
|
299
|
-
# verify the required parameter 'subscription' is set
|
300
|
-
if @api_client.config.client_side_validation && subscription.nil?
|
301
|
-
fail ArgumentError, "Missing the required parameter 'subscription' when calling CuentasDeBeneficiariosSPEIApi.get_beneficiaries_by_request_id"
|
302
|
-
end
|
303
|
-
if @api_client.config.client_side_validation && subscription.to_s.length > 36
|
304
|
-
fail ArgumentError, 'invalid value for "subscription" when calling CuentasDeBeneficiariosSPEIApi.get_beneficiaries_by_request_id, the character length must be smaller than or equal to 36.'
|
305
|
-
end
|
306
|
-
|
307
|
-
if @api_client.config.client_side_validation && subscription.to_s.length < 36
|
308
|
-
fail ArgumentError, 'invalid value for "subscription" when calling CuentasDeBeneficiariosSPEIApi.get_beneficiaries_by_request_id, the character length must be great than or equal to 36.'
|
309
|
-
end
|
310
|
-
|
311
|
-
if @api_client.config.client_side_validation && subscription !~ Regexp.new(/[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[34][A-Fa-f0-9]{3}-[89ab][A-Fa-f0-9]{3}-[A-Fa-f0-9]{12}$/)
|
312
|
-
fail ArgumentError, "invalid value for 'subscription' when calling CuentasDeBeneficiariosSPEIApi.get_beneficiaries_by_request_id, must conform to the pattern /[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[34][A-Fa-f0-9]{3}-[89ab][A-Fa-f0-9]{3}-[A-Fa-f0-9]{12}$/."
|
313
|
-
end
|
314
|
-
|
315
|
-
# resource path
|
316
|
-
local_var_path = '/subscriptions/{subscription}/beneficiaries/spei/{requestId}'.sub('{' + 'requestId' + '}', request_id.to_s).sub('{' + 'subscription' + '}', subscription.to_s)
|
317
|
-
|
318
|
-
# query parameters
|
319
|
-
query_params = {}
|
320
|
-
|
321
|
-
# header parameters
|
322
|
-
header_params = {}
|
323
|
-
# HTTP header 'Accept' (if needed)
|
324
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
325
|
-
header_params[:'Authorization'] = authorization
|
326
|
-
|
327
|
-
# form parameters
|
328
|
-
form_params = {}
|
329
|
-
|
330
|
-
# http body (model)
|
331
|
-
post_body = nil
|
332
|
-
auth_names = []
|
333
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
334
|
-
:header_params => header_params,
|
335
|
-
:query_params => query_params,
|
336
|
-
:form_params => form_params,
|
337
|
-
:body => post_body,
|
338
|
-
:auth_names => auth_names,
|
339
|
-
:return_type => 'BeneficiariesResponse')
|
340
|
-
if @api_client.config.debugging
|
341
|
-
@api_client.config.logger.debug "API called: CuentasDeBeneficiariosSPEIApi#get_beneficiaries_by_request_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
342
|
-
end
|
343
|
-
return data, status_code, headers
|
344
|
-
end
|
345
177
|
# Consulta los beneficiarios registrados
|
346
178
|
# Obtiene los beneficiarios registrados al contrato relacionado con la suscripción, Los beneficiarios son los que actualmente se encuentran registrados en banca Monex.
|
347
179
|
# @param authorization Header para token
|
348
180
|
# @param subscription El identificador de la suscripción a esta API
|
349
181
|
# @param [Hash] opts the optional parameters
|
350
182
|
# @option opts [String] :account Cuenta del beneficiario, puede ser Clabe, TDD o Celular
|
351
|
-
# @option opts [String] :beneficiary_bank Clave del banco beneficiario
|
352
|
-
# @option opts [String] :beneficiary_name Nombre del beneficiario
|
353
|
-
# @option opts [String] :end_date Fecha de inicio del perido a filtrar en formato dd-mm-yyyy
|
354
|
-
# @option opts [String] :init_date Fecha de inicio del perido a filtrar en formato dd-mm-yyyy
|
355
183
|
# @option opts [String] :rfc RFC del beneficiario
|
356
|
-
# @option opts [String] :status Estatus de la cuenta
|
357
184
|
# @return [BeneficiariesResponse]
|
358
185
|
def get_beneficiaries_for_account_using_get(authorization, subscription, opts = {})
|
359
186
|
data, _status_code, _headers = get_beneficiaries_for_account_using_get_with_http_info(authorization, subscription, opts)
|
@@ -366,12 +193,7 @@ module Wire4Client
|
|
366
193
|
# @param subscription El identificador de la suscripción a esta API
|
367
194
|
# @param [Hash] opts the optional parameters
|
368
195
|
# @option opts [String] :account Cuenta del beneficiario, puede ser Clabe, TDD o Celular
|
369
|
-
# @option opts [String] :beneficiary_bank Clave del banco beneficiario
|
370
|
-
# @option opts [String] :beneficiary_name Nombre del beneficiario
|
371
|
-
# @option opts [String] :end_date Fecha de inicio del perido a filtrar en formato dd-mm-yyyy
|
372
|
-
# @option opts [String] :init_date Fecha de inicio del perido a filtrar en formato dd-mm-yyyy
|
373
196
|
# @option opts [String] :rfc RFC del beneficiario
|
374
|
-
# @option opts [String] :status Estatus de la cuenta
|
375
197
|
# @return [Array<(BeneficiariesResponse, Fixnum, Hash)>] BeneficiariesResponse data, response status code and response headers
|
376
198
|
def get_beneficiaries_for_account_using_get_with_http_info(authorization, subscription, opts = {})
|
377
199
|
if @api_client.config.debugging
|
@@ -403,12 +225,7 @@ module Wire4Client
|
|
403
225
|
# query parameters
|
404
226
|
query_params = {}
|
405
227
|
query_params[:'account'] = opts[:'account'] if !opts[:'account'].nil?
|
406
|
-
query_params[:'beneficiary_bank'] = opts[:'beneficiary_bank'] if !opts[:'beneficiary_bank'].nil?
|
407
|
-
query_params[:'beneficiary_name'] = opts[:'beneficiary_name'] if !opts[:'beneficiary_name'].nil?
|
408
|
-
query_params[:'end_date'] = opts[:'end_date'] if !opts[:'end_date'].nil?
|
409
|
-
query_params[:'init_date'] = opts[:'init_date'] if !opts[:'init_date'].nil?
|
410
228
|
query_params[:'rfc'] = opts[:'rfc'] if !opts[:'rfc'].nil?
|
411
|
-
query_params[:'status'] = opts[:'status'] if !opts[:'status'].nil?
|
412
229
|
|
413
230
|
# header parameters
|
414
231
|
header_params = {}
|
@@ -585,27 +402,27 @@ module Wire4Client
|
|
585
402
|
end
|
586
403
|
return data, status_code, headers
|
587
404
|
end
|
588
|
-
#
|
589
|
-
#
|
405
|
+
# Actualiza el monto límite
|
406
|
+
# Actualiza el monto límite a la cuenta de beneficiario proporcionada relacionada al contrato perteneciente a la subscripción.
|
590
407
|
# @param authorization Header para token
|
591
408
|
# @param account Cuenta a actualizar
|
592
409
|
# @param request_dto Información de la cuenta y el monto límite a actualizar
|
593
410
|
# @param subscription El identificador de la suscripción a esta API
|
594
411
|
# @param [Hash] opts the optional parameters
|
595
|
-
# @return [
|
412
|
+
# @return [nil]
|
596
413
|
def update_amount_limit_account_using_put(authorization, account, request_dto, subscription, opts = {})
|
597
|
-
|
598
|
-
|
414
|
+
update_amount_limit_account_using_put_with_http_info(authorization, account, request_dto, subscription, opts)
|
415
|
+
nil
|
599
416
|
end
|
600
417
|
|
601
|
-
#
|
602
|
-
#
|
418
|
+
# Actualiza el monto límite
|
419
|
+
# Actualiza el monto límite a la cuenta de beneficiario proporcionada relacionada al contrato perteneciente a la subscripción.
|
603
420
|
# @param authorization Header para token
|
604
421
|
# @param account Cuenta a actualizar
|
605
422
|
# @param request_dto Información de la cuenta y el monto límite a actualizar
|
606
423
|
# @param subscription El identificador de la suscripción a esta API
|
607
424
|
# @param [Hash] opts the optional parameters
|
608
|
-
# @return [Array<(
|
425
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
609
426
|
def update_amount_limit_account_using_put_with_http_info(authorization, account, request_dto, subscription, opts = {})
|
610
427
|
if @api_client.config.debugging
|
611
428
|
@api_client.config.logger.debug 'Calling API: CuentasDeBeneficiariosSPEIApi.update_amount_limit_account_using_put ...'
|
@@ -671,8 +488,7 @@ module Wire4Client
|
|
671
488
|
:query_params => query_params,
|
672
489
|
:form_params => form_params,
|
673
490
|
:body => post_body,
|
674
|
-
:auth_names => auth_names
|
675
|
-
:return_type => 'TokenRequiredResponse')
|
491
|
+
:auth_names => auth_names)
|
676
492
|
if @api_client.config.debugging
|
677
493
|
@api_client.config.logger.debug "API called: CuentasDeBeneficiariosSPEIApi#update_amount_limit_account_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
678
494
|
end
|