Request Parameters:


Update payment detail of order after order is placed.


URL: ../Api/Client/UpdateOrderPaymentDetail


Header:

Content-Type:application/json


Required Parameters :  


[Note: For Guest_customers as we get the CustomerGUID after add the product into the cart from that CustomerGUID get the CustomerGUID and pass that CustomerGUID in to the parameter. ]

  • Payment status list as following:
    • Pending = 10
    • Authorized = 20
    • Paid = 30
    • Voided = 50


Case-1. Success Respons  :
Parameter:
{
    "ApiSecretKey":"w105l97a105a105z107m104r107h119",
    "CustomerGUID":"0728f58f-8a03-42cc-a642-cf563c1f51d4",
    "StoreId": "1",
    "CurrencyId": "1",
    "LanguageId": "1",
    "PaymentStatus": "Paid",
    "Order":
    {
     "OrderId":19,
     "OrderGuid":"3142b84b-9361-4dc7-bf81-cedeef99ce9a",
     "OrderTotal":"32"
    },
    "Payment":
    {
     "PaymentMethodSystemName":"Payments.CheckMoneyOrder",
     "CreditCardType":"VISA",
     "CreditCardName":"VISA",
     "CreditCardNumber":"XXXXXXXXXXXXX4100",
     "CreditCardCvv2":"XXX",
     "CreditCardExpireYear":"2019",
     "CreditCardExpireMonth":"12"
    },
    "Customer":
    {
     "CustomerGUID": "496DBB2A-F9EB-4522-A804-B108693B69CE",
     "CustomerId":1,
     "IpAddress":"127.0.0.1"
    },
    "Transaction":
    {
     "AuthorizationTransactionId":"798797979",
     "AuthorizationTransactionCode":"OK",
     "AuthorizationTransactionResult":"SUCCESS",
     "CaptureTransactionId":"79879864987897",
     "CaptureTransactionResult":"CAPTURE",
     "SubscriptionTransactionId":"79879843331"
    }
}

Response :
{
    "Status": 1,
    "Message": "Success.",
    "Data": {
        "PaymentStatus": "Paid",
        "OrderStatus": "Processing",
        "OrderId": 19
    },
    "ValidationMessage": [],
    "ErrorMessage": null
}