דלגו לתוכן
תיעוד
תפריט
צפייה כ־Markdown

TransactionByDevice

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

סביבה

כותרות (Headers)

stringחובה
API Key
stringחובה
Secret Key

גוף הבקשה application/json

שדהסוגתיאור
amountחובהnumber
customerobject
customer.uidstringto allocate the payment to specific customer
customer.citystring
customer.emailחובהstringBy 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_nameחובהstringImportant 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'אחד מ: 0, 1, 2
products[].product_uidstringUnique identifier for product
products[].currency_codestringEX: ILS
products[].discount_typestringpercentage' OR 'amountאחד מ: percentage, amount
products[].discount_valuenumber (int)Required if discount type have value
products[].product_invoice_extra_detailsstring
device_uidחובהstringUnique 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_termsחובהinteger (int)1-regular OR 6-credit OR 8-paymentאחד מ: 1, 6, 8
customer_uidstringTo allocate the payment to specific customer
minimize_appboolean
charge_methodחובהinteger (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)אחד מ: 0, 1, 2, 4
currency_codeחובהstring
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)
עריכת גוף הבקשה

תשובות

200 200
שדהסוגתיאור
dataobject
data.dataobject
data.data.itemsobject[]
data.data.items[].vatany
data.data.items[].namestringדוגמה: חסה עגולה
data.data.items[].quantityintegerדוגמה: 1
data.data.items[].discount_typeany
data.data.items[].discount_valueany
data.data.items[].quantity_pricenumberדוגמה: 4.27
data.data.items[].discount_amountintegerדוגמה: 0
data.data.cashier_uidstringדוגמה: 575bacea-22e1-41ad-ada9-6fc7a350a4c8
data.data.cashier_namestringדוגמה: 01
data.data.customer_uidstringדוגמה: fee334d0-bb8b-489d-9b7b-51327d55fbc5
data.data.terminal_uidstringדוגמה: b964a199-7176-4982-acbe-553decba2e67
data.data.card_informationobject
data.data.card_information.tokenstringדוגמה: 19be1de9-a3e8-496d-8d61-38f3653431df8054
data.data.card_information.brand_idintegerדוגמה: 10
data.data.card_information.issuer_idintegerדוגמה: 1
data.data.card_information.clearing_idintegerדוגמה: 5
data.data.card_information.expiry_yearstringדוגמה: 26
data.data.card_information.four_digitsstringדוגמה: 8054
data.data.card_information.expiry_monthstringדוגמה: 06
data.transactionobject
data.transaction.uidstringדוגמה: 4ff5d46b-4929-491a-896d-6f846fb7eddf
data.transaction.datestringדוגמה: 2021-10-25 15:41:33
data.transaction.typestringדוגמה: EMV pinpad
data.transaction.amountnumber
data.transaction.numberstringדוגמה: SLik8Y
data.transaction.add_dataany
data.transaction.currencystringדוגמה: ILS
data.transaction.paymentsobject
data.transaction.payments.number_of_paymentsintegerדוגמה: 1
data.transaction.payments.first_payment_amountintegerדוגמה: 0
data.transaction.payments.rest_payments_amountintegerדוגמה: 0
data.transaction.secure3Dobject
data.transaction.secure3D.statusbooleanדוגמה: false
data.transaction.secure3D.trackingany
data.transaction.more_infostringדוגמה: transaction-test
data.transaction.status_codestringדוגמה: 000
data.transaction.credit_termsstringדוגמה: regular
data.transaction.voucher_numberstringדוגמה: 13-001-056
data.transaction.approval_numberstringדוגמה: 4687869
resultsobject
results.codeintegerדוגמה: 0
results.statusstringדוגמה: success
results.descriptionstringדוגמה: operation has been success
400 400
האם העמוד עזר לך?
שאלו את ה־AI

שאלו שאלה על PayPlus. התשובות מבוססות על התיעוד שפורסם, עם קישורים לעמודים שמהם נלקחו.

תשובות AI עלולות לטעות. כדאי לבדוק בעמודים המקושרים.

החשבון שלך ב־PayPlusפתיחה בכרטיסייה חדשה
TransactionByDevice · PayPlus Docs