Void (cancel) an authorization that has not been captured.
More information can be found in our Documentation.
POST /api/v3/orders/{orderNumber}/voids
application/json
EUR
NOK
SEK
DKK
CHF
Internet
Catalog
CallCenter
Stationary
Other
Normal
Express
InHouseDelivery
NotSet
PickUp
Post
Phone
Mr
Mrs
Miss
EUR
NOK
SEK
DKK
CHF
NotSet
Cancellation
Travel
CancellationTravel
Bankruptcy
EUR
NOK
SEK
DKK
CHF
Mr
Mrs
Miss
EUR
NOK
SEK
DKK
CHF
NotSet
Cancellation
Travel
CancellationTravel
Bankruptcy
EUR
NOK
SEK
DKK
CHF
Mr
Mrs
Miss
EUR
NOK
SEK
DKK
CHF
NotSet
Cancellation
Travel
CancellationTravel
Bankruptcy
EUR
NOK
SEK
DKK
CHF
Mr
Mrs
Miss
EUR
NOK
SEK
DKK
CHF
NotSet
Cancellation
Travel
CancellationTravel
Bankruptcy
EUR
NOK
SEK
DKK
CHF
NO
SE
FI
DK
DE
AT
CH
NL
BE
NO
SE
FI
DK
DE
AT
CH
NL
BE
NO
SE
FI
DK
DE
AT
CH
NL
BE
NotSet
Advertisment
SocialNetwork
Direct
SearchEngine
Other
Mr
Mrs
Miss
Company
Person
NO
SV
FI
DA
EN
DE
NL
FR
Paper
Sms
EUR
NOK
SEK
DKK
CHF
NO
SE
FI
DK
DE
AT
CH
NL
BE
NO
SE
FI
DK
DE
AT
CH
NL
BE
NotSet
Advertisment
SocialNetwork
Direct
SearchEngine
Other
Mr
Mrs
Miss
Company
Person
NO
SV
FI
DA
EN
DE
NL
FR
Paper
Sms
EUR
NOK
SEK
DKK
CHF
PhysicalArticle
DigitalArticle
GiftCard
Discount
ShippingFee
Surcharge
Info
Subscription
HighCategory
LowCategory
NullCategory
NoCategory
MiddleCategory
OtherCategory
BusinessError
TechnicalError
NotificationMessage
Unavailable
AskConsumerToConfirm
AskConsumerToReEnterData
OfferSecurePaymentMethods
RequiresSsn
AskConsumerToIdentify
ManualReview
null
{
"totalCapturedAmount": 0,
"totalRefundedAmount": 0,
"totalAuthorizedAmount": 185,
"remainingAuthorizedAmount": 0
}
{
"cancellationDetails": {
"items": [
{
"imageUrl": "https://developer-sandbox.riverty.com/images/grey_socks.jpg",
"quantity": 5,
"productId": "5745-GRY-M",
"vatAmount": 1.6,
"vatPercent": 19,
"description": "Socks, Grey, Size M",
"netUnitPrice": 8.4,
"grossUnitPrice": 10
}
],
"totalNetAmount": 42,
"totalGrossAmount": 50
}
}
{
"TotalCapturedAmount": 0,
"totalRefundedAmount": 0,
"TotalAuthorizedAmount": 185,
"remainingAuthorizedAmount": 135
}
null
[
{
"code": "400.129",
"type": "BusinessError",
"message": "Cannot cancel the order, because it is partially or fully captured.",
"actionCode": "Unavailable",
"fieldReference": "",
"customerFacingMessage": "Cannot cancel the order, because it is partially or fully captured."
}
]