Skip to main content
POST
Create payment schedule
POST////
Create a new payment schedule, either one-time or recurring.

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 for which you want to create a payment schedule.

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

Body

application/json

Information to create a payment schedule.

frequency
enum<string>
required

Defines how often to make a scheduled payment.

DAILY is only supported with an amount_category of CURRENT_BALANCE or FIXED.

Available options:
ONCE,
MONTHLY,
DAILY
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
amount_category
enum<string>
required

A category used to determine the actual payment amount.

Available options:
FIXED,
MINIMUM_PAYMENT,
REMAINING_STATEMENT_BALANCE,
CURRENT_BALANCE
token
string

Unique identifier of the payment schedule.

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

Amount of the payment.

Required if amount_category is FIXED.

description
string

Description of the payment schedule.

Maximum string length: 255
payment_day
enum<string>

Day on which monthly payments are made.

Required if frequency is MONTHLY.

Available options:
PAYMENT_DUE_DAY
ach_sec_code
enum<string> | null

ACH Standard Entry Class (SEC) code for this payment schedule. Only applies to ACH payments where ACH is managed by Marqeta.

Available options:
WEB,
TEL
payment_source_token
string

Unique identifier of the payment source. Required for ACH payments.

Maximum string length: 36
next_payment_impact_date
string<date>

Date to make a one-time payment, or the date a DAILY schedule begins.

Required if frequency is ONCE.

Optional if frequency is DAILY. Defaults to the following day in Eastern Time. Must be at least 2 hours from now.

Response

Newly created payment schedule.

A future one-time or recurring payment schedule.

token
string
required

Unique identifier of the payment schedule.

status
enum<string>
required

Status of the payment schedule.

Available options:
ACTIVE,
COMPLETED,
TERMINATED
frequency
enum<string>
required

Defines how often to make a scheduled payment.

DAILY is only supported with an amount_category of CURRENT_BALANCE or FIXED.

Available options:
ONCE,
MONTHLY,
DAILY
account_token
string
required

Unique identifier of the credit account on which the payment schedule is made.

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
amount_category
enum<string>
required

A category used to determine the actual payment amount.

Available options:
FIXED,
MINIMUM_PAYMENT,
REMAINING_STATEMENT_BALANCE,
CURRENT_BALANCE
amount
number | null

Amount of the payment.

Returned if the amount_category is FIXED.

description
string

Description of the payment schedule.

payment_day
enum<string>

Day on which monthly payments are made.

Returned if the frequency is MONTHLY.

Available options:
PAYMENT_DUE_DAY
ach_sec_code
enum<string> | null

ACH Standard Entry Class (SEC) code for this payment schedule. Only applies to ACH payments where ACH is managed by Marqeta.

Available options:
WEB,
TEL
created_time
string<date-time>

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

updated_time
string<date-time>

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

payment_source_token
string

Unique identifier of a payment source if applicable.

next_payment_impact_date
string<date>

Date of the next scheduled payment.

Returned if frequency is ONCE or DAILY.