0% found this document useful (0 votes)
65 views2 pages

Paytr Refund API

Uploaded by

45vq5bqnbc
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
65 views2 pages

Paytr Refund API

Uploaded by

45vq5bqnbc
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

PAYTR REFUND SERVICE

INTEGRATION
IMPORTANT WARNING: Incorrect integration may cause incorrect returns
and therefore you may experience financial loss. Please be very careful
during integration! You can contact us for your questions.

1- For the order you want to return, send the order number and the refund amount to the other
information specified in the table below https://www.paytr.com/odeme/iade via POST.

Compulsory Explanation Variable / Type

✓ Store Number: Store number given to you by PAYTR merchant_id (integer)

✓ Order Number: The order number of the transaction you want to return. merchant_oid (string)

Refund Amount: The amount you wish to return for the relevant order. (Only a
✓ return_amount (integer)
period (.) should be sent as delimiter. E.g.: 10.25)

PayTR Token: It is the value that you will create to make sure that the request
✓ comes from you and that the content has not changed (You should look at the paytr_token (string)
sample codes regarding the calculation)

Up to 64 characters,
Reference No: In case of transmission, it returns from Status Query service.
Alpha numeric

2- Your request will be returned in JSON format.


a. If there is no transaction for the order number you have requested, the status value returns failed.
b. If there is a transaction for the order number you have requested, the status value returns success
and the information in the table below returns.
c. If you have an error in the query, the status value returns an error. In this case, you should check the
err_msg content for the error detail.

Explanation Values
Status (success /
If the return request is successful, success returns.
failed)
Returns 1 if the return request is for testing. is_test

Order number for which a return request was made. merchant_oid

Amount made for a refund. return_amount


Reference number, if submitted. reference_no

Page 1 / 2

You might also like