Cashout details
The list of cashouts provides the URL for accessing the details of each of the cashouts, for example:
"/marketplace/cashouts/f9132b0b-8d42-4409-b3e1-c1c6d711688b".
A GET on the URL allows to retrieve information on the transfers and refund associated with the cashout (including order and item details):
GET /cachouts/{uuid}
Example:
Request
GET https://secure.lyra.com/marketplace/cashouts/f9132b0b-8d42-4409-b3e1-c1c6d711688b
Response
{ "href": "/marketplace/cashouts/f9132b0b-8d42-4409-b3e1-c1c6d711688b", "uuid": "f9132b0b-8d42-4409-b3e1-c1c6d711688b", "seller": "4d20a9d4-0526-4474-b452-e936dc25418d", "seller_external_ref": "ref012345", "ref": "demoeYDPnZuC", "status": "CREATED", "amount": 1450, "currency": "EUR", "captured_at": "2019-01-01", "capture_label": null, "transfers": [ { "uuid": "0a5a8c7e-9c8b-4f16-8a29-0018c5aa20ef", "created_at": "2019-04-12T12:45:54.705798Z", "updated_at": "2019-05-06T12:15:09.942029Z", "item": { "uuid": "e8950426-f13c-4b18-8d27-17f2e6bbca8b", "ref": "demoeYDPnZuC", "desc": "Meal" }, "order": { "uuid": "0bfa5ebf-cd09-4fd8-bb78-465d17854b55", "ref": "TestMKP", "desc": " Test marketplace " }, "amount": 1900, "currency": "EUR" } ], "refunds": [ { "uuid": "2760e1dd-252b-4109-816c-efbeafa2eaa2", "created_at": "2019-04-10T14:06:34.076796Z", "updated_at": "2019-04-10T14:06:35.719923Z", "order": { "uuid": "06f0fbd9-4a1f-4828-a014-aafda50df703", "ref": "TestMKP", "desc": "Test marketplace" }, "item": { "uuid": "00f5a201-3d0c-49e7-9d05-0e706d04a385", "ref": "demoeYDPnZuC", "desc": "Meal" }, "amount": 450, "currency": "EUR" } ] }