Skip to main content

List Transactions

Use this endpoint to list transactions with filters.

Available Environments​

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

Endpoint​

  • Method: GET
  • Endpoint: /transaction
  • Authentication: Bearer token

Query Params​

ℹ️ 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
ℹ️ Snapshot pagination

The snapshot is not a pointer to the "next page": it is a fixed identifier of the pagination session, used together with page (which is still sent and incremented normally) to keep the results consistent even if new records are created while you navigate.

Take the snapshot value from the first response (sent without a snapshot on the first request) and resend that same value, unchanged, on the requests for the following pages, along with the same filters and the same perPage used originally. If any of those values changes while an old snapshot is resent, the API returns an error.

NameTypeRequiredDescriptionValidations
snapshotstringNoIdentifier of the pagination session (received in the snapshot field of the first response); resend it unchanged along with page on the following pagesMust match the same filters and the same perPage of the original request
startDatestringNoStart date of the filterMust be an ISO date string with time
endDatestringNoEnd date of the filterMust be an ISO date string with time
statusstring[] (enum) - PENDING, PIX_QRCODE_GENERATED, PAID, PROCESSING_REFUND, PROCESSING_INFRACTION, REFUNDED, INFRACTION, FAILED, BLOCKEDNoList of statuses to filter byMust be a non-empty array with no duplicates
customerEmailstringNoE-mail of the customerMust have a valid e-mail format
customerNamestringNoName of the customerMust be international alphanumeric
customerDocumentstringNoDocument of the customerMust be a valid CPF or CNPJ
customerPhonestringNoDocument of the customer
idstring (UUID v4)NoTransaction identifierMust be a valid UUID v4
endToEndstringNoEnd-to-end identifier of the transactionMust be between 8 and 255 characters
endToEndRefundstringNoEnd-to-end identifier of the refundMust be between 8 and 255 characters
externalCodestringNoYour reference codeMust be between 8 and 255 characters
paymentMethodstring[] (enum) - PIXNoList of payment methods to filter byMust be a non-empty array with no duplicates
minAmountnumberNoMinimum transaction amount (cents)Must be an integer in cents; minimum 1 (R$0.01) and maximum 10000000 (R$100,000.00)
maxAmountnumberNoMaximum transaction amount (cents)Must be an integer in cents; minimum 1 (R$0.01) and maximum 10000000 (R$100,000.00); must be greater than or equal to minAmount when both are provided

Request Example​

curl --request GET \
--url https://api.gateway.com.br/core/transaction?status=PAID&startDate=2026-03-06T00:00:00.000Z&endDate=2026-03-06T23:59:59.999Z \
--header 'Authorization: Bearer your-jwt-token'

Success Response​

FieldTypeRequiredDescription
totalPagesnumberYesTotal pages
currentPagenumberYesCurrent page
perPagenumberYesItems per page
snapshotstringNoIdentifier of the pagination session; resend it unchanged on the following pages
dataarrayYesList of transactions

Fields of the item in data​

FieldTypeRequiredDescription
idstring (UUID)YesUnique identifier of the transaction
acquirerCodestringNoAcquirer code
acquirerstringYesAcquirer of the transaction
amountnumberYesTransaction amount (integer, in cents)
paymentMethodstring (enum) - PIXYesPayment method
webhookUrlstringNoConfigured webhook URL
externalCodestringNoYour reference code
paymentReceiptobjectNoPayment receipt (see Sub-Object PaymentReceiptUrl)
refundReceiptobjectNoRefund receipt (see Sub-Object PaymentReceiptUrl)
customerobjectNoCustomer data (see Sub-Object Customer)
sellerobjectNoSeller data (see Sub-Object Seller)
isInfoProductbooleanYesFlag for digital or physical products
addressobjectNoCustomer address (see Sub-Object Address)
itemsobject[]NoList of products (see Sub-Object Item)
metadataobjectNoMetadata
createdAtstring (ISO)YesCreation date
statusstring (enum) - PENDING, PIX_QRCODE_GENERATED, PAID, PROCESSING_REFUND, PROCESSING_INFRACTION, REFUNDED, INFRACTION, FAILED, BLOCKEDYes
  • PENDING: Transaction created, awaiting processing
  • PIX_QRCODE_GENERATED: PIX QR Code generated, awaiting payment
  • PAID: Transaction paid
  • PROCESSING_REFUND: Refund being processed
  • PROCESSING_INFRACTION: Infraction being processed
  • REFUNDED: Transaction refunded
  • INFRACTION: Transaction refunded (MED)
  • FAILED: Processing error
  • BLOCKED: Blocked because a MED was opened
statusHistoryarrayYesStatus history (see Sub-Object StatusHistory)
updatedAtstring (ISO)YesLast update date
amountPaidnumberNoAmount actually paid (integer, in cents)
paymentDatestring (ISO)NoPayment date
infractionDatestring (ISO)NoInfraction date
infractionAmountnumberNoInfraction amount (integer, in cents)
refundDatestring (ISO)NoRefund date
refundAmountnumberNoRefund amount (integer, in cents)
pixResponseobjectNoPIX data (see Sub-Object PixResponse)
errorMessagestringNoError message
errorMessageRefundstringNoRefund error message
endToEndstringNoEnd-to-end identifier of the transaction
endToEndRefundstringNoEnd-to-end identifier of the refund
payerobjectNoPayer data (see Sub-Object AccountHolder)
receiverobjectNoReceiver data (see Sub-Object AccountHolder)
feeAmountnumberNoFee amount

Sub-Objects​

Customer​

FieldTypeRequiredDescription
ipstringNoIP
namestringYesName
emailstringNoE-mail
documentobjectYesDocument (see Sub-Object DocumentVo)
landlinestringNoLandline phone
mobilePhonestringNoMobile phone

Seller​

FieldTypeRequiredDescription
namestringYesName
documentobjectYesDocument (see Sub-Object DocumentVo)

DocumentVo​

FieldTypeRequiredDescription
valuestringYesDocument
typestring (enum) - CPF, CNPJYesDocument type

Address​

FieldTypeRequiredDescription
postalCodestringYesBrazilian CEP
numberstringYesHouse number
streetstringYesStreet name
neighborhoodstringYesNeighborhood name
citystringYesCity name
statestringYesState name or abbreviation
countrystringYesCountry name
complementstringNoAdditional information

Item​

FieldTypeRequiredDescription
titlestringYesTitle
unitPricenumberYesItem amount (integer, in cents)
quantitynumberYesQuantity of this item
descriptionstringNoAdditional information

StatusHistory (item)​

FieldTypeRequiredDescription
statusstring (enum) - PENDING, PIX_QRCODE_GENERATED, PAID, PROCESSING_REFUND, PROCESSING_INFRACTION, REFUNDED, INFRACTION, FAILED, BLOCKEDYesTransaction status
datestring (ISO)YesDate of the status
durationInMillisecondsnumberYesDuration of the status in milliseconds

PixResponse​

FieldTypeRequiredDescription
uristringYesCopy-and-paste code of the QR Code
qrCodeBase64stringYesQR Code image
expirationDatestringYesExpiration date of the QR Code

AccountHolder​

FieldTypeRequiredDescription
typestring (enum) - PF, PJYesHolder type
namestringYesHolder name
documentstringYesHolder document
bankAccountobjectYesBank data (see Sub-Object BankAccount)
pixobjectYesPIX key of the holder (see Sub-Object PixKeyVo)

BankAccount​

FieldTypeRequiredDescription
typestringYesAccount type
digitstringYesAccount check digit
ispbstringYesISPB of the bank

PaymentReceiptUrl​

FieldTypeRequiredDescription
urlstringYesURL of the receipt
expirationDatestring (ISO)YesExpiration date of the receipt

Response Example​

Masked data

Sensitive values may be masked with ***.

{
"totalPages": 1,
"currentPage": 1,
"perPage": 15,
"snapshot": "b3BhcXVlLXNuYXBzaG90LXRva2Vu",
"data": [
{
"id": "553e8400-e29b-41d4-a716-436251480000",
"acquirerCode": "ACQ-123",
"acquirer": "ACQUIRER_EXEMPLO",
"amount": 500,
"paymentMethod": "PIX",
"webhookUrl": "https://sua-api.com/webhooks/transaction",
"externalCode": "TRANSACTION-123",
"paymentReceipt": {
"url": "https://files.exemplo.com.br/receipts/transaction-553e8400-e29b-41d4-a716-436251480000.pdf",
"expirationDate": "2026-04-01T00:00:00.000Z"
},
"refundReceipt": {
"url": "https://files.exemplo.com.br/receipts/transaction-refund-553e8400-e29b-41d4-a716-436251480000.pdf",
"expirationDate": "2026-04-01T00:00:00.000Z"
},
"customer": {
"ip": "123123123123",
"name": "Customer",
"email": "customer@gmail.com",
"document": {
"value": "***123123**",
"type": "CPF"
},
"landline": "12123451234",
"mobilePhone": "12123451234"
},
"seller": {
"name": "Seller",
"document": {
"value": "***123123**",
"type": "CPF"
}
},
"isInfoProduct": false,
"address": {
"postalCode": "54753-800",
"number": "155",
"street": "Rua Santa Mariana",
"neighborhood": "São Pedro",
"city": "Camaragibe",
"state": "Pernambuco",
"country": "Brazil",
"complement": "Casa Azul"
},
"items": [
{
"title": "Fone Bluetooth PulseWave X200",
"unitPrice": 500,
"quantity": 1,
"description": "Fone de ouvido sem fio com cancelamento ativo de ruído, bateria de 30h e microfone embutido. Compatível com Android e iOS."
}
],
"metadata": {
"moeda": "BRL",
"autorizacao": "A1B2C3",
"status": "aprovada"
},
"createdAt": "2026-03-06T12:49:04.681Z",
"status": "REFUNDED",
"statusHistory": [
{
"status": "PENDING",
"date": "2026-03-06T12:49:04.681Z",
"durationInMilliseconds": 1000
},
{
"status": "PIX_QRCODE_GENERATED",
"date": "2026-03-06T12:49:04.681Z",
"durationInMilliseconds": 10000
},
{
"status": "PAID",
"date": "2026-03-06T12:49:04.681Z",
"durationInMilliseconds": 10000
},
{
"status": "PROCESSING_REFUND",
"date": "2026-03-06T12:49:04.681Z",
"durationInMilliseconds": 7000
},
{
"status": "REFUNDED",
"date": "2026-03-06T12:49:04.681Z",
"durationInMilliseconds": 5000
}
],
"updatedAt": "2026-03-06T12:49:04.681Z",
"amountPaid": 500,
"paymentDate": "2026-03-06T12:49:04.681Z",
"infractionDate": "2026-03-06T13:49:04.681Z",
"infractionAmount": 500,
"refundDate": "2026-03-06T14:49:04.681Z",
"refundAmount": 500,
"pixResponse": {
"uri": "00020126580014br.gov.bcb.pix0136123e4567-e89b-12d3-a456-426614174000",
"qrCodeBase64": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA...",
"expirationDate": "2026-03-06T12:49:04.681Z"
},
"errorMessage": null,
"errorMessageRefund": null,
"endToEnd": "0123456789",
"endToEndRefund": "0123456789-REFUND",
"payer": {
"type": "PF",
"name": "Fulano de Tal",
"document": "***456789**",
"bankAccount": {
"type": "CHECKING",
"digit": "7",
"ispb": "12345678"
},
"pix": {
"key": "12345678910",
"type": "CPF"
}
},
"receiver": {
"type": "PJ",
"name": "Empresa Exemplo LTDA",
"document": "12345678000199",
"bankAccount": {
"type": "CHECKING",
"digit": "0",
"ispb": "12345678"
},
"pix": {
"key": "contato@exemplo.com",
"type": "EMAIL"
}
},
"feeAmount": 150
}
]
}

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