cybersource_rest_client 0.0.83 → 0.0.84
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/authentication/jwt/JwtToken.rb +46 -27
- data/lib/AuthenticationSDK/core/MerchantConfig.rb +82 -48
- data/lib/AuthenticationSDK/util/Cache.rb +7 -4
- data/lib/AuthenticationSDK/util/Constants.rb +6 -0
- data/lib/AuthenticationSDK/util/MLEUtility.rb +9 -0
- data/lib/cybersource_rest_client/api/batches_api.rb +1 -1
- data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +14 -22
- data/lib/cybersource_rest_client/api/credentials_api.rb +104 -0
- data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +3 -3
- data/lib/cybersource_rest_client/api/enrollment_api.rb +2 -2
- data/lib/cybersource_rest_client/api/instructions_api.rb +10 -10
- data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +3 -3
- data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +20 -28
- data/lib/cybersource_rest_client/api/network_tokens_api.rb +654 -0
- data/lib/cybersource_rest_client/api/plans_api.rb +1 -1
- data/lib/cybersource_rest_client/api/subscriptions_api.rb +183 -1
- data/lib/cybersource_rest_client/api/subscriptions_follow_ons_api.rb +1 -1
- data/lib/cybersource_rest_client/api_client.rb +4 -0
- data/lib/cybersource_rest_client/models/account_validations_request.rb +15 -5
- data/lib/cybersource_rest_client/models/acpv1instructions_decline_threshold.rb +1 -1
- data/lib/cybersource_rest_client/models/acpv1instructions_mandates.rb +1 -1
- data/lib/cybersource_rest_client/models/acpv1instructions_recurring_payment_information.rb +1 -1
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_processor_information.rb +1 -1
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_processor_information_payment_instrument.rb +1 -1
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_amount_detail.rb +1 -1
- data/lib/cybersource_rest_client/models/acpv1mppcredentials_challenge.rb +369 -0
- data/lib/cybersource_rest_client/models/acpv1mppcredentials_challenge_encryption_jwk.rb +336 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_assurance_data.rb +7 -7
- data/lib/cybersource_rest_client/models/acpv1tokens_authenticated_identities.rb +1 -1
- data/lib/cybersource_rest_client/models/acpv1tokens_authentication_context.rb +1 -1
- data/lib/cybersource_rest_client/models/acpv1tokens_bill_to.rb +1 -1
- data/lib/cybersource_rest_client/models/acpv1tokens_buyer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/acpv1tokens_consumer_identity.rb +1 -1
- data/lib/cybersource_rest_client/models/acpv1tokens_device_information.rb +1 -1
- data/lib/cybersource_rest_client/models/acpv1tokens_enrollment_reference_data.rb +1 -1
- data/lib/cybersource_rest_client/models/acpv1tokens_payment_information.rb +1 -1
- data/lib/cybersource_rest_client/models/auth_reversal_request.rb +11 -1
- data/lib/cybersource_rest_client/models/bavsv1accountvalidations_payment_information.rb +32 -6
- data/lib/cybersource_rest_client/models/bavsv1accountvalidations_payment_information_bank.rb +1 -1
- data/lib/cybersource_rest_client/models/bavsv1accountvalidations_payment_information_bank_account.rb +1 -1
- data/lib/cybersource_rest_client/models/bavsv1accountvalidations_payment_information_customer.rb +196 -0
- data/lib/cybersource_rest_client/models/bavsv1accountvalidations_payment_information_instrument_identifier.rb +196 -0
- data/lib/cybersource_rest_client/models/bavsv1accountvalidations_payment_information_payment_instrument.rb +196 -0
- data/lib/cybersource_rest_client/models/bavsv1accountvalidations_token_information.rb +208 -0
- data/lib/cybersource_rest_client/models/card_processing_config_common_processors.rb +105 -1
- data/lib/cybersource_rest_client/models/commerce_solutions_products.rb +15 -5
- data/lib/cybersource_rest_client/models/create_credit_request.rb +15 -5
- data/lib/cybersource_rest_client/models/get_all_subscriptions_response_order_information_amount_details_surcharge.rb +22 -5
- data/lib/cybersource_rest_client/models/get_subscriptions_payments_response.rb +247 -0
- data/lib/cybersource_rest_client/models/get_subscriptions_payments_response_1.rb +224 -0
- data/lib/cybersource_rest_client/models/{pbl_payment_links_post201_response__links.rb → get_subscriptions_payments_response_1__links.rb} +1 -1
- data/lib/cybersource_rest_client/models/get_subscriptions_payments_response__links.rb +209 -0
- data/lib/cybersource_rest_client/models/get_subscriptions_payments_response_cycles_completed_count.rb +191 -0
- data/lib/cybersource_rest_client/models/get_subscriptions_payments_response_subscription_payment.rb +356 -0
- data/lib/cybersource_rest_client/models/inline_response_201_1_tokenized_card.rb +26 -5
- data/lib/cybersource_rest_client/models/inline_response_201_4_setups_commerce_solutions.rb +15 -5
- data/lib/cybersource_rest_client/models/inline_response_201_4_setups_payments.rb +25 -5
- data/lib/cybersource_rest_client/models/inline_response_201_4_setups_risk.rb +15 -5
- data/lib/cybersource_rest_client/models/inline_response_201_4_setups_value_added_services.rb +25 -5
- data/lib/cybersource_rest_client/models/inline_response_400_10.rb +30 -75
- data/lib/cybersource_rest_client/models/{inline_response_400_8_details.rb → inline_response_400_10_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_11.rb +235 -0
- data/lib/cybersource_rest_client/models/{inline_response_400_7_details.rb → inline_response_400_11_details.rb} +3 -3
- data/lib/cybersource_rest_client/models/inline_response_400_12.rb +281 -0
- data/lib/cybersource_rest_client/models/inline_response_400_6.rb +37 -60
- data/lib/cybersource_rest_client/models/inline_response_400_7.rb +6 -6
- data/lib/cybersource_rest_client/models/inline_response_400_8.rb +58 -36
- data/lib/cybersource_rest_client/models/{inline_response_400_6_fields.rb → inline_response_400_8_fields.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_9.rb +16 -16
- data/lib/cybersource_rest_client/models/inline_response_400_9_details.rb +2 -2
- 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/iplv2paymentlinks_order_information_line_items.rb +73 -5
- data/lib/cybersource_rest_client/models/mit_reversal_request.rb +11 -1
- data/lib/cybersource_rest_client/models/mpp_credentials_request.rb +221 -0
- data/lib/cybersource_rest_client/models/mpp_credentials_response200.rb +338 -0
- data/lib/cybersource_rest_client/models/patch_customer_payment_instrument_request.rb +1 -1
- data/lib/cybersource_rest_client/models/patch_customer_request.rb +1 -1
- data/lib/cybersource_rest_client/models/patch_payment_instrument_request.rb +1 -1
- data/lib/cybersource_rest_client/models/payment_instrument_list_1__embedded.rb +1 -1
- data/lib/cybersource_rest_client/models/payment_instrument_list__embedded.rb +1 -1
- data/lib/cybersource_rest_client/models/{payment_instrument_list_1__embedded__embedded.rb → payment_instrument_list__embedded__embedded.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_instrument_list_1__embedded_payment_instruments.rb → payment_instrument_list__embedded_payment_instruments.rb} +2 -2
- data/lib/cybersource_rest_client/models/payments_products.rb +25 -5
- data/lib/cybersource_rest_client/models/payments_products_currency_conversion_configuration_information_configurations_processors.rb +14 -2
- data/lib/cybersource_rest_client/models/payments_products_microform.rb +199 -0
- data/lib/cybersource_rest_client/models/payments_products_microform_configuration_information.rb +199 -0
- data/lib/cybersource_rest_client/models/payments_products_microform_configuration_information_configurations.rb +189 -0
- data/lib/cybersource_rest_client/models/payments_products_microform_configuration_information_configurations_features.rb +189 -0
- data/lib/cybersource_rest_client/models/payments_products_microform_configuration_information_configurations_features_gateway_agnostic.rb +189 -0
- data/lib/cybersource_rest_client/models/payments_products_microform_subscription_information.rb +227 -0
- data/lib/cybersource_rest_client/models/pbl_payment_links_get200_response.rb +1 -1
- data/lib/cybersource_rest_client/models/pbl_payment_links_post201_response.rb +1 -1
- data/lib/cybersource_rest_client/models/post_customer_payment_instrument_request.rb +1 -1
- data/lib/cybersource_rest_client/models/post_customer_request.rb +1 -1
- data/lib/cybersource_rest_client/models/post_payment_instrument_request.rb +1 -1
- data/lib/cybersource_rest_client/models/post_tokenized_card_request.rb +15 -5
- data/lib/cybersource_rest_client/models/pts_v2_create_billing_agreement_post201_response_agreement_information.rb +80 -1
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response.rb +41 -1
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_merchant_information.rb +196 -0
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_payment_account_information.rb +189 -0
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_payment_information.rb +15 -5
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_payment_information_account_features.rb +196 -0
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_token_information.rb +189 -0
- data/lib/cybersource_rest_client/models/pts_v2_modify_billing_agreement_post201_response_agreement_information.rb +35 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_point_of_sale_information.rb +22 -5
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_processor_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_order_post201_response_order_information_shipping_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb +106 -5
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information_strong_authentication.rb +22 -5
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_account_information.rb +15 -5
- data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_payment_information_tokenized_card.rb → pts_v2_payments_post201_response_payment_account_information_tokenized_card.rb} +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information.rb +18 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +23 -6
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information.rb +15 -5
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_third_party_token.rb +213 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_error_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_order_information_amount_details.rb +18 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_processor_information.rb +19 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_processor_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_processor_information.rb +7 -1
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information.rb +45 -5
- data/lib/cybersource_rest_client/models/{pull_funds201_response_processor_information_avs.rb → pts_v2_payouts_post201_response_processor_information_avs.rb} +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information_customer.rb +196 -0
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information_electronic_verification_results.rb +281 -0
- data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_buyer_information.rb +196 -0
- data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_processing_information.rb +18 -5
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information.rb +19 -6
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_agreement_information.rb +84 -5
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_order_information.rb +12 -2
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_order_information_amount_details.rb +230 -0
- data/lib/cybersource_rest_client/models/{ptsv2intents_order_information_invoice_details.rb → ptsv2billingagreements_order_information_invoice_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information_bank.rb +15 -5
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information_bank_account_alias.rb +207 -0
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_processing_information.rb +18 -1
- data/lib/cybersource_rest_client/models/ptsv2billingagreementsid_agreement_information.rb +56 -5
- data/lib/cybersource_rest_client/models/ptsv2billingagreementsid_processing_information.rb +18 -1
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +35 -5
- data/lib/cybersource_rest_client/models/ptsv2credits_token_information.rb +228 -0
- data/lib/cybersource_rest_client/models/ptsv2intents_order_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2intentsid_order_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb +15 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +16 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information.rb +28 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_digital_currency.rb +231 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_shipping_details.rb +23 -6
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information.rb +32 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank.rb +15 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank_account_alias.rb +207 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_third_party_token.rb +196 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +18 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +72 -6
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_program_indicators.rb +202 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_processor_information.rb +56 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb +16 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_sender_information.rb +16 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_token_information.rb +32 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_token_information_token_authentication_information.rb +193 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_token_information_token_authentication_information_authenticated_identities.rb +252 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb +15 -5
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_shipping_details.rb +100 -5
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information.rb +22 -5
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb +18 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processor_information.rb +39 -5
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information.rb +15 -5
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_shipping_details.rb +196 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information.rb +32 -5
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_device_information.rb +196 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_payment_information.rb +22 -5
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +18 -5
- data/lib/cybersource_rest_client/models/pull_funds201_response_processor_information.rb +36 -6
- data/lib/cybersource_rest_client/models/pull_funds_request.rb +11 -1
- data/lib/cybersource_rest_client/models/push_funds201_response_processor_information.rb +45 -5
- data/lib/cybersource_rest_client/models/risk_products.rb +15 -5
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_ship_to.rb +39 -5
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_shipping_details.rb +1 -1
- data/lib/cybersource_rest_client/models/tms_card_art.rb +23 -1
- data/lib/cybersource_rest_client/models/tms_embedded_instrument_identifier_bill_to.rb +22 -5
- data/lib/cybersource_rest_client/models/tms_tokenized_card_delete_request.rb +189 -0
- data/lib/cybersource_rest_client/models/tmsv1paymentinstruments__embedded.rb +190 -0
- data/lib/cybersource_rest_client/models/tmsv2_tokenized_card.rb +22 -1
- data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_card.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata.rb +16 -5
- data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_issuer.rb +41 -8
- data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_issuer_bank_applications.rb +201 -0
- data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_issuer_capabilities.rb +257 -0
- data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_verification_results.rb +202 -0
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded.rb +200 -0
- data/lib/cybersource_rest_client/models/{tmsv3tokenstoken_idpaymentcredentials_order_information_bill_to.rb → tmsv2tokenizedcards_bill_to.rb} +1 -1
- data/lib/cybersource_rest_client/models/tmsv2tokenizedcardstokenized_card_iddelete_reason.rb +208 -0
- data/lib/cybersource_rest_client/models/tmsv3tokenstoken_idpaymentcredentials_order_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_shipping_details.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_sender_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ucv1sessions_data.rb +44 -14
- data/lib/cybersource_rest_client/models/ucv1sessions_data_aggregator_information.rb +325 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_aggregator_information_sub_merchant.rb +366 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_consumer_authentication_information.rb +22 -5
- data/lib/cybersource_rest_client/models/ucv1sessions_data_installment_information.rb +196 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_merchant_information.rb +22 -5
- data/lib/cybersource_rest_client/models/ucv1sessions_data_merchant_information_merchant_descriptor.rb +18 -1
- data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information.rb +16 -6
- data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_amount_details.rb +86 -12
- data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_invoice_details.rb +242 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_invoice_details_transaction_advice_addendum.rb +196 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_line_items.rb +702 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_shipping_details.rb +213 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_processing_information.rb +38 -1
- data/lib/cybersource_rest_client/models/ucv1sessions_data_processing_information_bank_transfer_options.rb +196 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_processing_information_recurring_options.rb +192 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_recipient_information.rb +107 -53
- data/lib/cybersource_rest_client/models/ucv1sessions_data_sender_information.rb +376 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_sender_information_account.rb +213 -0
- data/lib/cybersource_rest_client/models/update_payments.rb +192 -0
- data/lib/cybersource_rest_client/models/value_added_services_products.rb +25 -5
- data/lib/cybersource_rest_client.rb +71 -12
- metadata +78 -19
- data/lib/cybersource_rest_client/api/token_api.rb +0 -306
- data/lib/cybersource_rest_client/api/tokenized_card_api.rb +0 -371
|
@@ -20,7 +20,7 @@ module CyberSource
|
|
|
20
20
|
@api_client.set_configuration(config)
|
|
21
21
|
end
|
|
22
22
|
# Cancel a purchase intent
|
|
23
|
-
#
|
|
23
|
+
# Cancel an existing purchase intent (instruction) identified by its instructionId. The agent calls this endpoint when the consumer decides to abandon the purchase before payment credentials have been used. Requires device information and assurance data for identity verification. Returns status CANCELLED (HTTP 200) on success, or PENDING (HTTP 202) with pendingEvents if cardholder authentication is required before cancellation can proceed.
|
|
24
24
|
#
|
|
25
25
|
# @param instruction_id
|
|
26
26
|
# @param agentic_cancel_purchase_intent_request Unique identifier for the purchase intent instruction.
|
|
@@ -33,7 +33,7 @@ module CyberSource
|
|
|
33
33
|
end
|
|
34
34
|
|
|
35
35
|
# Cancel a purchase intent
|
|
36
|
-
#
|
|
36
|
+
# Cancel an existing purchase intent (instruction) identified by its instructionId. The agent calls this endpoint when the consumer decides to abandon the purchase before payment credentials have been used. Requires device information and assurance data for identity verification. Returns status CANCELLED (HTTP 200) on success, or PENDING (HTTP 202) with pendingEvents if cardholder authentication is required before cancellation can proceed.
|
|
37
37
|
# @param instruction_id
|
|
38
38
|
# @param agentic_cancel_purchase_intent_request Unique identifier for the purchase intent instruction.
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
@@ -107,7 +107,7 @@ module CyberSource
|
|
|
107
107
|
return data, status_code, headers
|
|
108
108
|
end
|
|
109
109
|
# Confirm transaction events
|
|
110
|
-
#
|
|
110
|
+
# Confirm transaction events for a completed purchase. The agent calls this endpoint after the payment has been submitted to notify the Intelligent Commerce Connect of the transaction outcome. The request includes processor information (transaction type, status, approval codes), order details (shipping, tracking, product information), and merchant information. Returns HTTP 202 acknowledging receipt of the confirmation.
|
|
111
111
|
#
|
|
112
112
|
# @param instruction_id Unique identifier for the purchase intent instruction.
|
|
113
113
|
# @param agentic_confirm_transaction_events_request
|
|
@@ -120,7 +120,7 @@ module CyberSource
|
|
|
120
120
|
end
|
|
121
121
|
|
|
122
122
|
# Confirm transaction events
|
|
123
|
-
#
|
|
123
|
+
# Confirm transaction events for a completed purchase. The agent calls this endpoint after the payment has been submitted to notify the Intelligent Commerce Connect of the transaction outcome. The request includes processor information (transaction type, status, approval codes), order details (shipping, tracking, product information), and merchant information. Returns HTTP 202 acknowledging receipt of the confirmation.
|
|
124
124
|
# @param instruction_id Unique identifier for the purchase intent instruction.
|
|
125
125
|
# @param agentic_confirm_transaction_events_request
|
|
126
126
|
# @param [Hash] opts the optional parameters
|
|
@@ -194,7 +194,7 @@ module CyberSource
|
|
|
194
194
|
return data, status_code, headers
|
|
195
195
|
end
|
|
196
196
|
# Initiate a purchase intent
|
|
197
|
-
#
|
|
197
|
+
# Create a new purchase intent (instruction) for an agentic transaction. The agent calls this endpoint after a card has been enrolled to define what the consumer wants to buy. The request includes payment instrument references, device and assurance data, mandates (spending limits, merchant preferences, and product descriptions), and optional buyer information. Return an instructionId (HTTP 200) if the intent is created immediately, or PENDING (HTTP 202) with pendingEvents if cardholder authentication is required. The instructionId returned is used in all subsequent operations - update, cancel, retrieve credentials, and confirm transaction.
|
|
198
198
|
#
|
|
199
199
|
# @param agentic_create_purchase_intent_request
|
|
200
200
|
# @param [Hash] opts the optional parameters
|
|
@@ -206,7 +206,7 @@ module CyberSource
|
|
|
206
206
|
end
|
|
207
207
|
|
|
208
208
|
# Initiate a purchase intent
|
|
209
|
-
#
|
|
209
|
+
# Create a new purchase intent (instruction) for an agentic transaction. The agent calls this endpoint after a card has been enrolled to define what the consumer wants to buy. The request includes payment instrument references, device and assurance data, mandates (spending limits, merchant preferences, and product descriptions), and optional buyer information. Return an instructionId (HTTP 200) if the intent is created immediately, or PENDING (HTTP 202) with pendingEvents if cardholder authentication is required. The instructionId returned is used in all subsequent operations - update, cancel, retrieve credentials, and confirm transaction.
|
|
210
210
|
# @param agentic_create_purchase_intent_request
|
|
211
211
|
# @param [Hash] opts the optional parameters
|
|
212
212
|
# @return [Array<(AgenticCreatePurchaseIntentResponse200, Fixnum, Hash)>] AgenticCreatePurchaseIntentResponse200 data, response status code and response headers
|
|
@@ -275,7 +275,7 @@ module CyberSource
|
|
|
275
275
|
return data, status_code, headers
|
|
276
276
|
end
|
|
277
277
|
# Retrieve payment credentials
|
|
278
|
-
# Retrieve a
|
|
278
|
+
# Retrieve tokenized payment credentials for a purchase intent to complete the transaction at a merchant. The agent calls this endpoint after a purchase intent has been created and approved, providing transaction-level details including order information, merchant details, payment options, and production information. Returns COMPLETED (HTTP 200) with a signed payload containing encrypted payment credentials (authorization token and JWS-signed payload), or PENDING (HTTP 202) with pendingEvents if additional cardholder authentication is required. The signed payload is used by the merchant's payment processor to complete the transaction.
|
|
279
279
|
#
|
|
280
280
|
# @param instruction_id Unique identifier for the purchase intent instruction.
|
|
281
281
|
# @param agentic_retrieve_payment_credentials_request
|
|
@@ -288,7 +288,7 @@ module CyberSource
|
|
|
288
288
|
end
|
|
289
289
|
|
|
290
290
|
# Retrieve payment credentials
|
|
291
|
-
# Retrieve a
|
|
291
|
+
# Retrieve tokenized payment credentials for a purchase intent to complete the transaction at a merchant. The agent calls this endpoint after a purchase intent has been created and approved, providing transaction-level details including order information, merchant details, payment options, and production information. Returns COMPLETED (HTTP 200) with a signed payload containing encrypted payment credentials (authorization token and JWS-signed payload), or PENDING (HTTP 202) with pendingEvents if additional cardholder authentication is required. The signed payload is used by the merchant's payment processor to complete the transaction.
|
|
292
292
|
# @param instruction_id Unique identifier for the purchase intent instruction.
|
|
293
293
|
# @param agentic_retrieve_payment_credentials_request
|
|
294
294
|
# @param [Hash] opts the optional parameters
|
|
@@ -362,7 +362,7 @@ module CyberSource
|
|
|
362
362
|
return data, status_code, headers
|
|
363
363
|
end
|
|
364
364
|
# Update a purchase intent
|
|
365
|
-
#
|
|
365
|
+
# Update an existing purchase intent (instruction) identified by its instructionId. The agent calls this endpoint when the consumer modifies their order — for example, changing the quantity, updating mandates, switching payment instruments, or changing shipping details. The request body has the same structure as the initiate request. Returns the same instructionId (HTTP 200) on success, or PENDING (HTTP 202) with pendingEvents if additional cardholder authentication is required for the updated intent.
|
|
366
366
|
#
|
|
367
367
|
# @param instruction_id Unique identifier for the purchase intent instruction.
|
|
368
368
|
# @param agentic_update_purchase_intent_request
|
|
@@ -375,7 +375,7 @@ module CyberSource
|
|
|
375
375
|
end
|
|
376
376
|
|
|
377
377
|
# Update a purchase intent
|
|
378
|
-
#
|
|
378
|
+
# Update an existing purchase intent (instruction) identified by its instructionId. The agent calls this endpoint when the consumer modifies their order — for example, changing the quantity, updating mandates, switching payment instruments, or changing shipping details. The request body has the same structure as the initiate request. Returns the same instructionId (HTTP 200) on success, or PENDING (HTTP 202) with pendingEvents if additional cardholder authentication is required for the updated intent.
|
|
379
379
|
# @param instruction_id Unique identifier for the purchase intent instruction.
|
|
380
380
|
# @param agentic_update_purchase_intent_request
|
|
381
381
|
# @param [Hash] opts the optional parameters
|
|
@@ -202,7 +202,7 @@ module CyberSource
|
|
|
202
202
|
# @option opts [BOOLEAN] :retrieve_bin_details Retrieve the Bin Details of PAN or network token
|
|
203
203
|
# @option opts [Integer] :offset Starting record in zero-based dataset that should be returned as the first object in the array. Default is 0. (default to 0)
|
|
204
204
|
# @option opts [Integer] :limit The maximum number that can be returned in the array starting from the offset record in zero-based dataset. Default is 20, maximum is 100. (default to 20)
|
|
205
|
-
# @return [
|
|
205
|
+
# @return [PaymentInstrumentList]
|
|
206
206
|
#
|
|
207
207
|
def get_instrument_identifier_payment_instruments_list(instrument_identifier_id, opts = {})
|
|
208
208
|
data, status_code, headers = get_instrument_identifier_payment_instruments_list_with_http_info(instrument_identifier_id, opts)
|
|
@@ -217,7 +217,7 @@ module CyberSource
|
|
|
217
217
|
# @option opts [BOOLEAN] :retrieve_bin_details Retrieve the Bin Details of PAN or network token
|
|
218
218
|
# @option opts [Integer] :offset Starting record in zero-based dataset that should be returned as the first object in the array. Default is 0.
|
|
219
219
|
# @option opts [Integer] :limit The maximum number that can be returned in the array starting from the offset record in zero-based dataset. Default is 20, maximum is 100.
|
|
220
|
-
# @return [Array<(
|
|
220
|
+
# @return [Array<(PaymentInstrumentList, Fixnum, Hash)>] PaymentInstrumentList data, response status code and response headers
|
|
221
221
|
def get_instrument_identifier_payment_instruments_list_with_http_info(instrument_identifier_id, opts = {})
|
|
222
222
|
|
|
223
223
|
if @api_client.config.debugging
|
|
@@ -276,7 +276,7 @@ module CyberSource
|
|
|
276
276
|
:form_params => form_params,
|
|
277
277
|
:body => post_body,
|
|
278
278
|
:auth_names => auth_names,
|
|
279
|
-
:return_type => '
|
|
279
|
+
:return_type => 'PaymentInstrumentList',
|
|
280
280
|
:isResponseMLEForApi => is_response_mle_for_api)
|
|
281
281
|
if @api_client.config.debugging
|
|
282
282
|
begin
|
|
@@ -59,7 +59,7 @@ module CyberSource
|
|
|
59
59
|
# header parameters
|
|
60
60
|
header_params = {}
|
|
61
61
|
# HTTP header 'Accept' (if needed)
|
|
62
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/
|
|
62
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json;charset=utf-8'])
|
|
63
63
|
# HTTP header 'Content-Type'
|
|
64
64
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
|
65
65
|
|
|
@@ -141,7 +141,7 @@ module CyberSource
|
|
|
141
141
|
# header parameters
|
|
142
142
|
header_params = {}
|
|
143
143
|
# HTTP header 'Accept' (if needed)
|
|
144
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/
|
|
144
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json;charset=utf-8'])
|
|
145
145
|
# HTTP header 'Content-Type'
|
|
146
146
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
|
147
147
|
|
|
@@ -231,7 +231,7 @@ module CyberSource
|
|
|
231
231
|
# header parameters
|
|
232
232
|
header_params = {}
|
|
233
233
|
# HTTP header 'Accept' (if needed)
|
|
234
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/
|
|
234
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json;charset=utf-8'])
|
|
235
235
|
# HTTP header 'Content-Type'
|
|
236
236
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
|
237
237
|
|
|
@@ -314,7 +314,7 @@ module CyberSource
|
|
|
314
314
|
# header parameters
|
|
315
315
|
header_params = {}
|
|
316
316
|
# HTTP header 'Accept' (if needed)
|
|
317
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/
|
|
317
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json;charset=utf-8'])
|
|
318
318
|
# HTTP header 'Content-Type'
|
|
319
319
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
|
320
320
|
|
|
@@ -399,7 +399,7 @@ module CyberSource
|
|
|
399
399
|
# header parameters
|
|
400
400
|
header_params = {}
|
|
401
401
|
# HTTP header 'Accept' (if needed)
|
|
402
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/
|
|
402
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json;charset=utf-8'])
|
|
403
403
|
# HTTP header 'Content-Type'
|
|
404
404
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
|
405
405
|
|
|
@@ -482,7 +482,7 @@ module CyberSource
|
|
|
482
482
|
# header parameters
|
|
483
483
|
header_params = {}
|
|
484
484
|
# HTTP header 'Accept' (if needed)
|
|
485
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/
|
|
485
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json;charset=utf-8'])
|
|
486
486
|
# HTTP header 'Content-Type'
|
|
487
487
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
|
488
488
|
|
|
@@ -525,27 +525,27 @@ module CyberSource
|
|
|
525
525
|
# Message Level Encryption
|
|
526
526
|
# Store and manage certificates that will be used to preform Message Level Encryption (MLE). Each new webhook will need its own unique asymmetric certificate. You can either use a digital certificate issued/signed by a CA or self-sign your own using the documentation available on the Developer Guide.
|
|
527
527
|
#
|
|
528
|
-
# @param v_c_sender_organization_id Sender organization id
|
|
529
|
-
# @param v_c_permissions Encoded user permissions returned by the CGK, for the entity user who initiated the boarding
|
|
530
528
|
# @param save_asym_egress_key Provide egress Asymmetric key information to save (create or store)
|
|
531
529
|
# @param [Hash] opts the optional parameters
|
|
532
530
|
# @option opts [String] :v_c_correlation_id A globally unique id associated with your request
|
|
531
|
+
# @option opts [String] :v_c_sender_organization_id Sender organization id
|
|
532
|
+
# @option opts [String] :v_c_permissions Encoded user permissions returned by the CGK, for the entity user who initiated the boarding
|
|
533
533
|
# @return [InlineResponse2018]
|
|
534
534
|
#
|
|
535
|
-
def save_asym_egress_key(
|
|
536
|
-
data, status_code, headers = save_asym_egress_key_with_http_info(
|
|
535
|
+
def save_asym_egress_key(save_asym_egress_key, opts = {})
|
|
536
|
+
data, status_code, headers = save_asym_egress_key_with_http_info(save_asym_egress_key, opts)
|
|
537
537
|
return data, status_code, headers
|
|
538
538
|
end
|
|
539
539
|
|
|
540
540
|
# Message Level Encryption
|
|
541
541
|
# Store and manage certificates that will be used to preform Message Level Encryption (MLE). Each new webhook will need its own unique asymmetric certificate. You can either use a digital certificate issued/signed by a CA or self-sign your own using the documentation available on the Developer Guide.
|
|
542
|
-
# @param v_c_sender_organization_id Sender organization id
|
|
543
|
-
# @param v_c_permissions Encoded user permissions returned by the CGK, for the entity user who initiated the boarding
|
|
544
542
|
# @param save_asym_egress_key Provide egress Asymmetric key information to save (create or store)
|
|
545
543
|
# @param [Hash] opts the optional parameters
|
|
546
544
|
# @option opts [String] :v_c_correlation_id A globally unique id associated with your request
|
|
545
|
+
# @option opts [String] :v_c_sender_organization_id Sender organization id
|
|
546
|
+
# @option opts [String] :v_c_permissions Encoded user permissions returned by the CGK, for the entity user who initiated the boarding
|
|
547
547
|
# @return [Array<(InlineResponse2018, Fixnum, Hash)>] InlineResponse2018 data, response status code and response headers
|
|
548
|
-
def save_asym_egress_key_with_http_info(
|
|
548
|
+
def save_asym_egress_key_with_http_info(save_asym_egress_key, opts = {})
|
|
549
549
|
|
|
550
550
|
if @api_client.config.debugging
|
|
551
551
|
begin
|
|
@@ -555,18 +555,6 @@ module CyberSource
|
|
|
555
555
|
puts 'Cannot write to log'
|
|
556
556
|
end
|
|
557
557
|
end
|
|
558
|
-
# verify the required parameter 'v_c_sender_organization_id' is set
|
|
559
|
-
if @api_client.config.client_side_validation && v_c_sender_organization_id.nil?
|
|
560
|
-
fail ArgumentError, "Missing the required parameter 'v_c_sender_organization_id' when calling ManageWebhooksApi.save_asym_egress_key"
|
|
561
|
-
end
|
|
562
|
-
#if @api_client.config.client_side_validation && v_c_sender_organization_id !~ Regexp.new(/^[A-Za-z0-9\\-_]+$/)
|
|
563
|
-
#fail ArgumentError, "invalid value for 'v_c_sender_organization_id' when calling ManageWebhooksApi.save_asym_egress_key, must conform to the pattern /^[A-Za-z0-9\\-_]+$/."
|
|
564
|
-
#end
|
|
565
|
-
|
|
566
|
-
# verify the required parameter 'v_c_permissions' is set
|
|
567
|
-
if @api_client.config.client_side_validation && v_c_permissions.nil?
|
|
568
|
-
fail ArgumentError, "Missing the required parameter 'v_c_permissions' when calling ManageWebhooksApi.save_asym_egress_key"
|
|
569
|
-
end
|
|
570
558
|
# verify the required parameter 'save_asym_egress_key' is set
|
|
571
559
|
if @api_client.config.client_side_validation && save_asym_egress_key.nil?
|
|
572
560
|
fail ArgumentError, "Missing the required parameter 'save_asym_egress_key' when calling ManageWebhooksApi.save_asym_egress_key"
|
|
@@ -575,6 +563,10 @@ module CyberSource
|
|
|
575
563
|
#fail ArgumentError, "invalid value for 'opts[:\"v_c_correlation_id\"]' when calling ManageWebhooksApi.save_asym_egress_key, must conform to the pattern /^[A-Za-z0-9\\.\\-_:]+$/."
|
|
576
564
|
#end
|
|
577
565
|
|
|
566
|
+
#if @api_client.config.client_side_validation && !opts[:'v_c_sender_organization_id'].nil? && opts[:'v_c_sender_organization_id'] !~ Regexp.new(/^[A-Za-z0-9\\-_]+$/)
|
|
567
|
+
#fail ArgumentError, "invalid value for 'opts[:\"v_c_sender_organization_id\"]' when calling ManageWebhooksApi.save_asym_egress_key, must conform to the pattern /^[A-Za-z0-9\\-_]+$/."
|
|
568
|
+
#end
|
|
569
|
+
|
|
578
570
|
# resource path
|
|
579
571
|
local_var_path = 'kms/egress/v2/keys-asym'
|
|
580
572
|
|
|
@@ -584,12 +576,12 @@ module CyberSource
|
|
|
584
576
|
# header parameters
|
|
585
577
|
header_params = {}
|
|
586
578
|
# HTTP header 'Accept' (if needed)
|
|
587
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/
|
|
579
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json;charset=utf-8'])
|
|
588
580
|
# HTTP header 'Content-Type'
|
|
589
581
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
|
590
|
-
header_params[:'v-c-sender-organization-id'] = v_c_sender_organization_id
|
|
591
|
-
header_params[:'v-c-permissions'] = v_c_permissions
|
|
592
582
|
header_params[:'v-c-correlation-id'] = opts[:'v_c_correlation_id'] if !opts[:'v_c_correlation_id'].nil?
|
|
583
|
+
header_params[:'v-c-sender-organization-id'] = opts[:'v_c_sender_organization_id'] if !opts[:'v_c_sender_organization_id'].nil?
|
|
584
|
+
header_params[:'v-c-permissions'] = opts[:'v_c_permissions'] if !opts[:'v_c_permissions'].nil?
|
|
593
585
|
|
|
594
586
|
# form parameters
|
|
595
587
|
form_params = {}
|