Skip to main content
PUT
Update account
PUT///
Update a credit account.

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

account_token
string
required

Unique identifier of the credit account to update.

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

Body

application/json
config
object

Contains information relevant for updating configurations for electronic disclosures, fees, payment holds, and minimum payment.

usages
object[]

Contains one or more usages objects that contain information on how a credit account is used and what types of balances are permitted on the account.

You can pass only one usages object per usages.type.

user_token
string

User token tied to the credit account. You can only update the value of the user token for business accounts.

credit_limit
object

Contains information on the credit limit.

apr_upper_limit
number

Maximum APR percentage value that can be applied to the credit account.

Required range: 0 <= x <= 100
latest_statement_cycle_type
enum<string>

Type of cycle.

  • BEGINNING_REVOLVING - Account is beginning to revolve and just started carrying a balance from the previous month.
  • REVOLVING - Account is revolving and has been carrying a balance from month to month for more than one month.
  • END_REVOLVING - Account is no longer revolving and the previous month's balance is paid off.
  • TRANSACTING - Account is not revolving and the balance is paid off each month.
  • NON_REVOLVING - Account never revolves; interest is not charged regardless of carried balance. Applies to charge card accounts.
Available options:
BEGINNING_REVOLVING,
REVOLVING,
END_REVOLVING,
TRANSACTING,
NON_REVOLVING

Response

A JSON object containing account information.

Contains information on a credit account.

type
enum<string>
required

Type of credit account.

Available options:
CONSUMER,
BUSINESS
token
string
required

Unique identifier of the credit account.

Maximum string length: 36
config
object
required

Contains information returned when configuring an account's billing cycle day, payment due day, fees, and more.

status
enum<string>
required

Status of the credit account.

Available options:
UNACTIVATED,
ACTIVE,
SUSPENDED,
TERMINATED,
CHARGE_OFF
created_time
string<date-time>
required

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

updated_time
string<date-time>
required

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

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
name
string

Name of the credit account.

usages
object[]

Contains one or more usages objects that contain information on how a credit account is used and what types of balances are permitted on the account. Optional for light responses.

user_token
string

Unique identifier of the primary account holder or an administrative user of a business account.

Either a user_token or business_token is returned, not both.

description
string

Description for the credit account.

substatuses
string[]

Substatuses of the credit account.

Substatus of the credit account.

bundle_token
string

Unique identifier of the associated bundle product.

credit_limit
number

Maximum balance the credit account can carry. Optional for light responses.

Required range: 0 < x <= 1000000
business_token
string

Unique identifier of the parent business program.

Either a user_token or business_token is returned, not both.

activation_time
string<date-time>

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

apr_upper_limit
number

Maximum APR percentage value that can be applied to the credit account.

Required range: 0 <= x <= 100
current_balance
number

Current purchase balance on the credit account. Optional for light responses.

pending_balance
number

Sum of all pending transactions that have been authorized but not yet settled on the credit account. Optional for light responses.

available_credit
number

Amount of credit available for use on the credit account. Optional for light responses.

user_substatuses
string[]

Substatuses of the users under the credit account.

Substatus of the user under the credit account.

external_offer_id
string

Unique identifier you provide of the associated external credit offer.

max_apr_schedules
object[]

Contains max_apr_schedule objects, which provide information about any temporary overrides of the APRs on the credit account. This could include special APR rates due to account/user substatus changes.

business_substatuses
string[]

Substatuses of the business under the credit account.

Substatus of the business under the credit account.

credit_product_token
string

Unique identifier of the associated credit product.

secured_account_token
string

Unique identifier of the secured account.

Maximum string length: 36
remaining_min_payment_due
number

Amount remaining on the latest statement's minimum payment after it is adjusted for payments, returned payments, and applicable credits that occurred after the latest statement's closing date. Optional for light responses.

latest_statement_cycle_type
enum<string>

Type of cycle.

  • BEGINNING_REVOLVING - Account is beginning to revolve and just started carrying a balance from the previous month.
  • REVOLVING - Account is revolving and has been carrying a balance from month to month for more than one month.
  • END_REVOLVING - Account is no longer revolving and the previous month's balance is paid off.
  • TRANSACTING - Account is not revolving and the balance is paid off each month.
  • NON_REVOLVING - Account never revolves; interest is not charged regardless of carried balance. Applies to charge card accounts.
Available options:
BEGINNING_REVOLVING,
REVOLVING,
END_REVOLVING,
TRANSACTING,
NON_REVOLVING
remaining_statement_balance
number

Amount remaining on the latest statement's balance after it is adjusted for payments, returned payments, and applicable credits that occurred after the latest statement's closing date. Optional for light responses.