riverty logo

Docs

Void Authorization

Void (cancel) an authorization that has not been captured.

More information can be found in our Documentation.

Path

POST /api/v3/orders/{orderNumber}/voids

Request Parameters

orderNumber required
string
Order number

Request Body

application/json

cancellationDetails
required
object
Order details
parentTransactionReference
string > 128 Characters
A unique reference provided to Riverty by a third party (merchant or Payment Service Provider). Identifies an entire order.
merchantId
string > 50 Characters
Merchant ID within the Riverty system, part of the credentials used for Riverty Netherlands and Belgium. If you were not provided these credentials by your Account Manager, leave empty.

Responses

Successful Request, Full VoidSuccessful Request, Partial VoidUnsuccessful Request, Order Already Captured

Response Example

    
        {
 "totalCapturedAmount": 0,
 "totalAuthorizedAmount": 185,
 "remainingAuthorizedAmount": 0,
 "totalRefundedAmount": 0
}
    

Request Example

    
        null