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
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.
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.
message
string
Response result message.
{
"xact_id":"xk_EAAAAHTqbS04hq4sU877ZQIiNuIhJ*PVko0sJyhtHOdvxjpf"
}
{
"xact_id": "xk_*******qbS04hq4sU877ZQIiNuIhJ*PVko0sJyh*********"
"xact_date": "2016-04-07T15:33:09.543"
"transaction_type": 6
"pos_type": 5
"is_tds": false
"agent_id": "1001"
"user_id": "PaynetApi"
"email": ""
"phone": ""
"bank_id": "VAKF"
"instalment": 0
"ratio": 0.02
"card_no_masked": "435508******4358"
"card_holder": "cardholder"
"amount": 15
"net_amount": 14.65
"comission": 0.3
"comission_tax": 0.05
"currency": "TRY"
"authorization_code": ""
"reference_code": ""
"order_id": ""
"is_succeed": true
"paynet_error_id": ""
"paynet_error_message": ""
"bank_error_id": "6000"
"bank_error_message": "Invalid Ip Address : "
"bank_error_short_desc": ""
"bank_error_long_desc": ""
"object_name": "transaction"
"code": 1
"message": ""
}
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 updated