Skip to main content
POST
Create credit product
POST//
Create a credit product.

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

Body

application/json

Specifies shared details for a credit program.

Once set to ACTIVE, cannot be edited or deleted.

name
string
required

Name of the credit product.

Maximum string length: 255
usage
enum<string>[]
required

One or more usage types for the credit product.

Minimum array length: 1

Type of balance.

  • PURCHASE - The balance on purchases.
  • CASH_ADVANCE - The balance on cash advances.
Available options:
PURCHASE,
CASH_ADVANCE
config
object
required

Contains information on configurations for billing cycle day, payment due day, and fees.

credit_line
object
required

Contains information on the credit line range.

product_type
enum<string>
default:REVOLVING
required

Type of credit product.

REVOLVING - Allows users to continuously borrow and pay debts up to the credit limit.

CHARGE_CARD - Requires the cardholder to pay the full statement balance each billing cycle. Gated per-program by the program.charge_card_enabled enrollment column; only enrolled programs may create or update products of this type.

Available options:
REVOLVING,
CHARGE_CARD
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
classification
enum<string>
default:CONSUMER
required

Specifies for whom the credit product is intended.

  • CONSUMER - The credit product is intended for individual consumers.
  • SMALL_AND_MEDIUM_BUSINESS - The credit product is intended for small and medium business.
Available options:
CONSUMER,
SMALL_AND_MEDIUM_BUSINESS
product_sub_type
enum<string>
default:CREDIT_CARD
required

Subtype of the credit product type.

  • CREDIT_CARD - Card that enables the cardholder to make purchases on credit.
  • SECURED_CARD - Card backed by a user-funded deposit that enables the cardholder to make purchases on credit.
Available options:
CREDIT_CARD,
SECURED_CARD
card_product_tokens
string[]
required

One or more associated card product tokens.

Minimum array length: 1
interest_calculation
object
required

Contains the configurations for interest calculation.

min_payment_percentage
number
required

Minimum payment, expressed as a percentage of the total statement balance, due on the payment due day.

Required range: 0.0001 <= x <= 100
min_payment_flat_amount
number
required

Minimum payment, expressed as a flat amount, due on the payment due day.

Required range: x >= 0.01
payment_allocation_order
enum<string>[]
required

Ordered list of balance types to which payments are allocated, from first to last.

Minimum array length: 1

Ordered list of balance types to which payments are allocated, from first to last.

Available options:
INTEREST,
FEES,
PRINCIPAL
token
string

Unique identifier of the credit product.

Maximum string length: 36
Pattern: (?!^ +$)^.+$
status
enum<string>

Status of the credit product.

  • DRAFT - The credit product is in the process of being created.
  • PENDING_APPROVAL - The credit product has been created and is awaiting approval.
  • SENT_FOR_REVISION - The credit product has been returned for revision.
  • ACTIVE - The credit product is active.
  • REJECTED - The credit product has been rejected; this status cannot be changed.
  • ARCHIVED - The previously active credit product has been archived.
Available options:
DRAFT,
PENDING_APPROVAL,
SENT_FOR_REVISION,
ACTIVE,
REJECTED,
ARCHIVED
description
string

Description of the credit product.

Maximum string length: 255
min_payment_calculation
object

Contains information used to calculate the minimum payment amount.

Response

Expected response

Specifies shared details for a credit program.

Once set to ACTIVE, cannot be edited or deleted.

name
string

Name of the credit product.

token
string

Unique identifier of the credit product.

usage
enum<string>[]

One or more usage types for the credit product.

Minimum array length: 1

Type of balance.

  • PURCHASE - The balance on purchases.
  • CASH_ADVANCE - The balance on cash advances.
Available options:
PURCHASE,
CASH_ADVANCE
config
object

Contains information on configurations for billing cycle day, payment due day, and fees.

status
enum<string>

Status of the credit product.

  • DRAFT - The credit product is in the process of being created.
  • PENDING_APPROVAL - The credit product has been created and is awaiting approval.
  • SENT_FOR_REVISION - The credit product has been returned for revision.
  • ACTIVE - The credit product is active.
  • REJECTED - The credit product has been rejected; this status cannot be changed.
  • ARCHIVED - The previously active credit product has been archived.
Available options:
DRAFT,
PENDING_APPROVAL,
SENT_FOR_REVISION,
ACTIVE,
REJECTED,
ARCHIVED
credit_line
object

Contains information on the credit line range.

description
string

Description of the credit product.

created_time
string<date-time>

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

product_type
enum<string>
default:REVOLVING

Type of credit product.

REVOLVING - Allows users to continuously borrow and pay debts up to the credit limit.

CHARGE_CARD - Requires the cardholder to pay the full statement balance each billing cycle. Gated per-program by the program.charge_card_enabled enrollment column; only enrolled programs may create or update products of this type.

Available options:
REVOLVING,
CHARGE_CARD
updated_time
string<date-time>

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

currency_code
enum<string>
default:USD

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

Available options:
USD
classification
enum<string>
default:CONSUMER

Specifies for whom the credit product is intended.

  • CONSUMER - The credit product is intended for individual consumers.
  • SMALL_AND_MEDIUM_BUSINESS - The credit product is intended for small and medium business.
Available options:
CONSUMER,
SMALL_AND_MEDIUM_BUSINESS
product_sub_type
enum<string>
default:CREDIT_CARD

Subtype of the credit product type.

  • CREDIT_CARD - Card that enables the cardholder to make purchases on credit.
  • SECURED_CARD - Card backed by a user-funded deposit that enables the cardholder to make purchases on credit.
Available options:
CREDIT_CARD,
SECURED_CARD
card_product_tokens
string[]

One or more associated card product tokens.

Minimum array length: 1
interest_calculation
object

Contains the configurations for interest calculation.

parent_product_token
string

Unique identifier of the parent credit product.

min_payment_percentage
number

Minimum payment, expressed as a percentage of the total statement balance, due on the payment due day.

Required range: 0.0001 <= x <= 100
min_payment_calculation
object

Contains information used to calculate the minimum payment amount.

min_payment_flat_amount
number

Minimum payment, expressed as a flat amount, due on the payment due day.

Required range: x >= 0.01
payment_allocation_order
enum<string>[]

Ordered list of balance types to which payments are allocated, from first to last.

Minimum array length: 1

Ordered list of balance types to which payments are allocated, from first to last.

Available options:
INTEREST,
FEES,
PRINCIPAL