Skip to main content
POST
Create account dispute
POST////
Create a dispute of a journal entry on a credit account.

URL path parameters

Request body

Sample request body

JSON

Response body

Sample response body

JSON

Path Parameters

account_token
string
required

Unique identifier of the credit account for which to create a dispute.

Send a GET request to /credit/accounts to retrieve existing credit account tokens.

Body

application/json

Information about a transaction dispute creation request.

amount
number
required

Amount of the dispute. Max value is equal to the value of the original transaction.

Required range: x >= 0.01
category
enum<string>
required

Category to which the dispute belongs.

Available options:
FRAUD,
AUTH,
PROCESSING_ERROR,
CONSUMER_DISPUTE
ledger_entry_token
string<string>
required

Unique identifier of the journal entry (authorization.clearing type only) in dispute.

Maximum string length: 36
notes
string<string>

Additional information on the dispute (for example, a reason for the dispute).

Maximum string length: 750
token
string<string>

Unique identifier of the dispute.

Maximum string length: 36
Pattern: (?!^ +$)^.+$

Response

Expected response

Information about a transaction dispute response.

token
string<string>
required

Unique identifier of the dispute.

amount
number
required

Amount of the dispute.

status
enum<string>
required

Status of the dispute.

  • ACTIVE - The dispute is active and awaiting resolution.
  • REVERSED - The dispute has been reversed and is no longer active.
  • AH_WON - The account holder won the dispute.
  • AH_LOST - The account holder lost the dispute.
  • WRITE_OFF - The dispute was written off.
Available options:
ACTIVE,
REVERSED,
AH_WON,
AH_LOST,
REFUNDED,
WRITE_OFF
category
enum<string>
required

Category to which the dispute belongs.

Available options:
FRAUD,
AUTH,
PROCESSING_ERROR,
CONSUMER_DISPUTE
created_time
string<date-time>
required

Date and time when the dispute was created on Marqeta's credit platform, in UTC.

updated_time
string<date-time>
required

Date and time when the dispute was last updated on Marqeta's credit platform, in UTC.

account_token
string<string>
required

Unique identifier of the credit account on which the dispute was created.

Maximum string length: 36
ledger_entry_token
string<string>
required

Unique identifier of the journal entry (authorization.clearing type only) in dispute.

notes
string<string>

Additional information on the dispute (for example, a reason for the dispute).

resolved_at
string<date-time>

Date and time when the dispute was resolved and no longer in ACTIVE status.