Örnek İstek&Yanıt

Ana Bayi Modeli yetkisine sahip işyerlerinin 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: 0e72e797-3b4d-4c9e-be17-be453506108d
  x_timestamp: 20251209133409
  x_signature: generated_signature_hash
  Content-Type: application/json
{
    "orderId": "a785ccc8-6792-4fb1-9e8e-83e6f492411b",
    "cardNo": "5430810017515470",
    "expiry": "2509",
    "cvv2": "182",
    "amount": 9000,
    "currency": 949,
    "installmentCount": 2,
    "pointAmount": 0,
    "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",
    "": "HalkÖde 1 SubMerchant"
}

Last updated

Was this helpful?