Refund By Transaction UID
Refund By Transaction UID
POST
https://restapidev.payplus.co.il/api/v1.0/Transactions/RefundByTransactionUIDסביבה
כותרות (Headers)
stringחובה
API Key
stringחובה
Secret Key
גוף הבקשה
| שדה | סוג | תיאור |
|---|---|---|
cvv | string | If your terminal in the credit companies is required CVV, then you have to pass this field, otherwise the transaction will be failed |
items | object | |
items.name | string | |
items.price | integer (int) | product price |
items.value | integer (int) | |
items.barcode | string | |
items.quantity | string | product quantity. Example: 1 |
items.shipping | boolean | Can be sent if you would like to show another line of shipping instead a product in the order summary table |
items.vat_type | string | 'vat included' OR 1-'vat not included' OR 2- 'exempt vat' |
items.image_url | string | |
items.product_uid | string | 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. |
items.category_uid | string | |
items.discount_type | string | amount OR percentage |
items.discount_value | integer | |
amountחובה | number | Amount you would like to charge but not more then the original J5 transaction |
more_info | string | If is partial amount, invoice product line will be taken from this field if received |
initial_invoice | boolean | As long your account connected to Invoice+ we will generate document for this action |
transaction_uidחובה | string | The transaction UID you received from the original J5 transaction |
עריכת גוף הבקשה
תשובות
200 200
| שדה | סוג | תיאור |
|---|---|---|
data | object | |
data.data | object | |
data.data.items | object[] | |
data.data.items[].vat | number | |
data.data.items[].name | string | |
data.data.items[].quantity | integer | |
data.data.items[].amount_pay | integer | |
data.data.items[].product_uid | string | |
data.data.items[].quantity_price | number | |
data.data.items[].discount_amount | integer | |
data.data.cashier_uid | string | |
data.data.customer_uid | string | |
data.data.terminal_uid | string | |
data.data.card_information | object | |
data.data.card_information.token | string | |
data.data.card_information.brand_id | integer | |
data.data.card_information.issuer_id | integer | |
data.data.card_information.clearing_id | integer | |
data.data.card_information.expiry_year | string | |
data.data.card_information.four_digits | string | |
data.data.card_information.expiry_month | string | |
data.transaction | object | |
data.transaction.uid | string | |
data.transaction.date | string | |
data.transaction.type | string | |
data.transaction.amount | number | |
data.transaction.number | string | |
data.transaction.currency | string | |
data.transaction.payments | object | |
data.transaction.payments.number_of_payments | integer | |
data.transaction.payments.first_payment_amount | integer | |
data.transaction.payments.rest_payments_amount | integer | |
data.transaction.secure3D | object | |
data.transaction.secure3D.status | boolean | |
data.transaction.secure3D.tracking | any | |
data.transaction.more_info | string | |
data.transaction.status_code | string | |
data.transaction.credit_terms | string | |
data.transaction.voucher_number | string | |
data.transaction.approval_number | string | |
results | object | |
results.code | integer | |
results.status | string | |
results.description | string |