first_data_gateway 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +79 -0
- data/README.md +69 -39
- data/docs/AVSResponse.md +2 -2
- data/docs/AccessTokenResponse.md +2 -2
- data/docs/AccountUpdaterResponse.md +12 -0
- data/docs/AdditionalAmountRate.md +2 -2
- data/docs/AdditionalDetails.md +10 -0
- data/docs/AdditionalTransactionDetails.md +3 -3
- data/docs/Address.md +7 -7
- data/docs/Airline.md +12 -12
- data/docs/AirlineAncillaryServiceCategory.md +1 -1
- data/docs/AirlineTravelRoute.md +4 -4
- data/docs/AliPay.md +2 -2
- data/docs/{SecondaryTransactionAdditionalDetails.md → AliPayPaymentMethod.md} +2 -2
- data/docs/AliPaySaleTransaction.md +14 -0
- data/docs/Amount.md +2 -2
- data/docs/AmountComponents.md +6 -7
- data/docs/Authentication.md +8 -0
- data/docs/AuthenticationApi.md +12 -12
- data/docs/AuthenticationRedirect.md +10 -0
- data/docs/AuthenticationRedirectParams.md +10 -0
- data/docs/AuthenticationVerificationRequest.md +11 -0
- data/docs/BasicResponse.md +1 -1
- data/docs/Billing.md +3 -5
- data/docs/BillingAddress.md +4 -4
- data/docs/BillingAddressPhone.md +1 -1
- data/docs/CarRental.md +6 -6
- data/docs/CarRentalExtraCharges.md +1 -1
- data/docs/Card.md +6 -6
- data/docs/CardFunction.md +7 -0
- data/docs/CardInfo.md +2 -2
- data/docs/CardInfoLookupApi.md +14 -14
- data/docs/CardInfoLookupResponse.md +1 -1
- data/docs/CardVerificationApi.md +12 -12
- data/docs/CardVerificationRequest.md +1 -0
- data/docs/ChinaDomesticPaymentMethod.md +9 -0
- data/docs/ChinaPnRSaleTransaction.md +14 -0
- data/docs/ClientLocale.md +2 -2
- data/docs/Contact.md +4 -4
- data/docs/CreatePaymentToken.md +10 -0
- data/docs/CurrencyConversion.md +9 -0
- data/docs/CurrencyConversionApi.md +15 -15
- data/docs/Customer.md +6 -6
- data/docs/CustomerAddress.md +3 -3
- data/docs/CustomerAddressPhone.md +1 -1
- data/docs/DCCExchangeRateRequest.md +11 -0
- data/docs/Dcc.md +2 -1
- data/docs/Device.md +2 -2
- data/docs/DeviceNetworks.md +1 -1
- data/docs/Document.md +2 -2
- data/docs/DynamicPricing.md +11 -0
- data/docs/DynamicPricingExchangeRateRequest.md +11 -0
- data/docs/ErrorResponse.md +1 -1
- data/docs/ExchangeRateRequest.md +2 -4
- data/docs/ExchangeRateResponse.md +11 -11
- data/docs/Expiration.md +2 -2
- data/docs/FraudDetectApi.md +12 -12
- data/docs/FraudOrderItems.md +1 -1
- data/docs/FraudOrderShipToAddress.md +6 -6
- data/docs/Frequency.md +2 -2
- data/docs/InstallmentOptions.md +5 -3
- data/docs/Lodging.md +5 -5
- data/docs/MerchantLocationMerchantAddress.md +6 -6
- data/docs/Order.md +5 -0
- data/docs/OrderApi.md +36 -102
- data/docs/OrderErrorResponse.md +4 -5
- data/docs/OrderResponse.md +4 -5
- data/docs/PayPal.md +1 -1
- data/docs/PayPalPaymentMethod.md +8 -0
- data/docs/PaymentApi.md +67 -193
- data/docs/PaymentCard.md +8 -11
- data/docs/PaymentCardCreditTransaction.md +15 -0
- data/docs/PaymentCardForcedTicketTransaction.md +15 -0
- data/docs/PaymentCardPayerAuthTransaction.md +15 -0
- data/docs/PaymentCardPaymentMethod.md +9 -0
- data/docs/PaymentCardPaymentTokenizationRequest.md +13 -0
- data/docs/PaymentCardPreAuthTransaction.md +18 -0
- data/docs/PaymentCardSaleTransaction.md +18 -0
- data/docs/PaymentFacilitator.md +4 -4
- data/docs/PaymentMethod.md +0 -7
- data/docs/PaymentMethodDetails.md +9 -0
- data/docs/PaymentMethodPaymentSchedulesRequest.md +24 -0
- data/docs/PaymentMethodType.md +7 -0
- data/docs/PaymentPayMethod.md +1 -1
- data/docs/PaymentSchedulesApi.md +58 -58
- data/docs/PaymentSchedulesErrorResponse.md +1 -1
- data/docs/PaymentSchedulesRequest.md +5 -6
- data/docs/PaymentSchedulesResponse.md +1 -1
- data/docs/PaymentTokenApi.md +23 -23
- data/docs/PaymentTokenCreditTransaction.md +15 -0
- data/docs/PaymentTokenDetails.md +14 -0
- data/docs/PaymentTokenPaymentMethod.md +9 -0
- data/docs/PaymentTokenPreAuthTransaction.md +17 -0
- data/docs/PaymentTokenSaleTransaction.md +17 -0
- data/docs/PaymentTokenizationErrorResponse.md +8 -8
- data/docs/PaymentTokenizationRequest.md +4 -3
- data/docs/PaymentTokenizationResponse.md +8 -8
- data/docs/PaymentURLApi.md +12 -12
- data/docs/PaymentUrlErrorResponse.md +3 -3
- data/docs/PaymentUrlRequest.md +3 -3
- data/docs/PaymentUrlResponse.md +3 -3
- data/docs/PaymentVerification3ds.md +3 -3
- data/docs/PaymentVerificationAvs.md +3 -3
- data/docs/PaymentVerificationCvv.md +3 -3
- data/docs/PaypalCreditTransaction.md +14 -0
- data/docs/PostAuthTransaction.md +14 -0
- data/docs/PrimaryTransaction.md +3 -12
- data/docs/ProcessorData.md +8 -6
- data/docs/PurchaseCardsLevel2.md +3 -3
- data/docs/PurchaseCardsLevel3.md +1 -1
- data/docs/PurchaseCardsLevel3LineItems.md +8 -8
- data/docs/RecurringPaymentDetails.md +2 -2
- data/docs/RecurringPaymentDetailsResponse.md +4 -5
- data/docs/ReferencedOrderPaymentSchedulesRequest.md +24 -0
- data/docs/ReferencedOrderPaymentTokenizationRequest.md +13 -0
- data/docs/ResponseAmountComponents.md +14 -0
- data/docs/ReturnTransaction.md +13 -0
- data/docs/ScoreOnlyRequest.md +1 -1
- data/docs/ScoreOnlyResponse.md +3 -3
- data/docs/ScoreOnlyResponseFraudScore.md +1 -1
- data/docs/ScoreOnlyResponseFraudScoreExplanations.md +3 -3
- data/docs/SecondaryTransaction.md +3 -5
- data/docs/Secure3dAuthenticationRequest.md +8 -0
- data/docs/Secure3dAuthenticationResult.md +12 -0
- data/docs/Secure3dAuthenticationVerificationRequest.md +13 -0
- data/docs/Secure3dResponse.md +1 -1
- data/docs/Sepa.md +4 -4
- data/docs/SepaMandate.md +2 -2
- data/docs/SepaPaymentMethod.md +8 -0
- data/docs/SepaSaleTransaction.md +14 -0
- data/docs/Shipping.md +1 -1
- data/docs/SoftDescriptor.md +2 -2
- data/docs/SplitShipment.md +1 -1
- data/docs/StoredCredential.md +4 -4
- data/docs/SubMerchantData.md +4 -4
- data/docs/SubMerchantSplit.md +9 -0
- data/docs/Transaction.md +4 -4
- data/docs/TransactionErrorResponse.md +11 -10
- data/docs/TransactionResponse.md +11 -10
- data/docs/UnionPayAuthenticationRequest.md +9 -0
- data/docs/UnionPayAuthenticationVerificationRequest.md +12 -0
- data/docs/UsePaymentToken.md +10 -0
- data/docs/VoidTransaction.md +10 -0
- data/first_data_gateway.gemspec +3 -2
- data/lib/openapi_client/api/authentication_api.rb +18 -18
- data/lib/openapi_client/api/card_info_lookup_api.rb +15 -15
- data/lib/openapi_client/api/card_verification_api.rb +13 -13
- data/lib/openapi_client/api/currency_conversion_api.rb +17 -17
- data/lib/openapi_client/api/fraud_detect_api.rb +13 -17
- data/lib/openapi_client/api/order_api.rb +45 -153
- data/lib/openapi_client/api/payment_api.rb +88 -287
- data/lib/openapi_client/api/payment_schedules_api.rb +61 -63
- data/lib/openapi_client/api/payment_token_api.rb +24 -24
- data/lib/openapi_client/api/payment_url_api.rb +13 -13
- data/lib/openapi_client/api_client.rb +2 -2
- data/lib/openapi_client/api_error.rb +2 -2
- data/lib/openapi_client/configuration.rb +4 -4
- data/lib/openapi_client/models/access_token_response.rb +5 -5
- data/lib/openapi_client/models/account_updater_response.rb +225 -0
- data/lib/openapi_client/models/additional_amount_rate.rb +15 -4
- data/lib/openapi_client/models/{primary_transaction_additional_details.rb → additional_details.rb} +11 -113
- data/lib/openapi_client/models/additional_transaction_details.rb +6 -6
- data/lib/openapi_client/models/address.rb +9 -9
- data/lib/openapi_client/models/airline.rb +15 -15
- data/lib/openapi_client/models/airline_ancillary_service_category.rb +7 -2
- data/lib/openapi_client/models/airline_travel_route.rb +7 -6
- data/lib/openapi_client/models/ali_pay.rb +4 -4
- data/lib/openapi_client/models/{referenced_order.rb → ali_pay_payment_method.rb} +16 -20
- data/lib/openapi_client/models/ali_pay_sale_transaction.rb +286 -0
- data/lib/openapi_client/models/amount.rb +5 -5
- data/lib/openapi_client/models/amount_components.rb +13 -23
- data/lib/openapi_client/models/authentication.rb +190 -0
- data/lib/openapi_client/models/{authentication_request.rb → authentication_redirect.rb} +24 -20
- data/lib/openapi_client/models/authentication_redirect_params.rb +205 -0
- data/lib/openapi_client/models/authentication_verification_request.rb +234 -0
- data/lib/openapi_client/models/avs_response.rb +4 -2
- data/lib/openapi_client/models/basic_response.rb +2 -7
- data/lib/openapi_client/models/billing.rb +7 -76
- data/lib/openapi_client/models/billing_address.rb +7 -7
- data/lib/openapi_client/models/billing_address_phone.rb +4 -4
- data/lib/openapi_client/models/car_rental.rb +9 -9
- data/lib/openapi_client/models/car_rental_extra_charges.rb +3 -3
- data/lib/openapi_client/models/card.rb +9 -8
- data/lib/openapi_client/models/card_function.rb +33 -0
- data/lib/openapi_client/models/card_info.rb +4 -17
- data/lib/openapi_client/models/card_info_lookup_request.rb +3 -3
- data/lib/openapi_client/models/card_info_lookup_response.rb +2 -7
- data/lib/openapi_client/models/card_verification_request.rb +32 -7
- data/lib/openapi_client/models/china_domestic.rb +2 -2
- data/lib/openapi_client/models/{authentication_response_verification.rb → china_domestic_payment_method.rb} +33 -48
- data/lib/openapi_client/models/china_pn_r_sale_transaction.rb +286 -0
- data/lib/openapi_client/models/client_locale.rb +5 -5
- data/lib/openapi_client/models/contact.rb +7 -6
- data/lib/openapi_client/models/create_payment_token.rb +209 -0
- data/lib/openapi_client/models/{authentication_response_verification_request.rb → currency_conversion.rb} +29 -35
- data/lib/openapi_client/models/customer.rb +9 -9
- data/lib/openapi_client/models/customer_address.rb +6 -6
- data/lib/openapi_client/models/customer_address_phone.rb +4 -4
- data/lib/openapi_client/models/dcc.rb +24 -4
- data/lib/openapi_client/models/dcc_exchange_rate_request.rb +273 -0
- data/lib/openapi_client/models/device.rb +4 -3
- data/lib/openapi_client/models/device_networks.rb +4 -3
- data/lib/openapi_client/models/document.rb +4 -4
- data/lib/openapi_client/models/dynamic_pricing.rb +235 -0
- data/lib/openapi_client/models/dynamic_pricing_exchange_rate_request.rb +273 -0
- data/lib/openapi_client/models/error.rb +2 -2
- data/lib/openapi_client/models/error_details.rb +2 -2
- data/lib/openapi_client/models/error_response.rb +2 -7
- data/lib/openapi_client/models/exchange_rate_request.rb +26 -103
- data/lib/openapi_client/models/exchange_rate_response.rb +20 -25
- data/lib/openapi_client/models/expiration.rb +5 -5
- data/lib/openapi_client/models/fraud_order.rb +2 -2
- data/lib/openapi_client/models/fraud_order_items.rb +4 -2
- data/lib/openapi_client/models/fraud_order_ship_to_address.rb +8 -8
- data/lib/openapi_client/models/frequency.rb +5 -5
- data/lib/openapi_client/models/industry_specific_extensions.rb +3 -3
- data/lib/openapi_client/models/installment_options.rb +63 -9
- data/lib/openapi_client/models/lodging.rb +8 -8
- data/lib/openapi_client/models/lodging_extra_charges.rb +2 -2
- data/lib/openapi_client/models/loyalty.rb +2 -2
- data/lib/openapi_client/models/merchant.rb +2 -2
- data/lib/openapi_client/models/merchant_location.rb +2 -2
- data/lib/openapi_client/models/merchant_location_merchant_address.rb +9 -9
- data/lib/openapi_client/models/order.rb +52 -7
- data/lib/openapi_client/models/order_error_response.rb +6 -21
- data/lib/openapi_client/models/order_response.rb +7 -22
- data/lib/openapi_client/models/pay_pal.rb +3 -3
- data/lib/openapi_client/models/pay_pal_payment_method.rb +189 -0
- data/lib/openapi_client/models/payment.rb +2 -2
- data/lib/openapi_client/models/payment_card.rb +38 -58
- data/lib/openapi_client/models/payment_card_credit_transaction.rb +295 -0
- data/lib/openapi_client/models/payment_card_forced_ticket_transaction.rb +320 -0
- data/lib/openapi_client/models/payment_card_payer_auth_transaction.rb +295 -0
- data/lib/openapi_client/models/payment_card_payment_method.rb +198 -0
- data/lib/openapi_client/models/payment_card_payment_tokenization_request.rb +264 -0
- data/lib/openapi_client/models/payment_card_pre_auth_transaction.rb +325 -0
- data/lib/openapi_client/models/payment_card_sale_transaction.rb +325 -0
- data/lib/openapi_client/models/payment_facilitator.rb +7 -7
- data/lib/openapi_client/models/payment_issuer_response.rb +2 -2
- data/lib/openapi_client/models/payment_method.rb +5 -108
- data/lib/openapi_client/models/{basket_item.rb → payment_method_details.rb} +17 -38
- data/lib/openapi_client/models/payment_method_payment_schedules_request.rb +426 -0
- data/lib/openapi_client/models/payment_method_type.rb +47 -0
- data/lib/openapi_client/models/payment_pay_method.rb +4 -4
- data/lib/openapi_client/models/payment_schedules_error_response.rb +2 -7
- data/lib/openapi_client/models/payment_schedules_request.rb +41 -30
- data/lib/openapi_client/models/payment_schedules_response.rb +2 -7
- data/lib/openapi_client/models/payment_token_credit_transaction.rb +295 -0
- data/lib/openapi_client/models/{payment_tokenization.rb → payment_token_details.rb} +18 -96
- data/lib/openapi_client/models/payment_token_payment_method.rb +198 -0
- data/lib/openapi_client/models/payment_token_pre_auth_transaction.rb +316 -0
- data/lib/openapi_client/models/payment_token_sale_transaction.rb +316 -0
- data/lib/openapi_client/models/payment_tokenization_error_response.rb +10 -15
- data/lib/openapi_client/models/payment_tokenization_request.rb +60 -61
- data/lib/openapi_client/models/payment_tokenization_response.rb +10 -15
- data/lib/openapi_client/models/payment_url_error_response.rb +4 -9
- data/lib/openapi_client/models/payment_url_request.rb +11 -16
- data/lib/openapi_client/models/payment_url_response.rb +4 -9
- data/lib/openapi_client/models/payment_verification3ds.rb +5 -5
- data/lib/openapi_client/models/payment_verification_avs.rb +5 -5
- data/lib/openapi_client/models/payment_verification_cvv.rb +5 -5
- data/lib/openapi_client/models/paypal_credit_transaction.rb +286 -0
- data/lib/openapi_client/models/post_auth_transaction.rb +266 -0
- data/lib/openapi_client/models/primary_transaction.rb +30 -118
- data/lib/openapi_client/models/processor_data.rb +48 -7
- data/lib/openapi_client/models/purchase_cards.rb +3 -2
- data/lib/openapi_client/models/purchase_cards_level2.rb +6 -5
- data/lib/openapi_client/models/purchase_cards_level3.rb +9 -3
- data/lib/openapi_client/models/purchase_cards_level3_line_items.rb +16 -16
- data/lib/openapi_client/models/recurring_payment_details.rb +15 -15
- data/lib/openapi_client/models/recurring_payment_details_response.rb +6 -21
- data/lib/openapi_client/models/referenced_order_payment_schedules_request.rb +427 -0
- data/lib/openapi_client/models/referenced_order_payment_tokenization_request.rb +265 -0
- data/lib/openapi_client/models/response_amount_components.rb +245 -0
- data/lib/openapi_client/models/response_type.rb +2 -2
- data/lib/openapi_client/models/return_transaction.rb +257 -0
- data/lib/openapi_client/models/score_only_request.rb +4 -4
- data/lib/openapi_client/models/score_only_response.rb +6 -5
- data/lib/openapi_client/models/score_only_response_fraud_score.rb +4 -3
- data/lib/openapi_client/models/score_only_response_fraud_score_explanations.rb +5 -2
- data/lib/openapi_client/models/secondary_transaction.rb +45 -40
- data/lib/openapi_client/models/secure3d_authentication_request.rb +190 -0
- data/lib/openapi_client/models/{payment_card_authentication_result.rb → secure3d_authentication_result.rb} +34 -41
- data/lib/openapi_client/models/secure3d_authentication_verification_request.rb +264 -0
- data/lib/openapi_client/models/secure3d_response.rb +4 -3
- data/lib/openapi_client/models/sepa.rb +6 -6
- data/lib/openapi_client/models/sepa_mandate.rb +5 -5
- data/lib/openapi_client/models/{secondary_transaction_additional_details.rb → sepa_payment_method.rb} +16 -10
- data/lib/openapi_client/models/sepa_sale_transaction.rb +286 -0
- data/lib/openapi_client/models/shipping.rb +4 -3
- data/lib/openapi_client/models/soft_descriptor.rb +15 -15
- data/lib/openapi_client/models/split_shipment.rb +4 -4
- data/lib/openapi_client/models/stored_credential.rb +7 -7
- data/lib/openapi_client/models/sub_merchant_data.rb +7 -7
- data/lib/openapi_client/models/sub_merchant_split.rb +233 -0
- data/lib/openapi_client/models/transaction.rb +18 -18
- data/lib/openapi_client/models/transaction_error_response.rb +28 -24
- data/lib/openapi_client/models/transaction_origin.rb +2 -2
- data/lib/openapi_client/models/transaction_response.rb +32 -28
- data/lib/openapi_client/models/transaction_type.rb +2 -2
- data/lib/openapi_client/models/union_pay_authentication_request.rb +224 -0
- data/lib/openapi_client/models/union_pay_authentication_verification_request.rb +249 -0
- data/lib/openapi_client/models/use_payment_token.rb +233 -0
- data/lib/openapi_client/models/{card_verifications_transaction.rb → void_transaction.rb} +28 -17
- data/lib/openapi_client/version.rb +3 -3
- data/lib/openapi_client.rb +50 -12
- data/lib/simple/gateway.rb +8 -59
- data/lib/simple_client.rb +4 -4
- data/spec/api/authentication_api_spec.rb +7 -7
- data/spec/api/card_info_lookup_api_spec.rb +8 -8
- data/spec/api/card_verification_api_spec.rb +7 -7
- data/spec/api/currency_conversion_api_spec.rb +9 -9
- data/spec/api/fraud_detect_api_spec.rb +7 -7
- data/spec/api/order_api_spec.rb +19 -40
- data/spec/api/payment_api_spec.rb +33 -72
- data/spec/api/payment_schedules_api_spec.rb +29 -29
- data/spec/api/payment_token_api_spec.rb +12 -12
- data/spec/api/payment_url_api_spec.rb +7 -7
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +5 -5
- data/spec/models/access_token_response_spec.rb +2 -2
- data/spec/models/account_updater_response_spec.rb +65 -0
- data/spec/models/additional_amount_rate_spec.rb +2 -2
- data/spec/models/additional_details_spec.rb +53 -0
- data/spec/models/additional_transaction_details_spec.rb +2 -2
- data/spec/models/address_spec.rb +2 -2
- data/spec/models/airline_ancillary_service_category_spec.rb +2 -2
- data/spec/models/airline_spec.rb +2 -2
- data/spec/models/airline_travel_route_spec.rb +2 -2
- data/spec/models/ali_pay_payment_method_spec.rb +41 -0
- data/spec/models/ali_pay_sale_transaction_spec.rb +77 -0
- data/spec/models/ali_pay_spec.rb +2 -2
- data/spec/models/amount_components_spec.rb +2 -8
- data/spec/models/amount_spec.rb +2 -2
- data/spec/models/authentication_redirect_params_spec.rb +53 -0
- data/spec/models/{authentication_response_verification_spec.rb → authentication_redirect_spec.rb} +11 -17
- data/spec/models/authentication_spec.rb +41 -0
- data/spec/models/{authentication_response_verification_request_spec.rb → authentication_verification_request_spec.rb} +11 -11
- data/spec/models/avs_response_spec.rb +2 -2
- data/spec/models/basic_response_spec.rb +2 -2
- data/spec/models/billing_address_phone_spec.rb +2 -2
- data/spec/models/billing_address_spec.rb +2 -2
- data/spec/models/billing_spec.rb +2 -18
- data/spec/models/car_rental_extra_charges_spec.rb +2 -2
- data/spec/models/car_rental_spec.rb +2 -2
- data/spec/models/card_function_spec.rb +35 -0
- data/spec/models/card_info_lookup_request_spec.rb +2 -2
- data/spec/models/card_info_lookup_response_spec.rb +2 -2
- data/spec/models/card_info_spec.rb +2 -6
- data/spec/models/card_spec.rb +2 -2
- data/spec/models/card_verification_request_spec.rb +8 -2
- data/spec/models/china_domestic_payment_method_spec.rb +51 -0
- data/spec/models/china_domestic_spec.rb +2 -2
- data/spec/models/china_pn_r_sale_transaction_spec.rb +77 -0
- data/spec/models/client_locale_spec.rb +2 -2
- data/spec/models/contact_spec.rb +2 -2
- data/spec/models/create_payment_token_spec.rb +53 -0
- data/spec/models/currency_conversion_spec.rb +47 -0
- data/spec/models/customer_address_phone_spec.rb +2 -2
- data/spec/models/customer_address_spec.rb +2 -2
- data/spec/models/customer_spec.rb +2 -2
- data/spec/models/dcc_exchange_rate_request_spec.rb +59 -0
- data/spec/models/dcc_spec.rb +8 -2
- data/spec/models/device_networks_spec.rb +2 -2
- data/spec/models/device_spec.rb +2 -2
- data/spec/models/document_spec.rb +2 -2
- data/spec/models/dynamic_pricing_exchange_rate_request_spec.rb +59 -0
- data/spec/models/{basket_item_spec.rb → dynamic_pricing_spec.rb} +12 -12
- data/spec/models/error_details_spec.rb +2 -2
- data/spec/models/error_response_spec.rb +2 -2
- data/spec/models/error_spec.rb +2 -2
- data/spec/models/exchange_rate_request_spec.rb +4 -20
- data/spec/models/exchange_rate_response_spec.rb +3 -3
- data/spec/models/expiration_spec.rb +2 -2
- data/spec/models/fraud_order_items_spec.rb +2 -2
- data/spec/models/fraud_order_ship_to_address_spec.rb +2 -2
- data/spec/models/fraud_order_spec.rb +2 -2
- data/spec/models/frequency_spec.rb +2 -2
- data/spec/models/industry_specific_extensions_spec.rb +2 -2
- data/spec/models/installment_options_spec.rb +18 -2
- data/spec/models/lodging_extra_charges_spec.rb +2 -2
- data/spec/models/lodging_spec.rb +2 -2
- data/spec/models/loyalty_spec.rb +2 -2
- data/spec/models/merchant_location_merchant_address_spec.rb +2 -2
- data/spec/models/merchant_location_spec.rb +2 -2
- data/spec/models/merchant_spec.rb +2 -2
- data/spec/models/order_error_response_spec.rb +2 -8
- data/spec/models/order_response_spec.rb +2 -8
- data/spec/models/order_spec.rb +32 -2
- data/spec/models/pay_pal_payment_method_spec.rb +41 -0
- data/spec/models/pay_pal_spec.rb +2 -2
- data/spec/models/payment_card_credit_transaction_spec.rb +83 -0
- data/spec/models/{primary_transaction_additional_details_spec.rb → payment_card_forced_ticket_transaction_spec.rb} +16 -22
- data/spec/models/payment_card_payer_auth_transaction_spec.rb +83 -0
- data/spec/models/payment_card_payment_method_spec.rb +47 -0
- data/spec/models/payment_card_payment_tokenization_request_spec.rb +71 -0
- data/spec/models/payment_card_pre_auth_transaction_spec.rb +101 -0
- data/spec/models/payment_card_sale_transaction_spec.rb +101 -0
- data/spec/models/payment_card_spec.rb +3 -21
- data/spec/models/payment_facilitator_spec.rb +2 -2
- data/spec/models/payment_issuer_response_spec.rb +2 -2
- data/spec/models/payment_method_details_spec.rb +47 -0
- data/spec/models/payment_method_payment_schedules_request_spec.rb +137 -0
- data/spec/models/payment_method_spec.rb +2 -48
- data/spec/models/payment_method_type_spec.rb +35 -0
- data/spec/models/payment_pay_method_spec.rb +2 -2
- data/spec/models/payment_schedules_error_response_spec.rb +2 -2
- data/spec/models/payment_schedules_request_spec.rb +5 -11
- data/spec/models/payment_schedules_response_spec.rb +2 -2
- data/spec/models/payment_spec.rb +2 -2
- data/spec/models/payment_token_credit_transaction_spec.rb +83 -0
- data/spec/models/{payment_tokenization_spec.rb → payment_token_details_spec.rb} +9 -25
- data/spec/models/payment_token_payment_method_spec.rb +47 -0
- data/spec/models/payment_token_pre_auth_transaction_spec.rb +95 -0
- data/spec/models/payment_token_sale_transaction_spec.rb +95 -0
- data/spec/models/payment_tokenization_error_response_spec.rb +2 -2
- data/spec/models/payment_tokenization_request_spec.rb +12 -10
- data/spec/models/payment_tokenization_response_spec.rb +2 -2
- data/spec/models/payment_url_error_response_spec.rb +2 -2
- data/spec/models/payment_url_request_spec.rb +3 -3
- data/spec/models/payment_url_response_spec.rb +2 -2
- data/spec/models/payment_verification3ds_spec.rb +2 -2
- data/spec/models/payment_verification_avs_spec.rb +2 -2
- data/spec/models/payment_verification_cvv_spec.rb +2 -2
- data/spec/models/paypal_credit_transaction_spec.rb +77 -0
- data/spec/models/post_auth_transaction_spec.rb +77 -0
- data/spec/models/primary_transaction_spec.rb +5 -59
- data/spec/models/processor_data_spec.rb +14 -2
- data/spec/models/purchase_cards_level2_spec.rb +2 -2
- data/spec/models/purchase_cards_level3_line_items_spec.rb +3 -3
- data/spec/models/purchase_cards_level3_spec.rb +2 -2
- data/spec/models/purchase_cards_spec.rb +2 -2
- data/spec/models/recurring_payment_details_response_spec.rb +2 -8
- data/spec/models/recurring_payment_details_spec.rb +4 -4
- data/spec/models/referenced_order_payment_schedules_request_spec.rb +137 -0
- data/spec/models/referenced_order_payment_tokenization_request_spec.rb +71 -0
- data/spec/models/response_amount_components_spec.rb +77 -0
- data/spec/models/response_type_spec.rb +2 -2
- data/spec/models/return_transaction_spec.rb +71 -0
- data/spec/models/score_only_request_spec.rb +2 -2
- data/spec/models/score_only_response_fraud_score_explanations_spec.rb +2 -2
- data/spec/models/score_only_response_fraud_score_spec.rb +2 -2
- data/spec/models/score_only_response_spec.rb +2 -2
- data/spec/models/secondary_transaction_spec.rb +5 -17
- data/spec/models/secure3d_authentication_request_spec.rb +41 -0
- data/spec/models/{payment_card_authentication_result_spec.rb → secure3d_authentication_result_spec.rb} +11 -15
- data/spec/models/secure3d_authentication_verification_request_spec.rb +71 -0
- data/spec/models/secure3d_response_spec.rb +2 -2
- data/spec/models/sepa_mandate_spec.rb +2 -2
- data/spec/models/sepa_payment_method_spec.rb +41 -0
- data/spec/models/sepa_sale_transaction_spec.rb +77 -0
- data/spec/models/sepa_spec.rb +2 -2
- data/spec/models/shipping_spec.rb +2 -2
- data/spec/models/soft_descriptor_spec.rb +3 -3
- data/spec/models/split_shipment_spec.rb +2 -2
- data/spec/models/stored_credential_spec.rb +2 -2
- data/spec/models/sub_merchant_data_spec.rb +2 -2
- data/spec/models/{card_verifications_transaction_spec.rb → sub_merchant_split_spec.rb} +10 -10
- data/spec/models/transaction_error_response_spec.rb +10 -4
- data/spec/models/transaction_origin_spec.rb +2 -2
- data/spec/models/transaction_response_spec.rb +10 -4
- data/spec/models/transaction_spec.rb +4 -4
- data/spec/models/transaction_type_spec.rb +2 -2
- data/spec/models/{authentication_request_spec.rb → union_pay_authentication_request_spec.rb} +9 -13
- data/spec/models/union_pay_authentication_verification_request_spec.rb +65 -0
- data/spec/models/use_payment_token_spec.rb +53 -0
- data/spec/models/void_transaction_spec.rb +53 -0
- data/spec/spec_helper.rb +2 -2
- metadata +195 -42
- data/docs/AuthenticationRequest.md +0 -9
- data/docs/AuthenticationResponseVerification.md +0 -11
- data/docs/AuthenticationResponseVerificationRequest.md +0 -11
- data/docs/BasketItem.md +0 -11
- data/docs/CardVerificationsTransaction.md +0 -9
- data/docs/PaymentCardAuthenticationResult.md +0 -12
- data/docs/PaymentTokenization.md +0 -16
- data/docs/PrimaryTransactionAdditionalDetails.md +0 -16
- data/docs/ReferencedOrder.md +0 -9
- data/spec/models/referenced_order_spec.rb +0 -47
- data/spec/models/secondary_transaction_additional_details_spec.rb +0 -41
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b0dca18e7896a5439af6df2c5448895f2120bb8
|
4
|
+
data.tar.gz: 8522abd12bf42eece551bc84f0cd5775d89b4262
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f94108b454c41dc27203c07bfc88e95abaf416c180751db01a0e646251a31486de5a24da6b5c4747f3ad0be05a60de22aee9af3a6a26d90c056a864d7c93ccba
|
7
|
+
data.tar.gz: e3aa82dce8538f3884803d9fa0024c3e28499a7406026aa2dd49a3511ea001be3aadd8573f79ebe41522b905b8f64d3740f5ac124588f4c5afb16f8d125f8ed3
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,79 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
openapi_client (1.0.0)
|
5
|
+
json (~> 2.1, >= 2.1.0)
|
6
|
+
typhoeus (~> 1.0, >= 1.0.1)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
ZenTest (4.11.1)
|
12
|
+
addressable (2.5.2)
|
13
|
+
public_suffix (>= 2.0.2, < 4.0)
|
14
|
+
autotest (4.4.6)
|
15
|
+
ZenTest (>= 4.4.1)
|
16
|
+
autotest-fsevent (0.2.14)
|
17
|
+
sys-uname
|
18
|
+
autotest-growl (0.2.16)
|
19
|
+
autotest-rails-pure (4.1.2)
|
20
|
+
byebug (10.0.2)
|
21
|
+
coderay (1.1.2)
|
22
|
+
crack (0.4.3)
|
23
|
+
safe_yaml (~> 1.0.0)
|
24
|
+
diff-lcs (1.3)
|
25
|
+
ethon (0.11.0)
|
26
|
+
ffi (>= 1.3.0)
|
27
|
+
ffi (1.9.25)
|
28
|
+
hashdiff (0.3.7)
|
29
|
+
json (2.1.0)
|
30
|
+
method_source (0.9.0)
|
31
|
+
pry (0.11.3)
|
32
|
+
coderay (~> 1.1.0)
|
33
|
+
method_source (~> 0.9.0)
|
34
|
+
pry-byebug (3.6.0)
|
35
|
+
byebug (~> 10.0)
|
36
|
+
pry (~> 0.10)
|
37
|
+
public_suffix (3.0.3)
|
38
|
+
rake (12.0.0)
|
39
|
+
rspec (3.8.0)
|
40
|
+
rspec-core (~> 3.8.0)
|
41
|
+
rspec-expectations (~> 3.8.0)
|
42
|
+
rspec-mocks (~> 3.8.0)
|
43
|
+
rspec-core (3.8.0)
|
44
|
+
rspec-support (~> 3.8.0)
|
45
|
+
rspec-expectations (3.8.1)
|
46
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
47
|
+
rspec-support (~> 3.8.0)
|
48
|
+
rspec-mocks (3.8.0)
|
49
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
50
|
+
rspec-support (~> 3.8.0)
|
51
|
+
rspec-support (3.8.0)
|
52
|
+
safe_yaml (1.0.4)
|
53
|
+
sys-uname (1.0.3)
|
54
|
+
ffi (>= 1.0.0)
|
55
|
+
typhoeus (1.3.0)
|
56
|
+
ethon (>= 0.9.0)
|
57
|
+
vcr (3.0.3)
|
58
|
+
webmock (1.24.6)
|
59
|
+
addressable (>= 2.3.6)
|
60
|
+
crack (>= 0.3.2)
|
61
|
+
hashdiff
|
62
|
+
|
63
|
+
PLATFORMS
|
64
|
+
ruby
|
65
|
+
|
66
|
+
DEPENDENCIES
|
67
|
+
autotest (~> 4.4, >= 4.4.6)
|
68
|
+
autotest-fsevent (~> 0.2, >= 0.2.12)
|
69
|
+
autotest-growl (~> 0.2, >= 0.2.16)
|
70
|
+
autotest-rails-pure (~> 4.1, >= 4.1.2)
|
71
|
+
openapi_client!
|
72
|
+
pry-byebug
|
73
|
+
rake (~> 12.0.0)
|
74
|
+
rspec (~> 3.6, >= 3.6.0)
|
75
|
+
vcr (~> 3.0, >= 3.0.1)
|
76
|
+
webmock (~> 1.24, >= 1.24.3)
|
77
|
+
|
78
|
+
BUNDLED WITH
|
79
|
+
1.16.1
|
data/README.md
CHANGED
@@ -13,7 +13,7 @@ gem install first_data_gateway
|
|
13
13
|
|
14
14
|
Then add the gem to your Gemfile:
|
15
15
|
|
16
|
-
gem 'first_data_gateway', '~> 1.
|
16
|
+
gem 'first_data_gateway', '~> 1.2.0'
|
17
17
|
|
18
18
|
### Install from Git
|
19
19
|
|
@@ -50,78 +50,86 @@ payload = "{
|
|
50
50
|
},
|
51
51
|
\"transactionType\":\"SALE\"
|
52
52
|
}"
|
53
|
-
result = gateway.primary_payment_transaction(payload)
|
53
|
+
result = gateway.primary_payment_transaction(payload: payload)
|
54
54
|
p JSON.generate(result.to_hash)
|
55
55
|
```
|
56
56
|
|
57
57
|
## Documentation for API Endpoints
|
58
58
|
|
59
|
-
All URIs are relative to *https://cert.api.firstdata.com/gateway*
|
59
|
+
All URIs are relative to *https://cert.api.firstdata.com/gateway/v2*
|
60
60
|
|
61
61
|
Class | Method | HTTP request | Description
|
62
62
|
------------ | ------------- | ------------- | -------------
|
63
|
-
*OpenapiClient::AuthenticationApi* | [**
|
64
|
-
*OpenapiClient::CardInfoLookupApi* | [**card_info_lookup**](docs/CardInfoLookupApi.md#card_info_lookup) | **POST** /
|
65
|
-
*OpenapiClient::CardVerificationApi* | [**verify_card**](docs/CardVerificationApi.md#verify_card) | **POST** /
|
66
|
-
*OpenapiClient::CurrencyConversionApi* | [**get_exchange_rate**](docs/CurrencyConversionApi.md#get_exchange_rate) | **POST** /
|
67
|
-
*OpenapiClient::FraudDetectApi* | [**score_only**](docs/FraudDetectApi.md#score_only) | **POST** /
|
68
|
-
*OpenapiClient::OrderApi* | [**order_inquiry**](docs/OrderApi.md#order_inquiry) | **GET** /
|
69
|
-
*OpenapiClient::OrderApi* | [**
|
70
|
-
*OpenapiClient::
|
71
|
-
*OpenapiClient::PaymentApi* | [**
|
72
|
-
*OpenapiClient::PaymentApi* | [**
|
73
|
-
*OpenapiClient::PaymentApi* | [**
|
74
|
-
*OpenapiClient::
|
75
|
-
*OpenapiClient::
|
76
|
-
*OpenapiClient::
|
77
|
-
*OpenapiClient::PaymentSchedulesApi* | [**
|
78
|
-
*OpenapiClient::
|
79
|
-
*OpenapiClient::
|
80
|
-
*OpenapiClient::
|
81
|
-
*OpenapiClient::PaymentTokenApi* | [**create_payment_token**](docs/PaymentTokenApi.md#create_payment_token) | **POST** /v1/payment-tokens | Create a payment token from a payment card.
|
82
|
-
*OpenapiClient::PaymentTokenApi* | [**delete_payment_token**](docs/PaymentTokenApi.md#delete_payment_token) | **DELETE** /v1/payment-tokens/{token-id} | Delete a payment token.
|
83
|
-
*OpenapiClient::PaymentURLApi* | [**create_payment_url**](docs/PaymentURLApi.md#create_payment_url) | **POST** /v1/payment-url | Create a payment URL.
|
63
|
+
*OpenapiClient::AuthenticationApi* | [**authentication_access_tokens_post**](docs/AuthenticationApi.md#authentication_access_tokens_post) | **POST** /authentication/access-tokens | Generate an access token for user authentication.
|
64
|
+
*OpenapiClient::CardInfoLookupApi* | [**card_info_lookup**](docs/CardInfoLookupApi.md#card_info_lookup) | **POST** /card-information | Card information lookup.
|
65
|
+
*OpenapiClient::CardVerificationApi* | [**verify_card**](docs/CardVerificationApi.md#verify_card) | **POST** /card-verification | Verify a payment card.
|
66
|
+
*OpenapiClient::CurrencyConversionApi* | [**get_exchange_rate**](docs/CurrencyConversionApi.md#get_exchange_rate) | **POST** /exchange-rates | Generate dynamic currency conversion transactions.
|
67
|
+
*OpenapiClient::FraudDetectApi* | [**score_only**](docs/FraudDetectApi.md#score_only) | **POST** /fraud/score-only | Score a transaction for fraud.
|
68
|
+
*OpenapiClient::OrderApi* | [**order_inquiry**](docs/OrderApi.md#order_inquiry) | **GET** /orders/{order-id} | Retrieve the state of an order.
|
69
|
+
*OpenapiClient::OrderApi* | [**submit_secondary_transaction_from_order**](docs/OrderApi.md#submit_secondary_transaction_from_order) | **POST** /orders/{order-id} | Perform return or postAuth secondary transactions.
|
70
|
+
*OpenapiClient::PaymentApi* | [**finalize_secure_transaction**](docs/PaymentApi.md#finalize_secure_transaction) | **PATCH** /payments/{transaction-id} | Update a 3DSecure or UnionPay payment and continue processing.
|
71
|
+
*OpenapiClient::PaymentApi* | [**submit_primary_transaction**](docs/PaymentApi.md#submit_primary_transaction) | **POST** /payments | Generate a primary transaction.
|
72
|
+
*OpenapiClient::PaymentApi* | [**submit_secondary_transaction**](docs/PaymentApi.md#submit_secondary_transaction) | **POST** /payments/{transaction-id} | Perform a secondary transaction.
|
73
|
+
*OpenapiClient::PaymentApi* | [**transaction_inquiry**](docs/PaymentApi.md#transaction_inquiry) | **GET** /payments/{transaction-id} | Retrieve the state of a transaction.
|
74
|
+
*OpenapiClient::PaymentSchedulesApi* | [**cancel_payment_schedule**](docs/PaymentSchedulesApi.md#cancel_payment_schedule) | **DELETE** /payment-schedules/{order-id} | Cancel a gateway payment schedule.
|
75
|
+
*OpenapiClient::PaymentSchedulesApi* | [**create_payment_schedule**](docs/PaymentSchedulesApi.md#create_payment_schedule) | **POST** /payment-schedules | Create gateway payment schedule.
|
76
|
+
*OpenapiClient::PaymentSchedulesApi* | [**inquiry_payment_schedule**](docs/PaymentSchedulesApi.md#inquiry_payment_schedule) | **GET** /payment-schedules/{order-id} | View a gateway payment schedule.
|
77
|
+
*OpenapiClient::PaymentSchedulesApi* | [**update_payment_schedule**](docs/PaymentSchedulesApi.md#update_payment_schedule) | **PATCH** /payment-schedules/{order-id} | Update a gateway payment schedule.
|
78
|
+
*OpenapiClient::PaymentTokenApi* | [**create_payment_token**](docs/PaymentTokenApi.md#create_payment_token) | **POST** /payment-tokens | Create a payment token from a payment card.
|
79
|
+
*OpenapiClient::PaymentTokenApi* | [**delete_payment_token**](docs/PaymentTokenApi.md#delete_payment_token) | **DELETE** /payment-tokens/{token-id} | Delete a payment token.
|
80
|
+
*OpenapiClient::PaymentURLApi* | [**create_payment_url**](docs/PaymentURLApi.md#create_payment_url) | **POST** /payment-url | Create a payment URL.
|
84
81
|
|
85
82
|
|
86
83
|
## Documentation for Models
|
87
84
|
|
88
85
|
- [OpenapiClient::AVSResponse](docs/AVSResponse.md)
|
89
86
|
- [OpenapiClient::AccessTokenResponse](docs/AccessTokenResponse.md)
|
87
|
+
- [OpenapiClient::AccountUpdaterResponse](docs/AccountUpdaterResponse.md)
|
90
88
|
- [OpenapiClient::AdditionalAmountRate](docs/AdditionalAmountRate.md)
|
89
|
+
- [OpenapiClient::AdditionalDetails](docs/AdditionalDetails.md)
|
91
90
|
- [OpenapiClient::AdditionalTransactionDetails](docs/AdditionalTransactionDetails.md)
|
92
91
|
- [OpenapiClient::Address](docs/Address.md)
|
93
92
|
- [OpenapiClient::Airline](docs/Airline.md)
|
94
93
|
- [OpenapiClient::AirlineAncillaryServiceCategory](docs/AirlineAncillaryServiceCategory.md)
|
95
94
|
- [OpenapiClient::AirlineTravelRoute](docs/AirlineTravelRoute.md)
|
96
95
|
- [OpenapiClient::AliPay](docs/AliPay.md)
|
96
|
+
- [OpenapiClient::AliPayPaymentMethod](docs/AliPayPaymentMethod.md)
|
97
|
+
- [OpenapiClient::AliPaySaleTransaction](docs/AliPaySaleTransaction.md)
|
97
98
|
- [OpenapiClient::Amount](docs/Amount.md)
|
98
99
|
- [OpenapiClient::AmountComponents](docs/AmountComponents.md)
|
99
|
-
- [OpenapiClient::
|
100
|
-
- [OpenapiClient::
|
101
|
-
- [OpenapiClient::
|
100
|
+
- [OpenapiClient::Authentication](docs/Authentication.md)
|
101
|
+
- [OpenapiClient::AuthenticationRedirect](docs/AuthenticationRedirect.md)
|
102
|
+
- [OpenapiClient::AuthenticationRedirectParams](docs/AuthenticationRedirectParams.md)
|
103
|
+
- [OpenapiClient::AuthenticationVerificationRequest](docs/AuthenticationVerificationRequest.md)
|
102
104
|
- [OpenapiClient::BasicResponse](docs/BasicResponse.md)
|
103
|
-
- [OpenapiClient::BasketItem](docs/BasketItem.md)
|
104
105
|
- [OpenapiClient::Billing](docs/Billing.md)
|
105
106
|
- [OpenapiClient::BillingAddress](docs/BillingAddress.md)
|
106
107
|
- [OpenapiClient::BillingAddressPhone](docs/BillingAddressPhone.md)
|
107
108
|
- [OpenapiClient::CarRental](docs/CarRental.md)
|
108
109
|
- [OpenapiClient::CarRentalExtraCharges](docs/CarRentalExtraCharges.md)
|
109
110
|
- [OpenapiClient::Card](docs/Card.md)
|
111
|
+
- [OpenapiClient::CardFunction](docs/CardFunction.md)
|
110
112
|
- [OpenapiClient::CardInfo](docs/CardInfo.md)
|
111
113
|
- [OpenapiClient::CardInfoLookupRequest](docs/CardInfoLookupRequest.md)
|
112
114
|
- [OpenapiClient::CardInfoLookupResponse](docs/CardInfoLookupResponse.md)
|
113
115
|
- [OpenapiClient::CardVerificationRequest](docs/CardVerificationRequest.md)
|
114
|
-
- [OpenapiClient::CardVerificationsTransaction](docs/CardVerificationsTransaction.md)
|
115
116
|
- [OpenapiClient::ChinaDomestic](docs/ChinaDomestic.md)
|
117
|
+
- [OpenapiClient::ChinaDomesticPaymentMethod](docs/ChinaDomesticPaymentMethod.md)
|
118
|
+
- [OpenapiClient::ChinaPnRSaleTransaction](docs/ChinaPnRSaleTransaction.md)
|
116
119
|
- [OpenapiClient::ClientLocale](docs/ClientLocale.md)
|
117
120
|
- [OpenapiClient::Contact](docs/Contact.md)
|
121
|
+
- [OpenapiClient::CreatePaymentToken](docs/CreatePaymentToken.md)
|
122
|
+
- [OpenapiClient::CurrencyConversion](docs/CurrencyConversion.md)
|
118
123
|
- [OpenapiClient::Customer](docs/Customer.md)
|
119
124
|
- [OpenapiClient::CustomerAddress](docs/CustomerAddress.md)
|
120
125
|
- [OpenapiClient::CustomerAddressPhone](docs/CustomerAddressPhone.md)
|
126
|
+
- [OpenapiClient::DCCExchangeRateRequest](docs/DCCExchangeRateRequest.md)
|
121
127
|
- [OpenapiClient::Dcc](docs/Dcc.md)
|
122
128
|
- [OpenapiClient::Device](docs/Device.md)
|
123
129
|
- [OpenapiClient::DeviceNetworks](docs/DeviceNetworks.md)
|
124
130
|
- [OpenapiClient::Document](docs/Document.md)
|
131
|
+
- [OpenapiClient::DynamicPricing](docs/DynamicPricing.md)
|
132
|
+
- [OpenapiClient::DynamicPricingExchangeRateRequest](docs/DynamicPricingExchangeRateRequest.md)
|
125
133
|
- [OpenapiClient::Error](docs/Error.md)
|
126
134
|
- [OpenapiClient::ErrorDetails](docs/ErrorDetails.md)
|
127
135
|
- [OpenapiClient::ErrorResponse](docs/ErrorResponse.md)
|
@@ -144,17 +152,31 @@ Class | Method | HTTP request | Description
|
|
144
152
|
- [OpenapiClient::OrderErrorResponse](docs/OrderErrorResponse.md)
|
145
153
|
- [OpenapiClient::OrderResponse](docs/OrderResponse.md)
|
146
154
|
- [OpenapiClient::PayPal](docs/PayPal.md)
|
155
|
+
- [OpenapiClient::PayPalPaymentMethod](docs/PayPalPaymentMethod.md)
|
147
156
|
- [OpenapiClient::Payment](docs/Payment.md)
|
148
157
|
- [OpenapiClient::PaymentCard](docs/PaymentCard.md)
|
149
|
-
- [OpenapiClient::
|
158
|
+
- [OpenapiClient::PaymentCardCreditTransaction](docs/PaymentCardCreditTransaction.md)
|
159
|
+
- [OpenapiClient::PaymentCardForcedTicketTransaction](docs/PaymentCardForcedTicketTransaction.md)
|
160
|
+
- [OpenapiClient::PaymentCardPayerAuthTransaction](docs/PaymentCardPayerAuthTransaction.md)
|
161
|
+
- [OpenapiClient::PaymentCardPaymentMethod](docs/PaymentCardPaymentMethod.md)
|
162
|
+
- [OpenapiClient::PaymentCardPaymentTokenizationRequest](docs/PaymentCardPaymentTokenizationRequest.md)
|
163
|
+
- [OpenapiClient::PaymentCardPreAuthTransaction](docs/PaymentCardPreAuthTransaction.md)
|
164
|
+
- [OpenapiClient::PaymentCardSaleTransaction](docs/PaymentCardSaleTransaction.md)
|
150
165
|
- [OpenapiClient::PaymentFacilitator](docs/PaymentFacilitator.md)
|
151
166
|
- [OpenapiClient::PaymentIssuerResponse](docs/PaymentIssuerResponse.md)
|
152
167
|
- [OpenapiClient::PaymentMethod](docs/PaymentMethod.md)
|
168
|
+
- [OpenapiClient::PaymentMethodDetails](docs/PaymentMethodDetails.md)
|
169
|
+
- [OpenapiClient::PaymentMethodPaymentSchedulesRequest](docs/PaymentMethodPaymentSchedulesRequest.md)
|
170
|
+
- [OpenapiClient::PaymentMethodType](docs/PaymentMethodType.md)
|
153
171
|
- [OpenapiClient::PaymentPayMethod](docs/PaymentPayMethod.md)
|
154
172
|
- [OpenapiClient::PaymentSchedulesErrorResponse](docs/PaymentSchedulesErrorResponse.md)
|
155
173
|
- [OpenapiClient::PaymentSchedulesRequest](docs/PaymentSchedulesRequest.md)
|
156
174
|
- [OpenapiClient::PaymentSchedulesResponse](docs/PaymentSchedulesResponse.md)
|
157
|
-
- [OpenapiClient::
|
175
|
+
- [OpenapiClient::PaymentTokenCreditTransaction](docs/PaymentTokenCreditTransaction.md)
|
176
|
+
- [OpenapiClient::PaymentTokenDetails](docs/PaymentTokenDetails.md)
|
177
|
+
- [OpenapiClient::PaymentTokenPaymentMethod](docs/PaymentTokenPaymentMethod.md)
|
178
|
+
- [OpenapiClient::PaymentTokenPreAuthTransaction](docs/PaymentTokenPreAuthTransaction.md)
|
179
|
+
- [OpenapiClient::PaymentTokenSaleTransaction](docs/PaymentTokenSaleTransaction.md)
|
158
180
|
- [OpenapiClient::PaymentTokenizationErrorResponse](docs/PaymentTokenizationErrorResponse.md)
|
159
181
|
- [OpenapiClient::PaymentTokenizationRequest](docs/PaymentTokenizationRequest.md)
|
160
182
|
- [OpenapiClient::PaymentTokenizationResponse](docs/PaymentTokenizationResponse.md)
|
@@ -164,8 +186,9 @@ Class | Method | HTTP request | Description
|
|
164
186
|
- [OpenapiClient::PaymentVerification3ds](docs/PaymentVerification3ds.md)
|
165
187
|
- [OpenapiClient::PaymentVerificationAvs](docs/PaymentVerificationAvs.md)
|
166
188
|
- [OpenapiClient::PaymentVerificationCvv](docs/PaymentVerificationCvv.md)
|
189
|
+
- [OpenapiClient::PaypalCreditTransaction](docs/PaypalCreditTransaction.md)
|
190
|
+
- [OpenapiClient::PostAuthTransaction](docs/PostAuthTransaction.md)
|
167
191
|
- [OpenapiClient::PrimaryTransaction](docs/PrimaryTransaction.md)
|
168
|
-
- [OpenapiClient::PrimaryTransactionAdditionalDetails](docs/PrimaryTransactionAdditionalDetails.md)
|
169
192
|
- [OpenapiClient::ProcessorData](docs/ProcessorData.md)
|
170
193
|
- [OpenapiClient::PurchaseCards](docs/PurchaseCards.md)
|
171
194
|
- [OpenapiClient::PurchaseCardsLevel2](docs/PurchaseCardsLevel2.md)
|
@@ -173,30 +196,37 @@ Class | Method | HTTP request | Description
|
|
173
196
|
- [OpenapiClient::PurchaseCardsLevel3LineItems](docs/PurchaseCardsLevel3LineItems.md)
|
174
197
|
- [OpenapiClient::RecurringPaymentDetails](docs/RecurringPaymentDetails.md)
|
175
198
|
- [OpenapiClient::RecurringPaymentDetailsResponse](docs/RecurringPaymentDetailsResponse.md)
|
176
|
-
- [OpenapiClient::
|
199
|
+
- [OpenapiClient::ReferencedOrderPaymentSchedulesRequest](docs/ReferencedOrderPaymentSchedulesRequest.md)
|
200
|
+
- [OpenapiClient::ReferencedOrderPaymentTokenizationRequest](docs/ReferencedOrderPaymentTokenizationRequest.md)
|
201
|
+
- [OpenapiClient::ResponseAmountComponents](docs/ResponseAmountComponents.md)
|
177
202
|
- [OpenapiClient::ResponseType](docs/ResponseType.md)
|
203
|
+
- [OpenapiClient::ReturnTransaction](docs/ReturnTransaction.md)
|
178
204
|
- [OpenapiClient::ScoreOnlyRequest](docs/ScoreOnlyRequest.md)
|
179
205
|
- [OpenapiClient::ScoreOnlyResponse](docs/ScoreOnlyResponse.md)
|
180
206
|
- [OpenapiClient::ScoreOnlyResponseFraudScore](docs/ScoreOnlyResponseFraudScore.md)
|
181
207
|
- [OpenapiClient::ScoreOnlyResponseFraudScoreExplanations](docs/ScoreOnlyResponseFraudScoreExplanations.md)
|
182
208
|
- [OpenapiClient::SecondaryTransaction](docs/SecondaryTransaction.md)
|
183
|
-
- [OpenapiClient::
|
209
|
+
- [OpenapiClient::Secure3dAuthenticationRequest](docs/Secure3dAuthenticationRequest.md)
|
210
|
+
- [OpenapiClient::Secure3dAuthenticationResult](docs/Secure3dAuthenticationResult.md)
|
211
|
+
- [OpenapiClient::Secure3dAuthenticationVerificationRequest](docs/Secure3dAuthenticationVerificationRequest.md)
|
184
212
|
- [OpenapiClient::Secure3dResponse](docs/Secure3dResponse.md)
|
185
213
|
- [OpenapiClient::Sepa](docs/Sepa.md)
|
186
214
|
- [OpenapiClient::SepaMandate](docs/SepaMandate.md)
|
215
|
+
- [OpenapiClient::SepaPaymentMethod](docs/SepaPaymentMethod.md)
|
216
|
+
- [OpenapiClient::SepaSaleTransaction](docs/SepaSaleTransaction.md)
|
187
217
|
- [OpenapiClient::Shipping](docs/Shipping.md)
|
188
218
|
- [OpenapiClient::SoftDescriptor](docs/SoftDescriptor.md)
|
189
219
|
- [OpenapiClient::SplitShipment](docs/SplitShipment.md)
|
190
220
|
- [OpenapiClient::StoredCredential](docs/StoredCredential.md)
|
191
221
|
- [OpenapiClient::SubMerchantData](docs/SubMerchantData.md)
|
222
|
+
- [OpenapiClient::SubMerchantSplit](docs/SubMerchantSplit.md)
|
192
223
|
- [OpenapiClient::Transaction](docs/Transaction.md)
|
193
224
|
- [OpenapiClient::TransactionErrorResponse](docs/TransactionErrorResponse.md)
|
194
225
|
- [OpenapiClient::TransactionOrigin](docs/TransactionOrigin.md)
|
195
226
|
- [OpenapiClient::TransactionResponse](docs/TransactionResponse.md)
|
196
227
|
- [OpenapiClient::TransactionType](docs/TransactionType.md)
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
All endpoints do not require authorization.
|
228
|
+
- [OpenapiClient::UnionPayAuthenticationRequest](docs/UnionPayAuthenticationRequest.md)
|
229
|
+
- [OpenapiClient::UnionPayAuthenticationVerificationRequest](docs/UnionPayAuthenticationVerificationRequest.md)
|
230
|
+
- [OpenapiClient::UsePaymentToken](docs/UsePaymentToken.md)
|
231
|
+
- [OpenapiClient::VoidTransaction](docs/VoidTransaction.md)
|
202
232
|
|
data/docs/AVSResponse.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**street_match** | **String** |
|
7
|
-
**postal_code_match** | **String** |
|
6
|
+
**street_match** | **String** | Response if street matches that on file. | [optional]
|
7
|
+
**postal_code_match** | **String** | Response if postal code matches that on file. | [optional]
|
8
8
|
|
9
9
|
|
data/docs/AccessTokenResponse.md
CHANGED
@@ -3,8 +3,8 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**access_token** | **String** | Access token for authentication | [optional]
|
7
|
-
**client_request_id** | **String** | Echoes back the value from the request header for tracking | [optional]
|
6
|
+
**access_token** | **String** | Access token for authentication. | [optional]
|
7
|
+
**client_request_id** | **String** | Echoes back the value from the request header for tracking. | [optional]
|
8
8
|
**request_status** | **String** | The result of the requested operation. If this is anything other than 'SUCCESS', please refer to the 400s HTTP error codes. See ErrorResponse object for details. | [optional]
|
9
9
|
|
10
10
|
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# OpenapiClient::AccountUpdaterResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**updated_card** | **String** | Account updater replacement PAN or TransArmor token. | [optional]
|
7
|
+
**updated_token** | **String** | Updated value of token. | [optional]
|
8
|
+
**updated_expiration_date** | **String** | New account number expiration date in MMYY format. | [optional]
|
9
|
+
**updated_account_status** | **String** | Status of the updated account. An account may have closed (C), the expiry date may have changed (E), the account may have changed (A), or the cardholder should be contacted (Q). | [optional]
|
10
|
+
**updated_account_error_code** | **String** | Code for the error encountered when updating account. | [optional]
|
11
|
+
|
12
|
+
|
@@ -3,7 +3,7 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**amount** | **Float** |
|
7
|
-
**rate** | **Float** | Rate
|
6
|
+
**amount** | **Float** | Amount in 3 decimal 12 bytes total digit. |
|
7
|
+
**rate** | **Float** | Rate in 3 decimal 12 bytes total digit. |
|
8
8
|
|
9
9
|
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# OpenapiClient::AdditionalDetails
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**comments** | **String** | Comments for the payment. | [optional]
|
7
|
+
**invoice_number** | **String** | Invoice number. | [optional]
|
8
|
+
**purchase_order_number** | **String** | Purchase order number. | [optional]
|
9
|
+
|
10
|
+
|
@@ -3,8 +3,8 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**comments** | **String** | Comment for the payment | [optional]
|
7
|
-
**invoice_number** | **String** | Invoice number | [optional]
|
8
|
-
**purchase_order_number** | **String** | Purchase order number | [optional]
|
6
|
+
**comments** | **String** | Comment for the payment. | [optional]
|
7
|
+
**invoice_number** | **String** | Invoice number. | [optional]
|
8
|
+
**purchase_order_number** | **String** | Purchase order number. | [optional]
|
9
9
|
|
10
10
|
|
data/docs/Address.md
CHANGED
@@ -3,12 +3,12 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**company** | **String** | Company name associated with the address | [optional]
|
7
|
-
**address1** | **String** | First line of the street address | [optional]
|
8
|
-
**address2** | **String** | Second line of the street address | [optional]
|
9
|
-
**city** | **String** | City or
|
10
|
-
**region** | **String** | State or
|
11
|
-
**postal_code** | **String** | ZIP code or postal code | [optional]
|
12
|
-
**country** | **String** | ISO-3166-1 ALPHA-2, ALPHA-3 or
|
6
|
+
**company** | **String** | Company name associated with the address. | [optional]
|
7
|
+
**address1** | **String** | First line of the street address. | [optional]
|
8
|
+
**address2** | **String** | Second line of the street address. | [optional]
|
9
|
+
**city** | **String** | City or locality. | [optional]
|
10
|
+
**region** | **String** | State or province. | [optional]
|
11
|
+
**postal_code** | **String** | ZIP code or postal code. | [optional]
|
12
|
+
**country** | **String** | ISO-3166-1 ALPHA-2, ALPHA-3, numeric or full country name. In the case of PaySecure endpoints, pass the country code in an ISO format. | [optional]
|
13
13
|
|
14
14
|
|
data/docs/Airline.md
CHANGED
@@ -3,19 +3,19 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**passenger_name** | **String** | The passenger name associated with the transaction | [optional]
|
7
|
-
**ticket_number** | **String** | The airline ticket number associated with the transaction | [optional]
|
8
|
-
**issuing_carrier** | **String** | The carrier that issued the ticket | [optional]
|
9
|
-
**carrier_name** | **String** | The carrier associated with the transaction | [optional]
|
10
|
-
**travel_agency_iata_code** | **String** | The IATA code associated with the travel agency | [optional]
|
11
|
-
**travel_agency_name** | **String** | The business name of the travel agency | [optional]
|
12
|
-
**airline_plan_number** | **String** | The airline plan number associated with the transaction | [optional]
|
13
|
-
**airline_invoice_number** | **String** | The invoice number used by the airline | [optional]
|
14
|
-
**reservation_system** | **String** | The reservation system used to create the ticket | [optional]
|
15
|
-
**restricted** | **BOOLEAN** |
|
16
|
-
**travel_route** | [**Array<AirlineTravelRoute>**](AirlineTravelRoute.md) | Array containing up to 4 items that describe the route associated with the transaction | [optional]
|
6
|
+
**passenger_name** | **String** | The passenger name associated with the transaction. | [optional]
|
7
|
+
**ticket_number** | **String** | The airline ticket number associated with the transaction. | [optional]
|
8
|
+
**issuing_carrier** | **String** | The carrier that issued the ticket. | [optional]
|
9
|
+
**carrier_name** | **String** | The carrier associated with the transaction. | [optional]
|
10
|
+
**travel_agency_iata_code** | **String** | The IATA code associated with the travel agency. | [optional]
|
11
|
+
**travel_agency_name** | **String** | The business name of the travel agency. | [optional]
|
12
|
+
**airline_plan_number** | **String** | The airline plan number associated with the transaction. | [optional]
|
13
|
+
**airline_invoice_number** | **String** | The invoice number used by the airline. | [optional]
|
14
|
+
**reservation_system** | **String** | The reservation system used to create the ticket. | [optional]
|
15
|
+
**restricted** | **BOOLEAN** | If the transaction is associated with a restricted class fare. | [optional]
|
16
|
+
**travel_route** | [**Array<AirlineTravelRoute>**](AirlineTravelRoute.md) | Array containing up to 4 items that describe the route associated with the transaction. | [optional]
|
17
17
|
**related_ticket_number** | **String** | The number of any other tickets associated with the transaction ticket. | [optional]
|
18
18
|
**ancillary_service_category** | [**Array<AirlineAncillaryServiceCategory>**](AirlineAncillaryServiceCategory.md) | Identify the purchase of ancillary goods or services with a false value. If this element is not provided, the transaction is assumed to be a purchase of an airline ticket. | [optional]
|
19
|
-
**ticket_purchase** | **BOOLEAN** | Identifies if the transaction is a ticket purchase | [optional]
|
19
|
+
**ticket_purchase** | **BOOLEAN** | Identifies if the transaction is a ticket purchase. | [optional]
|
20
20
|
|
21
21
|
|
@@ -3,6 +3,6 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**service_category** | **String** | Identifies the service purchased in the transaction if not a base ticket |
|
6
|
+
**service_category** | **String** | Identifies the service purchased in the transaction if not a base ticket |
|
7
7
|
|
8
8
|
|
data/docs/AirlineTravelRoute.md
CHANGED
@@ -3,14 +3,14 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**departure_date** | **Date** | Date of departure | [optional]
|
6
|
+
**departure_date** | **Date** | Date of departure. | [optional]
|
7
7
|
**origin** | **String** | The IATA code for the departure airport. | [optional]
|
8
|
-
**destination** | **String** | The IATA code for the destination airport. | [optional]
|
8
|
+
**destination** | **String** | The IATA code for the destination. airport. | [optional]
|
9
9
|
**carrier_code** | **String** | The IATA code for the carrier. | [optional]
|
10
10
|
**service_class** | **String** | The airline code for the service class of the ticket. | [optional]
|
11
|
-
**stopover_type** | **String** | Indicates whether the route is direct
|
11
|
+
**stopover_type** | **String** | Indicates whether the route is direct. | [optional]
|
12
12
|
**fare_basis_code** | **String** | The airline fare basis code. | [optional]
|
13
|
-
**departure_tax** | **Float** |
|
13
|
+
**departure_tax** | **Float** | Fee charged by a country when a person leaves the country. | [optional]
|
14
14
|
**flight_number** | **String** | The airline flight number associated with the ticket. | [optional]
|
15
15
|
|
16
16
|
|
data/docs/AliPay.md
CHANGED
@@ -5,7 +5,7 @@ Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**payment_data_type** | **String** | Use this to indicate the type of machine-readable payment data for scanning. |
|
7
7
|
**payment_data** | **String** | Use this to send payment related information, such as customer identity ID. |
|
8
|
-
**order_title** | **String** | Use this to send an order title that shows up in the statement |
|
9
|
-
**order_details** | **String** | Use this to send order details that show up in the statement |
|
8
|
+
**order_title** | **String** | Use this to send an order title that shows up in the statement. |
|
9
|
+
**order_details** | **String** | Use this to send order details that show up in the statement. |
|
10
10
|
|
11
11
|
|
@@ -1,8 +1,8 @@
|
|
1
|
-
# OpenapiClient::
|
1
|
+
# OpenapiClient::AliPayPaymentMethod
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**
|
6
|
+
**ali_pay** | [**AliPay**](AliPay.md) | |
|
7
7
|
|
8
8
|
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# OpenapiClient::AliPaySaleTransaction
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**request_type** | **String** | Object name of the primary transaction request. |
|
7
|
+
**store_id** | **String** | An optional outlet ID for clients that support multiple stores in the same app. | [optional]
|
8
|
+
**merchant_transaction_id** | **String** | The unique merchant transaction ID from the request header, if supplied. | [optional]
|
9
|
+
**transaction_amount** | [**Amount**](Amount.md) | |
|
10
|
+
**transaction_origin** | [**TransactionOrigin**](TransactionOrigin.md) | | [optional]
|
11
|
+
**order** | [**Order**](Order.md) | | [optional]
|
12
|
+
**payment_method** | [**AliPayPaymentMethod**](AliPayPaymentMethod.md) | |
|
13
|
+
|
14
|
+
|
data/docs/Amount.md
CHANGED
@@ -3,8 +3,8 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**total** | **Float** | Amount
|
7
|
-
**currency** | **String** | ISO 4217 currency code
|
6
|
+
**total** | **Float** | Amount total. |
|
7
|
+
**currency** | **String** | ISO 4217 currency code. |
|
8
8
|
**components** | [**AmountComponents**](AmountComponents.md) | | [optional]
|
9
9
|
|
10
10
|
|
data/docs/AmountComponents.md
CHANGED
@@ -3,12 +3,11 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**subtotal** | **Float** | Subtotal amount | [optional]
|
7
|
-
**vat_amount** | **Float** | Value-added tax amount | [optional]
|
8
|
-
**local_tax** | **Float** | Local tax amount | [optional]
|
9
|
-
**shipping** | **Float** | Shipping amount | [optional]
|
10
|
-
**cashback** | **Float** | Cashback amount | [optional]
|
11
|
-
**tip** | **Float** | Tip amount | [optional]
|
12
|
-
**convenience_fee** | **Float** | Amount added for proccessing or handling fees, field must not be present in requests. | [optional]
|
6
|
+
**subtotal** | **Float** | Subtotal amount. | [optional]
|
7
|
+
**vat_amount** | **Float** | Value-added tax amount. | [optional]
|
8
|
+
**local_tax** | **Float** | Local tax amount. | [optional]
|
9
|
+
**shipping** | **Float** | Shipping amount. | [optional]
|
10
|
+
**cashback** | **Float** | Cashback amount. | [optional]
|
11
|
+
**tip** | **Float** | Tip amount. | [optional]
|
13
12
|
|
14
13
|
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# OpenapiClient::Authentication
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**request_type** | **String** | Indicates what kind of authentication scheme the merchant wants to use on the card. |
|
7
|
+
|
8
|
+
|
data/docs/AuthenticationApi.md
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
# OpenapiClient::AuthenticationApi
|
2
2
|
|
3
|
-
All URIs are relative to *https://cert.api.firstdata.com/gateway*
|
3
|
+
All URIs are relative to *https://cert.api.firstdata.com/gateway/v2*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**
|
7
|
+
[**authentication_access_tokens_post**](AuthenticationApi.md#authentication_access_tokens_post) | **POST** /authentication/access-tokens | Generate an access token for user authentication.
|
8
8
|
|
9
9
|
|
10
|
-
# **
|
11
|
-
> AccessTokenResponse
|
10
|
+
# **authentication_access_tokens_post**
|
11
|
+
> AccessTokenResponse authentication_access_tokens_post(content_type, client_request_id, api_key, timestamp, opts)
|
12
12
|
|
13
13
|
Generate an access token for user authentication.
|
14
14
|
|
@@ -20,20 +20,20 @@ This is the access token generation call for authorizing subsequent financial tr
|
|
20
20
|
require 'openapi_client'
|
21
21
|
|
22
22
|
api_instance = OpenapiClient::AuthenticationApi.new
|
23
|
-
content_type = 'application/json' # String |
|
23
|
+
content_type = 'application/json' # String | Content type.
|
24
24
|
client_request_id = 'client_request_id_example' # String | A client-generated ID for request tracking and signature creation, unique per request. This is also used for idempotency control. We recommend 128-bit UUID format.
|
25
|
-
api_key = 'api_key_example' # String |
|
25
|
+
api_key = 'api_key_example' # String | Key given to merchant after boarding associating their requests with the appropriate app in Apigee.
|
26
26
|
timestamp = 56 # Integer | Epoch timestamp in milliseconds in the request from a client system. Used for Message Signature generation and time limit (5 mins).
|
27
27
|
opts = {
|
28
|
-
message_signature: 'message_signature_example' # String | Used to ensure the request has not been tampered with during transmission. The Message-Signature is the Base64 encoded HMAC hash (SHA256
|
28
|
+
message_signature: 'message_signature_example' # String | Used to ensure the request has not been tampered with during transmission. The Message-Signature is the Base64 encoded HMAC hash (SHA256 algorithm with the API Secret as the key.) For more information, refer to the supporting documentation on the Developer Portal.
|
29
29
|
}
|
30
30
|
|
31
31
|
begin
|
32
32
|
#Generate an access token for user authentication.
|
33
|
-
result = api_instance.
|
33
|
+
result = api_instance.authentication_access_tokens_post(content_type, client_request_id, api_key, timestamp, opts)
|
34
34
|
p result
|
35
35
|
rescue OpenapiClient::ApiError => e
|
36
|
-
puts "Exception when calling AuthenticationApi->
|
36
|
+
puts "Exception when calling AuthenticationApi->authentication_access_tokens_post: #{e}"
|
37
37
|
end
|
38
38
|
```
|
39
39
|
|
@@ -41,11 +41,11 @@ end
|
|
41
41
|
|
42
42
|
Name | Type | Description | Notes
|
43
43
|
------------- | ------------- | ------------- | -------------
|
44
|
-
**content_type** | **String**|
|
44
|
+
**content_type** | **String**| Content type. | [default to 'application/json']
|
45
45
|
**client_request_id** | **String**| A client-generated ID for request tracking and signature creation, unique per request. This is also used for idempotency control. We recommend 128-bit UUID format. |
|
46
|
-
**api_key** | **String**|
|
46
|
+
**api_key** | **String**| Key given to merchant after boarding associating their requests with the appropriate app in Apigee. |
|
47
47
|
**timestamp** | **Integer**| Epoch timestamp in milliseconds in the request from a client system. Used for Message Signature generation and time limit (5 mins). |
|
48
|
-
**message_signature** | **String**| Used to ensure the request has not been tampered with during transmission. The Message-Signature is the Base64 encoded HMAC hash (SHA256
|
48
|
+
**message_signature** | **String**| Used to ensure the request has not been tampered with during transmission. The Message-Signature is the Base64 encoded HMAC hash (SHA256 algorithm with the API Secret as the key.) For more information, refer to the supporting documentation on the Developer Portal. | [optional]
|
49
49
|
|
50
50
|
### Return type
|
51
51
|
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# OpenapiClient::AuthenticationRedirect
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**type** | **String** | The type of authentication. | [optional]
|
7
|
+
**target_url** | **String** | The URL for the authentication redirect for the merchant. | [optional]
|
8
|
+
**params** | [**AuthenticationRedirectParams**](AuthenticationRedirectParams.md) | | [optional]
|
9
|
+
|
10
|
+
|