Skip to main content
GET
List the commands to the PCR

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Query Parameters

organizationId
string<uuid>

Only the commands related to accounts of this Midaz organization. It only filters: the permission covers all the tenant's commands.

titleId
string<uuid>

Only the commands of this collections title.

targetType
enum<string>

Only the commands on this kind of resource.

Available options:
TITLE,
BENEFICIARY,
AGREEMENT,
RECEIVER_PAYMENT,
AGREEMENT_DIVERGENCE
targetId
string<uuid>

Only the commands on this resource: a title, a beneficiary, an agreement, a boleto payment the institution received as the receiving institution, or a divergence between the PCR's beneficiary base and the agreements.

type
enum<string>

Only the commands of this type.

Available options:
REGISTER_TITLE,
AMEND_TITLE,
WRITE_OFF_BY_DESTINATARIA,
REGISTER_BENEFICIARY,
UPDATE_BENEFICIARY,
EXCLUDE_BENEFICIARY_RELATIONSHIP,
RECEIVER_WRITE_OFF,
CANCEL_RECEIVER_WRITE_OFF,
QUERY_BENEFICIARY_BASE
state
enum<string>

Only the commands in this state.

Available options:
PENDING,
SENT,
UNCONFIRMED,
ACCEPTED,
REJECTED_FINAL,
AWAITING_GRADE,
ABANDONED
from
string

Lower bound of createdAt, inclusive. A calendar date (YYYY-MM-DD) is a UTC day and starts at its first instant; an RFC 3339 date-time with offset (e.g. 2026-11-01T00:00:00-03:00) is used as the exact instant. A positive offset must be percent-encoded (%2B).

Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}([.][0-9]{1,9})?(Z|[+-][0-9]{2}:[0-9]{2}))?$
Example:

"2026-11-01"

to
string

Upper bound of createdAt, inclusive. A calendar date (YYYY-MM-DD) is a UTC day and covers it to its last instant; an RFC 3339 date-time with offset (e.g. 2026-11-30T23:59:59.999999-03:00) is used as the exact instant. A positive offset must be percent-encoded (%2B).

Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}([.][0-9]{1,9})?(Z|[+-][0-9]{2}:[0-9]{2}))?$
Example:

"2026-11-30"

cursor
string

Opaque cursor returned in nextCursor or prevCursor. Left out, the first page.

Maximum string length: 512
limit
integer<int64>
default:20

Most commands per page.

Required range: 1 <= x <= 100
Example:

20

Response

OK. One page of commands.

items
object[]
required

The page's commands, oldest first.

limit
integer<int64>
required

Most commands the page holds.

Example:

20

nextCursor
string | null

Cursor of the page after this one; null on the last page.

Maximum string length: 512
prevCursor
string | null

Cursor of the page before this one; null on the first page.

Maximum string length: 512