Skip to content

Commit

Permalink
prfix
Browse files Browse the repository at this point in the history
  • Loading branch information
canerinaliacerpro committed Nov 26, 2024
1 parent fa92351 commit 40a7f7c
Showing 1 changed file with 8 additions and 49 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ Bir teklif primi InsurUp'a iletildiği zaman tetiklenir.

```json
{
"$event": "proposal_premium.received",
"proposalId": "673afd15f11de64fe1f2bjdb",
"productId": 40235,
"premiums": [
Expand All @@ -36,8 +35,7 @@ Bir teklif primi InsurUp'a iletildiği zaman tetiklenir.
"exchangeRate": 1,
"paymentType": "All",
"currency": "TurkishLira",
"insuranceCompanyProposalNumber": "142534209",
"proposalProductId": "67452b1a022dec6666bf06d8"
"insuranceCompanyProposalNumber": "142534209"
},
{
"installmentNumber": 2,
Expand All @@ -47,8 +45,7 @@ Bir teklif primi InsurUp'a iletildiği zaman tetiklenir.
"exchangeRate": 1,
"paymentType": "All",
"currency": "TurkishLira",
"insuranceCompanyProposalNumber": "142534209",
"proposalProductId": "67452b1a022dec6666bf06d8"
"insuranceCompanyProposalNumber": "142534209"
},
{
"installmentNumber": 3,
Expand All @@ -58,20 +55,14 @@ Bir teklif primi InsurUp'a iletildiği zaman tetiklenir.
"exchangeRate": 1,
"paymentType": "All",
"currency": "TurkishLira",
"insuranceCompanyProposalNumber": "142534209",
"proposalProductId": "67452b1a022dec6666bf06d8"
"insuranceCompanyProposalNumber": "142534209"
}
],
"insuredCustomer": {
"$type": "individual",
"identityNumber": "12345678910",
"birthDate": "1994-01-01",
"fullName": "Müşteri ismi",
"name": "Müşteri ismi",
"phoneNumber": {
"number": "5432222222",
"countryCode": 90,
"areaCode": "543",
"numberWithoutAreaCode": "2222222"
"number": "5334180719",
"countryCode": 90
},
"email": {
"value": "customer@insurup.com"
Expand All @@ -84,41 +75,10 @@ Bir teklif primi InsurUp'a iletildiği zaman tetiklenir.
"value": "1823",
"text": "KÜÇÜKÇEKMECE"
}
},
"event": 1,
"tempProposalDocumentUrl": null,
"tempPreInfoDocumentUrl": null
}
}
```

**Örnek Sigortalı Tüzel Müşteri Payload**

```json
"insuredCustomer": {
"$type": "company",
"title": "Şirket ismi",
"taxNumber": "6130782524",
"phoneNumber": {
"number": "5432222222",
"countryCode": 90,
"areaCode": "543",
"numberWithoutAreaCode": "2222222"
},
"email": {
"value": "customer@insurup.com"
},
"city": {
"value": "34",
"text": "İSTANBUL"
},
"district": {
"value": "1823",
"text": "KÜÇÜKÇEKMECE"
}
},
```


### `proposal_premium.purchasing` *sync*

Bir teklif primini satın alınmadan önce tetiklenir. Bu event'i satın alma validasyonu olarak kullanabilirsiniz.
Expand Down Expand Up @@ -164,8 +124,7 @@ Bir teklif primini satın alma isteği **başarılı** olunca tetiklenir.
"installmentNumber": 1,
"paymentType": "CreditCard",
"policyStartDate": "2024-11-20",
"policyEndDate": "2025-11-20",
"tempDocumentUrl": null
"policyEndDate": "2025-11-20"
}
```

Expand Down

0 comments on commit 40a7f7c

Please sign in to comment.