@plentymarkets/shop-api / doHandleAllowPaymentApplePay
Function: doHandleAllowPaymentApplePay() ​
doHandleAllowPaymentApplePay(
context
,params
):Promise
<Data
<[]>>
Method doHandleAllowPaymentApplePay - Used to allow payment for Apple Pay.
Parameters ​
• context: PlentysystemsIntegrationContext
• params: PayPalAllowApplePayRequest
PayPalAllowApplePayRequest
Returns ​
Promise
<Data
<[]>>
Remarks ​
- Calls /rest/payment/payPal/applePay/handle_allowed
- Used to update the availability for Apple Pay.
Example ​
ts
const { data } = await useSdk().plentysystems.doHandleAllowPaymentApplePay({
canMakePayments: true,
});