Skip to content
Docs
Menu
View as Markdown

Use these docs in your AI app

Connect Claude, ChatGPT, Gemini or Grok to the PayPlus docs, so it answers from the current documentation and API reference. The connector only reads the published docs: no sign-in, and no access to your PayPlus account.

Charge Transaction (J4)

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

Environment

Headers

stringrequired
API Key
stringrequired
Secret Key

Request body application/json

FieldTypeDescription
idstringPayer credit card holder identification number
tokenstringRequired only if use_token is true
amountrequirednumber
add_datastringSHOULD BE SENT JUST IF YOUR CREDIT CARD COMPANY OPENED THIS OPTION !!!
customerobject
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_ISOstringExample: IL
customer.customer_namerequiredstringImportant in case you working with invoicing company
paymentsobjectOptional
payments.numberrequiredinteger (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'One of: 0, 1, 2
products[].product_uidstringUnique identifier for product. Example: de11bca8-416e-4b47-9e5a-0040e21b0b3f
products[].currency_codestringEX: ILS
products[].discount_typestringamount OR percentageOne of: percentage, amount
products[].discount_valueintegerExample: 10
products[].product_invoice_extra_detailsstringExample: some text
use_tokenrequiredbooleanIf true , token is required
extra_infostring
cashier_uidrequiredstringUnique 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_termsrequiredinteger (int)1-regular OR 6-credit OR 8-paymentOne of: 1, 6, 8
customer_uidstringMandatory if use_token is true, customer object can be used instead
terminal_uidrequiredstringUnique identifier for terminal
currency_coderequiredstring
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.
Edit the request body

Responses

200 200
FieldTypeDescription
dataobject
data.dataobject
data.data.itemsobject[]
data.data.items[].namestringExample: Smart TV
data.data.items[].quantitystringExample: 1
data.data.items[].amount_payintegerExample: 100
data.data.items[].product_uidstringExample: ba4c68a6-0e26-4bc7-b26c-675f87761c3a
data.data.items[].discount_typestringExample: amount
data.data.items[].discount_valueintegerExample: 10
data.data.items[].quantity_pricenumberExample: 85.47
data.data.items[].discount_amountintegerExample: 10
data.data.cashier_uidstringExample: 1bc7b001-d90c-43b3-a8bb-58ab8a3013ba
data.data.customer_uidstringExample: ef76432c-769a-43a6-ba7a-6f70272539d8
data.data.terminal_uidstringExample: 97432e96-3c21-4eb2-9d64-1067e845b35a
data.data.card_informationobject
data.data.card_information.brand_idintegerExample: 2
data.data.card_information.issuer_idintegerExample: 1
data.data.card_information.clearing_idintegerExample: 6
data.data.card_information.expiry_yearstringExample: 24
data.data.card_information.four_digitsstringExample: 0218
data.data.card_information.expiry_monthstringExample: 01
data.transactionobject
data.transaction.uidstringExample: 599dbe80-53bf-4e2b-9f66-e38d42b90b68
data.transaction.datestringExample: 2021-01-07 16:24:31
data.transaction.typestringExample: internal_page
data.transaction.amountnumber
data.transaction.numberstringExample: ha635
data.transaction.currencystringExample: ILS
data.transaction.paymentsobject
data.transaction.payments.number_of_paymentsintegerExample: 3
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: Smart TV
data.transaction.more_info_1stringExample: Additional 1
data.transaction.more_info_2stringExample: Additional 2
data.transaction.more_info_3stringExample: Additional 3
data.transaction.more_info_4stringExample: Additional 4
data.transaction.more_info_5stringExample: Additional 5
data.transaction.status_codestringExample: 000
data.transaction.credit_termsstringExample: credit
data.transaction.voucher_numberstringExample: 07-480-067
data.transaction.approval_numberstringExample: 0000000
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