Ziwako Docs
ZiwakoRéférence APIOrders

Get Order Payout Breakdown

GET
/orders/{id}/payouts/breakdown

Authorization

X-API-Key<token>

In: header

Path Parameters

id*string

Response Body

application/json

curl -X GET "https://example.com/orders/string/payouts/breakdown"
{  "success": true,  "message": "string",  "code": "string",  "data": {    "breakdown": {      "payouts": [        {          "ownerType": "Profil",          "ownerId": "string",          "label": "string",          "orderItemId": "string",          "gross": 0,          "commissionShare": 0,          "net": 0        }      ],      "seller": {        "ownerType": "Profil",        "ownerId": "string",        "label": "string",        "gross": 0,        "commissionShare": 0,        "net": 0      },      "commission": 0,      "commissionMode": "seller_margin",      "total": 0,      "totalCollected": 0,      "fullyCollected": true    },    "coverage": {      "ok": true,      "margin": 0,      "commission": 0,      "deficit": 0,      "message": "string"    }  }}