Edit this Page

Abonelik Sona Erdi

Bu servis herhangi bir abonelik sona erdiğinde tetiklenir.

Path: /subscreasy/webhook/subscription-ended
Method: POST

Başarılı İşlem: HTTP 2xx

Talep İçeriği

  • İşlem no: txId
  • Abonelik bilgisi: subscription
  • Abone bilgisi: subscriber

Örnek Talep

{
  "txId" : "321d4e0f565c48e495905368b3fae1c5",
  "subscription" : {
    "id" : 4,
    "status" : "FINISHED",
    "startDate" : "2018-07-29T22:14:18Z",
    "nextChargingDate" : "2018-07-29T22:16:18Z",
    "endDate" : "2018-07-29T22:17:18Z",
    "subscriber" : {
      "id" : 1,
      "name" : "JUnit",
      "surname" : "Test"
    },
    "offer" : {
      "id" : -240,
      "secureId" : "asd-009",
      "name" : "Browsymous Tester Edition 3 Minutes",
      "price" : 0.99,
      "openEnded" : false,
      "recurrenceCount" : 3,
      "recurrence" : {
        "id" : 1,
        "recurrenceType" : "MINUTELY",
        "length" : 1
      }
    },
    "company" : {
      "id" : -1,
      "name" : "Browsymous Bilgi İletişim A.Ş.",
      "siteName" : "browsymous",
      "address" : null
    },
    "card" : {
      "id" : 5,
      "cardAlias" : "Halk Bankası",
      "binNumber" : "552879"
    }
  },
  "subscriber" : {
    "id" : 1,
    "secureId" : "641782f7419a491caf5f5fd5a07e01be",
    "email" : "halilkarakose@gmail.com",
    "name" : "JUnit",
    "surname" : "Test",
    "createDate" : "2018-07-29T22:08:50Z",
    "company" : {
      "id" : -1,
      "name" : "Browsymous Bilgi İletişim A.Ş."
    }
  },
  "paymentLog" : null,
  "savedCard" : null
}