Download OpenAPI specification:Download
Retrieves sales context for VM Number (also called Vippsnummer) and mPOS payments. Use together with the Report API and join on reference or pspReference. See the Sales API guide.
Endpoints for retrieving sales events (captures and refunds) enriched with order lines, VAT, and categories. Use the feed endpoint for continuous synchronization, the date endpoint for accounting-date retrieval, or the reference endpoints to look up a specific order or transaction.
Returns paginated sales events (captures and refunds) for the specified ledger. Use the cursor value to fetch subsequent pages.
| ledgerId required | string Ledger ID provided by the Report API Get ledgers endpoint |
| cursor | string Pagination cursor from a previous response. If omitted, the feed starts from the earliest available event. |
| pageSize | integer <int32> [ 1 .. 1000 ] Default: 100 Number of items per page (default: 100, max: 1000) |
{- "items": [
- {
- "entryType": "capture",
- "time": "2019-08-24T14:15:22Z",
- "pspReference": "string",
- "reference": "string",
- "currency": "string",
- "paymentType": "CARD",
- "amounts": {
- "gross": 0,
- "net": 0,
- "vat": 0
}, - "lines": [
- {
- "lineId": "string",
- "name": "string",
- "quantity": 0,
- "unitPriceGross": 0,
- "unitPriceNet": 0,
- "discountTotal": 0,
- "lineTotalGross": 0,
- "lineTotalNet": 0,
- "vatRate": 0,
- "vatAmount": 0,
- "category": "string"
}
], - "customer": {
- "email": "string",
- "phone": "string",
- "name": "string"
}, - "classification": {
- "solution": "VARIABLE_AMOUNT",
- "salesCategory": "string"
}, - "completeness": {
- "hasLineItems": true,
- "hasVatBreakdown": true,
- "hasCustomerIdentity": true
}
}
], - "cursor": "string",
- "hasMore": true
}Returns paginated sales events (captures and refunds) for the specified ledger filtered by date.
| ledgerId required | string Ledger ID provided by the Report API Get ledgers endpoint |
| ledgerDate required | string <date> Date to filter events by (YYYY-MM-DD) |
| cursor | string Pagination cursor from a previous response. If omitted, the feed starts from the earliest available event for the given date. |
| pageSize | integer <int32> [ 1 .. 1000 ] Default: 100 Number of items per page (default: 100, max: 1000) |
{- "items": [
- {
- "entryType": "capture",
- "time": "2019-08-24T14:15:22Z",
- "pspReference": "string",
- "reference": "string",
- "currency": "string",
- "paymentType": "CARD",
- "amounts": {
- "gross": 0,
- "net": 0,
- "vat": 0
}, - "lines": [
- {
- "lineId": "string",
- "name": "string",
- "quantity": 0,
- "unitPriceGross": 0,
- "unitPriceNet": 0,
- "discountTotal": 0,
- "lineTotalGross": 0,
- "lineTotalNet": 0,
- "vatRate": 0,
- "vatAmount": 0,
- "category": "string"
}
], - "customer": {
- "email": "string",
- "phone": "string",
- "name": "string"
}, - "classification": {
- "solution": "VARIABLE_AMOUNT",
- "salesCategory": "string"
}, - "completeness": {
- "hasLineItems": true,
- "hasVatBreakdown": true,
- "hasCustomerIdentity": true
}
}
], - "cursor": "string",
- "hasMore": true
}Returns sales events for the specified ledger matching the given merchant reference.
| ledgerId required | string Ledger ID provided by the Report API Get ledgers endpoint |
| reference required | string The merchant's order reference |
{- "items": [
- {
- "entryType": "capture",
- "time": "2019-08-24T14:15:22Z",
- "pspReference": "string",
- "reference": "string",
- "currency": "string",
- "paymentType": "CARD",
- "amounts": {
- "gross": 0,
- "net": 0,
- "vat": 0
}, - "lines": [
- {
- "lineId": "string",
- "name": "string",
- "quantity": 0,
- "unitPriceGross": 0,
- "unitPriceNet": 0,
- "discountTotal": 0,
- "lineTotalGross": 0,
- "lineTotalNet": 0,
- "vatRate": 0,
- "vatAmount": 0,
- "category": "string"
}
], - "customer": {
- "email": "string",
- "phone": "string",
- "name": "string"
}, - "classification": {
- "solution": "VARIABLE_AMOUNT",
- "salesCategory": "string"
}, - "completeness": {
- "hasLineItems": true,
- "hasVatBreakdown": true,
- "hasCustomerIdentity": true
}
}
], - "cursor": "string",
- "hasMore": true
}Returns sales events for the specified ledger matching the given PSP reference.
| ledgerId required | string Ledger ID provided by the Report API Get ledgers endpoint |
| pspReference required | string Payment service provider reference |
{- "items": [
- {
- "entryType": "capture",
- "time": "2019-08-24T14:15:22Z",
- "pspReference": "string",
- "reference": "string",
- "currency": "string",
- "paymentType": "CARD",
- "amounts": {
- "gross": 0,
- "net": 0,
- "vat": 0
}, - "lines": [
- {
- "lineId": "string",
- "name": "string",
- "quantity": 0,
- "unitPriceGross": 0,
- "unitPriceNet": 0,
- "discountTotal": 0,
- "lineTotalGross": 0,
- "lineTotalNet": 0,
- "vatRate": 0,
- "vatAmount": 0,
- "category": "string"
}
], - "customer": {
- "email": "string",
- "phone": "string",
- "name": "string"
}, - "classification": {
- "solution": "VARIABLE_AMOUNT",
- "salesCategory": "string"
}, - "completeness": {
- "hasLineItems": true,
- "hasVatBreakdown": true,
- "hasCustomerIdentity": true
}
}
], - "cursor": "string",
- "hasMore": true
}