CyberStore Order Web Service
MethodGetAvailablePaymentMethods
CyberStore Order Web Service > All Operations Resource Group : GetAvailablePaymentMethods (Method)
Request (GetAvailablePaymentMethodsSoapIn)

The request body is of type GetAvailablePaymentMethods.

Example
The following example shows how to perform the web operation in CyberStore.
// Example: Gets all available payment methods
//      to the current Shopper's customer class
//      on the Site they are visiting

MakeAJAXCall("Order.GetAvailablePaymentMethods", null, console.log);
200 Response (GetAvailablePaymentMethodsSoapOut)

The response body is of type GetAvailablePaymentMethodsResponse.

Response Body Parameters

NameDescriptionData Type

A string value containing a JSON object.

// Example: Array of two available payment methods for
//      "Invoice" and "Credit Card" options.

[{
    "MethodName": "Invoice",
    "PaymentMethod_ID": 1,
    "MethodType": "IN",
    "PODisplay": "R",
    "ReferenceLabel": "Your PO #",
    "InvoiceTerm_Code": ""
}, {
    "MethodName": "Credit Card",
    "PaymentMethod_ID": 2,
    "MethodType": "CC",
    "PODisplay": "Y",
    "ReferenceLabel": "PO Number (optional)",
    "InvoiceTerm_Code": ""
}]
xml:string
See Also
All Operations Resource GroupCyberStore Order Web Service