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
data/docs/PaymentApi.md
CHANGED
@@ -1,19 +1,17 @@
|
|
1
1
|
# OpenapiClient::PaymentApi
|
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
|
-
[**finalize_secure_transaction**](PaymentApi.md#finalize_secure_transaction) | **PATCH** /
|
8
|
-
[**
|
9
|
-
[**
|
10
|
-
[**
|
11
|
-
[**transaction_inquiry**](PaymentApi.md#transaction_inquiry) | **GET** /v1/payments/{transaction-id} | Retrieve the state of a transaction.
|
12
|
-
[**void_transaction**](PaymentApi.md#void_transaction) | **POST** /v1/payments/{transaction-id}/void | Reverse a previous action on an existing transaction.
|
7
|
+
[**finalize_secure_transaction**](PaymentApi.md#finalize_secure_transaction) | **PATCH** /payments/{transaction-id} | Update a 3DSecure or UnionPay payment and continue processing.
|
8
|
+
[**submit_primary_transaction**](PaymentApi.md#submit_primary_transaction) | **POST** /payments | Generate a primary transaction.
|
9
|
+
[**submit_secondary_transaction**](PaymentApi.md#submit_secondary_transaction) | **POST** /payments/{transaction-id} | Perform a secondary transaction.
|
10
|
+
[**transaction_inquiry**](PaymentApi.md#transaction_inquiry) | **GET** /payments/{transaction-id} | Retrieve the state of a transaction.
|
13
11
|
|
14
12
|
|
15
13
|
# **finalize_secure_transaction**
|
16
|
-
> TransactionResponse finalize_secure_transaction(content_type, client_request_id, api_key, timestamp, transaction_id,
|
14
|
+
> TransactionResponse finalize_secure_transaction(content_type, client_request_id, api_key, timestamp, transaction_id, authentication_verification_request, opts)
|
17
15
|
|
18
16
|
Update a 3DSecure or UnionPay payment and continue processing.
|
19
17
|
|
@@ -25,20 +23,20 @@ Use this to handle a 3DSecure redirect response or UnionPay authentication, upda
|
|
25
23
|
require 'openapi_client'
|
26
24
|
|
27
25
|
api_instance = OpenapiClient::PaymentApi.new
|
28
|
-
content_type = 'application/json' # String |
|
26
|
+
content_type = 'application/json' # String | Content type.
|
29
27
|
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.
|
30
|
-
api_key = 'api_key_example' # String |
|
28
|
+
api_key = 'api_key_example' # String | Key given to merchant after boarding associating their requests with the appropriate app in Apigee.
|
31
29
|
timestamp = 56 # Integer | Epoch timestamp in milliseconds in the request from a client system. Used for Message Signature generation and time limit (5 mins).
|
32
|
-
transaction_id = 'transaction_id_example' # String | Gateway transaction identifier as returned in the parameter ipgTransactionId
|
33
|
-
|
30
|
+
transaction_id = 'transaction_id_example' # String | Gateway transaction identifier as returned in the parameter ipgTransactionId.
|
31
|
+
authentication_verification_request = OpenapiClient::AuthenticationVerificationRequest.new # AuthenticationVerificationRequest | Accepted request types: Secure3dAuthenticationVerificationRequest and UnionPayAuthenticationVerificationRequest.
|
34
32
|
opts = {
|
35
|
-
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
|
36
|
-
region: 'region_example' # String |
|
33
|
+
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.
|
34
|
+
region: 'region_example' # String | Indicates the region where the client wants the transaction to be processed. This will override the default processing region identified for the client. Available options are argentina, brazil, germany, india and northamerica. Region specific store setup and APIGEE boarding is required in order to use an alternate region for processing.
|
37
35
|
}
|
38
36
|
|
39
37
|
begin
|
40
38
|
#Update a 3DSecure or UnionPay payment and continue processing.
|
41
|
-
result = api_instance.finalize_secure_transaction(content_type, client_request_id, api_key, timestamp, transaction_id,
|
39
|
+
result = api_instance.finalize_secure_transaction(content_type, client_request_id, api_key, timestamp, transaction_id, authentication_verification_request, opts)
|
42
40
|
p result
|
43
41
|
rescue OpenapiClient::ApiError => e
|
44
42
|
puts "Exception when calling PaymentApi->finalize_secure_transaction: #{e}"
|
@@ -49,14 +47,14 @@ end
|
|
49
47
|
|
50
48
|
Name | Type | Description | Notes
|
51
49
|
------------- | ------------- | ------------- | -------------
|
52
|
-
**content_type** | **String**|
|
50
|
+
**content_type** | **String**| Content type. | [default to 'application/json']
|
53
51
|
**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. |
|
54
|
-
**api_key** | **String**|
|
52
|
+
**api_key** | **String**| Key given to merchant after boarding associating their requests with the appropriate app in Apigee. |
|
55
53
|
**timestamp** | **Integer**| Epoch timestamp in milliseconds in the request from a client system. Used for Message Signature generation and time limit (5 mins). |
|
56
|
-
**transaction_id** | **String**| Gateway transaction identifier as returned in the parameter ipgTransactionId |
|
57
|
-
**
|
58
|
-
**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
|
59
|
-
**region** | **String**|
|
54
|
+
**transaction_id** | **String**| Gateway transaction identifier as returned in the parameter ipgTransactionId. |
|
55
|
+
**authentication_verification_request** | [**AuthenticationVerificationRequest**](AuthenticationVerificationRequest.md)| Accepted request types: Secure3dAuthenticationVerificationRequest and UnionPayAuthenticationVerificationRequest. |
|
56
|
+
**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]
|
57
|
+
**region** | **String**| Indicates the region where the client wants the transaction to be processed. This will override the default processing region identified for the client. Available options are argentina, brazil, germany, india and northamerica. Region specific store setup and APIGEE boarding is required in order to use an alternate region for processing. | [optional]
|
60
58
|
|
61
59
|
### Return type
|
62
60
|
|
@@ -73,75 +71,12 @@ No authorization required
|
|
73
71
|
|
74
72
|
|
75
73
|
|
76
|
-
# **
|
77
|
-
> TransactionResponse
|
78
|
-
|
79
|
-
Capture/complete a transaction.
|
80
|
-
|
81
|
-
Used to capture/complete an existing transaction. Partial postauths are allowed.
|
82
|
-
|
83
|
-
### Example
|
84
|
-
```ruby
|
85
|
-
# load the gem
|
86
|
-
require 'openapi_client'
|
87
|
-
|
88
|
-
api_instance = OpenapiClient::PaymentApi.new
|
89
|
-
content_type = 'application/json' # String | content type
|
90
|
-
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.
|
91
|
-
api_key = 'api_key_example' # String |
|
92
|
-
timestamp = 56 # Integer | Epoch timestamp in milliseconds in the request from a client system. Used for Message Signature generation and time limit (5 mins).
|
93
|
-
transaction_id = 'transaction_id_example' # String | Gateway transaction identifier as returned in the parameter ipgTransactionId
|
94
|
-
secondary_transaction = OpenapiClient::SecondaryTransaction.new # SecondaryTransaction |
|
95
|
-
opts = {
|
96
|
-
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.
|
97
|
-
region: 'region_example', # String | The region where client wants to process the transaction
|
98
|
-
store_id: 'store_id_example' # String | An optional outlet ID for clients that support multiple stores in the same developer app
|
99
|
-
}
|
100
|
-
|
101
|
-
begin
|
102
|
-
#Capture/complete a transaction.
|
103
|
-
result = api_instance.perform_payment_post_authorisation(content_type, client_request_id, api_key, timestamp, transaction_id, secondary_transaction, opts)
|
104
|
-
p result
|
105
|
-
rescue OpenapiClient::ApiError => e
|
106
|
-
puts "Exception when calling PaymentApi->perform_payment_post_authorisation: #{e}"
|
107
|
-
end
|
108
|
-
```
|
109
|
-
|
110
|
-
### Parameters
|
111
|
-
|
112
|
-
Name | Type | Description | Notes
|
113
|
-
------------- | ------------- | ------------- | -------------
|
114
|
-
**content_type** | **String**| content type | [default to 'application/json']
|
115
|
-
**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. |
|
116
|
-
**api_key** | **String**| |
|
117
|
-
**timestamp** | **Integer**| Epoch timestamp in milliseconds in the request from a client system. Used for Message Signature generation and time limit (5 mins). |
|
118
|
-
**transaction_id** | **String**| Gateway transaction identifier as returned in the parameter ipgTransactionId |
|
119
|
-
**secondary_transaction** | [**SecondaryTransaction**](SecondaryTransaction.md)| |
|
120
|
-
**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]
|
121
|
-
**region** | **String**| The region where client wants to process the transaction | [optional]
|
122
|
-
**store_id** | **String**| An optional outlet ID for clients that support multiple stores in the same developer app | [optional]
|
123
|
-
|
124
|
-
### Return type
|
125
|
-
|
126
|
-
[**TransactionResponse**](TransactionResponse.md)
|
127
|
-
|
128
|
-
### Authorization
|
129
|
-
|
130
|
-
No authorization required
|
131
|
-
|
132
|
-
### HTTP request headers
|
133
|
-
|
134
|
-
- **Content-Type**: application/json
|
135
|
-
- **Accept**: application/json
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
# **primary_payment_transaction**
|
140
|
-
> TransactionResponse primary_payment_transaction(content_type, client_request_id, api_key, timestamp, primary_transaction, opts)
|
74
|
+
# **submit_primary_transaction**
|
75
|
+
> TransactionResponse submit_primary_transaction(content_type, client_request_id, api_key, timestamp, primary_transaction, opts)
|
141
76
|
|
142
77
|
Generate a primary transaction.
|
143
78
|
|
144
|
-
Use this to originate a financial transaction
|
79
|
+
Use this to originate a financial transaction like a sale, preauthorization, or credit.
|
145
80
|
|
146
81
|
### Example
|
147
82
|
```ruby
|
@@ -149,22 +84,22 @@ Use this to originate a financial transaction, like a sale, preauthorization, or
|
|
149
84
|
require 'openapi_client'
|
150
85
|
|
151
86
|
api_instance = OpenapiClient::PaymentApi.new
|
152
|
-
content_type = 'application/json' # String |
|
87
|
+
content_type = 'application/json' # String | Content type.
|
153
88
|
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.
|
154
|
-
api_key = 'api_key_example' # String |
|
89
|
+
api_key = 'api_key_example' # String | Key given to merchant after boarding associating their requests with the appropriate app in Apigee.
|
155
90
|
timestamp = 56 # Integer | Epoch timestamp in milliseconds in the request from a client system. Used for Message Signature generation and time limit (5 mins).
|
156
|
-
primary_transaction = OpenapiClient::PrimaryTransaction.new # PrimaryTransaction |
|
91
|
+
primary_transaction = OpenapiClient::PrimaryTransaction.new # PrimaryTransaction | Accepted request types: AliPaySaleTransaction, ChinaPnRSaleTransaction, PaymentCardCreditTransaction, PaymentCardForcedTicketTransaction, PaymentCardSaleTransaction, PaymentCardPreAuthTransaction, PaymentCardPayerAuthTransaction, PaymentTokenCreditTransaction, PaymentTokenPreAuthTransaction, PaymentTokenSaleTransaction, PaypalCreditTransaction, and SepaSaleTransaction.
|
157
92
|
opts = {
|
158
|
-
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
|
159
|
-
region: 'region_example' # String |
|
93
|
+
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.
|
94
|
+
region: 'region_example' # String | Indicates the region where the client wants the transaction to be processed. This will override the default processing region identified for the client. Available options are argentina, brazil, germany, india and northamerica. Region specific store setup and APIGEE boarding is required in order to use an alternate region for processing.
|
160
95
|
}
|
161
96
|
|
162
97
|
begin
|
163
98
|
#Generate a primary transaction.
|
164
|
-
result = api_instance.
|
99
|
+
result = api_instance.submit_primary_transaction(content_type, client_request_id, api_key, timestamp, primary_transaction, opts)
|
165
100
|
p result
|
166
101
|
rescue OpenapiClient::ApiError => e
|
167
|
-
puts "Exception when calling PaymentApi->
|
102
|
+
puts "Exception when calling PaymentApi->submit_primary_transaction: #{e}"
|
168
103
|
end
|
169
104
|
```
|
170
105
|
|
@@ -172,13 +107,13 @@ end
|
|
172
107
|
|
173
108
|
Name | Type | Description | Notes
|
174
109
|
------------- | ------------- | ------------- | -------------
|
175
|
-
**content_type** | **String**|
|
110
|
+
**content_type** | **String**| Content type. | [default to 'application/json']
|
176
111
|
**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. |
|
177
|
-
**api_key** | **String**|
|
112
|
+
**api_key** | **String**| Key given to merchant after boarding associating their requests with the appropriate app in Apigee. |
|
178
113
|
**timestamp** | **Integer**| Epoch timestamp in milliseconds in the request from a client system. Used for Message Signature generation and time limit (5 mins). |
|
179
|
-
**primary_transaction** | [**PrimaryTransaction**](PrimaryTransaction.md)|
|
180
|
-
**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
|
181
|
-
**region** | **String**|
|
114
|
+
**primary_transaction** | [**PrimaryTransaction**](PrimaryTransaction.md)| Accepted request types: AliPaySaleTransaction, ChinaPnRSaleTransaction, PaymentCardCreditTransaction, PaymentCardForcedTicketTransaction, PaymentCardSaleTransaction, PaymentCardPreAuthTransaction, PaymentCardPayerAuthTransaction, PaymentTokenCreditTransaction, PaymentTokenPreAuthTransaction, PaymentTokenSaleTransaction, PaypalCreditTransaction, and SepaSaleTransaction. |
|
115
|
+
**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]
|
116
|
+
**region** | **String**| Indicates the region where the client wants the transaction to be processed. This will override the default processing region identified for the client. Available options are argentina, brazil, germany, india and northamerica. Region specific store setup and APIGEE boarding is required in order to use an alternate region for processing. | [optional]
|
182
117
|
|
183
118
|
### Return type
|
184
119
|
|
@@ -195,12 +130,12 @@ No authorization required
|
|
195
130
|
|
196
131
|
|
197
132
|
|
198
|
-
# **
|
199
|
-
> TransactionResponse
|
133
|
+
# **submit_secondary_transaction**
|
134
|
+
> TransactionResponse submit_secondary_transaction(content_type, client_request_id, api_key, timestamp, transaction_id, secondary_transaction, opts)
|
200
135
|
|
201
|
-
|
136
|
+
Perform a secondary transaction.
|
202
137
|
|
203
|
-
Use this to return
|
138
|
+
Use this to perform a void, postAuth or return secondary transaction. Partial postAuths and returns are allowed.
|
204
139
|
|
205
140
|
### Example
|
206
141
|
```ruby
|
@@ -208,24 +143,24 @@ Use this to return/refund an existing transaction. Partial returns are allowed.
|
|
208
143
|
require 'openapi_client'
|
209
144
|
|
210
145
|
api_instance = OpenapiClient::PaymentApi.new
|
211
|
-
content_type = 'application/json' # String |
|
146
|
+
content_type = 'application/json' # String | Content type.
|
212
147
|
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.
|
213
|
-
api_key = 'api_key_example' # String |
|
148
|
+
api_key = 'api_key_example' # String | Key given to merchant after boarding associating their requests with the appropriate app in Apigee.
|
214
149
|
timestamp = 56 # Integer | Epoch timestamp in milliseconds in the request from a client system. Used for Message Signature generation and time limit (5 mins).
|
215
|
-
transaction_id = 'transaction_id_example' # String | Gateway transaction identifier as returned in the parameter ipgTransactionId
|
216
|
-
secondary_transaction = OpenapiClient::SecondaryTransaction.new # SecondaryTransaction |
|
150
|
+
transaction_id = 'transaction_id_example' # String | Gateway transaction identifier as returned in the parameter ipgTransactionId.
|
151
|
+
secondary_transaction = OpenapiClient::SecondaryTransaction.new # SecondaryTransaction | Accepted request types: PostAuthTransaction, VoidTransaction, and ReturnTransaction.
|
217
152
|
opts = {
|
218
|
-
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
|
219
|
-
region: 'region_example', # String |
|
220
|
-
store_id: 'store_id_example' # String | An optional outlet ID for clients that support multiple stores in the same developer app
|
153
|
+
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.
|
154
|
+
region: 'region_example', # String | Indicates the region where the client wants the transaction to be processed. This will override the default processing region identified for the client. Available options are argentina, brazil, germany, india and northamerica. Region specific store setup and APIGEE boarding is required in order to use an alternate region for processing.
|
155
|
+
store_id: 'store_id_example' # String | An optional outlet ID for clients that support multiple stores in the same developer app.
|
221
156
|
}
|
222
157
|
|
223
158
|
begin
|
224
|
-
#
|
225
|
-
result = api_instance.
|
159
|
+
#Perform a secondary transaction.
|
160
|
+
result = api_instance.submit_secondary_transaction(content_type, client_request_id, api_key, timestamp, transaction_id, secondary_transaction, opts)
|
226
161
|
p result
|
227
162
|
rescue OpenapiClient::ApiError => e
|
228
|
-
puts "Exception when calling PaymentApi->
|
163
|
+
puts "Exception when calling PaymentApi->submit_secondary_transaction: #{e}"
|
229
164
|
end
|
230
165
|
```
|
231
166
|
|
@@ -233,15 +168,15 @@ end
|
|
233
168
|
|
234
169
|
Name | Type | Description | Notes
|
235
170
|
------------- | ------------- | ------------- | -------------
|
236
|
-
**content_type** | **String**|
|
171
|
+
**content_type** | **String**| Content type. | [default to 'application/json']
|
237
172
|
**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. |
|
238
|
-
**api_key** | **String**|
|
173
|
+
**api_key** | **String**| Key given to merchant after boarding associating their requests with the appropriate app in Apigee. |
|
239
174
|
**timestamp** | **Integer**| Epoch timestamp in milliseconds in the request from a client system. Used for Message Signature generation and time limit (5 mins). |
|
240
|
-
**transaction_id** | **String**| Gateway transaction identifier as returned in the parameter ipgTransactionId |
|
241
|
-
**secondary_transaction** | [**SecondaryTransaction**](SecondaryTransaction.md)|
|
242
|
-
**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
|
243
|
-
**region** | **String**|
|
244
|
-
**store_id** | **String**| An optional outlet ID for clients that support multiple stores in the same developer app | [optional]
|
175
|
+
**transaction_id** | **String**| Gateway transaction identifier as returned in the parameter ipgTransactionId. |
|
176
|
+
**secondary_transaction** | [**SecondaryTransaction**](SecondaryTransaction.md)| Accepted request types: PostAuthTransaction, VoidTransaction, and ReturnTransaction. |
|
177
|
+
**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]
|
178
|
+
**region** | **String**| Indicates the region where the client wants the transaction to be processed. This will override the default processing region identified for the client. Available options are argentina, brazil, germany, india and northamerica. Region specific store setup and APIGEE boarding is required in order to use an alternate region for processing. | [optional]
|
179
|
+
**store_id** | **String**| An optional outlet ID for clients that support multiple stores in the same developer app. | [optional]
|
245
180
|
|
246
181
|
### Return type
|
247
182
|
|
@@ -271,15 +206,15 @@ Use this query to get the current state of an existing transaction.
|
|
271
206
|
require 'openapi_client'
|
272
207
|
|
273
208
|
api_instance = OpenapiClient::PaymentApi.new
|
274
|
-
content_type = 'application/json' # String |
|
209
|
+
content_type = 'application/json' # String | Content type.
|
275
210
|
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.
|
276
|
-
api_key = 'api_key_example' # String |
|
211
|
+
api_key = 'api_key_example' # String | Key given to merchant after boarding associating their requests with the appropriate app in Apigee.
|
277
212
|
timestamp = 56 # Integer | Epoch timestamp in milliseconds in the request from a client system. Used for Message Signature generation and time limit (5 mins).
|
278
|
-
transaction_id = 'transaction_id_example' # String | Gateway transaction identifier as returned in the parameter ipgTransactionId
|
213
|
+
transaction_id = 'transaction_id_example' # String | Gateway transaction identifier as returned in the parameter ipgTransactionId.
|
279
214
|
opts = {
|
280
|
-
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
|
281
|
-
region: 'region_example', # String |
|
282
|
-
store_id: 'store_id_example' # String | An optional outlet ID for clients that support multiple stores in the same developer app
|
215
|
+
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.
|
216
|
+
region: 'region_example', # String | Indicates the region where the client wants the transaction to be processed. This will override the default processing region identified for the client. Available options are argentina, brazil, germany, india and northamerica. Region specific store setup and APIGEE boarding is required in order to use an alternate region for processing.
|
217
|
+
store_id: 'store_id_example' # String | An optional outlet ID for clients that support multiple stores in the same developer app.
|
283
218
|
}
|
284
219
|
|
285
220
|
begin
|
@@ -295,75 +230,14 @@ end
|
|
295
230
|
|
296
231
|
Name | Type | Description | Notes
|
297
232
|
------------- | ------------- | ------------- | -------------
|
298
|
-
**content_type** | **String**|
|
299
|
-
**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. |
|
300
|
-
**api_key** | **String**| |
|
301
|
-
**timestamp** | **Integer**| Epoch timestamp in milliseconds in the request from a client system. Used for Message Signature generation and time limit (5 mins). |
|
302
|
-
**transaction_id** | **String**| Gateway transaction identifier as returned in the parameter ipgTransactionId |
|
303
|
-
**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]
|
304
|
-
**region** | **String**| The region where client wants to process the transaction | [optional]
|
305
|
-
**store_id** | **String**| An optional outlet ID for clients that support multiple stores in the same developer app | [optional]
|
306
|
-
|
307
|
-
### Return type
|
308
|
-
|
309
|
-
[**TransactionResponse**](TransactionResponse.md)
|
310
|
-
|
311
|
-
### Authorization
|
312
|
-
|
313
|
-
No authorization required
|
314
|
-
|
315
|
-
### HTTP request headers
|
316
|
-
|
317
|
-
- **Content-Type**: Not defined
|
318
|
-
- **Accept**: application/json
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
# **void_transaction**
|
323
|
-
> TransactionResponse void_transaction(content_type, client_request_id, api_key, timestamp, transaction_id, opts)
|
324
|
-
|
325
|
-
Reverse a previous action on an existing transaction.
|
326
|
-
|
327
|
-
Use this to reverse a postauth/completion, credit, preauth, or sale.
|
328
|
-
|
329
|
-
### Example
|
330
|
-
```ruby
|
331
|
-
# load the gem
|
332
|
-
require 'openapi_client'
|
333
|
-
|
334
|
-
api_instance = OpenapiClient::PaymentApi.new
|
335
|
-
content_type = 'application/json' # String | content type
|
336
|
-
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.
|
337
|
-
api_key = 'api_key_example' # String |
|
338
|
-
timestamp = 56 # Integer | Epoch timestamp in milliseconds in the request from a client system. Used for Message Signature generation and time limit (5 mins).
|
339
|
-
transaction_id = 'transaction_id_example' # String | Gateway transaction identifier as returned in the parameter ipgTransactionId
|
340
|
-
opts = {
|
341
|
-
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.
|
342
|
-
region: 'region_example', # String | The region where client wants to process the transaction
|
343
|
-
store_id: 'store_id_example' # String | An optional outlet ID for clients that support multiple stores in the same developer app
|
344
|
-
}
|
345
|
-
|
346
|
-
begin
|
347
|
-
#Reverse a previous action on an existing transaction.
|
348
|
-
result = api_instance.void_transaction(content_type, client_request_id, api_key, timestamp, transaction_id, opts)
|
349
|
-
p result
|
350
|
-
rescue OpenapiClient::ApiError => e
|
351
|
-
puts "Exception when calling PaymentApi->void_transaction: #{e}"
|
352
|
-
end
|
353
|
-
```
|
354
|
-
|
355
|
-
### Parameters
|
356
|
-
|
357
|
-
Name | Type | Description | Notes
|
358
|
-
------------- | ------------- | ------------- | -------------
|
359
|
-
**content_type** | **String**| content type | [default to 'application/json']
|
233
|
+
**content_type** | **String**| Content type. | [default to 'application/json']
|
360
234
|
**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. |
|
361
|
-
**api_key** | **String**|
|
235
|
+
**api_key** | **String**| Key given to merchant after boarding associating their requests with the appropriate app in Apigee. |
|
362
236
|
**timestamp** | **Integer**| Epoch timestamp in milliseconds in the request from a client system. Used for Message Signature generation and time limit (5 mins). |
|
363
|
-
**transaction_id** | **String**| Gateway transaction identifier as returned in the parameter ipgTransactionId |
|
364
|
-
**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
|
365
|
-
**region** | **String**|
|
366
|
-
**store_id** | **String**| An optional outlet ID for clients that support multiple stores in the same developer app | [optional]
|
237
|
+
**transaction_id** | **String**| Gateway transaction identifier as returned in the parameter ipgTransactionId. |
|
238
|
+
**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]
|
239
|
+
**region** | **String**| Indicates the region where the client wants the transaction to be processed. This will override the default processing region identified for the client. Available options are argentina, brazil, germany, india and northamerica. Region specific store setup and APIGEE boarding is required in order to use an alternate region for processing. | [optional]
|
240
|
+
**store_id** | **String**| An optional outlet ID for clients that support multiple stores in the same developer app. | [optional]
|
367
241
|
|
368
242
|
### Return type
|
369
243
|
|
data/docs/PaymentCard.md
CHANGED
@@ -3,17 +3,14 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**number** | **String** | Payment card number |
|
6
|
+
**number** | **String** | Payment card number. |
|
7
7
|
**expiry_date** | [**Expiration**](Expiration.md) | | [optional]
|
8
|
-
**security_code** | **String** | Card
|
9
|
-
**
|
10
|
-
**
|
11
|
-
**
|
12
|
-
**
|
13
|
-
**
|
14
|
-
**
|
15
|
-
**last4** | **String** | The last 4 payment card numbers | [optional]
|
16
|
-
**brand** | **String** | Optional, required only if using dual branded card | [optional]
|
17
|
-
**issuing_country** | **String** | The issuing country | [optional]
|
8
|
+
**security_code** | **String** | Card verification value/number. | [optional]
|
9
|
+
**card_function** | [**CardFunction**](CardFunction.md) | | [optional]
|
10
|
+
**cardholder_name** | **String** | Name of the cardholder. | [optional]
|
11
|
+
**authentication** | [**Authentication**](Authentication.md) | | [optional]
|
12
|
+
**bin** | **String** | The payment card BIN. | [optional]
|
13
|
+
**last4** | **String** | The last 4 numbers of a payment card. | [optional]
|
14
|
+
**brand** | **String** | Required only if using dual branded card. | [optional]
|
18
15
|
|
19
16
|
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# OpenapiClient::PaymentCardCreditTransaction
|
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** | [**PaymentCardPaymentMethod**](PaymentCardPaymentMethod.md) | |
|
13
|
+
**currency_conversion** | [**CurrencyConversion**](CurrencyConversion.md) | | [optional]
|
14
|
+
|
15
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# OpenapiClient::PaymentCardForcedTicketTransaction
|
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** | [**PaymentCardPaymentMethod**](PaymentCardPaymentMethod.md) | |
|
13
|
+
**reference_number** | **String** | Stores the six-digit reference number you have received as the result of a successful external authorization (e.g. by phone). The gateway needs this number for uniquely mapping a ForcedTicket transaction to a previously performed external authorization. |
|
14
|
+
|
15
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# OpenapiClient::PaymentCardPayerAuthTransaction
|
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** | [**PaymentCardPaymentMethod**](PaymentCardPaymentMethod.md) | |
|
13
|
+
**currency_conversion** | [**CurrencyConversion**](CurrencyConversion.md) | | [optional]
|
14
|
+
|
15
|
+
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# OpenapiClient::PaymentCardPaymentMethod
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**payment_card** | [**PaymentCard**](PaymentCard.md) | |
|
7
|
+
**payment_facilitator** | [**PaymentFacilitator**](PaymentFacilitator.md) | | [optional]
|
8
|
+
|
9
|
+
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# OpenapiClient::PaymentCardPaymentTokenizationRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**request_type** | **String** | Object name of tokenization request. |
|
7
|
+
**store_id** | **String** | An optional outlet ID for clients that support multiple stores in the same app. | [optional]
|
8
|
+
**billing_address** | [**Address**](Address.md) | | [optional]
|
9
|
+
**create_token** | [**CreatePaymentToken**](CreatePaymentToken.md) | |
|
10
|
+
**account_verification** | **BOOLEAN** | If the account should be verified prior to token creation. | [optional] [default to false]
|
11
|
+
**payment_card** | [**PaymentCard**](PaymentCard.md) | |
|
12
|
+
|
13
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# OpenapiClient::PaymentCardPreAuthTransaction
|
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** | [**PaymentCardPaymentMethod**](PaymentCardPaymentMethod.md) | |
|
13
|
+
**stored_credentials** | [**StoredCredential**](StoredCredential.md) | | [optional]
|
14
|
+
**create_token** | [**CreatePaymentToken**](CreatePaymentToken.md) | | [optional]
|
15
|
+
**split_shipment** | [**SplitShipment**](SplitShipment.md) | | [optional]
|
16
|
+
**settlement_split** | [**Array<SubMerchantSplit>**](SubMerchantSplit.md) | Settle with multiple sub-merchants, sale and preAuth only. | [optional]
|
17
|
+
|
18
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# OpenapiClient::PaymentCardSaleTransaction
|
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** | [**PaymentCardPaymentMethod**](PaymentCardPaymentMethod.md) | |
|
13
|
+
**stored_credentials** | [**StoredCredential**](StoredCredential.md) | | [optional]
|
14
|
+
**settlement_split** | [**Array<SubMerchantSplit>**](SubMerchantSplit.md) | Settle with multiple sub-merchants, sale and preAuth only. | [optional]
|
15
|
+
**create_token** | [**CreatePaymentToken**](CreatePaymentToken.md) | | [optional]
|
16
|
+
**currency_conversion** | [**CurrencyConversion**](CurrencyConversion.md) | | [optional]
|
17
|
+
|
18
|
+
|
data/docs/PaymentFacilitator.md
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**external_merchant_id** | **String** | External
|
7
|
-
**payment_facilitator_id** | **String** | Payment
|
8
|
-
**sale_organization_id** | **String** | Independent
|
9
|
-
**name** | **String** | Payment facilitator
|
6
|
+
**external_merchant_id** | **String** | External merchant ID of the payment facilitator. |
|
7
|
+
**payment_facilitator_id** | **String** | Payment facilitator ID supplied during boarding. |
|
8
|
+
**sale_organization_id** | **String** | Independent sales organization (ISO) ID provided by Mastercard. | [optional]
|
9
|
+
**name** | **String** | Payment facilitator name. |
|
10
10
|
**sub_merchant_data** | [**SubMerchantData**](SubMerchantData.md) | | [optional]
|
11
11
|
|
12
12
|
|
data/docs/PaymentMethod.md
CHANGED
@@ -3,12 +3,5 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**type** | **String** | The type of payment method. Note that PayPal can only process a 'CREDIT' transaction. Note that for requests we are now supporting only PAYMENT_CARD, SEPA, PAYPAL, ALIPAY. All this types are supported for response. |
|
7
|
-
**payment_card** | [**PaymentCard**](PaymentCard.md) | | [optional]
|
8
|
-
**payment_token** | [**PaymentTokenization**](PaymentTokenization.md) | | [optional]
|
9
|
-
**sepa** | [**Sepa**](Sepa.md) | | [optional]
|
10
|
-
**pay_pal** | [**PayPal**](PayPal.md) | | [optional]
|
11
|
-
**ali_pay** | [**AliPay**](AliPay.md) | | [optional]
|
12
|
-
**china_domestic** | [**ChinaDomestic**](ChinaDomestic.md) | | [optional]
|
13
6
|
|
14
7
|
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# OpenapiClient::PaymentMethodDetails
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**payment_card** | [**PaymentCard**](PaymentCard.md) | | [optional]
|
7
|
+
**payment_method_type** | [**PaymentMethodType**](PaymentMethodType.md) | | [optional]
|
8
|
+
|
9
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# OpenapiClient::PaymentMethodPaymentSchedulesRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**request_type** | **String** | Object name of the payment schedules request. |
|
7
|
+
**store_id** | **String** | Store ID number. | [optional]
|
8
|
+
**start_date** | **Date** | Date of mandate signature. |
|
9
|
+
**number_of_payments** | **Integer** | Number of times the recurring payment will process. | [optional]
|
10
|
+
**maximum_failures** | **Integer** | Number of failures that can be encountered before re-tries cease. | [optional]
|
11
|
+
**invoice_number** | **String** | Invoice number. | [optional]
|
12
|
+
**purchase_order_number** | **String** | Purchase order number. | [optional]
|
13
|
+
**transaction_origin** | [**TransactionOrigin**](TransactionOrigin.md) | | [optional]
|
14
|
+
**dynamic_merchant_name** | **String** | Dynamic merchant name for the cardholder's statement. | [optional]
|
15
|
+
**frequency** | [**Frequency**](Frequency.md) | |
|
16
|
+
**transaction_amount** | [**Amount**](Amount.md) | |
|
17
|
+
**client_locale** | [**ClientLocale**](ClientLocale.md) | | [optional]
|
18
|
+
**order_id** | **String** | Client order ID if supplied by client. | [optional]
|
19
|
+
**billing** | [**Billing**](Billing.md) | | [optional]
|
20
|
+
**shipping** | [**Shipping**](Shipping.md) | | [optional]
|
21
|
+
**comments** | **String** | User supplied comments. | [optional]
|
22
|
+
**payment_method** | [**PaymentCardPaymentMethod**](PaymentCardPaymentMethod.md) | |
|
23
|
+
|
24
|
+
|
data/docs/PaymentPayMethod.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**method_id** | **String** | The unique ID of this payment method if it was previously registered with a registration/method or if it is currently being registered. Must be unique for the entire system (not just within a specific merchant or industry). Mandatory if being used inside a registration/method. | [optional]
|
8
8
|
**method_alias** | **String** | The address that should be used to send billing information for this payment method. | [optional]
|
9
9
|
**card** | [**Card**](Card.md) | |
|
10
|
-
**provider** | **String** | The
|
10
|
+
**provider** | **String** | The wallet provider. This field should be normalized before sending through the API. | [optional]
|
11
11
|
**user_defined** | [**Object**](.md) | A JSON object that can carry any additional information about the method that might be helpful for fraud detection. | [optional]
|
12
12
|
|
13
13
|
|