Obtenir les détails des cashouts
Une requête GET sur l’URL permet de récupérer les informations sur les virements et les remboursements associés au cashout (avec les détails des commandes et items) :
GET/cachouts/{cashout_uuid}cashouts_read
La liste des cashouts fournit l’URL pour accéder aux détails de chacun des cashouts.
Exemple :
Requête
GET https://secure.lyra.com/marketplace/v1/cashouts/f9132b0b-8d42-4409-b3e1-c1c6d711688b
Réponse
{ "href": "/marketplace/v1/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": "Repas" }, "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": "Repas" }, "amount": 450, "currency": "EUR" } ] }