Skip to main content
POST
Create payment schedule transition
POST//////
Transition a payment schedule to a new status.

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 on which to transition a payment schedule.

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

payment_schedule_token
string
required

Unique identifier of the payment schedule whose status is to transition.

Send a GET request to /credit/accounts/{account_token}/paymentschedules to retrieve existing payment schedule tokens.

Body

application/json

Details to create a payment schedule transition

status
enum<string>
required

Status of the payment schedule to transition.

Available options:
ACTIVE,
COMPLETED,
TERMINATED
token
string

Unique identifier of the payment schedule transition.

Maximum string length: 36

Response

Newly created payment schedule transition.

A payment schedule transition on a credit account.

token
string

Unique identifier of the payment schedule transition.

status
enum<string>

Status to which the payment schedule transitioned.

Available options:
ACTIVE,
COMPLETED,
TERMINATED
created_time
string<date-time>

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

updated_time
string<date-time>

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

account_token
string

Unique identifier of the credit account on which to transition a payment schedule.

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

payment_schedule_token
string

Unique identifier of the payment schedule whose status is to transition.

Send a GET request to /credit/accounts/{account_token}/paymentschedules to retrieve existing payment schedule tokens.