Skip to main content

Listing Payment Sets

  • Endpoint: /pws/paymentSet
  • HTTP Method: GET
  • Request Content-Type: application/json
  • Response Content-Type: application/json
  • Authorization: A valid AccessToken is required. (See: 2. Authentication – Obtaining AccessToken)

Description

This service lists all payment sets defined in the portal.

Each payment set is associated with POS entries and rate definitions registered in the system.

The service does not accept any parameters — it returns all active payment sets accessible by the authorized user.

Header Information

Header NameRequiredDescription
AuthorizationYesValid token in Bearer {AccessToken} format.
Content-TypeNoapplication/json

Request

This service does not accept any body or query parameters.

It is called only with a valid AccessToken.

Sample Request

Method: GET /pws/paymentSet  
Authorization: Bearer {AccessToken}
URL: https://pgw.netahsilatdemo.com/pws/paymentSet

Response Structure

The service returns all payment sets defined in the system as an array.

Each item represents a PaymentSet object.

PaymentSet Fields

ParameterTypeDescription
idstring (GUID)Unique identifier of the payment set
namestringPayment set name
isDefaultbooleanIs it the default set
isActivebooleanActive status
descriptionstringDescription text
isShowNetAmountbooleanIs net amount display enabled
canUserChangeCommApplyTypebooleanCan the user change the commission type
erpCodestringPayment set code in the ERP system
[  
{
"id": "18d971fc-97da-4962-88af-02e4f67c94fb",
"name": "Tami",
"isDefault": false,
"description": "",
"isActive": true,
"isShowNetAmount": false,
"canUserChangeCommApplyType": false,
"erpCode": "TamiErp"
},
{
"id": "5ede1b5a-6f59-45f4-9cbe-0a910fe244c3",
"name": "SümeyyeÇengel2",
"isDefault": false,
"description": "",
"isActive": true,
"isShowNetAmount": false,
"canUserChangeCommApplyType": false,
"erpCode": "55555"
}
]