@plentymarkets/shop-api / getPayPalFraudId
Function: getPayPalFraudId() ​
getPayPalFraudId(
context
):Promise
<Data
<PayPalFraudId
>>
Method getPayPalFraudId - Used to get the PayPal fraud id.
Parameters ​
• context: PlentysystemsIntegrationContext
Returns ​
Promise
<Data
<PayPalFraudId
>>
Remarks ​
- Calls /rest/paypal/fraud_id
- Method should be used to get the PayPal fraud id.
Example ​
ts
const { data } = await useSdk().plentysystems.getPayPalOrder({ paypalOrderId: 'paypal-123' });