Get Order

Path

GET /api/v3/orders/{orderNumber}

Request Parameters

orderNumber
required

string

Order number

Responses

200 Success

RESPONSE SCHEMA:

orderDetails

object (orderDetails)

Order

orderId

string <uuid>

Order ID.

orderNumber

string > 50 Characters

Order number.

totalNetAmount

number <double>

Total net amount of order.

totalGrossAmount

number <double>

Total gross amount of order.

currency

string

Enum:EURNOKSEKDKKCHF

Currency

orderChannelType

string

Enum:InternetCatalogCallCenterStationaryOther

Order channel type

orderDeliveryType

string

Enum:NormalExpress

Order delivery type

hasSeparateDeliveryAddress

boolean

Indicates whether order has separate delivery address or not.

customer

object (customer)

Checkout customer. Can be remitter or receiver of the order.

identificationNumber

string > 20 Characters

National ID number (if the customer is a physical person). Registration number (if the customer is a company).

address

object (address)

Customer address

careOf

string > 50 Characters

Care of. Intermediary who is responsible for transferring a piece of mail between the postal system and the final addressee. For example Jane c/o John (“Jane at John's address”). This field has to be used for company, authority and organization names as well - e. g. "Sportverein Blau-Weiß e.V.

street

string > 100 Characters

Name of street or packstation

streetNumber

string > 10 Characters

Street or packstation number

streetNumberAdditional

string > 10 Characters

Additional street number

postalCode

string > 10 Characters

Postal code

postalPlace

string > 100 Characters

Postal place

countryCode

string

Enum:NOSEFIDKDEATCHNLBE

Country code

legalForm

string > 255 Characters

Type of business. Required for Austria, Germany and Switzerland.

riskData

object (riskData)

existingCustomer

boolean

Is customer an existing customer for merchant

verifiedCustomerIdentification

boolean

Is identification verified

marketingOptIn

boolean

Shows if merchant is allowed to send marketing information to customer

customerSince

string <date-time>

Since when customer has been merchant's client

customerClassification

string > 255 Characters

Customer reputation (e.g. VIP client)

acquisitionChannel

string

Enum:NotSetAdvertismentSocialNetworkDirectSearchEngineOther

Customer acquisition channel

hasCustomerCard

boolean

Shows if customer has loyalty card

customerCardSince

string <date-time>

The date when the loyalty card was issued to the customer

customerCardClassification

string

Specifies the level of the loyalty card (e.g Gold member). For DE, AT, CH, this must be an integer from 1 to 5, where 5 is the highest VIP level.

profileTrackingId

string > 50 Characters

Unique Id of the device for profile tracking

ipAddress

string > 39 Characters

Customer’s IP address

numberOfTransactions

integer <int32>

Total number of successful purchases that have been made by the specific consumer

customerIndividualScore

string

The customer's individual risk score provided by the merchant. Accepts a number from -10000 to 10000 (can be encased in quotation marks or not), or a single case-insensitive letter from 'a' to 'z'.

userAgent

string > 4096 Characters

UserAgent of this specific consumer

amountOfTransactions

number <double>

Amount of paid orders last 12 months

otherPaymentMethods

boolean

Other payment method than MI in wallet

customerNumber

string > 100 Characters

Customer number has to be unique, if no customer number available please leave empty

salutation

string

Enum:MrMrsMiss

Salutation

firstName

string > 50 Characters

First name. Everything over 50 characters will be truncated

lastName

string > 50 Characters

Last name. Everything over 255 characters will be truncated

companyName

string > 255 Characters

Purchasing company name. Everything over 255 characters will be truncated. This field is mandatory for processing B2B transactions in Austria, Belgium, Germany, the Netherlands and Switzerland.

email

string <email> > 255 Characters

Email

phone

string > 20 Characters

Phone

mobilePhone

string > 20 Characters

Mobile phone

birthDate
required

string <date>

Date of birth. Not required if customerCategory is 'Company'.

customerCategory
required

string

Enum:CompanyPerson

Customer category

conversationLanguage

string

Enum:NOSVFIDAENDENLFR

Language code

distributionType

string

Enum:PaperEmailSms

How information (invoices, notices, etc.) will be distributed to customer.

vatId

string > 50 Characters

VAT registration number, the unique number that identifies a business. This field is mandatory for processing B2B transactions in Austria, Germany and Switzerland.

insertedAt

string <date-time>

Indicates the creation of the specific element (e.g. orderDetails).

updatedAt

string <date-time>

Indicates the time of the latest change of the element.

imageUrl

string > 2048 Characters

URL for the image of this product. It will be turned into a thumbnail and displayed in Riverty, on the invoice line next to the order item. The linked image must be a rectangle or square, width between 100 pixels and 1280 pixels. Supported image formats are: gif, jpeg (jpg), png, webp.

merchantImageUrl

string > 2048 Characters

Image URL for the merchants brand. This image is shown at the top of the order page in Riverty. Supported image formats are: gif, jpeg (jpg), png, webp.

googleAnalyticsUserId

string > 50 Characters

Google Analytics User ID.

orderItems

array

Order items.

Array () [
orderId

string <uuid>

Order ID

insertedAt

string <date-time>

Inserted at

updatedAt

string <date-time>

Updated at

productId
required

string > 100 Characters

Merchant Product identification number.

groupId

string > 50 Characters

Item group ID. The group this item belongs to. Provided by the merchant. Everything over 50 characters will be truncated.

description
required

string

Product name. For example "Black music player 64GB". Everything over 255 characters will be truncated.

type

string

Enum:PhysicalArticleDigitalArticleGiftCardDiscountShippingFeeSurchargeInfoSubscription

netUnitPrice
required

number <double>

Net unit price.

grossUnitPrice
required

number <double>

Gross price per item.

quantity
required

number <double>

Quantity. Use of integer is strongly proposed. If you want to use decimal, please contact your integration manager.

unitCode

string > 50 Characters

Unit code (for example pieces, liters, kilograms, etc.).

vatCategory

string

Enum:HighCategoryLowCategoryNullCategoryNoCategoryMiddleCategoryOtherCategory

Vat category

vatPercent
required

number <double>

Tax percent.

vatAmount
required

number <double>

Tax amount per item.

imageUrl

string > 2048 Characters

URL for the image of this product. It will be turned into a thumbnail and displayed in Riverty, on the invoice line next to the order item. The linked image must be a rectangle or square, width between 100 pixels and 1280 pixels. Supported image formats are: gif, jpeg (jpg), png, webp.

googleProductCategoryId

integer <int32>

Google product category ID.

googleProductCategory

string > 255 Characters

Indicates the category of the item based on the Google product taxonomy. Categorizing the product helps ensure that the ad is shown with the right search results.

merchantProductType

string > 255 Characters

Categorization used by Merchant as a complement to Google Taxonomy.

lineNumber

integer <int32>

Line number. The merchant may add a line number to each order item, to sort them in a particular order.

productUrl

string > 2048 Characters

URL to the product.

marketPlaceSellerId

string > 32 Characters

ID of an individual seller on a marketplace.

parentTransactionReference

string > 128 Characters

A unique reference provided to Riverty by a third party (merchant or Payment Service Provider). Identifies an entire order.

additionalInformation

string > 4096 Characters

Extended description of the order item.

specification

undefined

Specification.

serviceStart

string <date-time>

Capture start time.

serviceEnd

string <date-time>

Capture end time.

]
expirationDate

string <date>

The date and time when this authorization will expire if you did not make a Capture call. If the deadline has passed, you must make a new Authorize call before Capturing this order.

status

string

Enum:AcceptedCancelledExpiredPending

Order status

displayStatus

string

Enum:ReservedCancelledFullyCapturedPartiallyCapturedPartiallyRefundedFullyRefundedExpired

Display status

captures

array

Collection of captures

Array () [
reservationId

string <uuid>

Reservation ID.

customerNumber

string > 100 Characters

Customer number.

captureNumber

string > 50 Characters

Capture number.

orderNumber

string > 50 Characters

Order number.

amount

number <double>

Shows the original invoice amount.

balance

number <double>

Shows the remaining amount due on the invoice.

totalRefundedAmount

number <double>

Total refunded amount.

currency

string

Enum:EURNOKSEKDKKCHF

Currency

insertedAt

string <date-time>

Indicates the capture creation time.

updatedAt

string <date-time>

Indicates the time when the capture was last updated.

directDebitBankAccount

string > 34 Characters

Direct debit bank account.

directDebitSwift

string > 11 Characters

Direct debit swift.

accountProfileNumber

integer <int32>

Account profile number.

numberOfInstallments

integer <int32>

Number of installments.

installmentAmount

number <double>

Installment amount.

contractDate

string <date-time>

Contract date.

orderDate

string <date-time>

Order date.

installmentProfileNumber

integer <int32>

Installment profile number.

parentTransactionReference

string > 128 Characters

A unique reference provided to Riverty by a third party (merchant or Payment Service Provider). Identifies an entire order.

transactionReference

string > 100 Characters

A unique reference for each transaction (separate for transactions within an order), generated and provided to Riverty by a third party (merchant or Payment Service Provider). It is used to identify transactions during back-end settlement between Core systems and the PSP.

dueDate

string <date-time>

Due date.

invoiceDate

string <date-time>

Invoice date.

yourReference

string > 20 Characters

Reference number. Only to be used if advised by Riverty integration manager.

ourReference

string > 20 Characters

Reference number. Only to be used if advised by Riverty integration manager.

invoiceProfileNumber

integer <int32>

Invoice profile number.

ocr

string > 27 Characters

OCR (Optical Character Recognition) number bound to this capture.

installmentCustomerInterestRate

number <double>

Installment customer interest rate.

imageUrl

string > 2048 Characters

URL for the image of this product. It will be turned into a thumbnail and displayed in Riverty, on the invoice line next to the order item. The linked image must be a rectangle or square, width between 100 pixels and 1280 pixels. Supported image formats are: gif, jpeg (jpg), png, webp.

productUser

string > 50 Characters

Product User.

costCenter

string > 50 Characters

Used for B2B to specify the costCenter e.g. Marketing or Sales Department - Displayed on the invoice.

captureItems

array

Capture items.

Array () [
productId
required

string > 100 Characters

Merchant Product identification number.

groupId

string > 50 Characters

Item group ID. The group this item belongs to. Provided by the merchant. Everything over 50 characters will be truncated.

description
required

string

Product name. For example "Black music player 64GB". Everything over 255 characters will be truncated.

type

string

Enum:PhysicalArticleDigitalArticleGiftCardDiscountShippingFeeSurchargeInfoSubscription

netUnitPrice
required

number <double>

Net unit price.

grossUnitPrice
required

number <double>

Gross price per item.

quantity
required

number <double>

Quantity. Use of integer is strongly proposed. If you want to use decimal, please contact your integration manager.

unitCode

string > 50 Characters

Unit code (for example pieces, liters, kilograms, etc.).

vatCategory

string

Enum:HighCategoryLowCategoryNullCategoryNoCategoryMiddleCategoryOtherCategory

Vat category

vatPercent
required

number <double>

Tax percent.

vatAmount
required

number <double>

Tax amount per item.

imageUrl

string > 2048 Characters

URL for the image of this product. It will be turned into a thumbnail and displayed in Riverty, on the invoice line next to the order item. The linked image must be a rectangle or square, width between 100 pixels and 1280 pixels. Supported image formats are: gif, jpeg (jpg), png, webp.

googleProductCategoryId

integer <int32>

Google product category ID.

googleProductCategory

string > 255 Characters

Indicates the category of the item based on the Google product taxonomy. Categorizing the product helps ensure that the ad is shown with the right search results.

merchantProductType

string > 255 Characters

Categorization used by Merchant as a complement to Google Taxonomy.

lineNumber

integer <int32>

Line number. The merchant may add a line number to each order item, to sort them in a particular order.

productUrl

string > 2048 Characters

URL to the product.

marketPlaceSellerId

string > 32 Characters

ID of an individual seller on a marketplace.

parentTransactionReference

string > 128 Characters

A unique reference provided to Riverty by a third party (merchant or Payment Service Provider). Identifies an entire order.

additionalInformation

string > 4096 Characters

Extended description of the order item.

specification

undefined

Specification.

serviceStart

string <date-time>

Capture start time.

serviceEnd

string <date-time>

Capture end time.

]
shippingDetails

array

Shipping details.

Array () [
shippingNumber
required

integer <int32>

Unique shipping number within one capture

type
required

string

Enum:ShipmentReturn

shippingCompany
required

string > 200 Characters

Company name providing shipping

trackingId
required

string > 100 Characters

Tracking ID

trackingUrl

string > 2083 Characters

Webpage URL to track shipping status

]
]
refunds

array

Collection of refunds

Array () [
reservationId

string <uuid>

Reservation ID

customerNumber

string > 100 Characters

Customer number

refundNumber

string > 50 Characters

Refund number

orderNumber

string > 50 Characters

Order number

amount

number <double>

Refunded amount

balance

number <double>

Remaining amount to be refunded

currency

string

Enum:EURNOKSEKDKKCHF

Currency

insertedAt

string <date-time>

Indicates the Refund creation time

updatedAt

string <date-time>

Indicates the time when the refund was last updated

captureNumber

string > 50 Characters

Capture number

refundItems

array

Refund items

Array () [
productId
required

string > 100 Characters

Merchant Product identification number.

groupId

string > 50 Characters

Item group ID. The group this item belongs to. Provided by the merchant. Everything over 50 characters will be truncated.

description
required

string

Product name. For example "Black music player 64GB". Everything over 255 characters will be truncated.

type

string

Enum:PhysicalArticleDigitalArticleGiftCardDiscountShippingFeeSurchargeInfoSubscription

netUnitPrice
required

number <double>

Net unit price.

grossUnitPrice
required

number <double>

Gross price per item.

quantity
required

number <double>

Quantity. Use of integer is strongly proposed. If you want to use decimal, please contact your integration manager.

unitCode

string > 50 Characters

Unit code (for example pieces, liters, kilograms, etc.).

vatCategory

string

Enum:HighCategoryLowCategoryNullCategoryNoCategoryMiddleCategoryOtherCategory

Vat category

vatPercent
required

number <double>

Tax percent.

vatAmount
required

number <double>

Tax amount per item.

imageUrl

string > 2048 Characters

URL for the image of this product. It will be turned into a thumbnail and displayed in Riverty, on the invoice line next to the order item. The linked image must be a rectangle or square, width between 100 pixels and 1280 pixels. Supported image formats are: gif, jpeg (jpg), png, webp.

googleProductCategoryId

integer <int32>

Google product category ID.

googleProductCategory

string > 255 Characters

Indicates the category of the item based on the Google product taxonomy. Categorizing the product helps ensure that the ad is shown with the right search results.

merchantProductType

string > 255 Characters

Categorization used by Merchant as a complement to Google Taxonomy.

lineNumber

integer <int32>

Line number. The merchant may add a line number to each order item, to sort them in a particular order.

productUrl

string > 2048 Characters

URL to the product.

marketPlaceSellerId

string > 32 Characters

ID of an individual seller on a marketplace.

parentTransactionReference

string > 128 Characters

A unique reference provided to Riverty by a third party (merchant or Payment Service Provider). Identifies an entire order.

additionalInformation

string > 4096 Characters

Extended description of the order item.

specification

undefined

Specification.

serviceStart

string <date-time>

Capture start time.

serviceEnd

string <date-time>

Capture end time.

]
parentTransactionReference

string > 128 Characters

A unique reference provided to Riverty by a third party (merchant or Payment Service Provider). Identifies an entire order.

transactionReference

string > 100 Characters

Transaction-specific reference from and for the PSP's system

]
cancellations

array

Cancellation info

Array () [
cancellationNo

string > 50 Characters

Order number

cancellationAmount

number <double>

Amount of the cancelled items

cancellationItems

array

The list of items to be cancelled

Array () [
cancellationNumber

string > 50 Characters

Refund ID

productId
required

string > 100 Characters

Merchant Product identification number.

groupId

string > 50 Characters

Item group ID. The group this item belongs to. Provided by the merchant. Everything over 50 characters will be truncated.

description
required

string

Product name. For example "Black music player 64GB". Everything over 255 characters will be truncated.

type

string

Enum:PhysicalArticleDigitalArticleGiftCardDiscountShippingFeeSurchargeInfoSubscription

netUnitPrice
required

number <double>

Net unit price.

grossUnitPrice
required

number <double>

Gross price per item.

quantity
required

number <double>

Quantity. Use of integer is strongly proposed. If you want to use decimal, please contact your integration manager.

unitCode

string > 50 Characters

Unit code (for example pieces, liters, kilograms, etc.).

vatCategory

string

Enum:HighCategoryLowCategoryNullCategoryNoCategoryMiddleCategoryOtherCategory

Vat category

vatPercent
required

number <double>

Tax percent.

vatAmount
required

number <double>

Tax amount per item.

imageUrl

string > 2048 Characters

URL for the image of this product. It will be turned into a thumbnail and displayed in Riverty, on the invoice line next to the order item. The linked image must be a rectangle or square, width between 100 pixels and 1280 pixels. Supported image formats are: gif, jpeg (jpg), png, webp.

googleProductCategoryId

integer <int32>

Google product category ID.

googleProductCategory

string > 255 Characters

Indicates the category of the item based on the Google product taxonomy. Categorizing the product helps ensure that the ad is shown with the right search results.

merchantProductType

string > 255 Characters

Categorization used by Merchant as a complement to Google Taxonomy.

lineNumber

integer <int32>

Line number. The merchant may add a line number to each order item, to sort them in a particular order.

productUrl

string > 2048 Characters

URL to the product.

marketPlaceSellerId

string > 32 Characters

ID of an individual seller on a marketplace.

parentTransactionReference

string > 128 Characters

A unique reference provided to Riverty by a third party (merchant or Payment Service Provider). Identifies an entire order.

additionalInformation

string > 4096 Characters

Extended description of the order item.

specification

undefined

Specification.

serviceStart

string <date-time>

Capture start time.

serviceEnd

string <date-time>

Capture end time.

]
parentTransactionReference

string > 128 Characters

A unique reference provided to Riverty by a third party (merchant or Payment Service Provider). Identifies an entire order.

]
payment

object (payment)

Payment information

type
required

string

Enum:InvoiceInstallmentAccountConsolidatedinvoicePayinX

Payment method type

contractId

string <uuid>

Contract ID

directDebit

undefined

Direct debit information

campaign

object (campaign)

campaignNumber
required

integer <int32>

Campaign number

invoice

object (invoice)

account

object (account)

profileNo
required

integer <int32>

Account Profile number

consolidatedInvoice

object (consolidatedInvoice)

Consolidated invoice information

invoiceDate

string <date-time>

Date when invoice will be created.

installment

object (installment)

profileNo
required

integer <int32>

Installment profile number

numberOfInstallments

integer <int32>

Number of installments

customerInterestRate

number <double>

Customer interest rate

payinX

object (payinX)

Input data for authorize request with PayInX payment type. Currently empty

400 Model validation failed.

RESPONSE SCHEMA:

Array () [
type

string

Enum:BusinessErrorTechnicalErrorNotificationMessage

code

string > 100 Characters

Confirmation or error code

message

string > 4096 Characters

Message content

customerFacingMessage

string > 4096 Characters

Message to display to customer

actionCode

string

Enum:UnavailableAskConsumerToConfirmAskConsumerToReEnterDataOfferSecurePaymentMethodsRequiresSsnAskConsumerToIdentify

Action codes

fieldReference

string > 100 Characters

Reference to field that caused an error

]
401 Authorization has been denied for this request.
429 Too many requests.
500 Internal server error.

Please select an example:

Response Example

{
  "orderDetails": {
    "orderId": "29dab5d5-9a9f-4b4e-8aec-6914eebe54e8",
    "orderNumber": "riverty1",
    "totalNetAmount": 155.41,
    "totalGrossAmount": 185,
    "currency": "EUR",
    "hasSeparateDeliveryAddress": false,
    "customer": {
      "address": {
        "street": "Normalized Str.",
        "streetNumber": "1",
        "postalCode": "01234",
        "postalPlace": "normalized city",
        "countryCode": "DE"
      },
      "customerNumber": "AP000100919",
      "salutation": "Mr",
      "firstName": "Astrid",
      "lastName": "Svensson",
      "companyName": "",
      "email": "astrid.svensson@example.com",
      "phone": "",
      "mobilePhone": "00491234567",
      "birthDate": "1999-01-02T00:00:00Z",
      "customerCategory": "Person"
    },
    "insertedAt": "2023-09-27T10:49:11Z",
    "updatedAt": "2023-09-27T10:49:11Z",
    "orderItems": [
      {
        "orderId": "29dab5d5-9a9f-4b4e-8aec-6914eebe54e8",
        "insertedAt": "2023-09-27T10:49:11Z",
        "updatedAt": "2023-09-27T10:49:11Z",
        "productId": "4534-BLK-M",
        "groupId": "",
        "description": "Leather jacket, Black, size M",
        "netUnitPrice": 84,
        "grossUnitPrice": 100,
        "quantity": 1,
        "vatPercent": 19,
        "vatAmount": 16,
        "imageUrl": "https://developer-sandbox.riverty.com/images/black_leather_jacket.jpg",
        "lineNumber": 0
      },
      {
        "orderId": "29dab5d5-9a9f-4b4e-8aec-6914eebe54e8",
        "insertedAt": "2023-09-27T10:49:11Z",
        "updatedAt": "2023-09-27T10:49:11Z",
        "productId": "5745-GRY-M",
        "groupId": "",
        "description": "Socks, Grey, Size M",
        "netUnitPrice": 8.4,
        "grossUnitPrice": 10,
        "quantity": 5,
        "vatPercent": 19,
        "vatAmount": 1.6,
        "imageUrl": "https://developer-sandbox.riverty.com/images/grey_socks.jpg",
        "lineNumber": 0
      },
      {
        "orderId": "29dab5d5-9a9f-4b4e-8aec-6914eebe54e8",
        "insertedAt": "2023-09-27T10:49:11Z",
        "updatedAt": "2023-09-27T10:49:11Z",
        "productId": "3323-BRN-M",
        "groupId": "",
        "description": "Woolen hat, brown, Size M",
        "netUnitPrice": 25.21,
        "grossUnitPrice": 30,
        "quantity": 1,
        "vatPercent": 19,
        "vatAmount": 4.79,
        "imageUrl": "https://developer-sandbox.riverty.com/images/brown_wool_hat.jpg",
        "lineNumber": 0
      },
      {
        "orderId": "29dab5d5-9a9f-4b4e-8aec-6914eebe54e8",
        "insertedAt": "2023-09-27T10:49:11Z",
        "updatedAt": "2023-09-27T10:49:11Z",
        "productId": "SHIP",
        "groupId": "",
        "description": "Shipping",
        "type": "ShippingFee",
        "netUnitPrice": 4.2,
        "grossUnitPrice": 5,
        "quantity": 1,
        "vatPercent": 19,
        "vatAmount": 0.8,
        "lineNumber": 0
      }
    ],
    "expirationDate": "2023-10-27",
    "status": "Accepted",
    "displayStatus": "FullyRefunded"
  },
  "captures": [
    {
      "reservationId": "fb583567-c5a1-45de-a341-289c75e3f3dd",
      "customerNumber": "AP000100919",
      "captureNumber": "800090089",
      "orderNumber": "riverty1",
      "amount": 185,
      "balance": 0,
      "totalRefundedAmount": 185,
      "currency": "EUR",
      "insertedAt": "2023-09-27T10:50:32Z",
      "updatedAt": "2023-09-27T12:24:53Z",
      "orderDate": "2023-09-27T10:49:11Z",
      "captureItems": [
        {
          "productId": "4534-BLK-M",
          "groupId": "",
          "description": "Leather jacket, Black, size M",
          "netUnitPrice": 84,
          "grossUnitPrice": 100,
          "quantity": 1,
          "vatPercent": 19,
          "vatAmount": 16,
          "imageUrl": "https://developer-sandbox.riverty.com/images/black_leather_jacket.jpg"
        },
        {
          "productId": "5745-GRY-M",
          "groupId": "",
          "description": "Socks, Grey, Size M",
          "netUnitPrice": 8.4,
          "grossUnitPrice": 10,
          "quantity": 5,
          "vatPercent": 19,
          "vatAmount": 1.6,
          "imageUrl": "https://developer-sandbox.riverty.com/images/grey_socks.jpg"
        },
        {
          "productId": "3323-BRN-M",
          "groupId": "",
          "description": "Woolen hat, brown, Size M",
          "netUnitPrice": 25.21,
          "grossUnitPrice": 30,
          "quantity": 1,
          "vatPercent": 19,
          "vatAmount": 4.79,
          "imageUrl": "https://developer-sandbox.riverty.com/images/brown_wool_hat.jpg"
        },
        {
          "productId": "SHIP",
          "groupId": "",
          "description": "Shipping",
          "type": "ShippingFee",
          "netUnitPrice": 4.2,
          "grossUnitPrice": 5,
          "quantity": 1,
          "vatPercent": 19,
          "vatAmount": 0.8
        }
      ]
    }
  ],
  "refunds": [
    {
      "refundId": "78d0f5d5-dc7e-4462-9d2b-9a32d8fe684e",
      "reservationId": "fb583567-c5a1-45de-a341-289c75e3f3dd",
      "customerNumber": "AP000100919",
      "refundNumber": "800090090",
      "orderNumber": "riverty1",
      "amount": -185,
      "balance": -185,
      "currency": "EUR",
      "insertedAt": "2023-09-27T12:24:53Z",
      "captureNumber": "800090089",
      "refundItems": [
        {
          "refundId": "78d0f5d5-dc7e-4462-9d2b-9a32d8fe684e",
          "productId": "4534-BLK-M",
          "groupId": "",
          "description": "Leather jacket, Black, size M",
          "netUnitPrice": -84,
          "grossUnitPrice": -100,
          "quantity": 1,
          "vatPercent": 19,
          "vatAmount": -16,
          "imageUrl": "https://developer-sandbox.riverty.com/images/black_leather_jacket.jpg"
        },
        {
          "refundId": "78d0f5d5-dc7e-4462-9d2b-9a32d8fe684e",
          "productId": "5745-GRY-M",
          "groupId": "",
          "description": "Socks, Grey, Size M",
          "netUnitPrice": -8.4,
          "grossUnitPrice": -10,
          "quantity": 5,
          "vatPercent": 19,
          "vatAmount": -1.6,
          "imageUrl": "https://developer-sandbox.riverty.com/images/grey_socks.jpg"
        },
        {
          "refundId": "78d0f5d5-dc7e-4462-9d2b-9a32d8fe684e",
          "productId": "3323-BRN-M",
          "groupId": "",
          "description": "Woolen hat, brown, Size M",
          "netUnitPrice": -25.21,
          "grossUnitPrice": -30,
          "quantity": 1,
          "vatPercent": 19,
          "vatAmount": -4.79,
          "imageUrl": "https://developer-sandbox.riverty.com/images/brown_wool_hat.jpg"
        },
        {
          "refundId": "78d0f5d5-dc7e-4462-9d2b-9a32d8fe684e",
          "productId": "SHIP",
          "groupId": "",
          "description": "Shipping",
          "type": "ShippingFee",
          "netUnitPrice": -4.2,
          "grossUnitPrice": -5,
          "quantity": 1,
          "vatPercent": 19,
          "vatAmount": -0.8
        }
      ]
    }
  ],
  "cancellations": [],
  "payment": {
    "type": "Invoice"
  }
}