Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Overview

This method returns a list of payment methods.

Request

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

Method:

POST

GET

Content-Type: URL Params.

Input parameters

:

  • authenticationToken (required)(string:50): Komet Sales security token.

curl

theme
Code Block
title
ConfluencelanguagejsSample
https://api.kometsales.com/api/payment.method.list?
authenticationToken=token_info_goes_here

Response

Output

:

  • status (integer:1):

    Transaction

    transaction status. 1 for success or 0 for failure.

  • message (string:500):

    Description

    description of the status of the transaction.

  • method:

    Array

    array of payment methods

    • id (integer:20):

      Payment Method

      payment method Komet Sales internal ID.

    • name (string:50):

      Name

      name of the payment method.

Sample Response

Code Block
themeConfluence
languagejs
{
    "status": "1",
    "message": "OK",
    "method": [
        {
            "id": "1",
            "name": "Check"
        },
        {
            "id": "2",
            "name": "Credit Card Visa"
        }
    ]
}
 
Note

This method will not return payment methods from the Clearent Integration.

Panel
titleRelated Articles
Filter by label (Content by label)
showLabelsfalse
max10
showSpacefalse
sorttitle
cqllabel in ( "accounts-receivables" , "payments" )
labelsaccounts-receivables payments