Response from createFarPaymentProcess example:

Success:

{
    "status": 1,
    "err": "",
    "data": {
        "farPaymentRequestProcessId": 1440,
        "farPaymentRequestProcessToken": "c41fb82a666f39ae66d8bbb674113c50",
        "url": "https://sandbox.meshulam.co.il/far?l=89a71a421b8e0686024fbb762dab61e1"
    }
}

Failure:

{
    "err": {
        "id": 54,
        "message": "חסרים נתונים:pageCode"
    },
    "status": "0",
    "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.

Important!

You must NOT reveal the process details such as the processId and the processToken to the paying customer. You may display the asmachta field for unique identification of the transaction.