@plentymarkets/shop-api / getPayPalMerchantAndClientIds
Function: getPayPalMerchantAndClientIds() ​
getPayPalMerchantAndClientIds(
context
):Promise
<Data
<PayPalConfigResponse
>>
Method getPayPalMerchantAndClientIds - get PayPal data merchant id and client id
Parameters ​
• context: PlentysystemsIntegrationContext
Returns ​
Promise
<Data
<PayPalConfigResponse
>>
Remarks ​
- Calls the /rest/paypal/merchant_and_client_ids endpoint.
- This method is used to get the PayPal merchant id and client id.
Example ​
ts
const { data } = await useSdk().plentysystems.getPayPalMerchantAndClientIds();