For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

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.

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