Payment Check
v1/transaction/check
It shows transaction analysis that have done. You can use it for quick access to summary of payment.
You should perform basic authentication with secret_key to use transaction check service. See more
https://api.paynet.com.tr/v1/transaction/check
Parameter Name
Type
Required
Description
xact_id
string
Yes*
Paynet Transaction Id.
reference_no
string
Yes*
The number used in the payment process.Recommended to send a unique number in each transaction.
Parameter Name
Type
Description
Data[]
=>xact_id
string
Encrypted Transaction Id.
=>id
string
Encrypted Transaction Id.
=>xact_date
datetime
Transaction Date.
=>transaction_type
char
1 for sale
=>pos_type
char
5: Paynet POS
=>is_tds
bool
IF the transaction performed with 3D,this value return as true.
=>agent_id
string
Paynet agent code of the dealer that performed the transaction.
=>note
string
Description (data-description) that you used during checkout.
=>ratio
float
Rate that used during transaction.
=>agent_reference
string
Reference number that used in the payment process. It is same as with reference_no.
=>bank_id
char
The bank's code in the Paynet system.
=>card_no
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
char
Currency.
=>authorization_code
string
Bank confirmation code.
=>reference_code
string
Bank reference code.
=>order_id
string
Bank order no.
=>is_succeed
bool
It shows that if operaiton is successful or not.
=>xact_transaction_id
guid
Paynet transactşon tracking number.
string
Email.
=>phone
string
Phone number.
=>object_name
string
Transaction.
=>message
string
System message.
object_name
string
Transaction.
message
string
System message.
{  
   xact_id:"xk_EAAAAAh7VYf9HG4+GR9ezqiMWAA8PY6P4eroE4BUUHRCLxGO"
}{
    "Data": [
        {
            "id": 2527054,
            "xact_id": "xk_EAAAABjNNQXkp5xN4RyKCdjOn*WlCyAZUfIh7tvswL7Sxnol",
            "xact_date": "2020-02-27T11:00:19.16",
            "transaction_type": 1,
            "pos_type": 5,
            "agent_id": "10",
            "is_tds": false,
            "bank_id": "AXSS",
            "instalment": 0,
            "card_no": "435508******4358",
            "card_holder": "TEST",
            "card_type": "bc",
            "ratio": 0.035,
            "amount": 20.0000,
            "netAmount": 19.3000,
            "comission": 0.7000,
            "comission_tax": 0.0000,
            "currency": "TRY",
            "authorization_code": "aut-4923",
            "reference_code": "ref-4923",
            "order_id": "order-4923",
            "is_succeed": true,
            "xact_transaction_id": "6FA9F0CE-9D3D-4625-B985-DE390F72E78F",
            "email": "",
            "phone": "          ",
            "note": "test 2",
            "agent_reference": "test",
            "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/check
Test System
https://pts-api.paynet.com.tr/v1/transaction/check
Last updated
