Skip to main content
GET
Retrieve account adjustment
GET/////
Retrieve an adjustment for a credit account.

URL path parameters

Response body

Sample response body

JSON

Path Parameters

account_token
string
required

Unique identifier of the credit account for which you want to retrieve an adjustment.

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

adjustment_token
string
required

Unique identifier of the adjustment to retrieve.

Send a GET request to /credit/accounts/{account_token}/adjustments to retrieve existing account adjustment tokens.

Response

A JSON object containing account_adjustment information

Contains information returned for account adjustment.

type
enum<string>
required

Type of adjustment.

The adjustment is made on its correlating amount (for example, purchase adjustments are made on purchase amounts). You can use general adjustments for standalone adjustments made on the credit account balance itself, which includes account write-offs, credits, and more.

Available options:
PURCHASE,
FEE,
REWARD,
INTEREST,
GENERAL
token
string
required

Unique identifier of the adjustment.

If in the detail_object, unique identifier of the detail object.

amount
number
required

Amount of the adjustment.

reason
enum<string>
required

Reason for the adjustment.

  • DISPUTE - The adjustment occurred because a dispute was initiated.
  • DISPUTE_RESOLUTION - The adjustment occurred because of the result of a dispute resolution.
  • RETURNED_OR_CANCELED_PAYMENT - The adjustment occurred because a payment was returned or canceled.
  • LATE_FEE - The adjustment occurred because of a late fee.
  • OTHER - Any other reason the adjustment occurred. For example, a waived fee.
Available options:
DISPUTE,
DISPUTE_RESOLUTION,
RETURNED_OR_CANCELED_PAYMENT,
LATE_FEE,
OTHER
description
string
required

Description of the adjustment.

Minimum string length: 1
account_token
string
required

Unique identifier of the credit account on which the adjustment was made.

Maximum string length: 36
currency_code
enum<string>
default:USD
required

Valid three-digit link:https://www.iso.org/iso-4217-currency-codes.html[ISO 4217 currency code, window="_blank"].

Available options:
USD
source_account_type
enum<string>
required

The source account type.

Available options:
NETWORK,
SPONSOR_BANK,
MQ_RESERVE,
PROGRAM_FUNDING
note
string | null

Additional information on the adjustment.

created_time
string<date-time>

Date and time when the account adjustment was applied, in UTC.

detail_token
string | null

Unique identifier of the adjustment detail. For example, the token of the dispute, the interest charge, or the returned payment that prompted the adjustment.

Returned when the system automatically applies an adjustment.

Maximum string length: 36

Unique identifier of the dispute or returned payment that prompted the interest adjustment.

This field is returned for interest adjustments only.

Maximum string length: 36

Contains full details of the related dispute or returned payment.

The fields returned in this object depend on whether a dispute or returned payment led to the interest adjustment. A dispute returns dispute details; a returned payment returns payment details.

For more on the dispute details returned, see the <</core-api/credit-account-disputes#retrieveDispute, dispute response fields>>.

For more on the returned payment details returned, see the <</core-api/credit-account-payments#retrievePayment, payment response fields>>.

This field is returned for interest adjustments only.

external_adjustment_id
string<uuid> | null

Unique identifier you provide of an associated external adjustment that exists outside Marqeta's credit platform.

adjustment_detail_object
object | null

Contains the adjustment's full details.

The fields returned in this object depend on the adjustment type.

Interest returns interest details. For the specific fields returned, see the detail_object fields marked "Returned for interest journal entries" in the <</core-api/credit-account-journal-entries#getAccountJournalEntry, account journal entry response fields>>.

Disputes return dispute details. For the specific fields returned, see the <</core-api/credit-account-disputes#retrieveDispute, dispute response fields>>.

original_ledger_entry_token
string<uuid>

Unique identifier of the original journal entry needing the adjustment.