Paynet API
Search…
Financialization Cancellation
v1/transaction/capture_reversal
It is used to cancel successful financialized credit card transactions.
https://api.paynet.com.tr/v1/transaction/capture_reversal
Request Parameters
Response Parameters
Request
Response
Service Url
Parameter Name
Type
Required
Description
xact_id
string
Yes
Process id.
Parameter Name
Type
Description
xact_id
string
Process id.
xact_date
datetime
The code of response result.
transaction_type
char
Response result message.
pos_type
char
Paynet POS.
is_tds
bool
If thetransaction performed with 3D,this value return as true.
agent_id
string
Paynet agentcode of the dealer that performed the transaction.
user_id
string
The user who performing the transaction.
email
string
Mail address.
phone
string
Phone number.
bank_id
char
The bank's code in the Paynet system.
instalment
int
Installment count.
ratio
float
Rate that used during transaction.
card_no_masked
string
Masked card number.
card_holder
string
Card owner.
amount
decimal
Amount that withdrawn from credit card.
net_amount
decimal
Amount without commission.
comission
decimal
Comission.
comission_tax
decimal
Comission tax.
currency
decimal
Currency.
authorization_code
char
Bank confirmation code.
reference_code
string
Bank reference code.
order_id
string
Bank order no.
is_succeed
string
It returns true if the transaction successful. If the transactionis successful, it returns as http 200 and is_succeed return as true. If the bank does not approve, it returns as http 200 and is_succeed returns as false.
paynet_error_id
bool
Paynet system error code.
paynet_error_message
string
Paynet system error code.
bank_error_id
string
Bank error code.
bank_error_message
string
Bank error message.
bank_error_short_desc
string
Bank error message.
bank_error_long_desc
string
Bank error message.
object_name
string
Transaction.
code
string
The code of response result. Expr
message
string
Response result message.
1
{
2
"xact_id":"xk_EAAAAHTqbS04hq4sU877ZQIiNuIhJ*PVko0sJyhtHOdvxjpf"
3
}
Copied!
1
{
2
"xact_id": "xk_*******qbS04hq4sU877ZQIiNuIhJ*PVko0sJyh*********"
3
"xact_date": "2016-04-07T15:33:09.543"
4
"transaction_type": 6
5
"pos_type": 5
6
"is_tds": false
7
"agent_id": "1001"
8
"user_id": "PaynetApi"
9
"email": ""
10
"phone": ""
11
"bank_id": "VAKF"
12
"instalment": 0
13
"ratio": 0.02
14
"card_no_masked": "435508******4358"
15
"card_holder": "cardholder"
16
"amount": 15
17
"net_amount": 14.65
18
"comission": 0.3
19
"comission_tax": 0.05
20
"currency": "TRY"
21
"authorization_code": ""
22
"reference_code": ""
23
"order_id": ""
24
"is_succeed": true
25
"paynet_error_id": ""
26
"paynet_error_message": ""
27
"bank_error_id": "6000"
28
"bank_error_message": "Invalid Ip Address : "
29
"bank_error_short_desc": ""
30
"bank_error_long_desc": ""
31
"object_name": "transaction"
32
"code": 1
33
"message": ""
34
}
Copied!
System
URL
Live System
https://api.paynet.com.tr/v1/transaction/capture_reversal
Test System
https://pts-api.paynet.com.tr​/v1/transaction/capture_reversal
Last modified 3mo ago
Copy link