Terminal Management
Scroll down for code samples, example requests and responses.
Select a language for code samples from the tabs or the mobile navigation menu.
Perform operation
POST /terminals/{terminalId}/operations
Parameters
Authorizationstringrequired
Authorization header using the Bearer scheme.
terminalIdstringrequired
Perform operation
- C#
- PHP
- Node
- Shell
var client = new RestClient("https://sandbox.unifiedapi.nets.eu/api/v1/posterminalmanagement//terminals/{terminalId}/operations"); var request = new RestRequest(Method.POST); request.AddHeader("content-type", "application/json"); request.AddHeader("Authorization", "Bearer REPLACE_BEARER_TOKEN"); request.AddParameter("application/json", "{\"REPLACE_REQUEST_BODY\":\"REPLACE_REQUEST_BODY\"}", ParameterType.RequestBody); IRestResponse response = client.Execute(request);
Request body
oneOfoptional
Depending on a certain value, only one of the request bodies below is relevant.
CutoverRequestoptional
operationstringoptional
Cutover
ReportRequestoptional
operationstringoptional
Report
InitialisationRequestoptional
operationstringoptional
Initialisation
DiagnosticsRequestoptional
subFunctionstringoptional
Normal
,Extend
,Config
,Select
,Emv
operationstringoptional
Diagnostics
StartupRequestoptional
operationstringoptional
Startup
ReprintRequestoptional
paymentIdstringoptional
transactionRefstringoptional
subFunctionstringoptional
Customer
,Merchant
operationstringoptional
Reprint
SalesJournalRequestoptional
operationstringoptional
SalesJournal
Request body
{ "operation": "Cutover" }
Responses
200Successoptional
providerCodestringoptional
providerMessagestringoptional
receiptTextstringoptional
dateTimestring (date-time)optional
authCodestringoptional
currencyCodestringoptional
AED
,AFN
,ALL
,AMD
,ANG
,AOA
,ARS
,AUD
,AWG
,AZN
,BAM
,BBD
,BDT
,BGN
,BHD
,BIF
,BMD
,BND
,BOB
,BRL
,BSD
,BTN
,BWP
,BYN
,BZD
,CAD
,CDF
,CHF
,CLP
,CNY
,COP
,CRC
,CUC
,CUP
,CVE
,CZK
,DJF
,DKK
,DOP
,DZD
,EGP
,ERN
,ETB
,EUR
,FJD
,FKP
,GBP
,GEL
,GHS
,GIP
,GMD
,GNF
,GTQ
,GYD
,HKD
,HNL
,HRK
,HTG
,HUF
,IDR
,ILS
,INR
,IQD
,IRR
,ISK
,JMD
,JOD
,JPY
,KES
,KGS
,KHR
,KMF
,KPW
,KRW
,KWD
,KYD
,KZT
,LAK
,LBP
,LKR
,LRD
,LSL
,LYD
,MAD
,MDL
,MGA
,MKD
,MMK
,MNT
,MOP
,MRU
,MUR
,MVR
,MWK
,MXN
,MYR
,MZN
,NAD
,NGN
,NIO
,NOK
,NPR
,NZD
,OMR
,PAB
,PEN
,PGK
,PHP
,PKR
,PLN
,PYG
,QAR
,RON
,RSD
,RUB
,RWF
,SAR
,SBD
,SCR
,SDG
,SEK
,SGD
,SHP
,SLL
,SOS
,SRD
,STN
,SVC
,SYP
,SZL
,THB
,TJS
,TMT
,TND
,TOP
,TRY
,TTD
,TWD
,TZS
,UAH
,UGX
,USD
,UYU
,UZS
,VEF
,VND
,VUV
,WST
,XAF
,XCD
,XDR
,XOF
,XPF
,YER
,ZAR
,ZMW
,ZWL
,UYI
,CHW
,CLF
,COU
,MXV
,SSP
,CHE
cardNumberstringoptional
cardTypestringoptional
Unknown
,AmericanExpress
,DinersClubInternational
,Visa
,MasterCard
,JCB
,GiroCard
,Maestro
,EcChip
,IkeaFamilyPayCard
,VisaVPay
,Comfort
,VisaElectron
,Breuninger
,TaxFreeCard
,ChinaUnionpay
,BswCard
,ClvPlusElv
,DynamicCurrencyConversion
,ClsGiftCard
receiptNumberstringoptional
amountinteger (int32)optional
traceNumberinteger (int32)optional
201Createdoptional
providerCodestringoptional
providerMessagestringoptional
receiptTextstringoptional
dateTimestring (date-time)optional
amountinteger (int32)optional
dialogoutstringoptional
traceNumberinteger (int32)optional
422Client Erroroptional
typestringoptional
titlestringoptional
statusinteger (int32)optional
detailstringoptional
instancestringoptional
500Server Erroroptional
typestringoptional
titlestringoptional
statusinteger (int32)optional
detailstringoptional
instancestringoptional
- 200
- 201
- 422
- 500
{ "providerCode": "string", "providerMessage": "string", "receiptText": "string", "dateTime": "2019-08-24T14:15:22Z", "authCode": "string", "currencyCode": "AED", "cardNumber": "string", "cardType": "Unknown", "receiptNumber": "string", "amount": 0, "traceNumber": 0 }