GET /api/v2/summaries/manual_confirmations
Query Params:
- group[optional], Group of data (daily, monthly, yearly), the default was daily
- status[optional], Status of manual confirmation
- start_date[optional], Start date of transaction date manual confirmation, the default was current date.
- end_date[optional], End date of transaction date manual confirmation, the default was current date.
- page[optional], the page of api. The default was 1
GET /api/v2/summaries/manual_confirmations?group=daily&start_date=2020-01-01
{
"data": [
{
"start_date": "2020-01-01",
"end_date": "2020-01-01",
"total_items": 5,
"amount": 500000,
"amount_formatted": "Rp 50.000,00"
},
{
"start_date": "2020-01-02",
"end_date": "2020-01-02",
"total_items": 1,
"amount": 200000,
"amount_formatted": "Rp 20.000,00"
},
],
"meta": {
"total_pages": 1,
"total_items": 2,
"total_amounts": 700000,
"total_amounts_formated": "Rp 700.000,00"
}
}
GET /api/v2/summaries/manual_confirmations?group=weekly&start_date=2020-01-01
{
"data": [
{
"start_date": "2020-01-01",
"end_date": "2020-01-07",
"total_items": 5,
"amount": 500000,
"amount_formatted": "Rp 50.000,00"
},
{
"start_date": "2020-01-08",
"end_date": "2020-01-15",
"total_items": 1,
"amount": 200000,
"amount_formatted": "Rp 20.000,00"
},
],
"meta": {
"total_pages": 1,
"total_items": 2,
"total_amounts": 700000,
"total_amounts_formated": "Rp 700.000,00"
}
}
GET /api/v2/summaries/manual_confirmations?group=monthly&start_date=2020-01-01
{
"data": [
{
"start_date": "2020-01-01",
"end_date": "2020-01-31",
"total_items": 5,
"amount": 500000,
"amount_formatted": "Rp 50.000,00"
},
{
"start_date": "2020-02-01",
"end_date": "2020-02-30",
"total_items": 1,
"amount": 200000,
"amount_formatted": "Rp 20.000,00"
},
],
"meta": {
"total_pages": 1,
"total_items": 2,
"total_amounts": 700000,
"total_amounts_formated": "Rp 700.000,00"
}
}
GET /api/v2/summaries/manual_confirmations?group=yearly&start_date=2019-01-01
{
"data": [
{
"start_date": "2019-01-01",
"end_date": "2019-12-31",
"total_items": 5,
"amount": 500000,
"amount_formatted": "Rp 50.000,00"
},
{
"start_date": "2020-01-01",
"end_date": "2020-12-31",
"total_items": 1,
"amount": 200000,
"amount_formatted": "Rp 20.000,00"
},
],
"meta": {
"total_pages": 1,
"total_items": 2,
"total_amounts": 700000,
"total_amounts_formated": "Rp 700.000,00"
}
}