Get All Parent Transactions (using POST)
POST {{wallet-service-api}}/parent-account-transactions
Understanding How Filter Data
[Click here]
To view search conditions GET(
[https://wallet-service-api.open.azapay.ng/allowed-query/search-condition
](https://wallet-service-api.open.azapay.ng/allowed-query/search-condition))To view allowed search field GET(
[https://wallet-service-api.open.azapay.ng/allowed-query/fields/parent-account-transactions
](https://wallet-service-api.open.azapay.ng/allowed-query/fields/parent-account-transactions))
NOTE: If the result of GET(baseUrl/allowed-query/fields/terminal-banks
) has .deleted
make sure to add a filter to ensure that only non-deleted data are returned
Example
{
"filter": true,
"more": true,
"pageNumber": 1,
"batchNumber": 10,
"sort": "DESC",
"orderBy": "parentAccountTransaction.createdAt",
"groups": [
{
"filterGroupCondition": "AND",
"filterSearchCondition": "AND",
"filters": [
{
"filterOption": "eq",
"field": "parentAccountTransaction.deleted",
"value": "false",
"dataType": "bool"
}
]
}
]
}
Request Body
{"filter"=>true, "more"=>true, "pageNumber"=>1, "batchNumber"=>10, "sort"=>"DESC", "orderBy"=>"parentAccountTransaction.createdAt", "groups"=>[{"filterGroupCondition"=>"AND", "filterSearchCondition"=>"AND", "filters"=>[{"filterOption"=>"eq", "field"=>"parentAccount.deleted", "value"=>"false", "dataType"=>"bool"}]}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Api-Key | string | ||
Business-Id | string |