Itemβ
Exampleβ
{
"articleNumber": "9364",
"description": "3:Flyte Buckminster Bordslampa",
"price": 237.22,
"totalPrice": 474.44,
"vatRate": 12.0,
"currency": "SEK",
"quantity": 2,
"status": "Activated",
"captureId": "117573228",
"capturedAt": "2022-09-21T11:14:35.7900411+00:00",
"refundedAt": null
}
Propertiesβ
| Property | Explanation |
|---|---|
| articleNumber | Article id |
| description | Description |
| price | Price |
| totalPrice | Total price |
| vatRate | VAT Rate |
| currency | Currency |
| quantity | Quantity |
| status | Possible values: Activated, NotActivated, Returned, Canceled, Expired |
| captureId | If captured, The id of the capture |
| capturedAt | If captured, Time of capture |
| refundedAt | If refunded, Time of refund |
Sending an item back in a requestβ
Items you send to capture, refund, or reauthorize use different field names from the items you read here. You cannot take an item out of a response and post it back unchanged.
| Read from a response | Send in a request | Notes |
|---|---|---|
articleNumber | id | Same article, different property name. |
description | description | Unchanged. |
price | unitPrice | Both are per unit and include VAT. |
vatRate | vat | Both are a rate, not an amount. |
quantity | quantity | Unchanged. |
totalPrice, currency, status, captureId, capturedAt, and refundedAt are read only.
Leave them out of requests.
For the full request models, see Capture Item, Refund Item, and Reauthorize Item.