List all transactions data - V2
GET/api/v2/transactions
List all transactions data. If no parameter is set, it will automatically select today’s date
* as the search parameter.
Request
Query Parameters
Filter by created at start date
Filter by created at end_date
Possible values: [transaction
, withdraw
, returned
, refund
]
Filter by transaction type.
Filter by page number
Limit numbers of itens by page
Responses
- 200
- 401
- 403
- 500
Successful operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Transaction information
- ]
- Array [
- MetaLinks
- MetaLinks
- MetaLinksV2
- ]
data object[]
Array of transactions data)
Reference of the QrCode for conciliation
Possible values: [pending
, paid
, canceled
, paid_by_third_party
, failed
, awaiting
, payment rejected
, paid_without_qrcode
, refund_received
]
Transaction status
Possible values: [transaction
, withdraw
, refund
]
Transaction type
Value of the transaction
Document of the person who paid or received (CPF or CNPJ)
Date when the transaction was created
Merchant's ID for conciliation
Costumer's name
Costumer's email
Transaction's pix end_to_end_id
Date when the transaction was last updated
Date when the transaction was confirmed as paid
links object
Links
Show first page link
Show last page link
Show previous page link
Show next page link
meta object
Links
Current page number
From page number
Last page number
links object[]
Array of links to navigate the pages
url
label
active
url
label
active
url
label
active
Pagination path
Pagination per_page number os itens
Pagination to page
Total number of itens per page
{
"data": [
{}
],
"links": {
"first": "http://payments-api-hml.zrobank.xyz/api/transactions?page=1",
"last": "http://payments-api-hml.zrobank.xyz/api/transactions?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": null,
"last_page": 1,
"links": [
{},
{},
{}
],
"path": "http://payments-api-hml.zrobank.xyz/api/transactions",
"per_page": 10,
"to": null,
"total": 1
}
}
Unauthenticated
- application/json
- Schema
- Example (from schema)
Schema
Response 401
{
"message": "Invalid x-api-key"
}
Forbidden
Error