Retrieve card payments - celdotro/marketplace GitHub Wiki
- Retrieve information about monthly card payments
celmarket\Payments\PaymentsReports
getCardPayments
- method: commissions
- action: getCardOrdersByMonth
- month = luna
An object with the following attributes
- orders = orders -> array
- (array element) = order -> object
- orders_id = order's ID
- status = order's status
- nr_fact = invoice's number
- serie = invoice's series
- id_borderou = summary's ID
- customers_name = client's name
- order_total = order's total
- (array element) = order -> object
- total = orders' total
https://github.com/celdotro/marketplace_examples/blob/master/Payments/1.getCardPayments.php
{
"request": {
"month": "X"
},
"response": {
"orders": [
{
"orders_id": 1,
"status": 1,
"nr_fact": 1,
"serie": "X",
"id_borderou": 1,
"customers_name": "X",
"order_total": 1
},
"total": 1
]
}
}