Versions Compared

Key

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

Use this method to get a list of payment methods.

Tip

Valid Tokens: Company.

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


Filter by label (Content by label)
showLabelsfalse
max5
titleRelated Articles
cqllabel in ( "payment-api" , "payment-ecommerce" , "company-token" , "documentation" )

Request


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

Method: GET

Content-Type: URL Parameters


Input parameters

authenticationToken (required)(string:50)

Komet Sales security token.


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

Response


status (integer:1)

Transaction status.

Valid values: 1 = Success | 0 = Failure


message (string:500)

Transaction status description.


method (array)

An array containing the payment methods.


id (integer:20)

Komet Sales internal Payment Method ID.


name (string:50)

Payment method name.


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

We've encountered an issue exporting this macro. Please try exporting this page again later.