List all transactions data
GET/api/transactions
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
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 V1
- ]
- Array [
- MetaLinks
- MetaLinks
- MetaLinks
- ]
data object[]
Array of transactions data)
Reference of the QrCode for conciliation
Possible values: [pending, paid, paid_by_third_party, failed, awaiting, payment rejected, paid_without_qrcode, refund_received]
When column transaction_type has value TRANSACTION:
paid: deposit received and approved
failed: failed to generate a QrCode
pending: qrCode has yet to be paid
paid_by_third_party: deposit received but rejected and will be refunded since it came from a third-party payer
payment rejected: deposit received but rejected and will be refunded due business rules
paid_without_qrcode: deposit received but rejected and will be refunded since it's not linked to a QrCode
When column transaction_type has value WITHDRAW:
paid: withdrawal approved and completed
failed: withdrawal failed either due to business rules or could no be completed
pending: withdrawal is pending its final status
When column transaction_type has value REFUND:
paid: refund approved and completed
failed: refund failed either due to business rules or could no be completed
pending: refund is pending its final status
awaiting: refund is in the queue
Possible values: [transaction, withdraw, refund]
Transaction type
Transaction value
Document of the person who paid or received (CPF or CNPJ)
Date when the transaction was created
Merchant's ID for conciliation
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 of items
Pagination to page
Total number of items 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