Void authorization
PATH:
/api/v3/orders/{orderNumber}/voids
PATH PARAMETERS:
orderNumber required | string Order number |
REQUEST BODY SCHEMA:
cancellationDetails object Information that is used when the order needs to be canceled. Required for Partial Void | |||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||
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 Integration Manager, leave empty. |
RESPONSES:
RESPONSE SCHEMA:
totalCapturedAmount | number Total captured amount. |
totalAuthorizedAmount | number Total authorized amount. |
remainingAuthorizedAmount | number If Total Captured and Total Authorized amount differ, the remaining sum must also be captured or voided. |
voidedAmount | number Voided amount. |
totalRefundedAmount | number Total refunded amount |
RESPONSE SCHEMA:
type | string Enum:BusinessErrorTechnicalErrorNotificationMessage Message type |
code | string <= 100 characters Confirmation or error code |
message | string <= 4096 characters Message content |
customerFacingMessage | string <= 4096 characters Message to display to customer |
actionCode | string Enum:UnavailableAskConsumerToConfirmAskConsumerToReEnterDataOfferSecurePaymentMethodsRequiresSsnAskConsumerToIdentify Possible next action to make |
fieldReference | string <= 100 characters Reference to field that caused an error |
Path
/api/v3/orders/{orderNumber}/voids
Request samples
- {
- "cancellationDetails": { ... } ,
- "parentTransactionReference": "string",
- "merchantId": "string"
Response samples
- {
- "totalCapturedAmount": 1.00,
- "totalAuthorizedAmount": 1.00,
- "remainingAuthorizedAmount": 1.00,
- "voidedAmount": 1.00,
- "totalRefundedAmount": 1.00
- {
- "type": "string",
- "code": "string",
- "message": "string",
- "customerFacingMessage": "string",
- "actionCode": "string",
- "fieldReference": "string"