@plentymarkets/shop-api / doHandlePayPalPaymentFundingSources
Function: doHandlePayPalPaymentFundingSources() ​
doHandlePayPalPaymentFundingSources(
context,params):Promise<Data<[]>>
Defined in: api/doHandlePayPalPaymentFundingSources/index.ts:18
Method doHandlePayPalPaymentFundingSources - Used to update the availability for PayPal APMs.
Parameters ​
context ​
PlentysystemsIntegrationContext
params ​
PayPalAllowApplePayRequest
Returns ​
Promise<Data<[]>>
Remarks ​
- Calls /rest/payment/payPal/smart_payment/handle_founding_sources
- Used to update the availability for PayPal APMs.
Example ​
ts
const { data } = await useSdk().plentysystems.doHandlePayPalPaymentFoundingSources({
availableFoundingSources: Object.fromEntries(availableFoundingSources),
});