API Reference
Account

Get the statement

GET/account/api/v1/{conta}/statement
Base URL: https://pay4fun.mimicr.dev · provider: https://go.dev.pay4fun.com

Account entries over a period of up to 30 days. For longer periods, call in windows. endToEnd links the statement to your transactions.

Authorization

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

Path parameters

contastringrequired

Which account to read: transactional (where deposits come in and payments go out) or owner (the owner/billing account, for fees and settlements with Pay4Fun). The contracts are identical.

transactionalowner

Query parameters

startDatestring<date-time>required

Period start (ISO 8601).

Example: "2026-07-01T00:00:00Z"
endDatestring<date-time>required

Period end (ISO 8601), at most 30 days after startDate.

Example: "2026-07-30T23:59:59Z"
pageinteger

Page number, starting at 1.

pageSizeinteger

Items per page (maximum 100).

sortOrderstring

Sort by date (in Mimicr, default desc).

ascdesc
operationTypestring

Credit or debit.

CREDITDEBIT
counterpartTaxIdstring

Counterparty document.

endToEndstring

Pix EndToEndId.

historyCategorystring

Entry category.

historyCodeinteger

Entry code.

Responses

200Statement page.
itemsobject[]

Entries in the period.

Show child attributes
idinteger

Entry id.

Example: 54
datestring<date-time>

Entry date.

Example: "2026-07-08T12:00:00Z"
branchstring

Branch.

Example: "1"
accountstring

Account.

Example: "404428"
accountIdstring

Account id.

operationTypestring

Credit or debit; amount is always positive.

CREDITDEBIT
historyCategorystring

Category (in Mimicr: Pix, Devolução Pix, Tarifa).

Example: "Pix"
historyCodeinteger

Entry code (in Mimicr: 101 Pix received, 102 refund, 201 Pix sent, 301 deposit fee, 302 payment fee).

Example: 201
amountnumber

Amount.

Example: 30.12
counterpartTaxIdstring | null

Counterparty document.

counterpartNamestring | null

Counterparty name.

endToEndstring | null

Pix EndToEndId: links the statement to payment.endToEndId and deposits[].providerEndToEnd.

movementReferencestring

Movement reference.

legacyTransactionIdinteger

Id used in GET .../statement/receipt/{id}.

Example: 54
legacyMerchantInvoiceIdstring | null

The transaction's externalId.

totalCountinteger

Total items that match the filters.

Example: 42
pageinteger

Current page.

Example: 1
pageSizeinteger

Items per page.

Example: 20
totalPagesinteger

Total pages.

Example: 3
hasPreviousPageboolean

Whether there is a previous page.

hasNextPageboolean

Whether there is a next page.

400Missing or invalid dates, or an interval longer than 30 days.
successbooleanrequired

Always false on errors.

Example: false
codeintegerrequired

5001 resource not found, 2001 unprocessable input, 1001 validation error (in Mimicr), 4009 key already registered (in Mimicr).

Example: 5001
messagestringrequired

Error message.

Example: "Deposit intent not found."
401Missing, expired or invalid token. Empty body.