Orders

Explain an order’s money

Each charge, refund, chargeback and transfer of the order, oldest first, with the Fungies fee, the tax remitted and your net. `absent` names what the legs cannot state.

Authorization

bearer orders:read
AuthorizationBearer <token>

A v1 API key; the scope named is the one the route needs.

In: header

Scope: orders:read

Path Parameters

orderId*string
Match^[A-Za-z0-9_-]{1,64}$
Length1 <= length <= 64

Query Parameters

limit?integer
Range1 <= value <= 100
Default20
cursor?string
Match^[A-Za-z0-9_-]{1,512}$

Response Body

application/json

application/problem+json

GET
/v1/orders/{orderId}/breakdown
curl -X GET "https://example.com/v1/orders/string/breakdown"
{  "orderId": "string",  "legs": [    {      "id": "string",      "kind": "string",      "status": "string",      "direction": "credit",      "amount": {        "amount": -9007199254740991,        "currency": "string"      },      "fee": {        "amount": -9007199254740991,        "currency": "string"      },      "tax": {        "amount": -9007199254740991,        "currency": "string"      },      "net": {        "amount": -9007199254740991,        "currency": "string"      },      "occurredAt": "2019-08-24T14:15:22Z"    }  ],  "absent": [    {      "field": "string",      "reason": "string"    }  ],  "nextCursor": "string"}