Fraud Feedback
Use the /fraud_feedback
endpoint to create a fraud feedback request that informs the Real-Time Decisioning risk model whether an approved transaction was confirmed to be fraud.
For more on Real-Time Decisioning, see Real-Time Decisioning Overview.
Create fraud feedback
Copy section link
Create feedback on whether an approved transaction was confirmed to be fraud.
Action: POST
Endpoint: /fraud_feedback
Body field details (request)
Copy section link
Fields | Description |
---|---|
transaction
string
|
Unique identifier of the transaction. Allowable Values: Format: UUID |
program
string
|
The program short code on the Marqeta platform. Allowable Values: 255 char max |
is_fraud
boolean
|
Indicates whether the transaction has been determined to be fraud. Allowable Values: true, false |
status
string
|
The fraud status. Allowable Values: CONFIRMED, DISPUTED |
actor
string
|
The party making the call. Allowable Values: UNKNOWN, THIRD_PARTY_FRAUD, CARD_USER_FRAUD |
amount
string
|
The amount of the transaction. Allowable Values: A valid transaction amount. |
created_time
datetime
|
The date and time when the transaction was created, in UTC. Allowable Values: Format: yyyy-MM-ddTHH:mm:ssZ |
source
string
|
The source of the call. Allowable Values: API, REVIEW_MANAGER, NETWORK, HISTORICAL |
Feedback response
Copy section link
Returns a response code and message from the feedback request. For a successful request:
200 Fraud feedback is created successfully.
Fields | Description |
---|---|
message
string
|
The message from the feedback request. Allowable Values: maxLength: 256 |
Response errors
Copy section link
Error code | Description |
---|---|
400 |
Bad request. |
401 |
Unauthorized. |
403 |
Forbidden. |
500 |
Internal server. |