Class: MastercardMerchantCheckout::Api::PairingIdApi
- Inherits:
-
Object
- Object
- MastercardMerchantCheckout::Api::PairingIdApi
- Includes:
- MastercardCoreSdk::Client, MastercardCoreSdk::Core, MastercardCoreSdk::Exceptions, Tracker
- Defined in:
- lib/mastercard_merchant_checkout/api/pairing_id_api.rb
Class Method Summary collapse
-
.show(query_params, api_config = nil) ⇒ Pairing
PairingId Service Use this service to get a consumer’s pairing identifier from Masterpass when they choose to share the payment and shipping information from their Masterpass wallet for future use in an Express Checkout.
Class Method Details
.show(query_params, api_config = nil) ⇒ Pairing
PairingId Service Use this service to get a consumer’s pairing identifier from Masterpass when they choose to share the payment and shipping information from their Masterpass wallet for future use in an Express Checkout. API URL: /masterpass/pairingid
19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/mastercard_merchant_checkout/api/pairing_id_api.rb', line 19 def self.show(query_params, api_config = nil) path = "/masterpass/pairingid" service_request = ServiceRequest.new service_request.query_params = query_params service_request.content_type = "application/json" api_client = ApiClient.new(api_config) api_client.api_tracker = SdkApiTracker.new api_client.error_handler = ErrorHandler.new return api_client.call(path, service_request, "GET",Pairing) end |