Örnek İstek&Yanıt

PF 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": "0774351-45b8-4f5e-aa9d-c55e1a6fca05",
    "cardNo": "4920950073509841",
    "expiry": "2506",
    "cvv2": "166",
    "amount": 9000,
    "currency": 949,
    "installmentCount": 2,
    "pointAmount": 0,
    "ecommerceTxnType": 0,
    "txnInitiationType": 0,
    "cardHolderIp": "188.132.138.70",
    "merchantIp": "188.132.138.71",
    "lang": "TR",
    "subMerchantIp": "188.132.138.72",
    "subMerchantName": "HalkÖde 1 SubMerchant",
    "subMerchantId": "556667777",
    "subMerchantCountryCode": "470",
    "subMerchantCity": "ISTANBUL",
    "subMerchantPostalCode": "34000",
    "subMerchantMcc": "5411",
    "additionalInfo": "no: 123456789",
    "invoiceInfo": "test adres bilgileri mah test sok no:1/A İSTANBUL"
}

Last updated

Was this helpful?