riverty logo

Docs

Get Started Login

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

required
object
Order details
parentTransactionReference
string
Max length: 128
A unique reference provided to Riverty by a third party (merchant or Payment Service Provider). Identifies an entire order.
merchantId
string
Max length: 50
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

Request Example

    
        null
    

Response Example

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