Refund
v1/transaction/reversed_request
It is used for cancellation, refund, or partial refund of successful credit card transactions. The important thing here is date of the transaction. All amount will be cancelled if transactions made on the same day. For the past transactions, you can be refund or partial refund. Partial refund is not possible for same-day transactions.
https://api.paynet.com.tr/v1/transaction/reversed_request
Parameter Name | Type | Required | Description |
xact_id | string | Yes | Paynet Transaction Number. |
amount | string | No | The amount will be refunded. The amount to be refunded multiplied by one hundred. “10.00 TL” should be send as “1000” (“10.00 TL” => “1000”) . If it is not sent or “0” is sent, then all of the transaction amount is refunded. |
succeedUrl | string | No | When the refund request is approved or disapproved , a post for its status is made to succedUrl. |
Parameters that posted to succedUrl
In the case of approval or disapproval of the requested transaction with the request from the refund transaction service, it is posted as JSON to the address that specified in succeedUrl parameter of the refund transaction service.
Request Parameters
Parameter Name | Type | Description |
xact_id | string | Paynet transaction number of the refund transaction. |
code | string | Result code of the refund transaction. 0: refund/cancellation request is approved, 1: refund/cancellation request is disapproved. |
status | string | The status of refund transaction. |
message | string | The note about refund transaction result. |
Last updated