cybersource_rest_client 0.0.85 → 0.0.87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/AuthenticationSDK/util/Cache.rb +9 -6
- data/lib/AuthenticationSDK/util/CertificateUtility.rb +14 -6
- data/lib/AuthenticationSDK/util/Utility.rb +16 -5
- data/lib/cybersource_rest_client/api/agent_capabilities_api.rb +1868 -122
- data/lib/cybersource_rest_client/api/bin_lookup_api.rb +3 -3
- data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +6 -6
- data/lib/cybersource_rest_client/api/emv_tag_details_api.rb +1 -1
- data/lib/cybersource_rest_client/api/foreign_exchange_rates_api.rb +146 -0
- data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +9 -9
- data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +94 -4
- data/lib/cybersource_rest_client/api/merchant_capabilities_api.rb +1065 -0
- data/lib/cybersource_rest_client/api/merchant_defined_fields_api.rb +361 -0
- data/lib/cybersource_rest_client/api/network_tokens_api.rb +4 -4
- data/lib/cybersource_rest_client/api/offers_api.rb +3 -3
- data/lib/cybersource_rest_client/api/orders_api.rb +2 -2
- data/lib/cybersource_rest_client/api/payment_tokens_api.rb +1 -1
- data/lib/cybersource_rest_client/api/plans_api.rb +1 -1
- data/lib/cybersource_rest_client/api/pull_funds_api.rb +3 -3
- data/lib/cybersource_rest_client/api/search_transactions_api.rb +2 -2
- data/lib/cybersource_rest_client/api/subscriptions_api.rb +2 -2
- data/lib/cybersource_rest_client/api/subscriptions_follow_ons_api.rb +2 -2
- data/lib/cybersource_rest_client/api/transaction_details_api.rb +1 -1
- data/lib/cybersource_rest_client/api/transaction_query_api.rb +158 -0
- data/lib/cybersource_rest_client/api/visa_protect_risk_insights_api.rb +104 -0
- data/lib/cybersource_rest_client/models/acp_checkout_session_response_buyer.rb +254 -0
- data/lib/cybersource_rest_client/models/acp_complete_checkout_request.rb +205 -0
- data/lib/cybersource_rest_client/models/acp_complete_checkout_response_buyer.rb +254 -0
- data/lib/cybersource_rest_client/models/acp_complete_checkout_session_buyer.rb +254 -0
- data/lib/cybersource_rest_client/models/acp_create_checkout_session_buyer.rb +254 -0
- data/lib/cybersource_rest_client/models/acp_create_checkout_session_request.rb +217 -0
- data/lib/cybersource_rest_client/models/acp_update_checkout_session_buyer.rb +254 -0
- data/lib/cybersource_rest_client/models/acp_update_checkout_session_request.rb +224 -0
- data/lib/cybersource_rest_client/models/activate_merchant_key_response200.rb +356 -0
- data/lib/cybersource_rest_client/models/add_agent_key_response201.rb +356 -0
- data/lib/cybersource_rest_client/models/agent_registration_conflict_response409.rb +196 -0
- data/lib/cybersource_rest_client/models/agent_registration_response201.rb +356 -0
- data/lib/cybersource_rest_client/models/agent_registration_response201_keys.rb +308 -0
- data/lib/cybersource_rest_client/models/agent_registration_validation_error_response422.rb +214 -0
- data/lib/cybersource_rest_client/models/agent_registration_validation_error_response422_errors.rb +212 -0
- data/lib/cybersource_rest_client/models/agent_request.rb +286 -0
- data/lib/cybersource_rest_client/models/agent_update.rb +237 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information_tenant_configurations.rb +1 -1
- data/lib/cybersource_rest_client/models/body_1.rb +189 -0
- data/lib/cybersource_rest_client/models/body_2.rb +224 -0
- data/lib/cybersource_rest_client/models/consumer_authentication_response.rb +196 -0
- data/lib/cybersource_rest_client/models/create_payment_link_request.rb +17 -5
- data/lib/cybersource_rest_client/models/deactivate_merchant_key_response200.rb +196 -0
- data/lib/cybersource_rest_client/models/iccv1agents_keys.rb +239 -0
- data/lib/cybersource_rest_client/models/iccv1checkout_sessions_fulfillment_address.rb +344 -0
- data/lib/cybersource_rest_client/models/iccv1checkout_sessions_items.rb +222 -0
- data/lib/cybersource_rest_client/models/iccv1checkout_sessionssession_id_fulfillment_address.rb +344 -0
- data/lib/cybersource_rest_client/models/iccv1checkout_sessionssession_idcomplete_payment_data.rb +222 -0
- data/lib/cybersource_rest_client/models/iccv1checkout_sessionssession_idcomplete_payment_data_billing_address.rb +344 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_discounts.rb +206 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_discounts_allocations.rb +202 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_discounts_applied.rb +237 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_fulfillment.rb +193 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_fulfillment_destinations.rb +246 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_fulfillment_groups.rb +228 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_fulfillment_methods.rb +252 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_fulfillment_options.rb +215 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_fulfillment_totals.rb +202 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_item.rb +207 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_line_items.rb +211 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_payment.rb +217 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_payment_billing_address.rb +235 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_payment_credential.rb +202 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_payment_handlers.rb +259 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessions_payment_instruments.rb +288 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessionssession_id_discounts.rb +206 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessionssession_id_fulfillment.rb +193 -0
- data/lib/cybersource_rest_client/models/iccv1checkoutsessionssession_id_payment.rb +217 -0
- data/lib/cybersource_rest_client/models/iccv1merchants_api_integrations.rb +225 -0
- data/lib/cybersource_rest_client/models/iccv1merchants_encryption_key.rb +245 -0
- data/lib/cybersource_rest_client/models/iccv1merchants_protocol_interactions.rb +236 -0
- data/lib/cybersource_rest_client/models/iccv1merchants_web_integrations.rb +225 -0
- data/lib/cybersource_rest_client/models/iccv1productsfeed_products.rb +1368 -0
- data/lib/cybersource_rest_client/models/inline_response_200_16.rb +2 -2
- data/lib/cybersource_rest_client/models/inline_response_200_17.rb +317 -0
- data/lib/cybersource_rest_client/models/inline_response_200_17_fulfillment_address.rb +344 -0
- data/lib/cybersource_rest_client/models/inline_response_200_17_order.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_200_18.rb +308 -0
- data/lib/cybersource_rest_client/models/inline_response_200_19.rb +302 -0
- data/lib/cybersource_rest_client/models/inline_response_200_19_errors.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_200_19_google_merchant.rb +237 -0
- data/lib/cybersource_rest_client/models/inline_response_200_19_google_merchant_products.rb +259 -0
- data/lib/cybersource_rest_client/models/inline_response_200_20.rb +259 -0
- data/lib/cybersource_rest_client/models/inline_response_200_20_products.rb +1081 -0
- data/lib/cybersource_rest_client/models/inline_response_200_21.rb +201 -0
- data/lib/cybersource_rest_client/models/inline_response_200_4.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_5.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_5_integration_information_tenant_configurations.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_10.rb +202 -0
- data/lib/cybersource_rest_client/models/inline_response_201_11.rb +297 -0
- data/lib/cybersource_rest_client/models/{inline_response_201_9_client_reference_information.rb → inline_response_201_11_client_reference_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_9_error_information.rb → inline_response_201_11_error_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_9_order_information.rb → inline_response_201_11_order_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_9_order_information_currency_conversion.rb → inline_response_201_11_order_information_currency_conversion.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_9_order_information_currency_conversion_offer.rb → inline_response_201_11_order_information_currency_conversion_offer.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_9_processor_information.rb → inline_response_201_11_processor_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_12.rb +318 -0
- data/lib/cybersource_rest_client/models/inline_response_201_12_fulfillment_address.rb +344 -0
- data/lib/cybersource_rest_client/models/inline_response_201_12_fulfillment_options.rb +290 -0
- data/lib/cybersource_rest_client/models/inline_response_201_12_item.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_201_12_line_items.rb +256 -0
- data/lib/cybersource_rest_client/models/inline_response_201_12_links.rb +212 -0
- data/lib/cybersource_rest_client/models/inline_response_201_12_messages.rb +250 -0
- data/lib/cybersource_rest_client/models/inline_response_201_12_payment_provider.rb +204 -0
- data/lib/cybersource_rest_client/models/inline_response_201_12_totals.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_201_13.rb +312 -0
- data/lib/cybersource_rest_client/models/inline_response_201_13_discounts.rb +206 -0
- data/lib/cybersource_rest_client/models/inline_response_201_13_fulfillment.rb +193 -0
- data/lib/cybersource_rest_client/models/inline_response_201_13_item.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_201_13_line_items.rb +225 -0
- data/lib/cybersource_rest_client/models/inline_response_201_13_order.rb +202 -0
- data/lib/cybersource_rest_client/models/inline_response_201_13_payment.rb +217 -0
- data/lib/cybersource_rest_client/models/inline_response_201_13_ucp.rb +204 -0
- data/lib/cybersource_rest_client/models/inline_response_201_13_ucp_capabilities.rb +202 -0
- data/lib/cybersource_rest_client/models/inline_response_201_3.rb +57 -35
- data/lib/cybersource_rest_client/models/inline_response_201_3_error_information.rb +225 -0
- data/lib/cybersource_rest_client/models/inline_response_201_3_error_information_details.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_201_3_order_information.rb +189 -0
- data/lib/cybersource_rest_client/models/inline_response_201_3_order_information_amount_details.rb +315 -0
- data/lib/cybersource_rest_client/models/inline_response_201_3_processing_information.rb +189 -0
- data/lib/cybersource_rest_client/models/inline_response_201_3_processing_information_routing.rb +196 -0
- data/lib/cybersource_rest_client/models/inline_response_201_3_processor_information.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4.rb +61 -61
- data/lib/cybersource_rest_client/models/{inline_response_401_1__links.rb → inline_response_201_4__links.rb} +2 -2
- data/lib/cybersource_rest_client/models/inline_response_201_4__links_self.rb +201 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_acquirer_information.rb +196 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_client_reference_information.rb +196 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_error_information.rb +225 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_error_information_details.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_merchant_information.rb +196 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_order_information.rb +189 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_order_information_amount_details.rb +264 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_payment_information.rb +223 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_payment_information_card.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_processing_information.rb +240 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_processing_information_payouts_options.rb +196 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_processor_information.rb +548 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_processor_information_card_verification.rb +196 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_transactions.rb +239 -0
- data/lib/cybersource_rest_client/models/inline_response_201_5.rb +44 -18
- data/lib/cybersource_rest_client/models/{inline_response_201_3_payout_information.rb → inline_response_201_5_payout_information.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_201_3_payout_information_pull_funds.rb → inline_response_201_5_payout_information_pull_funds.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_3_payout_information_push_funds.rb → inline_response_201_5_payout_information_push_funds.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_6.rb +69 -102
- data/lib/cybersource_rest_client/models/{inline_response_201_4_integration_information.rb → inline_response_201_6_integration_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_4_integration_information_tenant_configurations.rb → inline_response_201_6_integration_information_tenant_configurations.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_4_organization_information.rb → inline_response_201_6_organization_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_4_product_information_setups.rb → inline_response_201_6_product_information_setups.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_4_registration_information.rb → inline_response_201_6_registration_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_4_setups.rb → inline_response_201_6_setups.rb} +4 -4
- data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_commerce_solutions.rb → inline_response_201_6_setups_commerce_solutions.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_risk.rb → inline_response_201_6_setups_risk.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_value_added_services.rb → inline_response_201_6_setups_value_added_services.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_7.rb +32 -87
- data/lib/cybersource_rest_client/models/{inline_response_201_5_key_information.rb → inline_response_201_7_key_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_5_key_information_error_information.rb → inline_response_201_7_key_information_error_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_5_key_information_error_information_details.rb → inline_response_201_7_key_information_error_information_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_8.rb +127 -15
- data/lib/cybersource_rest_client/models/inline_response_201_9.rb +78 -98
- data/lib/cybersource_rest_client/models/{inline_response_201_7_payloads.rb → inline_response_201_9_payloads.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_7_payloads_test_payload.rb → inline_response_201_9_payloads_test_payload.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_202__links.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_10.rb +58 -36
- data/lib/cybersource_rest_client/models/{inline_response_400_8_fields.rb → inline_response_400_10_fields.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_11.rb +35 -42
- data/lib/cybersource_rest_client/models/{inline_response_400_9_details.rb → inline_response_400_11_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_12.rb +27 -26
- data/lib/cybersource_rest_client/models/inline_response_400_12_details.rb +18 -7
- data/lib/cybersource_rest_client/models/inline_response_400_13.rb +38 -77
- data/lib/cybersource_rest_client/models/inline_response_400_14.rb +235 -0
- data/lib/cybersource_rest_client/models/{inline_response_400_10_details.rb → inline_response_400_14_details.rb} +8 -19
- data/lib/cybersource_rest_client/models/inline_response_400_15.rb +281 -0
- data/lib/cybersource_rest_client/models/inline_response_400_16.rb +235 -0
- data/lib/cybersource_rest_client/models/inline_response_400_3.rb +42 -13
- data/lib/cybersource_rest_client/models/inline_response_400_4.rb +47 -13
- data/lib/cybersource_rest_client/models/inline_response_400_5.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_6.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_7.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_8.rb +37 -60
- data/lib/cybersource_rest_client/models/inline_response_400_9.rb +6 -6
- data/lib/cybersource_rest_client/models/inline_response_401.rb +51 -33
- data/lib/cybersource_rest_client/models/inline_response_401_1.rb +44 -56
- data/lib/cybersource_rest_client/models/inline_response_401_2.rb +223 -0
- data/lib/cybersource_rest_client/models/inline_response_401_3.rb +253 -0
- data/lib/cybersource_rest_client/models/inline_response_401_3__links.rb +189 -0
- data/lib/cybersource_rest_client/models/{inline_response_401_1__links_self.rb → inline_response_401_3__links_self.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_401_1_fields.rb → inline_response_401_3_fields.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_404_3.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_422_1.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_502_2.rb +55 -26
- data/lib/cybersource_rest_client/models/inline_response_502_3.rb +21 -15
- data/lib/cybersource_rest_client/models/inline_response_502_4.rb +223 -0
- data/lib/cybersource_rest_client/models/inline_response_502_5.rb +251 -0
- data/lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response_invoice_settings_information.rb +18 -1
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_invoice_information.rb +2 -2
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_cancel200_response.rb +17 -5
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_invoice_information.rb +20 -3
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_merchant_defined_field_values_with_definition.rb +11 -1
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_publish200_response.rb +17 -5
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_send200_response.rb +17 -5
- data/lib/cybersource_rest_client/models/invoicingv2invoice_settings_invoice_settings_information.rb +18 -1
- data/lib/cybersource_rest_client/models/invoicingv2invoices_invoice_information.rb +20 -3
- data/lib/cybersource_rest_client/models/invoicingv2invoicesid_invoice_information.rb +20 -3
- data/lib/cybersource_rest_client/models/iplv2paymentlinks_order_information_line_items.rb +26 -9
- data/lib/cybersource_rest_client/models/iplv2paymentlinks_purchase_information.rb +85 -5
- data/lib/cybersource_rest_client/models/iplv2paymentlinksid_purchase_information.rb +85 -5
- data/lib/cybersource_rest_client/models/key_request.rb +239 -0
- data/lib/cybersource_rest_client/models/key_request_1.rb +245 -0
- data/lib/cybersource_rest_client/models/key_update.rb +224 -0
- data/lib/cybersource_rest_client/models/key_update_1.rb +235 -0
- data/lib/cybersource_rest_client/models/list_agent_keys_response200.rb +245 -0
- data/lib/cybersource_rest_client/models/list_agent_keys_response200_pagination.rb +276 -0
- data/lib/cybersource_rest_client/models/list_merchant_keys_response200.rb +262 -0
- data/lib/cybersource_rest_client/models/merchant_defined_field_core_1.rb +315 -0
- data/lib/cybersource_rest_client/models/merchant_defined_field_definition_request_1.rb +315 -0
- data/lib/cybersource_rest_client/models/merchant_registration_response201.rb +395 -0
- data/lib/cybersource_rest_client/models/merchant_registration_response201_keys.rb +324 -0
- data/lib/cybersource_rest_client/models/merchant_registration_validation_error_response422.rb +193 -0
- data/lib/cybersource_rest_client/models/merchant_registration_validation_error_response422_detail.rb +215 -0
- data/lib/cybersource_rest_client/models/merchant_request.rb +317 -0
- data/lib/cybersource_rest_client/models/merchant_update.rb +270 -0
- data/lib/cybersource_rest_client/models/patch_registration_body.rb +234 -0
- data/lib/cybersource_rest_client/models/pbl_payment_links_get200_response.rb +17 -5
- data/lib/cybersource_rest_client/models/pbl_payment_links_post201_response.rb +17 -5
- data/lib/cybersource_rest_client/models/pbl_payment_links_post201_response_purchase_information.rb +81 -1
- data/lib/cybersource_rest_client/models/{tms_tokenized_card_delete_request.rb → post_tokenized_card_delete_request.rb} +1 -1
- data/lib/cybersource_rest_client/models/processing_info_authorization_options.rb +14 -1
- data/lib/cybersource_rest_client/models/product_feed_request.rb +230 -0
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information.rb +37 -3
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +11 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_card_verification.rb +214 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_recurring_payment_information.rb +0 -14
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payoutsfxrates_acquirer_information.rb +196 -0
- data/lib/cybersource_rest_client/models/ptsv2payoutsfxrates_client_reference_information.rb +257 -0
- data/lib/cybersource_rest_client/models/ptsv2payoutsfxrates_client_reference_information_partner.rb +213 -0
- data/lib/cybersource_rest_client/models/ptsv2payoutsfxrates_order_information.rb +189 -0
- data/lib/cybersource_rest_client/models/ptsv2payoutsfxrates_order_information_amount_details.rb +299 -0
- data/lib/cybersource_rest_client/models/ptsv2payoutsfxrates_processing_information.rb +240 -0
- data/lib/cybersource_rest_client/models/ptsv2payoutsfxrates_processing_information_routing.rb +205 -0
- data/lib/cybersource_rest_client/models/ptsv2payoutstransactionqueryid_client_reference_information.rb +247 -0
- data/lib/cybersource_rest_client/models/{boardingv1registrations_integration_information_tenant_information.rb → tenant_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options.rb +12 -1
- data/lib/cybersource_rest_client/models/ucp_checkout_session_response_buyer.rb +202 -0
- data/lib/cybersource_rest_client/models/ucp_complete_checkout_request.rb +201 -0
- data/lib/cybersource_rest_client/models/ucp_create_checkout_session_buyer.rb +202 -0
- data/lib/cybersource_rest_client/models/ucp_create_checkout_session_request.rb +249 -0
- data/lib/cybersource_rest_client/models/ucp_update_checkout_session_buyer.rb +202 -0
- data/lib/cybersource_rest_client/models/ucp_update_checkout_session_request.rb +255 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_complete_mandate.rb +16 -5
- data/lib/cybersource_rest_client/models/ucv1sessions_data.rb +11 -1
- data/lib/cybersource_rest_client/models/ucv1sessions_data_acquirer_information.rb +196 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_aggregator_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ucv1sessions_data_consumer_authentication_information.rb +16 -5
- data/lib/cybersource_rest_client/models/unified_risk_post201_response.rb +211 -0
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_results.rb +190 -0
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights.rb +291 -0
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_client.rb +208 -0
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_error.rb +202 -0
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_packages.rb +190 -0
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_packages_transaction_insights.rb +250 -0
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_packages_transaction_insights_insights.rb +219 -0
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_transaction_insights_insights_warnings.rb +214 -0
- data/lib/cybersource_rest_client/models/unified_risk_post400_response.rb +230 -0
- data/lib/cybersource_rest_client/models/unified_risk_post400_response_errors.rb +223 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_account.rb +190 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_acquirer.rb +302 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_acquirer_merchant_account.rb +234 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_acquirer_merchant_account_security_amount.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_authentication.rb +402 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_authentication_challenge.rb +202 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_authorization.rb +212 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_browser.rb +420 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_customer.rb +403 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_customer_address.rb +279 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_customer_personal_identification.rb +297 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_device.rb +681 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_device_point_of_sale.rb +344 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_initiating_party.rb +223 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_labels.rb +230 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_labels_authentication_outcome.rb +201 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_labels_payment_authorization_decision.rb +201 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_labels_return.rb +202 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_labels_transaction_decision.rb +201 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_labels_transaction_outcome.rb +201 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant.rb +326 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_address.rb +328 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor.rb +389 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_expected_annual_sales.rb +268 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_expected_average_ticket_size.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_expected_monthly_sales.rb +268 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_hierarchy.rb +224 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_limit_value.rb +257 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_trading_address.rb +301 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_order.rb +256 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_order_billing.rb +360 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_order_line_items.rb +262 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_order_shipping.rb +464 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_order_shipping_store.rb +251 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_order_shipping_store_address.rb +191 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_order_shipping_store_store_address.rb +235 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_partner.rb +214 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment.rb +423 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_approvals.rb +193 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account.rb +451 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account_balance_before.rb +257 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account_branch_address.rb +328 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account_credit_limit.rb +257 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account_financial_institution.rb +212 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_batch.rb +323 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_card.rb +461 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_card_par_details.rb +196 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_card_token_details.rb +380 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_check.rb +289 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_check_deposit_location.rb +279 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_counterparty.rb +287 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_counterparty_address.rb +279 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_counterparty_branch_address.rb +279 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_sdk.rb +268 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_token.rb +213 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification.rb +230 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_additional.rb +256 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_authentication.rb +232 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_authentication_pin.rb +201 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_authentication_three_ds.rb +190 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_card_security.rb +199 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_card_security_avs.rb +218 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_card_security_cvv.rb +196 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_digital.rb +212 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_wallet.rb +201 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_wire.rb +364 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment.rb +308 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_buyer_history.rb +276 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_buyer_history_account_history.rb +207 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_buyer_history_customer_account.rb +273 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_buyer_history_customer_account_alertnate_authentication.rb +257 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_vital4.rb +191 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_session.rb +202 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_terminal.rb +238 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_terminal_address.rb +301 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_terminal_capabilities.rb +234 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_third_party_risk.rb +708 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_third_party_risk_raw_data.rb +189 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction.rb +489 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_additional_fees.rb +257 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_amount.rb +257 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details.rb +220 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details_batch_credits_amount.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details_batch_debits_amount.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details_file_credits.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details_file_debits.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_check_details.rb +190 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_check_details_deposited_cash_amount.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_recurring_details.rb +341 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_travel.rb +279 -0
- data/lib/cybersource_rest_client/models/update_payment_link_request.rb +17 -5
- data/lib/cybersource_rest_client/models/vpri_request.rb +505 -0
- data/lib/cybersource_rest_client/models/vpri_transaction_insights_additional_data.rb +190 -0
- data/lib/cybersource_rest_client/models/vpri_transaction_insights_additional_data_card_bin_data.rb +357 -0
- data/lib/cybersource_rest_client.rb +2264 -2011
- metadata +286 -33
|
@@ -24,7 +24,7 @@ module CyberSource
|
|
|
24
24
|
#
|
|
25
25
|
# @param create_bin_lookup_request
|
|
26
26
|
# @param [Hash] opts the optional parameters
|
|
27
|
-
# @return [
|
|
27
|
+
# @return [InlineResponse2015]
|
|
28
28
|
#
|
|
29
29
|
# DISCLAIMER : Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested ("Beta Product") solely for the purpose of evaluating the functionality or marketability of the Beta Product (a "Beta Evaluation"). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer's participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period ("Beta Product Form"). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer's use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided "AS IS" and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS.
|
|
30
30
|
def get_account_info(create_bin_lookup_request, opts = {})
|
|
@@ -36,7 +36,7 @@ module CyberSource
|
|
|
36
36
|
# The BIN Lookup Service is a versatile business tool that provides card network agnostic solution designed to ensure frictionless transaction experience by utilizing up-to-date Bank Identification Number (BIN) attributes sourced from multiple global and regional data sources. This service helps to improve authorization rates by helping to route transactions to the best-suited card network, minimizes fraud through card detail verification and aids in regulatory compliance by identifying card properties. The service is flexible and provides businesses with a flexible choice of inputs such as primary account number (PAN), network token from major networks (such as Visa, American Express, Discover and several regional networks) which includes device PAN (DPAN), and all types of tokens generated via CyberSource Token Management Service (TMS). Currently, the range of available credentials is contingent on the networks enabled for the business entity. Therefore, the network information specified in this documentation is illustrative and subject to personalized offerings for each reseller or merchant.
|
|
37
37
|
# @param create_bin_lookup_request
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
39
|
-
# @return [Array<(
|
|
39
|
+
# @return [Array<(InlineResponse2015, Fixnum, Hash)>] InlineResponse2015 data, response status code and response headers
|
|
40
40
|
def get_account_info_with_http_info(create_bin_lookup_request, opts = {})
|
|
41
41
|
|
|
42
42
|
if @api_client.config.debugging
|
|
@@ -89,7 +89,7 @@ module CyberSource
|
|
|
89
89
|
:form_params => form_params,
|
|
90
90
|
:body => post_body,
|
|
91
91
|
:auth_names => auth_names,
|
|
92
|
-
:return_type => '
|
|
92
|
+
:return_type => 'InlineResponse2015',
|
|
93
93
|
:isResponseMLEForApi => is_response_mle_for_api)
|
|
94
94
|
if @api_client.config.debugging
|
|
95
95
|
begin
|
|
@@ -107,7 +107,7 @@ module CyberSource
|
|
|
107
107
|
#
|
|
108
108
|
# @param [Hash] opts the optional parameters
|
|
109
109
|
# @option opts [CreateWebhook] :create_webhook The webhook payload
|
|
110
|
-
# @return [
|
|
110
|
+
# @return [InlineResponse2018]
|
|
111
111
|
#
|
|
112
112
|
def notification_subscriptions_v2_webhooks_post(opts = {})
|
|
113
113
|
data, status_code, headers = notification_subscriptions_v2_webhooks_post_with_http_info(opts)
|
|
@@ -118,7 +118,7 @@ module CyberSource
|
|
|
118
118
|
# Create a new webhook subscription. Before creating a webhook, ensure that a signature key has been created. For the example \"Create Webhook using oAuth with Client Credentials\" - for clients who have more than one oAuth Provider and have different client secrets that they would like to config for a given webhook, they may do so by overriding the keyId inside security config of webhook subscription. See the Developer Center examples section titled \"Webhook Security - Create or Store Egress Symmetric Key - Store oAuth Credentials For Symmetric Key\" to store these oAuth credentials that CYBS will need for oAuth. For JWT authentication, attach your oAuth details to the webhook subscription. See the example \"Create Webhook using oAuth with JWT\"
|
|
119
119
|
# @param [Hash] opts the optional parameters
|
|
120
120
|
# @option opts [CreateWebhook] :create_webhook The webhook payload
|
|
121
|
-
# @return [Array<(
|
|
121
|
+
# @return [Array<(InlineResponse2018, Fixnum, Hash)>] InlineResponse2018 data, response status code and response headers
|
|
122
122
|
def notification_subscriptions_v2_webhooks_post_with_http_info(opts = {})
|
|
123
123
|
|
|
124
124
|
if @api_client.config.debugging
|
|
@@ -167,7 +167,7 @@ module CyberSource
|
|
|
167
167
|
:form_params => form_params,
|
|
168
168
|
:body => post_body,
|
|
169
169
|
:auth_names => auth_names,
|
|
170
|
-
:return_type => '
|
|
170
|
+
:return_type => 'InlineResponse2018',
|
|
171
171
|
:isResponseMLEForApi => is_response_mle_for_api)
|
|
172
172
|
if @api_client.config.debugging
|
|
173
173
|
begin
|
|
@@ -187,7 +187,7 @@ module CyberSource
|
|
|
187
187
|
# @option opts [String] :v_c_sender_organization_id Sender organization id
|
|
188
188
|
# @option opts [String] :v_c_permissions Encoded user permissions returned by the CGK, for the entity user who initiated the boarding
|
|
189
189
|
# @option opts [SaveSymEgressKey] :save_sym_egress_key Provide egress Symmetric key information to save (create or store or refresh)
|
|
190
|
-
# @return [
|
|
190
|
+
# @return [InlineResponse2017]
|
|
191
191
|
#
|
|
192
192
|
def save_sym_egress_key(opts = {})
|
|
193
193
|
data, status_code, headers = save_sym_egress_key_with_http_info(opts)
|
|
@@ -201,7 +201,7 @@ module CyberSource
|
|
|
201
201
|
# @option opts [String] :v_c_sender_organization_id Sender organization id
|
|
202
202
|
# @option opts [String] :v_c_permissions Encoded user permissions returned by the CGK, for the entity user who initiated the boarding
|
|
203
203
|
# @option opts [SaveSymEgressKey] :save_sym_egress_key Provide egress Symmetric key information to save (create or store or refresh)
|
|
204
|
-
# @return [Array<(
|
|
204
|
+
# @return [Array<(InlineResponse2017, Fixnum, Hash)>] InlineResponse2017 data, response status code and response headers
|
|
205
205
|
def save_sym_egress_key_with_http_info(opts = {})
|
|
206
206
|
|
|
207
207
|
if @api_client.config.debugging
|
|
@@ -261,7 +261,7 @@ module CyberSource
|
|
|
261
261
|
:form_params => form_params,
|
|
262
262
|
:body => post_body,
|
|
263
263
|
:auth_names => auth_names,
|
|
264
|
-
:return_type => '
|
|
264
|
+
:return_type => 'InlineResponse2017',
|
|
265
265
|
:isResponseMLEForApi => is_response_mle_for_api)
|
|
266
266
|
if @api_client.config.debugging
|
|
267
267
|
begin
|
|
@@ -146,7 +146,7 @@ module CyberSource
|
|
|
146
146
|
# http body (model)
|
|
147
147
|
post_body = @api_client.object_to_http_body(body)
|
|
148
148
|
sdk_tracker = SdkTracker.new
|
|
149
|
-
post_body = sdk_tracker.insert_developer_id_tracker(post_body, '
|
|
149
|
+
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'Body2', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
150
150
|
inbound_mle_status = "false"
|
|
151
151
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["parse_emv_tags","parse_emv_tags_with_http_info"])
|
|
152
152
|
begin
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#CyberSource Merged Spec
|
|
3
|
+
|
|
4
|
+
#All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 0.0.1
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.38
|
|
10
|
+
=end
|
|
11
|
+
|
|
12
|
+
require 'uri'
|
|
13
|
+
require 'AuthenticationSDK/util/MLEUtility'
|
|
14
|
+
module CyberSource
|
|
15
|
+
class ForeignExchangeRatesApi
|
|
16
|
+
attr_accessor :api_client
|
|
17
|
+
|
|
18
|
+
def initialize(api_client = ApiClient.default, config)
|
|
19
|
+
@api_client = api_client
|
|
20
|
+
@api_client.set_configuration(config)
|
|
21
|
+
end
|
|
22
|
+
# Retrieve Foreign Exchange Rates
|
|
23
|
+
# Retrieve current foreign exchange rates for cross-border payouts.
|
|
24
|
+
#
|
|
25
|
+
# @param body
|
|
26
|
+
# @param content_type
|
|
27
|
+
# @param x_requestid
|
|
28
|
+
# @param v_c_merchant_id
|
|
29
|
+
# @param v_c_permissions
|
|
30
|
+
# @param v_c_correlation_id
|
|
31
|
+
# @param v_c_organization_id
|
|
32
|
+
# @param [Hash] opts the optional parameters
|
|
33
|
+
# @return [InlineResponse2013]
|
|
34
|
+
#
|
|
35
|
+
def create_fx_rates(body, content_type, x_requestid, v_c_merchant_id, v_c_permissions, v_c_correlation_id, v_c_organization_id, opts = {})
|
|
36
|
+
data, status_code, headers = create_fx_rates_with_http_info(body, content_type, x_requestid, v_c_merchant_id, v_c_permissions, v_c_correlation_id, v_c_organization_id, opts)
|
|
37
|
+
return data, status_code, headers
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
# Retrieve Foreign Exchange Rates
|
|
41
|
+
# Retrieve current foreign exchange rates for cross-border payouts.
|
|
42
|
+
# @param body
|
|
43
|
+
# @param content_type
|
|
44
|
+
# @param x_requestid
|
|
45
|
+
# @param v_c_merchant_id
|
|
46
|
+
# @param v_c_permissions
|
|
47
|
+
# @param v_c_correlation_id
|
|
48
|
+
# @param v_c_organization_id
|
|
49
|
+
# @param [Hash] opts the optional parameters
|
|
50
|
+
# @return [Array<(InlineResponse2013, Fixnum, Hash)>] InlineResponse2013 data, response status code and response headers
|
|
51
|
+
def create_fx_rates_with_http_info(body, content_type, x_requestid, v_c_merchant_id, v_c_permissions, v_c_correlation_id, v_c_organization_id, opts = {})
|
|
52
|
+
|
|
53
|
+
if @api_client.config.debugging
|
|
54
|
+
begin
|
|
55
|
+
raise
|
|
56
|
+
@api_client.config.logger.debug 'Calling API: ForeignExchangeRatesApi.create_fx_rates ...'
|
|
57
|
+
rescue
|
|
58
|
+
puts 'Cannot write to log'
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
# verify the required parameter 'body' is set
|
|
62
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
63
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ForeignExchangeRatesApi.create_fx_rates"
|
|
64
|
+
end
|
|
65
|
+
# verify the required parameter 'content_type' is set
|
|
66
|
+
if @api_client.config.client_side_validation && content_type.nil?
|
|
67
|
+
fail ArgumentError, "Missing the required parameter 'content_type' when calling ForeignExchangeRatesApi.create_fx_rates"
|
|
68
|
+
end
|
|
69
|
+
# verify the required parameter 'x_requestid' is set
|
|
70
|
+
if @api_client.config.client_side_validation && x_requestid.nil?
|
|
71
|
+
fail ArgumentError, "Missing the required parameter 'x_requestid' when calling ForeignExchangeRatesApi.create_fx_rates"
|
|
72
|
+
end
|
|
73
|
+
# verify the required parameter 'v_c_merchant_id' is set
|
|
74
|
+
if @api_client.config.client_side_validation && v_c_merchant_id.nil?
|
|
75
|
+
fail ArgumentError, "Missing the required parameter 'v_c_merchant_id' when calling ForeignExchangeRatesApi.create_fx_rates"
|
|
76
|
+
end
|
|
77
|
+
# verify the required parameter 'v_c_permissions' is set
|
|
78
|
+
if @api_client.config.client_side_validation && v_c_permissions.nil?
|
|
79
|
+
fail ArgumentError, "Missing the required parameter 'v_c_permissions' when calling ForeignExchangeRatesApi.create_fx_rates"
|
|
80
|
+
end
|
|
81
|
+
# verify the required parameter 'v_c_correlation_id' is set
|
|
82
|
+
if @api_client.config.client_side_validation && v_c_correlation_id.nil?
|
|
83
|
+
fail ArgumentError, "Missing the required parameter 'v_c_correlation_id' when calling ForeignExchangeRatesApi.create_fx_rates"
|
|
84
|
+
end
|
|
85
|
+
# verify the required parameter 'v_c_organization_id' is set
|
|
86
|
+
if @api_client.config.client_side_validation && v_c_organization_id.nil?
|
|
87
|
+
fail ArgumentError, "Missing the required parameter 'v_c_organization_id' when calling ForeignExchangeRatesApi.create_fx_rates"
|
|
88
|
+
end
|
|
89
|
+
# resource path
|
|
90
|
+
local_var_path = 'pts/v2/payouts/fx-rates'
|
|
91
|
+
|
|
92
|
+
# query parameters
|
|
93
|
+
query_params = {}
|
|
94
|
+
|
|
95
|
+
# header parameters
|
|
96
|
+
header_params = {}
|
|
97
|
+
# HTTP header 'Accept' (if needed)
|
|
98
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json;charset=utf-8'])
|
|
99
|
+
# HTTP header 'Content-Type'
|
|
100
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
|
101
|
+
header_params[:'Content-Type'] = content_type
|
|
102
|
+
header_params[:'x-requestid'] = x_requestid
|
|
103
|
+
header_params[:'v-c-merchant-id'] = v_c_merchant_id
|
|
104
|
+
header_params[:'v-c-permissions'] = v_c_permissions
|
|
105
|
+
header_params[:'v-c-correlation-id'] = v_c_correlation_id
|
|
106
|
+
header_params[:'v-c-organization-id'] = v_c_organization_id
|
|
107
|
+
|
|
108
|
+
# form parameters
|
|
109
|
+
form_params = {}
|
|
110
|
+
|
|
111
|
+
# http body (model)
|
|
112
|
+
post_body = @api_client.object_to_http_body(body)
|
|
113
|
+
sdk_tracker = SdkTracker.new
|
|
114
|
+
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'Body', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
115
|
+
inbound_mle_status = "mandatory"
|
|
116
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["create_fx_rates","create_fx_rates_with_http_info"])
|
|
117
|
+
begin
|
|
118
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
119
|
+
rescue
|
|
120
|
+
raise
|
|
121
|
+
end
|
|
122
|
+
end
|
|
123
|
+
|
|
124
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["create_fx_rates","create_fx_rates_with_http_info"])
|
|
125
|
+
|
|
126
|
+
auth_names = []
|
|
127
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
128
|
+
:header_params => header_params,
|
|
129
|
+
:query_params => query_params,
|
|
130
|
+
:form_params => form_params,
|
|
131
|
+
:body => post_body,
|
|
132
|
+
:auth_names => auth_names,
|
|
133
|
+
:return_type => 'InlineResponse2013',
|
|
134
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
135
|
+
if @api_client.config.debugging
|
|
136
|
+
begin
|
|
137
|
+
raise
|
|
138
|
+
@api_client.config.logger.debug "API called: ForeignExchangeRatesApi#create_fx_rates\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
139
|
+
rescue
|
|
140
|
+
puts 'Cannot write to log'
|
|
141
|
+
end
|
|
142
|
+
end
|
|
143
|
+
return data, status_code, headers
|
|
144
|
+
end
|
|
145
|
+
end
|
|
146
|
+
end
|
|
@@ -106,7 +106,7 @@ module CyberSource
|
|
|
106
106
|
#
|
|
107
107
|
# @param webhook_id The webhook Identifier
|
|
108
108
|
# @param [Hash] opts the optional parameters
|
|
109
|
-
# @return [
|
|
109
|
+
# @return [InlineResponse2018]
|
|
110
110
|
#
|
|
111
111
|
def get_webhook_subscription_by_id(webhook_id, opts = {})
|
|
112
112
|
data, status_code, headers = get_webhook_subscription_by_id_with_http_info(webhook_id, opts)
|
|
@@ -117,7 +117,7 @@ module CyberSource
|
|
|
117
117
|
# Retrieve the details of a specific webhook by supplying the webhook ID in the path.
|
|
118
118
|
# @param webhook_id The webhook Identifier
|
|
119
119
|
# @param [Hash] opts the optional parameters
|
|
120
|
-
# @return [Array<(
|
|
120
|
+
# @return [Array<(InlineResponse2018, Fixnum, Hash)>] InlineResponse2018 data, response status code and response headers
|
|
121
121
|
def get_webhook_subscription_by_id_with_http_info(webhook_id, opts = {})
|
|
122
122
|
|
|
123
123
|
if @api_client.config.debugging
|
|
@@ -172,7 +172,7 @@ module CyberSource
|
|
|
172
172
|
:form_params => form_params,
|
|
173
173
|
:body => post_body,
|
|
174
174
|
:auth_names => auth_names,
|
|
175
|
-
:return_type => '
|
|
175
|
+
:return_type => 'InlineResponse2018',
|
|
176
176
|
:isResponseMLEForApi => is_response_mle_for_api)
|
|
177
177
|
if @api_client.config.debugging
|
|
178
178
|
begin
|
|
@@ -279,7 +279,7 @@ module CyberSource
|
|
|
279
279
|
#
|
|
280
280
|
# @param webhook_id The Webhook Identifier.
|
|
281
281
|
# @param [Hash] opts the optional parameters
|
|
282
|
-
# @return [
|
|
282
|
+
# @return [InlineResponse2019]
|
|
283
283
|
#
|
|
284
284
|
def notification_subscriptions_v1_webhooks_webhook_id_post(webhook_id, opts = {})
|
|
285
285
|
data, status_code, headers = notification_subscriptions_v1_webhooks_webhook_id_post_with_http_info(webhook_id, opts)
|
|
@@ -290,7 +290,7 @@ module CyberSource
|
|
|
290
290
|
# Test the webhook configuration by sending a sample webhook. Calling this endpoint sends a sample webhook to the endpoint identified in the user's subscription. It will contain sample values for the product & eventType based on values present in your subscription along with a sample message in the payload. Based on the webhook response users can make any necessary modifications or rest assured knowing their setup is configured correctly.
|
|
291
291
|
# @param webhook_id The Webhook Identifier.
|
|
292
292
|
# @param [Hash] opts the optional parameters
|
|
293
|
-
# @return [Array<(
|
|
293
|
+
# @return [Array<(InlineResponse2019, Fixnum, Hash)>] InlineResponse2019 data, response status code and response headers
|
|
294
294
|
def notification_subscriptions_v1_webhooks_webhook_id_post_with_http_info(webhook_id, opts = {})
|
|
295
295
|
|
|
296
296
|
if @api_client.config.debugging
|
|
@@ -345,7 +345,7 @@ module CyberSource
|
|
|
345
345
|
:form_params => form_params,
|
|
346
346
|
:body => post_body,
|
|
347
347
|
:auth_names => auth_names,
|
|
348
|
-
:return_type => '
|
|
348
|
+
:return_type => 'InlineResponse2019',
|
|
349
349
|
:isResponseMLEForApi => is_response_mle_for_api)
|
|
350
350
|
if @api_client.config.debugging
|
|
351
351
|
begin
|
|
@@ -530,7 +530,7 @@ module CyberSource
|
|
|
530
530
|
# @option opts [String] :v_c_correlation_id A globally unique id associated with your request
|
|
531
531
|
# @option opts [String] :v_c_sender_organization_id Sender organization id
|
|
532
532
|
# @option opts [String] :v_c_permissions Encoded user permissions returned by the CGK, for the entity user who initiated the boarding
|
|
533
|
-
# @return [
|
|
533
|
+
# @return [InlineResponse20110]
|
|
534
534
|
#
|
|
535
535
|
def save_asym_egress_key(save_asym_egress_key, opts = {})
|
|
536
536
|
data, status_code, headers = save_asym_egress_key_with_http_info(save_asym_egress_key, opts)
|
|
@@ -544,7 +544,7 @@ module CyberSource
|
|
|
544
544
|
# @option opts [String] :v_c_correlation_id A globally unique id associated with your request
|
|
545
545
|
# @option opts [String] :v_c_sender_organization_id Sender organization id
|
|
546
546
|
# @option opts [String] :v_c_permissions Encoded user permissions returned by the CGK, for the entity user who initiated the boarding
|
|
547
|
-
# @return [Array<(
|
|
547
|
+
# @return [Array<(InlineResponse20110, Fixnum, Hash)>] InlineResponse20110 data, response status code and response headers
|
|
548
548
|
def save_asym_egress_key_with_http_info(save_asym_egress_key, opts = {})
|
|
549
549
|
|
|
550
550
|
if @api_client.config.debugging
|
|
@@ -608,7 +608,7 @@ module CyberSource
|
|
|
608
608
|
:form_params => form_params,
|
|
609
609
|
:body => post_body,
|
|
610
610
|
:auth_names => auth_names,
|
|
611
|
-
:return_type => '
|
|
611
|
+
:return_type => 'InlineResponse20110',
|
|
612
612
|
:isResponseMLEForApi => is_response_mle_for_api)
|
|
613
613
|
if @api_client.config.debugging
|
|
614
614
|
begin
|
|
@@ -102,13 +102,103 @@ module CyberSource
|
|
|
102
102
|
end
|
|
103
103
|
return data, status_code, headers
|
|
104
104
|
end
|
|
105
|
+
# Updates the information on a boarding registration
|
|
106
|
+
# This end point will partially update a boarding registration
|
|
107
|
+
#
|
|
108
|
+
# @param registration_id Identifies the boarding registration to be updated
|
|
109
|
+
# @param patch_registration_body Boarding registration data to be patched
|
|
110
|
+
# @param [Hash] opts the optional parameters
|
|
111
|
+
# @option opts [String] :v_c_idempotency_id defines idempotency of the request
|
|
112
|
+
# @return [InlineResponse2005]
|
|
113
|
+
#
|
|
114
|
+
def patch_registration(registration_id, patch_registration_body, opts = {})
|
|
115
|
+
data, status_code, headers = patch_registration_with_http_info(registration_id, patch_registration_body, opts)
|
|
116
|
+
return data, status_code, headers
|
|
117
|
+
end
|
|
118
|
+
|
|
119
|
+
# Updates the information on a boarding registration
|
|
120
|
+
# This end point will partially update a boarding registration
|
|
121
|
+
# @param registration_id Identifies the boarding registration to be updated
|
|
122
|
+
# @param patch_registration_body Boarding registration data to be patched
|
|
123
|
+
# @param [Hash] opts the optional parameters
|
|
124
|
+
# @option opts [String] :v_c_idempotency_id defines idempotency of the request
|
|
125
|
+
# @return [Array<(InlineResponse2005, Fixnum, Hash)>] InlineResponse2005 data, response status code and response headers
|
|
126
|
+
def patch_registration_with_http_info(registration_id, patch_registration_body, opts = {})
|
|
127
|
+
|
|
128
|
+
if @api_client.config.debugging
|
|
129
|
+
begin
|
|
130
|
+
raise
|
|
131
|
+
@api_client.config.logger.debug 'Calling API: MerchantBoardingApi.patch_registration ...'
|
|
132
|
+
rescue
|
|
133
|
+
puts 'Cannot write to log'
|
|
134
|
+
end
|
|
135
|
+
end
|
|
136
|
+
# verify the required parameter 'registration_id' is set
|
|
137
|
+
if @api_client.config.client_side_validation && registration_id.nil?
|
|
138
|
+
fail ArgumentError, "Missing the required parameter 'registration_id' when calling MerchantBoardingApi.patch_registration"
|
|
139
|
+
end
|
|
140
|
+
# verify the required parameter 'patch_registration_body' is set
|
|
141
|
+
if @api_client.config.client_side_validation && patch_registration_body.nil?
|
|
142
|
+
fail ArgumentError, "Missing the required parameter 'patch_registration_body' when calling MerchantBoardingApi.patch_registration"
|
|
143
|
+
end
|
|
144
|
+
# resource path
|
|
145
|
+
local_var_path = 'boarding/v1/registrations/{registrationId}'.sub('{' + 'registrationId' + '}', registration_id.to_s)
|
|
146
|
+
|
|
147
|
+
# query parameters
|
|
148
|
+
query_params = {}
|
|
149
|
+
|
|
150
|
+
# header parameters
|
|
151
|
+
header_params = {}
|
|
152
|
+
# HTTP header 'Accept' (if needed)
|
|
153
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
154
|
+
# HTTP header 'Content-Type'
|
|
155
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
156
|
+
header_params[:'v-c-idempotency-id'] = opts[:'v_c_idempotency_id'] if !opts[:'v_c_idempotency_id'].nil?
|
|
157
|
+
|
|
158
|
+
# form parameters
|
|
159
|
+
form_params = {}
|
|
160
|
+
|
|
161
|
+
# http body (model)
|
|
162
|
+
post_body = @api_client.object_to_http_body(patch_registration_body)
|
|
163
|
+
sdk_tracker = SdkTracker.new
|
|
164
|
+
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'PatchRegistrationBody', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
165
|
+
inbound_mle_status = "optional"
|
|
166
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["patch_registration","patch_registration_with_http_info"])
|
|
167
|
+
begin
|
|
168
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
169
|
+
rescue
|
|
170
|
+
raise
|
|
171
|
+
end
|
|
172
|
+
end
|
|
173
|
+
|
|
174
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["patch_registration","patch_registration_with_http_info"])
|
|
175
|
+
|
|
176
|
+
auth_names = []
|
|
177
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
178
|
+
:header_params => header_params,
|
|
179
|
+
:query_params => query_params,
|
|
180
|
+
:form_params => form_params,
|
|
181
|
+
:body => post_body,
|
|
182
|
+
:auth_names => auth_names,
|
|
183
|
+
:return_type => 'InlineResponse2005',
|
|
184
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
185
|
+
if @api_client.config.debugging
|
|
186
|
+
begin
|
|
187
|
+
raise
|
|
188
|
+
@api_client.config.logger.debug "API called: MerchantBoardingApi#patch_registration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
189
|
+
rescue
|
|
190
|
+
puts 'Cannot write to log'
|
|
191
|
+
end
|
|
192
|
+
end
|
|
193
|
+
return data, status_code, headers
|
|
194
|
+
end
|
|
105
195
|
# Create a boarding registration
|
|
106
196
|
# Boarding Product is specifically for resellers who onboard merchants to resell their services to merchants and help integrate REST API into their systems. The Boarding API is designed to simplify and streamline the onboarding process of merchants by enabling administrators and developers to: 1. Enable and Configure Products: The API helps in adding new products to an existing organization and configuring them to suit specific needs. 2. Update Merchant Information: The API allows for updating an organization's information efficiently. 3. Manage Payment Integration: It provides templates for secure payment integration and management.
|
|
107
197
|
#
|
|
108
198
|
# @param post_registration_body Boarding registration data
|
|
109
199
|
# @param [Hash] opts the optional parameters
|
|
110
200
|
# @option opts [String] :v_c_idempotency_id defines idempotency of the request
|
|
111
|
-
# @return [
|
|
201
|
+
# @return [InlineResponse2016]
|
|
112
202
|
#
|
|
113
203
|
def post_registration(post_registration_body, opts = {})
|
|
114
204
|
data, status_code, headers = post_registration_with_http_info(post_registration_body, opts)
|
|
@@ -120,7 +210,7 @@ module CyberSource
|
|
|
120
210
|
# @param post_registration_body Boarding registration data
|
|
121
211
|
# @param [Hash] opts the optional parameters
|
|
122
212
|
# @option opts [String] :v_c_idempotency_id defines idempotency of the request
|
|
123
|
-
# @return [Array<(
|
|
213
|
+
# @return [Array<(InlineResponse2016, Fixnum, Hash)>] InlineResponse2016 data, response status code and response headers
|
|
124
214
|
def post_registration_with_http_info(post_registration_body, opts = {})
|
|
125
215
|
|
|
126
216
|
if @api_client.config.debugging
|
|
@@ -156,7 +246,7 @@ module CyberSource
|
|
|
156
246
|
post_body = @api_client.object_to_http_body(post_registration_body)
|
|
157
247
|
sdk_tracker = SdkTracker.new
|
|
158
248
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'PostRegistrationBody', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
159
|
-
inbound_mle_status = "
|
|
249
|
+
inbound_mle_status = "optional"
|
|
160
250
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["post_registration","post_registration_with_http_info"])
|
|
161
251
|
begin
|
|
162
252
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -174,7 +264,7 @@ module CyberSource
|
|
|
174
264
|
:form_params => form_params,
|
|
175
265
|
:body => post_body,
|
|
176
266
|
:auth_names => auth_names,
|
|
177
|
-
:return_type => '
|
|
267
|
+
:return_type => 'InlineResponse2016',
|
|
178
268
|
:isResponseMLEForApi => is_response_mle_for_api)
|
|
179
269
|
if @api_client.config.debugging
|
|
180
270
|
begin
|