Click or drag to resize

IUCJsonOrderUpdatePayment Method

Update payments for Customer Order

Namespace: LSOmni.Service
Assembly: LSOmni.Service (in LSOmni.Service.dll) Version: Commerce Service for LS Central 2026.8.0
Syntax
C#
bool OrderUpdatePayment(
	string orderId,
	string storeId,
	OrderPayment payment
)

Parameters

orderId  String
Customer Order Id
storeId  String
payment  OrderPayment

Return Value

Boolean
webPreAuthNotAuthorize
Remarks
LS Central WS2: COUpdatePaymentV2 (LS Central 28.0+), COUpdatePayment (earlier)
Example
Sample request including minimum data needed to be able to process the request in LS Commerce

Update the pre-authorized card payment on an existing Customer Order

REST Sample Request
{
    "orderId": "CO000123",
    "storeId": "S0013",
    "payment": {
        "Amount": "160.0",
        "AuthorizationCode": "123456",
        "CardNumber": "10xx xxxx xxxx 1475",
        "CardType": "VISA",
        "CurrencyCode": "GBP",
        "CurrencyFactor": 1,
        "ExternalReference": "MyRef123",
        "LineNumber": 1,
        "PaymentType": "2",
        "PreApprovedValidDate": "\/Date(1892160000000+1000)\/",
        "TenderType": "1",
        "TokenNumber": "123456"
    }
}
See Also