Submit fraud feedback on completed transactions.
Feedback helps Marqeta's fraud models improve over time. Only supported on approved, non-JIT transactions.
Fraud Types
FIRST_PARTY_FRAUD, THIRD_PARTY_FRAUD, NOT_FRAUD
Summary
Functions
Creates a new fraud feedback.
Creates a new fraud feedback. Raises Marqeta.Error on failure.
Retrieves a fraud feedback by token.
Retrieves a fraud feedback by token. Raises Marqeta.Error on failure.
Functions
@spec create( map(), keyword() ) :: {:ok, map()} | {:error, Marqeta.Error.t()}
Creates a new fraud feedback.
Returns {:ok, map()} on success, {:error, %Marqeta.Error{}} on failure.
Creates a new fraud feedback. Raises Marqeta.Error on failure.
@spec get( String.t(), keyword() ) :: {:ok, map()} | {:error, Marqeta.Error.t()}
Retrieves a fraud feedback by token.
Returns {:ok, map()} on success, {:error, %Marqeta.Error{}} on failure.
Retrieves a fraud feedback by token. Raises Marqeta.Error on failure.