API Reference
Operations

List operations

GET/v1/operations
Base URL: https://trace.mimicr.dev · provider: https://api.sandbox.tracefinance.com

Lists all operations for the authenticated customer. Use the filters query parameter to narrow by intent type, asset, account or your own externalId — see the Filtering guide.

Authorization

Bearer token in the Authorization: Bearer <token> header. See Authentication.

Headers

X-Trace-Versionstring

API version. Omit to use the default version.

Example: "1"

Query parameters

limitinteger

Maximum number of items to return. Defaults to 10.

cursorstring

Opaque cursor for fetching the next or previous page.

directionstring

Direction of pagination relative to the cursor.

NEXTPREVIOUS
sortOrderstring

Sort order for results. Defaults to DESCENDING.

ASCENDINGDESCENDING
filtersstring

Filter expression using LHS Brackets syntax (field[operator]=value). Combine multiple conditions with and(...), or(...), or ; (implicit AND). See the Filtering guide for the full operator catalog.

Example: "intent.type[eq]=WITHDRAW;sourceAmount.asset[eq]=BRL"

Responses

200Paginated list of operations.
dataobject[]required
Show child attributes
idstring<uuid>required
externalIdstring | nullrequired

Your own identifier for the operation. Stored as given and returned on every read and every webhook. Free-form: it is not deduplicated, and the same value may appear on more than one operation. null when none was sent, and on a deposit credited from an incoming payment nobody requested.

Example: "order-2026-0043"
customerobjectrequired

Reference to the customer that owns the operation.

Show child attributes
idstringrequired

Customer identifier.

Example: "c1a2b3c4-d5e6-7890-abcd-ef1234567890"
sourceAmountobjectrequired

Monetary amount expressed as a decimal string in the asset's canonical scale. Use a decimal-precision library (BigDecimal, Decimal) for arithmetic — never JavaScript Number. Request bodies use the scalar AmountValue instead.

Show child attributes
valuestringrequired

Decimal amount in the asset's canonical scale.

Example: "500.00"
assetstringrequired

ISO 4217 currency code or stablecoin ticker. The maximum decimal scale of an AmountValue paired with this asset depends on the asset:

AssetDecimals
BRL2
USDT6
USDC6
BRLUSDTUSDC
Example: "BRL"
decimalsintegerrequired

Number of decimal places for the asset.

Example: 2
targetAmountobjectrequired

Monetary amount expressed as a decimal string in the asset's canonical scale. Use a decimal-precision library (BigDecimal, Decimal) for arithmetic — never JavaScript Number. Request bodies use the scalar AmountValue instead.

Show child attributes
valuestringrequired

Decimal amount in the asset's canonical scale.

Example: "500.00"
assetstringrequired

ISO 4217 currency code or stablecoin ticker. The maximum decimal scale of an AmountValue paired with this asset depends on the asset:

AssetDecimals
BRL2
USDT6
USDC6
BRLUSDTUSDC
Example: "BRL"
decimalsintegerrequired

Number of decimal places for the asset.

Example: 2
intentobjectrequired

Operation intent. Discriminated by type.

WITHDRAW
typestringrequired
WITHDRAW
beneficiaryobjectrequired

Snapshot of the beneficiary at the time the operation was created.

Show child attributes
idstring | null<uuid>required

ID of the saved beneficiary.

entityobjectrequired

Entity snapshot. Discriminated by type.

INDIVIDUAL
typestringrequired
INDIVIDUAL
firstNamestringrequired
lastNamestringrequired
identificationDocumentobjectrequired

Identification document of the beneficiary. null when not provided.

birthDatestring | null<date>required

Date of birth (yyyy-MM-dd). null when not provided.

addressobjectrequired

Postal address of an entity or beneficiary.

COMPANY
typestringrequired
COMPANY
legalNamestringrequired

Registered legal name.

tradeNamestring | nullrequired

Trade name (DBA). null if the company doesn't use one.

identificationDocumentobjectrequired

Identification document of the beneficiary. null when not provided.

addressobjectrequired

Postal address of an entity or beneficiary.

paymentInstructionobjectrequired

Snapshot of the payment instruction the funds are routed to. Discriminated by rail.

PIX_KEY
idstring<uuid>required

Payment instruction identifier.

railstringrequired
PIX_KEY
keyTypestringrequired

PIX key category. RANDOM is a random key issued by the central bank.

CPFCNPJEMAILPHONERANDOM
Example: "CPF"
keystringrequired

PIX key value, formatted per keyType.

PIX_STATIC_QR_CODE
idstring<uuid>required

Payment instruction identifier.

railstringrequired
PIX_STATIC_QR_CODE
qrCodestringrequired

PIX QR code payload (EMV-encoded BR Code).

Example: "00020126580014br.gov.bcb.pix..."
PIX_BANK_INSTRUCTION
idstring<uuid>required

Payment instruction identifier.

railstringrequired
PIX_BANK_INSTRUCTION
bankobjectrequired

Bank reference. Resolved server-side from the COMPE code provided in the request.

branchstringrequired

Branch number.

Example: "0001"
accountNumberstringrequired

Account number with check digit.

Example: "123456"
TED
idstring<uuid>required

Payment instruction identifier.

railstringrequired
TED
bankCodestringrequired

ISPB or COMPE bank code.

branchstringrequired

Branch number.

accountNumberstringrequired

Account number with check digit.

BOLETO
idstring<uuid>required

Payment instruction identifier.

railstringrequired
BOLETO
barcodestringrequired

Boleto barcode (digitable line).

Example: "23793.38128 60800.000003 00000.000400 1 84340000012345"
dueDatestring<date-time>required

Last day on which the boleto can be paid.

Example: "2026-05-15T23:59:59Z"
CRYPTO
idstring<uuid>required

Payment instruction identifier.

railstringrequired
CRYPTO
networkstringrequired

Blockchain network (e.g., ETHEREUM, TRON, SOLANA).

Example: "ETHEREUM"
addressstringrequired

Wallet address on network.

Example: "0x742d35Cc6634C0532925a3b844Bc9e7595f2bD18"
SWAP
typestringrequired
SWAP
DEPOSIT
typestringrequired
DEPOSIT
fundingInstructionobjectrequired

Funding instruction the customer uses to send money in. null on the create-deposit response until the PIX dynamic QR code has been generated; populated once it is ready.

DepositOperationFundingInstruction
variant
TRANSFER
typestringrequired
TRANSFER
targetAccountobjectrequired

Reference to a customer account, including the registered owner name.

Show child attributes
idstring<uuid>required

Account identifier.

Example: "a1b2c3d4-5e6f-7890-abcd-ef1234567890"
ownerstringrequired

Registered owner name on the account.

Example: "Acme Importação Ltda"
currentStateobjectrequired

The operation's current state. Carries a status, optional reason, and the time the state was entered.

Show child attributes
statusstringrequired

Lifecycle status of an operation. REFUNDING and REFUNDED apply only to deposits, the only refundable operation.

REQUESTEDPROCESSINGACTION_REQUIREDCOMPLETEDREFUNDINGREFUNDEDFAILED
Example: "COMPLETED"
reasonobject

Justification for entering this status. Present for ACTION_REQUIRED and FAILED; omitted otherwise.

Show child attributes
codestringrequired

Machine-readable code.

Example: "INSUFFICIENT_BALANCE"
messagestringrequired

Human-readable description.

Example: "Insufficient balance for the requested operation"
detailsobjectrequired

Free-form context relevant to the reason.

createdAtstring<date-time>required

Time the operation entered this status.

createdAtstring<date-time>required
updatedAtstring<date-time>required
metaobjectrequired

Cursor-based pagination metadata.

Show child attributes
previousCursorstring | nullrequired

Cursor for the previous page. null on the first page.

nextCursorstring | nullrequired

Cursor for the next page. null on the last page.

totalintegerrequired

Number of items in the current page.

401Missing or invalid authentication token.
codestringrequired

Machine-readable error code.

messagestringrequired

Human-readable description.

detailsobject
422Invalid filter parameter.
codestringrequired

Machine-readable error code.

messagestringrequired

Human-readable description.

detailsobject