Syntax

reportFraud( transaction_id, who, comment )

Reports the customer and/or the affiliate as a fraud.

Access rights

Full access required.

Arguments

transaction_id – the numeric ID of the fraud transaction

who – possible values are:

  • buyer – the buyer is reported as a fraud
  • affiliate – the affiliate is reported as a fraud
  • buyer,affiliate – both buyer and affiliate are reported as a fraud comment – Text, please explain here, why you think that this is a fraud order.

Return data

For reporting the buyer:

  • buyer_status – the success status as code (info, success, warning or failure)
  • buyer_message – the success or notification message as readable text.
  • buyer_code – the success or notification message as language-independent code: – created_entry = Report was accepted – rerequest = Report was already accepted – not_created = Report could not be accepted analogous for the messages of the Affilliate and affiliate_status, affiliate_message and affiliate_code