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
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.
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.
{
xact_id:"xk_EAAAAAh7VYf9HG4+GR9ezqiMWAA8PY6P4eroE4BUUHRCLxGO"
}
{
"Data": [
{
"xact_id": "xk_EAAAAANMxo5L9mbloNAKOlBvthIjsE8xFTyR1zno4TQag7tP",
"xact_date": "2020-02-26T15:44:42.157",
"transaction_type": 1,
"pos_type": 5,
"agent_id": "1001",
"is_tds": true,
"bank_id": "MAXM",
"bank_name": "İş bankası",
"instalment": 0,
"card_no": "435508******4358",
"card_brand_name": "Maximum",
"card_holder": "Paynet",
"card_type": "cc",
"ratio": 0.0159,
"end_user_ratio": 0,
"amount": 21.13,
"netAmount": 20.79,
"comission": 0.34,
"end_user_comission": 0,
"comission_tax": 0,
"currency": "TRY",
"authorization_code": "638201",
"reference_code": "005715421739",
"order_id": "9C37AF7821AC4CFC8EE923EBA7DE33C9",
"is_succeed": true,
"reversed": false,
"reversed_xact_id": "xk_EAAAANxxw5/89flAlvE6PHF8CtjyOp4K6cXObjuNUIau8t/i",
"reversal_available": true,
"reversal_remain_amount": 21.13,
"xact_transaction_id": "9C37AF78-21AC-4CFC-8EE9-23EBA7DE33C9",
"email": "",
"phone": " ",
"note": "Kart bilgilerinizi girip ödemeyi tamamla butonuna tıklayınız",
"agent_reference": "",
"company_amount": 0,
"company_commission": 0,
"company_commission_with_tax": 0,
"company_net_amount": 0,
"agent_amount": 21.13,
"agent_commission": 0.34,
"agent_commission_with_tax": 0.34,
"agent_net_amount": 20.79,
"company_cost_ratio": 0,
"company_pay_ratio": 0,
"company_vdate": "0001-01-01T00:00:00",
"agent_vdate": "2020-02-28T00:00:00",
"xact_type_desc": "Satış",
"payment_string": "Maximum Tek çekim",
"pos_type_desc": "Paynet POS",
"agent_name": "Paynet Ödeme Hizmetleri",
"company_name": "PAYNET PF ÜYE FİRMA",
"instalment_text": "Tek Çekim",
"ipaddress": "127.0.0.0",
"client_id": " ",
"ratio_code": "S1SNWPGC",
"ratio_code_method": "D",
"domain": "https://paynet.com.tr",
"user_name": "PaynetApi",
"company_code": "1001",
"id": 7453380,
"channel_id": 2,
"short_name": "İş bankası",
"is_from_mail_order": false,
"mail_order_user_name": "",
"api_file": "",
"campaign_url": "",
"campaign_txt": "",
"cancel_status": null,
"plus_installment": 0,
"object_name": "transaction",
"code": 0,
"message": "Başarılı İşlem"
}
],
"object_name": "transaction",
"code": 0,
"message": "Başarılı İşlem"
}
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 updated