List invoices and reminders for product
Production
https://api.mediaconnect.no/capi
Production
https://api.mediaconnect.no/capi
GET
/v1/customer/invoice/payment/{product}
Invoice
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.mediaconnect.no/capi/v1/customer/invoice/payment/?unpaid&from&to'
Response Response Example
200 - Success
{
"invoices": [
{
"customerNumber": 563457,
"product": "CO27409",
"invoiceOfferCount": "1",
"productName": "Weekly Magazine",
"amount": 49,
"invoiceDate": "2022-01-07",
"invoiceNumber": "7435367",
"companyCode": "5646903690",
"paymentDate": "2022-01-17",
"dueDate": "2022-01-21",
"paymentStatus": "0",
"invoiceAmount": "295.00",
"paidAmount": 0,
"paymentMethod": "A",
"invoiceHotelUrl": "http://mediaconnect.no/invoice/view/gkcb93qgt94ca6943bloitxgq4de",
"invoiceStatus": "Invoiced"
}
],
"reminders": [
{
"invoiceNumber": 7435367,
"product": "CO27409",
"fromTime": "2023-01-01",
"includeTime": "2024-01-01",
"reminderDate": 1560333600000,
"amount": 49,
"dueDate": 1561716000000,
"reminderNumber": 1,
"reminderType": "reminder",
"invoiceHotelUrl": "http://mediaconnect.no/invoice/view/gkcb93qgt94ca6943bloitxgq4de"
}
]
}
Request
Path Params
product
stringÂ
required
<= 12 characters
Query Params
unpaid
booleanÂ
optional
from
stringÂ
optional
<= 10 characters
to
stringÂ
optional
<= 10 characters