Payments
Get all payments
{
"status": true,
"current_page": 1,
"data": [
{
"id": "21087b8f-532c-4a83-86ce-35d5406d5932",
"user_id": 1,
"order_id": 2,
"package_id": 1,
"price_id": 1,
"type": "once",
"description": "Universal",
"status": "paid",
"currency": "USD",
"amount": 5,
"transaction_id": "21087b8f-532c-4a83-86ce-35d5406d5932",
"handler": "App\\Handlers\\NewOrder",
"gateway": {
"id": 1,
"name": "Balance",
"type": "once",
"driver": "Balance",
"class": "App\\Models\\Gateways\\BalanceGateway",
"endpoint": "balance",
"refund_support": 1,
"blade_edit_path": null,
"status": 1,
"created_at": "2024-01-09T18:29:17.000000Z",
"updated_at": "2024-01-09T18:29:17.000000Z",
"default": 0
},
"data": [],
"options": {
"coupon": null
},
"show_as_unpaid_invoice": 0,
"notes": null,
"due_date": null,
"created_at": "2024-01-09T18:29:25.000000Z",
"updated_at": "2024-01-09T18:29:25.000000Z"
}
],
"first_page_url": "http://wemx.app/api/v1/payments?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://wemx.app/api/v1/payments?page=1",
"links": [
{
"url": null,
"label": "Previous",
"active": false
},
{
"url": "http://wemx.app/api/v1/payments?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next",
"active": false
}
],
"next_page_url": null,
"path": "http://wemx.app/api/v1/payments",
"per_page": 15,
"prev_page_url": null,
"to": 2,
"total": 2
}Available Relationships (optional)
Available relationships:
Filters (optional)
Available Filters:
Sorting (optional)
Available Sorting Parameters:
Sorting operators
Dates (optional)
Operator
Description
Generate a payment
Request Body
Name
Type
Description
Last updated