Payments
Payment Simulation
Payment simulation api you can check the payment request is processable
and which virtual pos will be used
post/api/v1/payment/simulation
Request body
Example request
{
"application_key": "6e3cdaa3-65df-4eff-aed2-9d74387701dd",
"campaign_name": "KAMPANYA",
"currency": "TRY",
"amount": 1250,
"installment_count": "1",
"inst_period": 1,
"card_number": "4508034508034509",
"expire_month": "12",
"expire_year": "2026",
"card_token": "133356090a864a579a591107cfa08cbd",
"hash_data": "sadsaas3e412",
"customer_id": "135",
"is_submerchant_payment": true,
"is_preauth": true,
"mode": "T",
"language": "tr",
"is_agricultural_payment": true,
"agricultural_code": "1"
}Response
Successful Response
Example response
{
"response_code": "00",
"message": "Successful Payment",
"is_3d": true,
"virtual_pos_name": "Garanti Sanal POS",
"virtual_pos_id": 35,
"expected_cost_rate": 1.12,
"expected_cost_amount": 11.12,
"expected_customer_rate": 1.12
}Changes
No recorded changes to this endpoint across all 1 revision of this API.