v1

latestOpenAPI 3.1.02026-07-24153164.0 KB
Merchant Portal services API

Payment Transaction

Searches for a transaction by given parameters: <b>TransactionId + terminalId + sourceId</b><br> and sends a PaymentTransaction via TecsXml Interface.<br> Send XML MessageType: 0001 and when TransactionType == 'AUTHORIZATION', then TransactionOriginId: 2, else if TransactionType == 'PRE-AUTH' then TransactionOriginId: 5<br> Required role for operation: BO_TRANSACTIONMANAGEMENT_PAYMENT.<br> Create MPauditlog table record with event type : PaymentTransaction.<br> Supports authentication with the following types of tokens:<br>

  • <b>Bearer</b> <token>, which is a Bearer token authentication. The bearer token is a cryptic string, usually generated by the server in response to a login request.
post/public/paymentTransaction

Request body

cardNumberReferencestring required
transactionTypestring required
transactionIdstring
transactionDatestring required
terminalIdinteger required
clientIdinteger required
cvcstring
amountinteger required
currencystring required
receiptNumberstring required
paymentReasonstring
terminalLocationstring
passwordstring
ecDatastring
ecrDatastring
emvDatastring
languageCodestring
receiptLayoutinteger

Example request

{
  "transactionDate": "20230509114131"
}

Response

Successful operation

responseCodeinteger
responseMessagestring
transactionIdstring
messageTypestring
cardNumberstring
originalTransactionIdstring
amountinteger
ecrDatastring
emvDatastring
userDatastring
transactionDatestring date-time
authorizationCodestring
txTypestring
acquirerNamestring
acquirerIdstring
cardBrandstring
merchantNumberstring
serialNumberstring
traceNumberinteger
originalTraceNumberinteger
svcstring
balanceAmountstring
exchangeRatestring
merchantNamestring
merchantAddressstring
receiptHeaderstring
receiptFooterstring
actualBonusPointsstring
exchangeFeeinteger