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
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
required in
DE
DK
NL
required in
DK
NL
required in
NL
required in
DE
DK
NL
NO
required in
DE
DK
NL
NO
SE
FI
DK
DE
AT
CH
NL
BE
required in
DE
DK
NL
required in
DK
NL
required in
NL
required in
DE
DK
NL
NO
required in
DE
DK
NL
NO
SE
FI
DK
DE
AT
CH
NL
BE
required in
FI
SE
NO
DK
required in
DE
DK
NL
required in
DK
NL
required in
NL
required in
DE
DK
NL
NO
required in
DE
DK
NL
NO
SE
FI
DK
DE
AT
CH
NL
BE
required in
DE
AT
CH
NotSet
Advertisment
SocialNetwork
Direct
SearchEngine
Other
Mr
Mrs
Miss
required in
DE
AT
CH
BE
NL
SE
FI
required in
BE
NL
required in
BE
NL
Company
Person
NO
SV
FI
DA
EN
DE
NL
FR
Paper
Sms
required in
DE
AT
CH
EUR
NOK
SEK
DKK
CHF
required in
DE
DK
NL
required in
DK
NL
required in
NL
required in
DE
DK
NL
NO
required in
DE
DK
NL
NO
SE
FI
DK
DE
AT
CH
NL
BE
required in
FI
SE
NO
DK
required in
DE
DK
NL
required in
DK
NL
required in
NL
required in
DE
DK
NL
NO
required in
DE
DK
NL
NO
SE
FI
DK
DE
AT
CH
NL
BE
required in
DE
AT
CH
NotSet
Advertisment
SocialNetwork
Direct
SearchEngine
Other
Mr
Mrs
Miss
required in
DE
AT
CH
BE
NL
SE
FI
required in
BE
NL
required in
BE
NL
Company
Person
NO
SV
FI
DA
EN
DE
NL
FR
Paper
Sms
required in
DE
AT
CH
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,
"totalAuthorizedAmount": 185,
"remainingAuthorizedAmount": 0,
"totalRefundedAmount": 0
}
{
"cancellationDetails": {
"totalGrossAmount": 50,
"totalNetAmount": 42,
"items": [
{
"productId": "5745-GRY-M",
"description": "Socks, Grey, Size M",
"grossUnitPrice": 10,
"netUnitPrice": 8.4,
"quantity": 5,
"vatPercent": 19,
"vatAmount": 1.6,
"imageUrl": "https://developer-sandbox.riverty.com/images/grey_socks.jpg"
}
]
}
}
{
"TotalCapturedAmount": 0,
"TotalAuthorizedAmount": 185,
"remainingAuthorizedAmount": 135,
"totalRefundedAmount": 0
}
null
[
{
"type": "BusinessError",
"code": "400.129",
"message": "Cannot cancel the order, because it is partially or fully captured.",
"customerFacingMessage": "Cannot cancel the order, because it is partially or fully captured.",
"actionCode": "Unavailable",
"fieldReference": ""
}
]