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

Charge Transaction (J4)

POSThttps://restapidev.payplus.co.il/api/v1.0/Transactions/Charge

סביבה

כותרות (Headers)

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

גוף הבקשה application/json

שדהסוגתיאור
idstringPayer credit card holder identification number
tokenstringRequired only if use_token is true
amountחובהnumber
add_datastringSHOULD BE SENT JUST IF YOUR CREDIT CARD COMPANY OPENED THIS OPTION !!!
customerobject
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_ISOstringExample: IL
customer.customer_nameחובהstringImportant in case you working with invoicing company
paymentsobjectOptional
payments.numberחובהinteger (int)Number of payments
payments.first_amountinteger (int)First Payment
payments.nonfirst_amountinteger (int)Remaining payments
productsobject[]Optional ,Array of objects
products[].namestring
products[].pricestringproduct price
products[].quantitystringproduct quantity. Example: 1
products[].vat_typestring'vat included' OR 1-'vat not included' OR 2- 'exempt vat'אחד מ: 0, 1, 2
products[].product_uidstringUnique identifier for product. Example: de11bca8-416e-4b47-9e5a-0040e21b0b3f
products[].currency_codestringEX: ILS
products[].discount_typestringamount OR percentageאחד מ: percentage, amount
products[].discount_valueintegerדוגמה: 10
products[].product_invoice_extra_detailsstringExample: some text
use_tokenחובהbooleanIf true , token is required
extra_infostring
cashier_uidחובהstringUnique identifier for cashier
credit_cardobjectRequired if use token is false
credit_card.cvvstring
credit_card.exp_mmstringrequired if send credit card
credit_card.exp_yystringrequired if send credit card
credit_card.numberstringrequired if send credit card
credit_card.auth_numberstringauthorization number from credit company
deferMonthsinteger (int)nullable (If you are using Club Codes [Kod Moadon] send the code in this field)
more_info_1stringnullable (Additional Information)
more_info_2stringnullable (Additional Information)
more_info_3stringnullable (Additional Information)
more_info_4stringnullable (Additional Information)
more_info_5stringnullable (Additional Information)
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_uidstringMandatory if use_token is true, customer object can be used instead
terminal_uidחובהstringUnique identifier for terminal
currency_codeחובהstring
initial_invoicebooleanIf sent the transactions will consider if to initial invoice or not, if not sent then will take the default setting
self_secure_3dsobject
self_secure_3ds.ecistringeci returned from the 3DSecure provider. Only 02, 05 will be sent to the 3D Secure provider, otherwise will be as regular transaction.
self_secure_3ds.cavv_ucafstringUCAF returned from the 3DSecure provider. "MTIzNDU2Nzg5MDA5ODc2NTQzMjE="
self_secure_3ds.external_uidstringzdfe-4bd0-b698-2bb64996cdf9" (string) - External 3D Secure UID
self_secure_3ds.external_trans_uidstringea0e-4bd0-b7be-2bb64996cdf3" (string) - External 3D Secure Result Transaction UID
customer_name_invoicestringRequired only if customer_uid is null and have integrated invoice system
original_terminal_uidstringIn case you charging J5 transaction in another terminal, provide the original terminal of the original J5 tranasaction.
עריכת גוף הבקשה

תשובות

200 200
שדהסוגתיאור
dataobject
data.dataobject
data.data.itemsobject[]
data.data.items[].namestringדוגמה: Smart TV
data.data.items[].quantitystringדוגמה: 1
data.data.items[].amount_payintegerדוגמה: 100
data.data.items[].product_uidstringדוגמה: ba4c68a6-0e26-4bc7-b26c-675f87761c3a
data.data.items[].discount_typestringדוגמה: amount
data.data.items[].discount_valueintegerדוגמה: 10
data.data.items[].quantity_pricenumberדוגמה: 85.47
data.data.items[].discount_amountintegerדוגמה: 10
data.data.cashier_uidstringדוגמה: 1bc7b001-d90c-43b3-a8bb-58ab8a3013ba
data.data.customer_uidstringדוגמה: ef76432c-769a-43a6-ba7a-6f70272539d8
data.data.terminal_uidstringדוגמה: 97432e96-3c21-4eb2-9d64-1067e845b35a
data.data.card_informationobject
data.data.card_information.brand_idintegerדוגמה: 2
data.data.card_information.issuer_idintegerדוגמה: 1
data.data.card_information.clearing_idintegerדוגמה: 6
data.data.card_information.expiry_yearstringדוגמה: 24
data.data.card_information.four_digitsstringדוגמה: 0218
data.data.card_information.expiry_monthstringדוגמה: 01
data.transactionobject
data.transaction.uidstringדוגמה: 599dbe80-53bf-4e2b-9f66-e38d42b90b68
data.transaction.datestringדוגמה: 2021-01-07 16:24:31
data.transaction.typestringדוגמה: internal_page
data.transaction.amountnumber
data.transaction.numberstringדוגמה: ha635
data.transaction.currencystringדוגמה: ILS
data.transaction.paymentsobject
data.transaction.payments.number_of_paymentsintegerדוגמה: 3
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דוגמה: Smart TV
data.transaction.more_info_1stringדוגמה: Additional 1
data.transaction.more_info_2stringדוגמה: Additional 2
data.transaction.more_info_3stringדוגמה: Additional 3
data.transaction.more_info_4stringדוגמה: Additional 4
data.transaction.more_info_5stringדוגמה: Additional 5
data.transaction.status_codestringדוגמה: 000
data.transaction.credit_termsstringדוגמה: credit
data.transaction.voucher_numberstringדוגמה: 07-480-067
data.transaction.approval_numberstringדוגמה: 0000000
resultsobject
results.codeintegerדוגמה: 0
results.statusstringדוגמה: success
results.descriptionstringדוגמה: operation has been success
400 400
האם העמוד עזר לך?
שאלו את ה־AI

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

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

החשבון שלך ב־PayPlusפתיחה בכרטיסייה חדשה
Charge Transaction (J4) · PayPlus Docs