Skip to main content

DraftFraudDisputeCaseInput

Input for creating a draft fraud dispute case

input DraftFraudDisputeCaseInput {
transactionIds: [ID!]!
fraudDetails: FraudDetailsInput
fraudCardDetails: FraudCardDetailsInput
fraudTransferDetails: FraudTransferDetailsInput
victimAccountMembershipId: ID
externalReference: String
}

Fields​

DraftFraudDisputeCaseInput.transactionIds ● [ID!]! non-null scalar​

IDs of the transactions reported as fraudulent. They must all belong to the same account, and card transactions to the same cardholder. Swan retrieves their details; they must not be repeated in this input. Only outgoing card transactions that are Booked (or Deferred on deferred-debit cards) and outgoing transfers that are Booked can be reported. Must be non-empty and contain no duplicates, otherwise BAD_USER_INPUT. Max: 100 transactions.

DraftFraudDisputeCaseInput.fraudDetails ● FraudDetailsInput input​

Fraud details, common to all reported transactions. Required before submission.

DraftFraudDisputeCaseInput.fraudCardDetails ● FraudCardDetailsInput input​

Card-specific details. Accepted only if the case includes at least one card transaction.

DraftFraudDisputeCaseInput.fraudTransferDetails ● FraudTransferDetailsInput input​

Transfer-specific details. Accepted only if at least one transaction is a transfer.

DraftFraudDisputeCaseInput.victimAccountMembershipId ● ID scalar​

Account membership of the fraud victim, on the case's account. Required before submission on a transfer-only case. Not accepted on a case with card transactions, where the victim is the cardholder. With a User access token, must be the caller's own account membership, unless the caller has canManageAccountMembership, otherwise AccountMembershipNotFoundRejection.

DraftFraudDisputeCaseInput.externalReference ● String scalar​

Your own reference for this report, stored for reconciliation on your side. Max length: 255 characters. Accepted characters: printable ASCII. Empty string returns BAD_USER_INPUT. Valid format (regex): /^[\x20-\x7E]{1,255}$/

Member Of​

draftFraudDisputeCase mutation