Log in
Interface

PaymentSdkRequestInterface

Magento\PaymentServicesPaypal\Api\PaymentSdkRequestInterface

What it does

This interface defines methods for retrieving PayPal Payment SDK configuration URLs and parameters through Magento's REST API.

Developers use it to fetch SDK initialization data either for all payment methods at a specific location (checkout, cart, product page) or for a specific payment method at a location.

It's primarily used when integrating PayPal payment buttons and widgets into frontend components.

Public Methods

  • getByLocation()
  • getByLocationAndMethodCode()