๐ Payment Types
Payment Values by Type
The payments array values and meaning in the receipt will be changed according to the payment type sent.
Check
check_number
The check number.
bank_code
The check bank code number.
branch_number
The check bank branch code.
bank_account_number
The check bank account number.
In 'check' payment all parameters are mandatory

Bank Transfer
check_number
Voucher or reference number.
bank_code
The bank code number.
branch_number
The bank branch code.
bank_account_number
The bank account number.
In 'Bank Transfer' payment all parameters are mandatory

Credit Card
check_number
Voucher number.
bank_account_number
The credit card number (4 final digits).
In 'Credit Card' payment parameters are not mandatory

Multiple Payments Settings
When all payments amounts are equal it is possible to send the payments array one line and define the multiple payments number so the system will automatically replicate all of them (in case of check payment it will also fill the followed checks number)
Send in the request parameters:
'number_of_payments'
Receipt with checks payments request example
Request
{
"api_token": "0279BF82-CD57-49BA-837C-930F0E2EB805",
"receipt_type": 1,
"customer_id": 0,
"last_name": "ืืืืงื",
"first_name": "ืืืืงื",
"price_include_vat": true,
"currency_id": 1,
"digital_signature": true,
"payments": [
{
"payment_type": 1,
"amount_nis": 30,
"bank_code": 4,
"branch_number": 881,
"bank_account_number": 12345,
"check_number": 20000030,
"description": "ืชืฉืืื ืฆ'ืง",
"number_of_payments": 5
}
]
}
Receipt payments will be shown as follows:

Updated 22 days ago