*Mark As Pre-Authorization

Description

The markAsPreAuthorizationStatus endpoint is used to mark a Pre-Authorization transaction into a SALE.

Request

Endpoint

/ui/v1/markAsPreAuthorizationStatus

Method

POST
Content-Type: application/json
Authorization: Basic $TOKEN

Note

Replace $TOKEN in the request with the base64-encoded username/password combination in the format username:password.

Given a username of username and a password of password, the request header would appear as follows:

Content-Type: application/json
Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=  

Body


{
    "id": 31755,
    "lastModifiedUserId": "665",
    "orderId": "1000000000521"
}

Response

{
    "id": 31755,
    "lastModifiedUserId": 665,
    "orderId": "1000000000521",
    "message": {
        "code": "182",
        "type": {
            "name": "SUCCESS"
        },
        "include_i_icon": false,
        "description": "TRANSACTION_MARKED_AS_PRE_AUTHORIZATION_SUCCESS",
        "parameters": [
            {
                "name": "ORDER_ID",
                "value": "1000000000521"
            }
        ]
    },
    "paymentGateway": null,
    "merchantId": null
}


Updated As Of Version 6.1.1