Prepaid - 011201

Adapter Prepaid Server SVS - 01120100248

The configuration for prepaid items is defined in PrepaidTypeConfig.

StoredValueServerConfig

Parameter Name Data Type, Range
gkrAdapterConfig GkrAdapterConfig
prepaidGkrAdapterConfig PrepaidGkrAdapterConfig

GkrAdapterConfig

Parameter Name Data Type, Range Description Default
url String It defines the URL.
timeout Integer It defines the maximum time period over which the cash register waits for a response from the Stored Value Server. 3000
autoCancelRetryTime Integer It defines the time after which the attempt to connect is canceled. 500
autoCancelRetryCount Integer It defines the number of attempts at retrying to connect. 2
company String It defines the company. GK/Retail
readCardBefore Boolean It defines whether the gift card is read by the terminal before processing the terminal transaction. true
cardPrefix String Required prefix of the gift card number.
terminalID String It defines the Terminal ID.

PrepaidGkrAdapterConfig

Parameter Name Data Type, Range Description Default
url String It defines the URL.
timeout Integer It defines the maximum time period over which the cash register waits for a response from the Stored Value Server. 3000

Prepaid Credit Sale - 01120100209

Function Parameters

Table 1. PrepaidCreditSaleConfigs
Parameter Name Data Type, Range Description Default
quantity_allowed Boolean Specifies whether a quantity entry is allowed. false
prepaid_adapter String Defines the prepaid interfaces to be used.
  • PREPAID_SERVER_ADAPTER (example of a prepaid server: SVS)
PREPAID_SERVER_ADAPTER
positionOperationConfig PositionOperationConfig
Note:
extends ProcessConfig
Table 2. PrepaidTypeConfig
Parameter Name Data Type, Range Description
smId Integer Entry ID
itemId String Item number of the prepaid item
providerCode String Provider code of the prepaid item
resourceId String Resource key of the prepaid receipt

Prepaid Refund - 01120100717

PrepaidCreditRefundConfigs

Note:
extends ProcessConfig
Parameter Name Data Type, Range Description Default
refundReasonCode String Return reason for automatic prepaid refund
refundCustomerRequired Boolean Controls whether it is mandatory to assign a customer to the return receipt. false
goodsReturnConfig GoodsReturnConfigs
positionOperationConfig PositionOperationConfig
automaticRefund Boolean This parameter defines whether a prepaid refund will be automatically processed. true