Skip to main content
POST
Transition a bundle
POST////
Transition the status of a specific bundle.

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

token
string
required

Token of the bundle whose status you want to transition.

Send a GET request to /credit/bundles to retrieve existing tokens.

Body

application/json

Contains information on a bundle transition.

status
enum<string>
required

Status of the bundle.

  • DRAFT - The bundle is in the process of being created.
  • PENDING_APPROVAL - The bundle has been created and is awaiting approval.
  • SENT_FOR_REVISION - The bundle has been returned for revision.
  • ACTIVE - The bundle is active.
  • REJECTED - The bundle has been rejected; this status cannot be changed.
  • ARCHIVED - The previously active bundle has been archived.
  • APPROVED - The bundle has been approved (after having been sent for approval).
Available options:
DRAFT,
PENDING_APPROVAL,
SENT_FOR_REVISION,
ACTIVE,
REJECTED,
ARCHIVED,
APPROVED

Response

Expected response

Contains information on a bundle transition.

token
string

Unique identifier of the bundle transition.

Maximum string length: 36
status
enum<string>

Status of the bundle.

  • DRAFT - The bundle is in the process of being created.
  • PENDING_APPROVAL - The bundle has been created and is awaiting approval.
  • SENT_FOR_REVISION - The bundle has been returned for revision.
  • ACTIVE - The bundle is active.
  • REJECTED - The bundle has been rejected; this status cannot be changed.
  • ARCHIVED - The previously active bundle has been archived.
  • APPROVED - The bundle has been approved (after having been sent for approval).
Available options:
DRAFT,
PENDING_APPROVAL,
SENT_FOR_REVISION,
ACTIVE,
REJECTED,
ARCHIVED,
APPROVED
bundle_token
string

Unique identifier of the bundle.

Maximum string length: 36
created_time
string<date-time>

Date and time when the bundle was changed the status on Marqeta's credit platform, in UTC.

original_status
enum<string>

Status of the bundle.

  • DRAFT - The bundle is in the process of being created.
  • PENDING_APPROVAL - The bundle has been created and is awaiting approval.
  • SENT_FOR_REVISION - The bundle has been returned for revision.
  • ACTIVE - The bundle is active.
  • REJECTED - The bundle has been rejected; this status cannot be changed.
  • ARCHIVED - The previously active bundle has been archived.
  • APPROVED - The bundle has been approved (after having been sent for approval).
Available options:
DRAFT,
PENDING_APPROVAL,
SENT_FOR_REVISION,
ACTIVE,
REJECTED,
ARCHIVED,
APPROVED