Skip to content
Docs
Menu
View as Markdown

TransactionByDevice

POSThttps://restapidev.payplus.co.il/api/v1.0/Device/TransactionByDevice

Environment

Headers

stringrequired
API Key
stringrequired
Secret Key

Request body application/json

FieldTypeDescription
amountrequirednumber
customerobject
customer.uidstringto allocate the payment to specific customer
customer.citystring
customer.emailrequiredstringBy this field we will search for a customer and allocate the payment under the client
customer.phonestring
customer.addressstring
customer.full_namestringIn case the customer is a company, contact personal name can be sent using this field
customer.cell_phonestring
customer.vat_numberstringIn case email are not sent, we will search for a customer by this field
customer.country_isostring
customer.postal_codestring
customer.customer_namerequiredstringImportant in case you working with invoicing company
paymentsobject
payments.numberinteger (int)Number of payments
payments.first_amountinteger (int)First Payment
payments.nonfirst_amountinteger (int)Remaining payments
productsobject[]nullable if send in item "product_uid" we will use this product or send error, if send "name" and not "product_uid" we will create new product with this name. more option to send if ("name" && !product_uid): vat_type, barcode, value,price.last option we will use default product.
products[].namestring
products[].pricestring
products[].quantitystring
products[].vat_typeinteger (int)'vat included' OR 1-'vat not included' OR 2- 'exempt vat'One of: 0, 1, 2
products[].product_uidstringUnique identifier for product
products[].currency_codestringEX: ILS
products[].discount_typestringpercentage' OR 'amountOne of: percentage, amount
products[].discount_valuenumber (int)Required if discount type have value
products[].product_invoice_extra_detailsstring
device_uidrequiredstringUnique Device Identifier (UID) from the PayPlus system
extra_infostring
paying_vatbooleannullable (In case you would like to that invoice / document will be with VAT or without VAT, This parameter is not required)
cashier_uidstringunique identifier (UID) associated with a cashier account from the PayPlus system
callback_urlstringnullable (We will send you webhook once the transaction approved). Example: https://www.domain.com/callback/
create_tokenbooleannullable (In case you have tokenization permission, you can decide if you would like to return the token of the customer for future charges)
credit_termsrequiredinteger (int)1-regular OR 6-credit OR 8-paymentOne of: 1, 6, 8
customer_uidstringTo allocate the payment to specific customer
minimize_appboolean
charge_methodrequiredinteger (int)Use this parameter to define the appropriate transaction action based on the customer's request and system requirements 0 - Check (J2) 1 - Charge (J4) 2 - Approval (J5) 4 - Refund (J4)One of: 0, 1, 2, 4
currency_coderequiredstring
initial_invoicebooleannullable (In case you have invoice company and it's activated in your payment page, you can decide if for spesfic transaction invoice will be initial or not, to use default please don't send this parameter at all)
custom_invoice_namestringnullable (In case you have integrated invoice company you can decide if the invoice customer name will be different then the "customer_name" parameter in customer object)
Edit the request body

Responses

200 200
FieldTypeDescription
dataobject
data.dataobject
data.data.itemsobject[]
data.data.items[].vatany
data.data.items[].namestringExample: חסה עגולה
data.data.items[].quantityintegerExample: 1
data.data.items[].discount_typeany
data.data.items[].discount_valueany
data.data.items[].quantity_pricenumberExample: 4.27
data.data.items[].discount_amountintegerExample: 0
data.data.cashier_uidstringExample: 575bacea-22e1-41ad-ada9-6fc7a350a4c8
data.data.cashier_namestringExample: 01
data.data.customer_uidstringExample: fee334d0-bb8b-489d-9b7b-51327d55fbc5
data.data.terminal_uidstringExample: b964a199-7176-4982-acbe-553decba2e67
data.data.card_informationobject
data.data.card_information.tokenstringExample: 19be1de9-a3e8-496d-8d61-38f3653431df8054
data.data.card_information.brand_idintegerExample: 10
data.data.card_information.issuer_idintegerExample: 1
data.data.card_information.clearing_idintegerExample: 5
data.data.card_information.expiry_yearstringExample: 26
data.data.card_information.four_digitsstringExample: 8054
data.data.card_information.expiry_monthstringExample: 06
data.transactionobject
data.transaction.uidstringExample: 4ff5d46b-4929-491a-896d-6f846fb7eddf
data.transaction.datestringExample: 2021-10-25 15:41:33
data.transaction.typestringExample: EMV pinpad
data.transaction.amountnumber
data.transaction.numberstringExample: SLik8Y
data.transaction.add_dataany
data.transaction.currencystringExample: ILS
data.transaction.paymentsobject
data.transaction.payments.number_of_paymentsintegerExample: 1
data.transaction.payments.first_payment_amountintegerExample: 0
data.transaction.payments.rest_payments_amountintegerExample: 0
data.transaction.secure3Dobject
data.transaction.secure3D.statusbooleanExample: false
data.transaction.secure3D.trackingany
data.transaction.more_infostringExample: transaction-test
data.transaction.status_codestringExample: 000
data.transaction.credit_termsstringExample: regular
data.transaction.voucher_numberstringExample: 13-001-056
data.transaction.approval_numberstringExample: 4687869
resultsobject
results.codeintegerExample: 0
results.statusstringExample: success
results.descriptionstringExample: operation has been success
400 400
Was this page helpful?
Ask AI

Ask a question about PayPlus. Answers come from the published docs, with links to the pages they use.

AI answers can be wrong. Check the linked pages.

Your PayPlus accountOpen in a new tab