Skip to content
Docs
Menu
View as Markdown

Refund By Transaction UID

Refund By Transaction UID

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

Environment

Headers

stringrequired
API Key
stringrequired
Secret Key

Request body application/json

FieldTypeDescription
cvvstringIf your terminal in the credit companies is required CVV, then you have to pass this field, otherwise the transaction will be failed
itemsobject
items.namestring
items.priceinteger (int)product price
items.valueinteger (int)
items.barcodestring
items.quantitystringproduct quantity. Example: 1
items.shippingbooleanCan be sent if you would like to show another line of shipping instead a product in the order summary table
items.vat_typestring'vat included' OR 1-'vat not included' OR 2- 'exempt vat'One of: 0, 1, 2
items.image_urlstring
items.product_uidstringnullable (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.
items.category_uidstring
items.discount_typestringamount OR percentageOne of: amount, percentage
items.discount_valueintegerExample: 10
amountrequirednumberAmount you would like to charge but not more then the original J5 transaction
more_infostringIf is partial amount, invoice product line will be taken from this field if received
initial_invoicebooleanAs long your account connected to Invoice+ we will generate document for this action
transaction_uidrequiredstringThe transaction UID you received from the original J5 transaction
Edit the request body

Responses

200 200
FieldTypeDescription
dataobject
data.dataobject
data.data.itemsobject[]
data.data.items[].vatnumberExample: 7.27
data.data.items[].namestringExample: test
data.data.items[].quantityintegerExample: 1
data.data.items[].amount_payintegerExample: 50
data.data.items[].product_uidstringExample: d6536a11-1fce-49c3-87a6-ab0261da1cd2
data.data.items[].quantity_pricenumberExample: 42.73
data.data.items[].discount_amountintegerExample: 0
data.data.cashier_uidstringExample: d74f98d3-0437-41ba-9b53-4439c06b4a8d
data.data.customer_uidstringExample: c3703ae5-9cab-43b6-8bf5-0af239dc87ae
data.data.terminal_uidstringExample: 83d218ac-478c-413a-ac79-fe63fe966de9
data.data.card_informationobject
data.data.card_information.tokenstringExample: 3639a5a7-7883-4e37-b96c-e46640d6f8fd1175
data.data.card_information.brand_idintegerExample: 10
data.data.card_information.issuer_idintegerExample: 1
data.data.card_information.clearing_idintegerExample: 1
data.data.card_information.expiry_yearstringExample: 25
data.data.card_information.four_digitsstringExample: 1175
data.data.card_information.expiry_monthstringExample: 06
data.transactionobject
data.transaction.uidstringExample: e1396310-e3f8-461f-b80a-55b1954311359
data.transaction.datestringExample: 2021-02-17 19:40:16
data.transaction.typestringExample: internal_page
data.transaction.amountnumber
data.transaction.numberstringExample: gf8708
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:
data.transaction.status_codestringExample: 000
data.transaction.credit_termsstringExample: regular
data.transaction.voucher_numberstringExample: 50-001-187
data.transaction.approval_numberstringExample: 3148090
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