Hotels API – Technical Guide

Index

In order to integrate with hotels that have their own Systems and special integrations, that aren’t working with Standard Payment Interface that is General for most hotels working with Pelecard, Businesses such as MiniHotel works with our RestAPI.

Basically, Businesses of this type are required to integrate using POST requests with our REST API in order to complete transactions. After receiving the response, it is then transmitted to business’s systems.

For demonstration, we will take a basic Method for making POST requests for a single payment.
When sending the API request, you can either charge via an EMV device (PinPad) or send a payment with Pelecard’s Token you received from prior purchases.

Charge with EMV Device:

Sandbox Link – DebitRegularType
Method URL – https://gateway21.pelecard.biz/services/DebitRegularType

				
					{
  "terminalNumber": "0882577012",
  "user": "XXXXXXX",
  "password": "XXXXXXX",
  "shopNumber": "1",  //Indicates Which Pinpad to address.
  "creditCard": "",
  "creditCardDateMmYy": "",
  "token": "",
  "total": "100",
  "currency": "1",
  "cvv2": "",
  "id": "",
  "authorizationNumber": "",
  "paramX": "",
}

				
			

Charge with Pelecard’s Token:

				
					{
  "terminalNumber": "0882577012",
  "user": "XXXXXXX",
  "password": "XXXXXXX",
  "shopNumber": "1",
  "creditCard": "",
  "creditCardDateMmYy": "",
  "token": "1234512345", //Can be sent as 10 or 14 digit number.
  "total": "100",
  "currency": "1",
  "cvv2": "",
  "id": "",
  "authorizationNumber": "",
  "paramX": "",
}

				
			

Example Response:

				
					{
    "StatusCode": "000",
    "ErrorMessage": "operation success",
    "ResultData": {
        "PelecardTransactionId": "2470933579",
        "VoucherId": "35-123-002",
        "ShvaResult": "000",
        "ShvaResultEmv": "000",
        "ShvaResultEmvMessage": "ABSEMV_OK",
        "ShvaFileNumber": "35",
        "StationNumber": "123",
        "Reciept": "2",
        "JParam": "4",
        "CreditCardNumber": "532610******6083",
        "CreditCardExpDate": "0528",
        "CreditCardCompanyClearer": "2",
        "CreditCardCompanyIssuer": "1",
        "CreditCardStarsDiscountTotal": "0",
        "CreditType": "1",
        "CreditCardAbroadCard": "0",
        "DebitType": "1",
        "DebitCode": "5",
        "DebitTotal": "100",
        "DebitApproveNumber": "0072649",
        "DebitCurrency": "1",
        "TotalPayments": "1",
        "FirstPaymentTotal": "0",
        "FixedPaymentTotal": "0",
        "AdditionalDetailsParamX": "",
        "shvaOutput": "0000000532610******608312000405280000000100        0000000010110105001007264900000000000000000035123002ƒ˜—˜ˆ‘Ž ƒ˜—…˜…‰0                   ",
        "CardHebName": "יורוקרד מסטרקרד",
        "CreditCardBrand": "1",
        "ApprovedBy": "1",
        "CallReason": "0",
        "Token": "12877447636083",
        "Tz": "",
        "Uid": "25062912500608825783186",
        "eci": "",
        "xid": "",
        "cavv": "",
        "Terminal": "882578014",
        "TerminalName": "פלאקארדVME TEST",
        "AppVersion": "2",
        "compRetailerNum": "7007245",
        "dateTime": "12:50 29.06.2025",
        "RRN": "518012072649",
        "Atc": "13",
        "TSI": "0000",
        "ARC": "00",
        "TVR": "0000008001",
        "AID": "A0000000041010"
    }
}

				
			

For more Debit (J4) options, address (Interactive Sandbox – Links):

DebitPaymentsType
DebitCreditType

For Authorization Hold (J5) options, address:

AuthorizeCreditCard
AuthorizeCreditType
AuthorizePaymentsType

Review below method for Completing a J5 request:

CompleteDebitByUid