@plentymarkets/shop-api / getPayPalFraudId
Function: getPayPalFraudId() ​
getPayPalFraudId(
context):Promise<Data<PayPalFraudId>>
Defined in: api/paypalModule/getPayPalFraudId/index.ts:21
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' });