/
5 minute read
June 24, 2022

Fraud Feedback (Beta)

Hidden

Use the /feedback endpoint to create fraud feedback request that informs the Real-Time Decisioning risk model whether an approved transaction was confirmed to be fraud.

Note
This feature is currently in beta and subject to change. It also requires additional activation steps. To learn more about the Beta program for this feature and about activating it for your program, contact your Marqeta representative.

For more on Real-Time Decisioning, see Real-Time Decisioning Overview.

Create fraud feedback

Request feedback on whether an approved transaction was confirmed to be fraud.

Action: POST
Endpoint: /feedback

Body field details (request)
Fields Description

transaction_token

string
Required

The transaction token.

Allowable Values:

min: 3, max: 64

is_fraud

boolean
Required

Indicates whether the transaction has been determined to be fraud.

Allowable Values:

true, false

status

string
Required

The fraud status.

Allowable Values:

CONFIRMED, DISPUTED

actor

string
Required

The party making a call.

Allowable Values:

UNKNOWN, THIRD_PARTY_FRAUD, CARD_USER_FRAUD

amount

string
Required

The amount of the transaction.

Allowable Values:

A valid transaction amount.

Sample request body
JSON
Copied

Is this helpful?

Yes
No
Feedback response

Returns a response code and message from the feedback request.

For a successful request:

200, Fraud feedback is created successfully.

Fields Description

Message from the feedback request.

string
Returned

The message.

Allowable Values:

maxLength: 256

Response errors
Error code Description

400

Bad request.

401

Unauthorized.

403

Forbidden.

500

Internal server.

Sample response
JSON
Copied

Is this helpful?

Yes
No

Ping fraud feedback

Check the health of feedback endpoint.

Action: POST
Endpoint: /feedback/ping

Response
Fields Description

pingresponse

string
Returned

The message.

Allowable Values:

min: 3, max: 64

Sample response
JSON
Copied

Is this helpful?

Yes
No
Join our developer newsletter