Skip to main content

Create Report

Use this endpoint to create a report request.

Available Environments​

https://api.gateway.com.br/core

Endpoint​

  • Method: POST
  • Endpoint: /report
  • Authentication: Bearer token

Body Params​

FieldTypeRequiredDescriptionValidations
typestring (enum) - TRANSACTION, DEPOSIT, WITHDRAWAL, MED, WALLET, ACCOUNT, ACCOUNT_FINANCIAL_SUMMARY, WALLET_DAILY_BALANCESYesReport typeMust be a valid enum; ACCOUNT and ACCOUNT_FINANCIAL_SUMMARY require a user with the manager role
filtersobjectYesReport filters (see Sub-Object Filters)Must be a non-empty object
⚠️ ACCOUNT and ACCOUNT_FINANCIAL_SUMMARY require a manager

These two report types can only be requested by a user with the manager role. An account without that role gets a 403 when trying to generate them.

Sub-Objects​

Filters​

ℹ️ Dates in ISO

The startDate and endDate fields must be sent as an ISO date string with time.

Example:

  • 2026-03-06T12:00:00.000Z
⚠️ Maximum range for WALLET_DAILY_BALANCES

When type is WALLET_DAILY_BALANCES, the range between startDate and endDate cannot exceed 60 days.

FieldTypeRequiredDescriptionValidations
startDatestringYesStart date of the filterMust be an ISO date string with time
endDatestringYesEnd date of the filterMust be an ISO date string with time; if type is WALLET_DAILY_BALANCES, the range between startDate and endDate must be at most 60 days
storeIdstring (UUID v4)NoStore identifierOptional (send it if you want to filter)
userIdstring (UUID v4)NoUser identifierOptional (send it if you want to filter)
statusstring[] (enum) - PENDING, PIX_QRCODE_GENERATED, PAID, PROCESSING_REFUND, PROCESSING_INFRACTION, REFUNDED, INFRACTION, FAILED, BLOCKED, PROCESSING, PROCESSED, CANCELED, REJECTED, APPEALED, APPROVEDNoStatuses to filter byMust be a non-empty array with no duplicates
paymentMethodstring[] (enum) - PIXNoPayment methodsMust be a non-empty array with no duplicates
acquirerstring[]NoAcquirers of the reportMust be a non-empty array with no duplicates

Request Example​

curl --request POST \
--url https://api.gateway.com.br/core/report \
--header 'Authorization: Bearer your-jwt-token' \
--header 'Content-Type: application/json' \
--data '{
"type": "TRANSACTION",
"filters": {
"startDate": "2026-03-06T00:00:00.000Z",
"endDate": "2026-03-06T23:59:59.999Z"
}
}'

Success Response​

FieldTypeRequiredDescription
idstringYesReport identifier
statusstring (enum)YesReport status (PENDING, PROCESSING, FAILED, PROCESSED)
typestring (enum)YesReport type (TRANSACTION, DEPOSIT, WITHDRAWAL, MED, WALLET, ACCOUNT, ACCOUNT_FINANCIAL_SUMMARY, WALLET_DAILY_BALANCES)

Response Example​

{
"id": "553e8400-e29b-41d4-a716-436251480000",
"status": "PENDING",
"type": "TRANSACTION"
}

Possible Errors​

CodeDescriptionSolution
401Invalid credentialsCheck your credentials
403No permission/authorizationContact support
422Invalid or missing dataCheck the format of the data
422ValidationsContact support
500Internal errorContact support