Skip to main content
PUT
Update substatus
PUT///
Updating a substatus registers a new event that changes the substatus’ state.

URL path parameters

Request body

Sample request body

JSON

Response body

Sample response body

JSON

Authorizations

Authorization
string
header
required

Token used to verify user identity and also authorize user to use service

Path Parameters

substatus_token
string
required

Unique identifier of the account substatus resource to retrieve.

Send a GET request to /credit/substatuses to retrieve existing substatus tokens.

Body

application/json

Contains information relevant to deactivating a substatus.

state
enum<string>
required

New state of the substatus.

  • INACTIVE is a valid state for substatuses HARDSHIP, FRAUD, MLA, SCRA, DECEASED, BLOCKED, CEASE_AND_DESIST, OPT_OUT, DO_NOT_CALL, DO_NOT_TEXT, SETTLEMENT_PROGRAM, DEBT_SETTLEMENT_AGENCY, NATURAL_DISASTER, DEBT_VALIDATION, and POWER_OF_ATTORNEY.
  • DECEASED_CONFIRMED is a valid state for substatus DECEASED.
  • FRAUD_CONFIRMED is a valid state for substatus FRAUD.
  • BANKRUPTCY_FILED, BANKRUPTCY_WITHDRAWN, BANKRUPTCY_REAFFIRMED, BANKRUPTCY_REAFFIRM_RESCINDED, BANKRUPTCY_DISCHARGED, BANKRUPTCY_DISMISSED, BANKRUPTCY_PENDING_INACTIVE, BANKRUPTCY_FILED_INACTIVE, BANKRUPTCY_WITHDRAWN_INACTIVE, BANKRUPTCY_REAFFIRMED_INACTIVE, BANKRUPTCY_REAFFIRM_RESCINDED_INACTIVE, BANKRUPTCY_DISCHARGED_INACTIVE, and BANKRUPTCY_DISMISSED_INACTIVE states are applicable to BANKRUPTCY.
Available options:
INACTIVE,
BANKRUPTCY_FILED,
BANKRUPTCY_PENDING_INACTIVE,
BANKRUPTCY_WITHDRAWN,
BANKRUPTCY_REAFFIRMED,
BANKRUPTCY_REAFFIRM_RESCINDED,
BANKRUPTCY_DISCHARGED,
BANKRUPTCY_DISMISSED,
BANKRUPTCY_FILED_INACTIVE,
BANKRUPTCY_WITHDRAWN_INACTIVE,
BANKRUPTCY_REAFFIRMED_INACTIVE,
BANKRUPTCY_REAFFIRM_RESCINDED_INACTIVE,
BANKRUPTCY_DISCHARGED_INACTIVE,
BANKRUPTCY_DISMISSED_INACTIVE,
DECEASED_CONFIRMED,
FRAUD_CONFIRMED
reason
string

Reason for applying the state to the substatus.

Required string length: 1 - 255
channel
enum<string>

The mechanism by which a state designation was applied to a substatus. If no value is set, then it defaults to API.

  • ADMIN - Indicates that the state of the substatus was added through the Marqeta Dashboard.
  • API - Indicates that you initiated the update of the substatus through the Core API. Use this value when creating a card transition with an API POST request.
  • FRAUD - Indicates that either Marqeta or the card network has determined that the account is fraudulent.
  • SYSTEM - Indicates that the substatus update was initiated by Marqeta. For example, Marqeta determined during application decisioning that the applicant is MLA.
Available options:
ADMIN,
API,
FRAUD,
SYSTEM
attributes
SubstatusUpdateReqAttributes · object[]

Additional attributes to store with the substatus when it moves to the new state. Only the states listed below accept attributes, and each state accepts only its own keys.

  • Some programs require petition_date, discharge_date and deceased_certificate_received_at when moving to their state. A required attribute that is already stored does not need to be sent again.
  • An attribute is set once. Sending the stored value again has no effect; sending a different value returns 400.
  • Attributes stay on the substatus when a state is undone (for example BANKRUPTCY_DISCHARGED_INACTIVE) and cannot be changed afterwards.
  • Dates are stored in UTC.
created_by
string

User who created the substatus event.

Maximum string length: 255
effective_date
string<date-time>

Date and time when the state of the substatus is effective, in UTC.

Response

Updated substatus response.

Contains information about the substatus.

state
enum<string>
required

Current state of the substatus.

Available options:
ACTIVE,
INACTIVE,
DECEASED_REPORTED,
DECEASED_CONFIRMED,
FRAUD_REPORTED,
FRAUD_CONFIRMED,
BANKRUPTCY_PENDING,
BANKRUPTCY_PENDING_INACTIVE,
BANKRUPTCY_FILED,
BANKRUPTCY_WITHDRAWN,
BANKRUPTCY_REAFFIRMED,
BANKRUPTCY_REAFFIRM_RESCINDED,
BANKRUPTCY_DISCHARGED,
BANKRUPTCY_DISMISSED,
BANKRUPTCY_FILED_INACTIVE,
BANKRUPTCY_WITHDRAWN_INACTIVE,
BANKRUPTCY_REAFFIRMED_INACTIVE,
BANKRUPTCY_REAFFIRM_RESCINDED_INACTIVE,
BANKRUPTCY_DISCHARGED_INACTIVE,
BANKRUPTCY_DISMISSED_INACTIVE
token
string
required

Unique identifier of the credit substatus.

Maximum string length: 36
is_active
boolean
required

Denotes whether a substatus is active.

substatus
string
required

Type of substatus.

Maximum string length: 36
resource_type
enum<string>
required

Type of resource to which the substatus is applied.

Available options:
ACCOUNT,
USER,
BUSINESS
resource_token
string
required

Unique identifier of the resource.

Maximum string length: 36
events
object[]

List of events related to the substatus.

attributes
SubstatusResponseAttributes · object[]

Additional dynamic attributes related to the substatus.

If the substatus is BANKRUPTCY, SCRA, or POWER_OF_ATTORNEY, then attributes are present. A DECEASED substatus has attributes if they were sent when it moved to DECEASED_CONFIRMED.

created_time
string<date-time>

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

updated_time
string<date-time>

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