Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

Overview

This method returns a list of payment methods. 

Request

https://api.kometsales.com/api/payment.method.list

  • Method: POST
  • Content-Type: URL Params

Input parameters:

  • authenticationToken (required)(string:50): Komet Sales security token.
Sample
https://api.kometsales.com/api/payment.method.list?authenticationToken=token_info_goes_here

Response

Output:

  • status (integer:1): transaction status. 1 for success or 0 for failure.
  • message (string:500): description of the status of the transaction.
  • method: array of payment methods
    • id (integer:20): payment method Komet Sales internal ID.
    • name (string:50): name of the payment method.
{
    "status": "1",
    "message": "OK",
    "method": [
        {
            "id": "1",
            "name": "Check"
        },
        {
            "id": "2",
            "name": "Credit Card Visa"
        }
    ]
}
  • No labels