Paynet API
Search…
Financialization
v1/transaction/capture
The service where financialization has done for the relevant amount or less than the relevant amount from the credit card in pre-authorized transactions.
This service is only used for capturing pre-provision type transactions.
To use the financialization service, you must perform basic authentication with the secret_key. See More
Request Parameters
Response Parameters
Request
Response
Service Url
Parameter Name
Type
Required
Description
xact_id
string
Yes*
Encrypted Transaction Id.
xact
string
Yes*
Transaction Id.
reference_no
string
Yes*
Reference number of the related transaction
amount
string
No
The amount at which financialization is wished. The amount must be multiplied by 100. It should be sent as like “10.00 TL” => “1000”. If it is sent empty, the full pre-authorization amount will be taken.
Parameter Name
Type
Description
xact_id
string
Encrypted Transaction Id.
xact_date
datetime
Transaction Date.
transaction_type
char
1 for sale 4 for financialization
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.
user_id
string
The user who performing the transaction.
email
string
Mail address.
phone
string
Phone number.
bank_id
char
The bank's code in the Paynet system.
instalment
int
Installment count.See More
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
char
Currency.
authorization_code
string
Bank confirmation code.
reference_code
string
Bank reference code.
order_id
string
Bank order no.
is_succeed
bool
It returns true if the transaction successful. If the transaction is successful, it returns as http 200 and and is_succeed return as true. If the bank does not approve transaciton, it returns http 200 and is_succed return as false.
paynet_error_id
string
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.
code
string
System result code . See more
message
string
System message.
1
{
2
"xact_id":"xk_EAAAANFhOW7SioFxO8LHPMruxp0hX3wE8NmJSmGUD*W3uISj" ,
3
"amount":"100"
4
}
Copied!
1
{
2
"xact_id": "xk_EAAAAIO6j*mZ24gKFpk739cUeuL9P7oKyavBUO0Rbe7WKYXG",
3
"xact_date": "2016-04-08T10:27:22.0296925+03:00",
4
"transaction_type": 4,
5
"pos_type": 5,
6
"is_tds": true,
7
"agent_id": "20005",
8
"user_id": "cardholder",
9
"email": "",
10
"phone": "",
11
"bank_id": "AXSS",
12
"instalment": 3,
13
"ratio": 0.04,
14
"card_no_masked": "435508******4358",
15
"card_holder": "GJH",
16
"amount": 0,
17
"net_amount": 56.55,
18
"comission": 2.37,
19
"comission_tax": 0.43,
20
"currency": "TRY",
21
"authorization_code": "aut-8229",
22
"reference_code": "ref-8229",
23
"order_id": "order-8229",
24
"is_succeed": true,
25
"paynet_error_id": "",
26
"paynet_error_message": "",
27
"bank_error_id": "",
28
"bank_error_message": "",
29
"bank_error_short_desc": "",
30
"bank_error_long_desc": "",
31
"object_name": "transaction",
32
"code": 0,
33
"message": "Başarılı İşlem"
34
}
Copied!
System
URL
Live System
https://api.paynet.com.tr/v1/transaction/capture
Test System
https://pts-api.paynet.com.tr/v1/transaction/capture
At least one of the xact_id, xact and reference_no fields is required.
Last modified 3mo ago
Copy link