Request Parameters:


For Getting payment method


URL : ../Api/Client/GetPaymentMethod


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. ]


Case-1. Success Respons  :
Parameter:
{

      "ApiSecretKey":"i99b98d117m116a112o98k115c111",

         "CustomerGUID":"496DBB2A-F9EB-4522-A804-B108693B69CE",

      "StoreId": "1",

      "CurrencyId": "1",

      "LanguageId":"1",

      "Shippingoption":""

}

Response :
{

    "Status": 1,

    "Message": "Success.",

    "Data": {

        "PaymentMethods": [

            {

                "PaymentMethodSystemName": "Payments.CheckMoneyOrder",

                "Name": "Check / Money Order",

                "Fee": null,

                "Selected": true,

                "LogoUrl": "http://localhost:15536/plugins/Payments.CheckMoneyOrder/logo.jpg"

            },

            {

                "PaymentMethodSystemName": "Payments.Manual",

                "Name": "Credit Card",

                "Fee": null,

                "Selected": false,

                "LogoUrl": "http://localhost:15536/plugins/Payments.Manual/logo.jpg"

            }

        ],

        "DisplayRewardPoints": false,

        "RewardPointsBalance": 0,

        "RewardPointsAmount": null,

        "UseRewardPoints": false,

        "CustomerGuid": "496dbb2a-f9eb-4522-a804-b108693b69ce",

        "Message": null

    },

    "ValidationMessage": [],

    "ErrorMessage": null

}