@plentymarkets/shop-api / getPayPalSettings
Function: getPayPalSettings() ​
getPayPalSettings(
context
):Promise
<Data
<PayPalSettings
>>
Defined in: api/paypalModule/getPayPalSettings/index.ts:21
Method getPayPalSettings - Used to get the PayPal settings including the fraud id.
Parameters ​
context ​
PlentysystemsIntegrationContext
Returns ​
Promise
<Data
<PayPalSettings
>>
Remarks ​
- Calls /rest/paypal/settings
- Method should be used to get the PayPal settings for the current store.
Example ​
ts
const { data } = await useSdk().plentysystems.getPayPalSettings();