{
	"info": {
	  "_postman_id": "90ab52fb-580f-47f0-bbe2-aed592f8f4ba",
	  "name": "Payment",
	  "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
	  "_exporter_id": "19752763"
	},
	"item": [
	  {
		"name": "GetBanks",
		"request": {
		  "method": "GET",
		  "header": [
			{
			  "key": "X-API-Key",
			  "value": "a782c282dec3996a81a267f86b863511085793a713d7bb96829bbfc1d3cc02d9",
			  "type": "text"
			}
		  ],
		  "url": {
			"raw": "https://testpay.site/api/v1/banks",
			"protocol": "https",
			"host": [
			  "testpay",
			  "site"
			],
			"path": [
			  "api",
			  "v1",
			  "banks"
			]
		  },
		  "description": "Sistemde tanımlı ve aktif olan tüm bankaları, banka kodlarını ve logolarını döndürür."
		},
		"response": []
	  },
	  {
		"name": "GetTransaction",
		"request": {
		  "method": "GET",
		  "header": [
			{
			  "key": "X-API-Key",
			  "value": "a782c282dec3996a81a267f86b863511085793a713d7bb96829bbfc1d3cc02d9",
			  "type": "text"
			}
		  ],
		  "url": {
			"raw": "https://testpay.site/api/v1/transactions/:id",
			"protocol": "https",
			"host": [
			  "testpay",
			  "site"
			],
			"path": [
			  "api",
			  "v1",
			  "transactions",
			  ":id"
			],
			"variable": [
			  {
				"key": "id",
				"value": "1"
			  }
			]
		  },
		  "description": "Sistemde tanımlı ve aktif olan tüm bankaları, banka kodlarını ve logolarını döndürür."
		},
		"response": []
	  },
	  {
		"name": "GetTransactions",
		"request": {
		  "method": "GET",
		  "header": [
			{
			  "key": "X-API-Key",
			  "value": "a782c282dec3996a81a267f86b863511085793a713d7bb96829bbfc1d3cc02d9",
			  "type": "text"
			}
		  ],
		  "url": {
			"raw": "https://testpay.site/api/v1/transactions?date_start=2025-12-01&date_end=2026-02-25&limit=50&sort_by=datetime&order_by=desc&user_id&user_username=&user_email&payment_action=&page=0",
			"protocol": "https",
			"host": [
			  "testpay",
			  "site"
			],
			"path": [
			  "api",
			  "v1",
			  "transactions"
			],
			"query": [
			  {
				"key": "date_start",
				"value": "2025-12-01",
				"type": "text"
			  },
			  {
				"key": "date_end",
				"value": "2026-02-25",
				"type": "text"
			  },
			  {
				"key": "limit",
				"value": "50",
				"description": "min: 20 max: 500",
				"type": "text"
			  },
			  {
				"key": "sort_by",
				"value": "datetime",
				"description": "datetime | id",
				"type": "text"
			  },
			  {
				"key": "order_by",
				"value": "desc",
				"description": "desc | asc",
				"type": "text"
			  },
			  {
				"key": "user_id",
				"value": null,
				"type": "text"
			  },
			  {
				"key": "user_username",
				"value": "",
				"type": "text"
			  },
			  {
				"key": "user_email",
				"value": null,
				"type": "text"
			  },
			  {
				"key": "payment_action",
				"value": "",
				"description": "deposit | withdrawal",
				"type": "text"
			  },
			  {
				"key": "page",
				"value": "0",
				"description": "start from 0",
				"type": "text"
			  }
			]
		  },
		  "description": "Sistemde tanımlı ve aktif olan tüm bankaları, banka kodlarını ve logolarını döndürür."
		},
		"response": []
	  },
	  {
		"name": "StartDeposit (iFrame)",
		"request": {
		  "method": "POST",
		  "header": [
			{
			  "key": "X-API-Key",
			  "value": "a782c282dec3996a81a267f86b863511085793a713d7bb96829bbfc1d3cc02d9",
			  "type": "text"
			}
		  ],
		  "body": {
			"mode": "formdata",
			"formdata": [
			  {
				"key": "referer_url",
				"value": "https://testsite.com",
				"type": "text",
				"uuid": "0916fe66-b674-4a03-92e2-a1389a0a142b"
			  },
			  {
				"key": "user_id",
				"value": "100001",
				"type": "text",
				"uuid": "70e250d5-0916-4788-92ea-3a4ccc3344c0"
			  },
			  {
				"key": "user_username",
				"value": "api_test",
				"type": "text",
				"uuid": "053c1590-bd12-4178-92b7-fe8a0a1f605d"
			  },
			  {
				"key": "user_email",
				"value": "api_test@api_test.com",
				"type": "text",
				"uuid": "1c995f9a-c1f8-4a5e-824d-74ca7b6a0fed"
			  },
			  {
				"key": "callback_url",
				"value": "https://testpay.site/api/v1/test/callback",
				"type": "text",
				"uuid": "8403e50e-da5d-4afa-b878-08e7b5cdb1f5"
			  },
			  {
				"key": "webhook_url",
				"value": "https://testpay.site/api/v1/test/webhook",
				"type": "text",
				"uuid": "e6c8f4c9-bc05-46e7-b41f-8499469efa79"
			  },
			  {
				"key": "amount",
				"value": "1000",
				"type": "text",
				"uuid": "22900f09-b74d-405f-a8f0-7ce5129af0a4"
			  }
			]
		  },
		  "url": {
			"raw": "https://testpay.site/api/v1/deposit/iframe",
			"protocol": "https",
			"host": [
			  "testpay",
			  "site"
			],
			"path": [
			  "api",
			  "v1",
			  "deposit",
			  "iframe"
			]
		  },
		  "description": "Sistemde tanımlı ve aktif olan tüm bankaları, banka kodlarını ve logolarını döndürür."
		},
		"response": []
	  },
	  {
		"name": "StartWithdrawal",
		"request": {
		  "method": "POST",
		  "header": [
			{
			  "key": "X-API-Key",
			  "value": "a782c282dec3996a81a267f86b863511085793a713d7bb96829bbfc1d3cc02d9",
			  "type": "text"
			}
		  ],
		  "body": {
			"mode": "formdata",
			"formdata": [
			  {
				"key": "referer_url",
				"value": "https://testsite.com",
				"type": "text",
				"uuid": "0916fe66-b674-4a03-92e2-a1389a0a142b"
			  },
			  {
				"key": "user_id",
				"value": "100001",
				"type": "text",
				"uuid": "70e250d5-0916-4788-92ea-3a4ccc3344c0"
			  },
			  {
				"key": "user_username",
				"value": "api_test",
				"type": "text",
				"uuid": "053c1590-bd12-4178-92b7-fe8a0a1f605d"
			  },
			  {
				"key": "user_email",
				"value": "api_test@api_test.com",
				"type": "text",
				"uuid": "1c995f9a-c1f8-4a5e-824d-74ca7b6a0fed"
			  },
			  {
				"key": "webhook_url",
				"value": "https://testpay.site/api/v1/test/webhook",
				"type": "text",
				"uuid": "e6c8f4c9-bc05-46e7-b41f-8499469efa79"
			  },
			  {
				"key": "amount",
				"value": "1000",
				"type": "text",
				"uuid": "22900f09-b74d-405f-a8f0-7ce5129af0a4"
			  },
			  {
				"key": "user_iban",
				"value": "TR000010101010101010101",
				"type": "text",
				"uuid": "b2127b2a-e873-40be-b49e-89a9a2059957"
			  },
			  {
				"key": "user_holder_name",
				"value": "Ahmet Veli",
				"type": "text",
				"uuid": "9ca8bcaa-3b5f-4f08-9e55-826a783e5a19"
			  },
			  {
				"key": "user_bank_code",
				"value": "ZRT",
				"type": "text",
				"uuid": "2208d8b6-c04e-4ae0-bcba-74da2616b7ca"
			  }
			]
		  },
		  "url": {
			"raw": "https://testpay.site/api/v1/withdrawal",
			"protocol": "https",
			"host": [
			  "testpay",
			  "site"
			],
			"path": [
			  "api",
			  "v1",
			  "withdrawal"
			]
		  },
		  "description": "Sistemde tanımlı ve aktif olan tüm bankaları, banka kodlarını ve logolarını döndürür."
		},
		"response": []
	  }
	]
  }