cURL
curl --request GET \ --url https://app.blinksale.test/api/v1/payments \ --header 'Authorization: Bearer <token>'
{ "success": true, "message": "Resources retrieved successfully", "data": [ { "id": "01jtbf0c9zaraqx3swthf88n5y", "organization_id": "01jtbf0c9zaraqx3swthf88n5y", "invoice_id": "01jtbf0c9zaraqx3swthf88n5y", "amount": 500, "is_settled": true, "payment_date": "2023-06-25", "notes": "Payment via check #12345", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } ], "meta": { "current_page": 1, "from": 1, "last_page": 5, "links": [ { "url": "<string>", "label": "<string>", "active": true } ], "path": "<string>", "per_page": 15, "to": 15, "total": 75 } }
Get a paginated list of payments
Access token obtained from the /v1/auth/login endpoint
Number of records per page
Filter payments by invoice ID
Payments retrieved successfully
true
"Resources retrieved successfully"
Show child attributes