API Reference
Billings

Invoice transactions

GET/billings/api/v1/{id}/transactions
Base URL: https://pay4fun.mimicr.dev · provider: https://go.dev.pay4fun.com

The transactions that make up the invoice amount, paginated.

Authorization

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

Path parameters

idstringrequired

Invoice GUID.

Query parameters

pageinteger

Page number, starting at 1.

pageSizeinteger

Items per page (maximum 100).

searchstring

Free search (in Mimicr, by externalId).

Responses

200Page of transactions.
itemsobject[]

Transactions that make up the invoice.

Show child attributes
idstring

Transaction id.

externalIdstring

The externalId of the payment or deposit.

Example: "pedido-123"
amountnumber

Fee charged for the transaction (in Mimicr: Pay In 0.99% with a R$ 0.10 minimum; Pay Out R$ 0.50).

Example: 0.5
currencystring

Currency.

Example: "BRL"
datestring<date-time>

Transaction date.

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

Invoice id.

paymentMethodstring

Rail.

Example: "Pix"
operationstring

Operation.

PAYMENTDEPOSIT
createdAtstring<date-time>

Creation time.

Example: "2026-07-08T12:00:00Z"
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.

401Missing, expired or invalid token. Empty body.
404Invoice not found or owned by another merchant.
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."