Örnek İstek&Yanıt

Non-Secure Insurance Sale (Sigorta Satış) işlemi için, istek ve yanıt örneğini aşağıda bulabilirsiniz.

Endpoint

POST /api/Payment/Sale

POST/api/Payment/Sale
Headers:
  x_client_token: your_client_token_here  
  x_nonce: a31f1cca-ac00-4981-8526-ee02a0c8bbbc
  x_timestamp: 20251230150815
  x_signature: generated_signature_hash
  Content-Type: application/json

{
    "orderId": "731df6d9-3cba-4b0c-b642-6549159c9064",
    "cardNo": "5404350000008095",
    "expiry": 9912,
    "amount": 2000,
    "currency": 949,
    "installmentCount": 2,
    "ecommerceTxnType": 1,
    "txnInitiationType": 4,
    "cardHolderIp": "188.132.138.70",
    "merchantIp": "188.132.138.71",
    "submerchantIp": "203.0.113.6",
    "lang": "TR",
    "additionalInfo": "no: 123456789",
  "invoiceInfo": "test deneme",
    "identificationNumber": "40981923264"
}

Last updated

Was this helpful?