Example Responses:

Success:

{
    "status": 1,
    "err": "",
    "data": {
        "refundedTransactionId": 33333333,
        "asmachta": "301234567",
        "cardSuffix": "3213",
        "cardType": "Local",
        "cardTypeCode": "1",
        "cardBrand": "Visa",
        "cardBrandCode": "3",
        "cardExp": "1110",
        "status": "תשלום שזוכה",
        "statusCode": 3,
        "transactionTypeId": "1",
        "paymentType": "2",
        "sum": "3",
        "paymentDate": "26/9/23",
        "description": "תיאור",
        "fullName": "לקוח לקוח",
        "payerPhone": "0500000000",
        "payerEmail": "[email protected]",
        "transactionId": "33123456"
    }
}

Error:

{
    "status": 0,
    "err": {
        "id": 210,
        "message": "בוצע זיכוי לעסקה זו, לא ניתן לזכות בשנית."
    },
    "data": ""
}
  • status is referred to success or failure (1 or 0 respectively).
  • err - in case of an error, would return as the error code and error message.
  • data - all the details would return here.