{"info":{"_postman_id":"148b761e-b75b-450b-b794-4b72ba4d8ea9","name":"Subscribe","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"12629017","collectionId":"148b761e-b75b-450b-b794-4b72ba4d8ea9","publishedId":"2s9YeN3UTA","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-12-07T08:38:44.000Z"},"item":[{"name":"User Register","id":"3167c993-fff5-4775-b508-cd5533385b89","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"phone_number\": \"+905555555555\",\n    \"first_name\": \"Test\",\n    \"last_name\": \"Test\",\n    \"email\": \"test@test.com\",\n    \"ip_address\": \"212.154.57.216\",\n    \"country\" : \"TR\",\n    \"password\" : \"123456\"\n    \n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/register","urlObject":{"protocol":"http","port":"8000","path":["api","register"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"3167c993-fff5-4775-b508-cd5533385b89"},{"name":"User Login","id":"91309604-c79e-4def-bb2f-b8eb73415345","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"veli@test.com\",\n    \"password\" : \"123456\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/login","urlObject":{"protocol":"http","port":"8000","path":["api","login"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"91309604-c79e-4def-bb2f-b8eb73415345"},{"name":"Subscription Register","id":"6d09b78d-9d7e-44b8-afab-57fd90c3bf01","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"card_no\": \"4111111111111111\",\n    \"card_owner\": \"Test Test\",\n    \"expire_month\": \"12\",\n    \"expire_year\": \"23\",\n    \"cvv\": \"111\",\n    \"package_id\": \"zotlo.premium\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/subscription/register","urlObject":{"protocol":"http","port":"8000","path":["api","subscription","register"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"6d09b78d-9d7e-44b8-afab-57fd90c3bf01"},{"name":"Subscription Check","id":"f8bb685f-60c9-487b-8df1-898c1fa0e814","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/subscription/check","urlObject":{"protocol":"http","port":"8000","path":["api","subscription","check"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"f8bb685f-60c9-487b-8df1-898c1fa0e814"},{"name":"Subscription Cancel","id":"aff11cb5-a5a5-41f3-852d-8c41fa8d3e3b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"cancellation_reason\" : \"test test 11\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/subscription/cancel","urlObject":{"protocol":"http","port":"8000","path":["api","subscription","cancel"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"aff11cb5-a5a5-41f3-852d-8c41fa8d3e3b"},{"name":"Account Cards","id":"866808ca-29d3-49f0-b083-57e03226d4ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/account/cards","urlObject":{"protocol":"http","port":"8000","path":["api","account","cards"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"866808ca-29d3-49f0-b083-57e03226d4ee"},{"name":"Webhook Subscription Update","id":"6e68a40e-9b1b-4892-a674-b245ebb16aa5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"queue\": {\n        \"type\": \"SubscriberUpdate\",\n        \"eventType\": \"cancel\",\n        \"requestID\": \"1721a221-f646-4d41-955b-91a35d630920\",\n        \"createDate\": {\n            \"date\": \"2023-11-14 01:22:11.888000\",\n            \"timezone_type\": 3,\n            \"timezone\": \"UTC\"\n        },\n        \"appId\": 1\n    },\n    \"parameters\": {\n        \"profile\": {\n            \"status\": \"active\",\n            \"realStatus\": \"active\",\n            \"subscriberId\": 19,\n            \"subscriptionId\": 1000,\n            \"subscriptionType\": \"paid\",\n            \"startDate\": \"2023-08-24 01:21:46\",\n            \"expireDate\": \"2023-11-30 01:21:46\",\n            \"renewalDate\": \"2023-11-30 01:21:46\",\n            \"package\": \"premium.package\",\n            \"country\": \"TR\",\n            \"phoneNumber\": \"+905555555555\",\n            \"language\": \"tr\",\n            \"originalTransactionId\": \"6e7f48f3-6856-4239-a276-f452a8395f1a\",\n            \"lastTransactionId\": \"6e7f48f3-6856-4239-a276-f452a8395f1a\",\n            \"subscriptionPackageType\": \"single\",\n            \"cancellation\": null,\n            \"customParameters\": {},\n            \"quantity\": 1,\n            \"pendingQuantity\": 0\n        },\n        \"package\": {\n            \"packageId\": \"premium.package\",\n            \"price\": 99,\n            \"currency\": \"TRY\",\n            \"packageType\": \"subscription\",\n            \"name\": \"Premium Package\",\n            \"subscriptionPackageType\": \"single\",\n            \"bundlePackages\": []\n        },\n        \"newPackage\": null,\n        \"card\": {\n            \"cardNumber\": \"411111****1111\",\n            \"expireDate\": \"06/30\"\n        },\n        \"customer\": null\n    }\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/webhook/subscription/update","urlObject":{"protocol":"http","port":"8000","path":["api","webhook","subscription","update"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"6e68a40e-9b1b-4892-a674-b245ebb16aa5"}]}