Örnek İstek&Yanıt

Non-Secure Sale (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": "88dbc9d0-59db-4afb-910b-bbaaafe59451",
    "cardNo": "5430810017515470",
    "expiry": 2509,
    "cvv2": "182",
    "amount": 5789,
    "currency": 949,
    "installmentCount": 1,
    "pointAmount": 1200,
    "ecommerceTxnType": 0,
    "txnInitiationType": 0,
    "cardHolderIp": "188.132.138.70",
    "merchantIp": "188.132.138.71",
    "subMerchantIp": "188.132.138.72",
    "lang": "TR",
    "additionalInfo": "no: 123456789",
    "invoiceInfo": "test adres bilgileri mah test sok no:1/A İSTANBUL"
}

Last updated

Was this helpful?