@plentymarkets/shop-api / doHandlePayPalFundingSources
Function: doHandlePayPalFundingSources() ​
doHandlePayPalFundingSources(
context
,params
):Promise
<Data
<PayPalOrderStatus
>>
Defined in: api/paypalModule/doHandlePayPalFundingSources/index.ts:21
Method doHandlePayPalFundingSources - Used to handle PayPal funding sources.
Parameters ​
context ​
PlentysystemsIntegrationContext
params ​
Returns ​
Promise
<Data
<PayPalOrderStatus
>>
Remarks ​
- Calls /rest/paypal/funding_sources/
- Method should be used to handle available funding sources for PayPal.
Example ​
ts
const { data } = await useSdk().plentysystems.doHandlePayPalFundingSources({ availableFundingSources: ['paypal': true] });