iPOS Transact
Sale-EncryptedCard
POST/sale-encryptedcard

Submits a payment transaction request using encrypted card data or alternative tokens.

Header Parameters

token*
string

Body Parameters

merchantAuthentication

merchantId
string
transactionReferenceId
string

preferences

eReceipt
boolean
customerName
string
customerEmail
string
customerMobile
string
requestCardToken
boolean

transactionRequest

amount*
string
transactionType*
number
encryptedCardData
string
applySteamSettingTipFeeTax
boolean

avs

StreetNo
string
Zip
string
POST/sale-encryptedcard
1curl --location 'https://payment.ipospays.tech/api/v3/iposTransact' \
2--header 'token: ' \
3--header 'Content-Type: application/json' \
4--data '{
5 "merchantAuthentication": {
6 "merchantId": "",
7 "transactionReferenceId": ""
8 },
9 "preferences": {
10 "eReceipt": false,
11 "customerName": "",
12 "customerEmail": "",
13 "customerMobile": "",
14 "requestCardToken": true
15 },
16 "transactionRequest": {
17 "amount": "",
18 "transactionType": 1,
19 "encryptedCardData": "",
20 "applySteamSettingTipFeeTax": false
21 },
22 "avs": {
23 "StreetNo": "",
24 "Zip": ""
25 }
26}'
Response

// Awaiting response…

Sample response
{
  "iposhpresponse": {
    "responseCode": "200",
    "responseMessage": "success",
    "errResponseCode": "",
    "errResponseMessage": "",
    "transactionReferenceId": "",
    "transactionType": "1",
    "transactionId": "",
    "amount": "",
    "responseApprovalCode": "",
    "rrn": "",
    "transactionNumber": "",
    "batchNumber": "",
    "customFee": "",
    "totalAmount": ""
  }
}