curl --request POST \
--url https://stagingstores.xoxoday.com/chef/v1/oauth/api/paymentHistory \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "plumProAPI.mutation.paymentHistory",
"tag": "plumProAPI",
"data": {
"data": {
"startDate": "2012-07-25",
"endDate": "2012-07-28",
"limit": 10,
"page": 1
}
}
}
'{
"data": {
"invoice_number": 123,
"reference_id": 123,
"date": "<string>",
"reason": "<string>",
"adjusted_amount": 123,
"closing_balance": 123,
"transaction_status": "<string>"
}
}Fetch payment/transaction history within a date range.
Note: This endpoint uses "data" as the top-level request key instead of "variables" — this is intentional and differs from other endpoints.
Real URL: POST https://stagingstores.xoxoday.com/chef/v1/oauth/api
curl --request POST \
--url https://stagingstores.xoxoday.com/chef/v1/oauth/api/paymentHistory \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "plumProAPI.mutation.paymentHistory",
"tag": "plumProAPI",
"data": {
"data": {
"startDate": "2012-07-25",
"endDate": "2012-07-28",
"limit": 10,
"page": 1
}
}
}
'{
"data": {
"invoice_number": 123,
"reference_id": 123,
"date": "<string>",
"reason": "<string>",
"adjusted_amount": 123,
"closing_balance": 123,
"transaction_status": "<string>"
}
}Documentation Index
Fetch the complete documentation index at: https://help-plum.xoxoday.com/llms.txt
Use this file to discover all available pages before exploring further.
| Parameter | Type | Description |
|---|---|---|
| startDate | String | the start date of the report |
| endDate | String | the end date to which the report is required |
| limit | Integer | the number of entries that are required |
| page | Integer | define the pagination to extract the report |
{
"data": {
"h-0": "Parameter",
"h-1": "Type",
"h-2": "Description",
"0-0": "invoice_number",
"0-1": "Integer",
"0-2": "This parameter provides the unique Invocie number \nwhenever a Invoice is generated",
"1-0": "reference_id",
"1-1": "Integer",
"1-2": "This parameter provides Order reference ID for any \ndeductions or refunds",
"2-0": "date",
"2-1": "string",
"2-2": "This parameter provides the transaction date",
"3-0": "reason",
"3-1": "string",
"3-2": "This parameter provides the reason of the \ntransaction like Funds added, Refunded, Brand \nVoucher Issued",
"4-0": "adjusted_amount",
"4-1": "Integer",
"4-2": "This parameter provides the information on amount \nadded or deducted from the Balance",
"5-0": "closing_balance",
"5-1": "Integer",
"5-2": "This parameter provides the information on the \nclosing balance after every transaction",
"6-0": "transaction_status",
"6-1": "String",
"6-2": "This provides information if the transaction status is \neither Cancelled or Complete"
},
"cols": 3,
"rows": 7,
"align": [
"left",
"left",
"left"
]
}
Authorization: Bearer <access_token>
Payment report returned.
Show child attributes