Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Overview
This method returns a list of payment methods.
Please be aware that this method has not been published yet and it's under construction.
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.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
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.
Code Block | |
---|---|
|
...
|
...
|
...
| |
{
"status": "1",
"message": "OK",
"method": [
{
"id": "1",
"name": "Check"
},
{
"id": "2",
"name": "Credit Card Visa"
}
]
} |