Paynet API
Search…
Transaction Details
v1/transaction/detail
It returns to detailed information of the credit card transaction made. You can make a query with reference number that used during payment or Paynet transaction number.
You should perform basic authentication with secret_key to use transaction detail service. See more
Request Parameters
Response Parameters
Request
Response
Service Url
Parameter Name
Type
Required
Description
id
string
Yes*
Unencrypted Paynet Transaction Id.
xact_id
string
Yes*
Paynet Transaction Id.
xact
string
Yes*
Unencrypted Paynet Transaction Id.
reference_no
string
Yes*
Reference number that used in the payment. It is recommended to send a unique number in each transaction.
user_id
string
No
Paynet User Code.
Parameter Name
Type
Description
Data[]
=>id
string
Transaction Id.
=>xact_id
string
Transaction id.
=>xact_date
datetime
Date of the transaction.
=>transaction_type
char
Sales:1/ Reversal:2/ PreAuth:3 /Capture:4/ PreAuthReversal:5 /CaptureReversal:6 /Query:7/ Credit:9/ PointUse:10/ PointReturn:11
=>xact_type_desc
string
Description of Transaction Type.
=>channel_id
string
ID of a Channel that transaction made.
=>pos_type
char
5: Paynet POS / 1: “Süpürmeli POS”.
=>pos_type_desc
string
Description of Pos type.
=>is_tds
bool
If transaction is 3D, then it is true.
=>agent_id
string
Paynet agent code of the dealer that performed the transaction.
=>agent_name
string
Agent Name.
=>company_name
string
Parent company Name.
=>company_code
string
Parent company Code.
=>user_name
string
User Information that used during payment transaction.
=>note
string
Description that used during payment transaction (data-description).
=>ratio
float
Rate that used during payment transaction.
=>ratio_code
string
Ratio code that used during payment transaction.
=>ratio_code_method
string
Ratio code method that used during payment transaction.
=>end_user_ratio
string
End User Ratio.
=>agent_reference
string
Reference number that used in the payment transaction.
=>bank_id
char
The bank's code in the Paynet system.
=>bank_name
string
Name of the bank.
=>instalment
int
Number of instalment.
=>instalment_text
string
Description of instalment.
=>payment_string
string
Payment Plan.
=>short_name
string
Short name.
=>is_from_mail_order
bool
If payment transaction went through Paylink, it is true. Otherwise, false.
=>mail_order_user_name
string
Username in payment transaction that went through Paylink.
=>campaign_url
string
The url showing the banks' plus installment and installment postpone selection screen.
=>campaign_text
string
Campain Description.
=>cancel_status
string
Cancellation/Refund Status.
=>plus_installment
string
Plus installment count.
=>card_no
string
Masked card number.
=>card_holder
string
Card owner.
=>card_type
char
Card Type. See More
=>card_brand_name
string
Brand of Card Bank (VISA, MASTERCARD, AMEX).
=>amount
decimal
Amount that withdrawn from credit card.
=>netAmount
decimal
Amount without commission.
=>comission
decimal
Commission.
=>end_user_comission
string
Comission tax.
=>comission_tax
decimal
End user commission.
=>currency
char
Currency.
=>authorization_code
string
Bank confirmation code.
=>reference_code
string
Bank reference code.
=>order_id
string
Bank order no.
=>is_succeed
bool
Shows that if transactions is successful or not.
=>reversed
bool
True/False , if transaction is cancelled then returns true.
=>reversed_xact_id
string
It shows that transaction is canceled in transactions with transaction type.
=>reversal_available
bool
Refund Authorization Control.
=>reversal_remain_amount
decimal
Amount remained after cancellation/refund.
=>xact_transaction_id
guid
Paynet transaction tracking number.
=>email
string
Email about payment.
=>phone
string
Phone number about payment.
=>domain
string
Domain information of the application where the transaction is made (eg: www.acme.com).
=>company_amount
decimal
As a result of this transaction, the gross receivable of the parent company.
=>company_commission
decimal
The amount of service fee to be charged to the parent company as a result of this transaction.
=>company_commission_with_tax
decimal
As a result of this transaction, the amount of service fee with VAT, to be deducted to the parent company.
=>company_net_amount
decimal
Net amount to pay parent company.
=>agent_amount
decimal
As a result of this transaction, the gross receivable of the dealer.
=>agent_commission
decimal
The amount of service fee to be charged to the dealer as a result of this transaction.
=>agent_commission_with_tax
decimal
As a result of this transaction, the amount of service fee with VAT, to be deducted to the dealer.
=>agent_net_amount
decimal
Net amount to pay dealer.
=>company_cost_ratio
float
Value of Parent company service fee.
=>company_pay_ratio
float
The payment ratio between the parent company and the dealer.
=>company_vdate
datetime
Due date of parent company.
=>agent_vdate
datetime
Due date of parent company.
=>ipaddress
string
IP address of the transaction.
=>client_id
guid
Client id of the transaction.
=>object_name
string
Transaction.
=>code
string
System Response Code. See more
=>message
string
System Message.
object_name
string
Transaction.
code
string
System Response Code. See more
message
string
System Message.
1
{
2
xact_id:"xk_EAAAAAh7VYf9HG4+GR9ezqiMWAA8PY6P4eroE4BUUHRCLxGO"
3
}
Copied!
1
{
2
"Data": [
3
{
4
"xact_id": "xk_EAAAAANMxo5L9mbloNAKOlBvthIjsE8xFTyR1zno4TQag7tP",
5
"xact_date": "2020-02-26T15:44:42.157",
6
"transaction_type": 1,
7
"pos_type": 5,
8
"agent_id": "1001",
9
"is_tds": true,
10
"bank_id": "MAXM",
11
"bank_name": "İş bankası",
12
"instalment": 0,
13
"card_no": "435508******4358",
14
"card_brand_name": "Maximum",
15
"card_holder": "Paynet",
16
"card_type": "cc",
17
"ratio": 0.0159,
18
"end_user_ratio": 0,
19
"amount": 21.13,
20
"netAmount": 20.79,
21
"comission": 0.34,
22
"end_user_comission": 0,
23
"comission_tax": 0,
24
"currency": "TRY",
25
"authorization_code": "638201",
26
"reference_code": "005715421739",
27
"order_id": "9C37AF7821AC4CFC8EE923EBA7DE33C9",
28
"is_succeed": true,
29
"reversed": false,
30
"reversed_xact_id": "xk_EAAAANxxw5/89flAlvE6PHF8CtjyOp4K6cXObjuNUIau8t/i",
31
"reversal_available": true,
32
"reversal_remain_amount": 21.13,
33
"xact_transaction_id": "9C37AF78-21AC-4CFC-8EE9-23EBA7DE33C9",
34
"email": "",
35
"phone": " ",
36
"note": "Kart bilgilerinizi girip ödemeyi tamamla butonuna tıklayınız",
37
"agent_reference": "",
38
"company_amount": 0,
39
"company_commission": 0,
40
"company_commission_with_tax": 0,
41
"company_net_amount": 0,
42
"agent_amount": 21.13,
43
"agent_commission": 0.34,
44
"agent_commission_with_tax": 0.34,
45
"agent_net_amount": 20.79,
46
"company_cost_ratio": 0,
47
"company_pay_ratio": 0,
48
"company_vdate": "0001-01-01T00:00:00",
49
"agent_vdate": "2020-02-28T00:00:00",
50
"xact_type_desc": "Satış",
51
"payment_string": "Maximum Tek çekim",
52
"pos_type_desc": "Paynet POS",
53
"agent_name": "Paynet Ödeme Hizmetleri",
54
"company_name": "PAYNET PF ÜYE FİRMA",
55
"instalment_text": "Tek Çekim",
56
"ipaddress": "127.0.0.0",
57
"client_id": " ",
58
"ratio_code": "S1SNWPGC",
59
"ratio_code_method": "D",
60
"domain": "https://paynet.com.tr",
61
"user_name": "PaynetApi",
62
"company_code": "1001",
63
"id": 7453380,
64
"channel_id": 2,
65
"short_name": "İş bankası",
66
"is_from_mail_order": false,
67
"mail_order_user_name": "",
68
"api_file": "",
69
"campaign_url": "",
70
"campaign_txt": "",
71
"cancel_status": null,
72
"plus_installment": 0,
73
"object_name": "transaction",
74
"code": 0,
75
"message": "Başarılı İşlem"
76
}
77
],
78
"object_name": "transaction",
79
"code": 0,
80
"message": "Başarılı İşlem"
81
}
Copied!
System
URL
Live System
https://api.paynet.com.tr/v1/transaction/detail
Test System
https://pts-api.paynet.com.tr/v1/transaction/detail
You need to post at least id, xact, xact_id or reference_id.
Last modified 3mo ago
Copy link