cURL
curl --request GET \ --url https://grosh.muathye.com/api/obligations/{id} \ --header 'Authorization: Bearer <token>'
{ "id": "<string>", "name": "<string>", "reference": "<string>", "notes": "<string>", "opened_date": "2023-12-25", "due_date": "2023-12-25", "original_amount": 123, "outstanding_amount": 123, "status": "open", "settled_at": "2023-11-07T05:31:56Z", "contact": { "id": "<string>", "name": "<string>" }, "account": { "id": "<string>", "name": "<string>", "code": "<string>" }, "currency": { "id": "<string>", "name": "<string>", "code": "<string>" }, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "deleted_at": "2023-11-07T05:31:56Z" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful response
open
settled
Show child attributes
Was this page helpful?