{"info":{"_postman_id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","name":"OleyPayment - API Documentation","description":"<html><head></head><body><p>OleyPayment is a payment orchestration system that works with Rest API and iFrame API models.</p>\n<p>There are 2 servers you can work with;</p>\n<p>Sandbox Server : <a href=\"https://api.sandboxoleypayment.com\">https://api.sandboxoleypayment.com</a><br>Production Server : <a href=\"https://api.oleypayment.com\">https://api.oleypayment.com</a></p>\n<p>You can use sandbox servers for any kind of development process.</p>\n<p>Production server needs API Whitelist process. Please send us your server ip's.</p>\n<p><strong>apikey Authorization must be sended on request headers.</strong></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"32121073","collectionId":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","publishedId":"2sAYdmknxs","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-03-06T11:43:04.000Z"},"item":[{"name":"REST API","item":[{"name":"Create Bank Transfer Request","event":[{"listen":"test","script":{"id":"1a36908d-3d6f-41ed-8e0b-eadf780af450","exec":["// Test to validate that the amount parameter contains only digits","pm.test(\"Amount parameter contains only digits\", function () {","    var requestData = pm.request.body.urlencoded.find((param) => param.key === 'amount');","    pm.expect(/^\\d+$/.test(requestData.value)).to.be.true;","});",""],"type":"text/javascript","packages":{}}}],"id":"51918e15-c239-4c4e-b02c-9bbe4c2d6e2f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"bankid\": \"11\",\n        \"amount\": \"1000\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/rest/banktransfer/newtransaction","description":"<h3 id=\"bank-transfer-new-transaction\">Bank Transfer New Transaction</h3>\n<p>This endpoint allows the client to initiate a new bank transfer transaction.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>client</code> (object, required): Contains the client information.</p>\n<ul>\n<li><p><code>username</code> (string, required): The username of the client.</p>\n</li>\n<li><p><code>fullname</code> (string, required): The full name of the client.</p>\n</li>\n<li><p><code>userid</code> (string, required): The unique user ID of the client.</p>\n</li>\n</ul>\n</li>\n<li><p><code>transaction</code> (object, required): Contains the transaction details.</p>\n<ul>\n<li><p><code>txn</code> (string, required): The unique hash for the transaction.</p>\n</li>\n<li><p><code>bankid</code> (string, required): The ID of the bank for the transaction. Can be taken from Bank List endpoint.</p>\n</li>\n<li><p><code>amount</code> (string, required): The amount of the transaction. Only digits or decimal</p>\n</li>\n</ul>\n</li>\n<li><p><code>encryptedhash</code> (string, required): The encrypted hash for the transaction.</p>\n</li>\n</ul>\n<h4 id=\"response-json-schema\">Response (JSON Schema)</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"status\": {\n      \"type\": \"string\"\n    },\n    \"transactionstatus\": {\n      \"type\": \"string\"\n    },\n    \"description\": {\n      \"type\": \"string\"\n    },\n    \"accountholder\": {\n      \"type\": \"string\"\n    },\n    \"accountiban\": {\n      \"type\": \"string\"\n    }\n  }\n}\n\n</code></pre>\n<p>The response will include the status of the transaction, a message related to the status, description of request, account owner and account iban upon successful initiation of the bank transfer transaction.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"APIKEY"}]},"isInherited":true,"source":{"_postman_id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","name":"OleyPayment - API Documentation","type":"collection"}},"urlObject":{"path":["rest","banktransfer","newtransaction"],"host":["https://api.oleypayment.com"],"query":[],"variable":[]}},"response":[{"id":"7e2c83f1-7f1a-4038-88fb-f44a95d7b76e","name":"Success Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"bankid\": \"11\",\n        \"amount\": \"1000\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/rest/banktransfer/newtransaction"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 05 Dec 2024 19:46:33 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=WjvqtM39j5yR1oGrpRWSUpUezVKEw5KSqpafu94eAw4lhy6cxSLgawFbpmr2HeIHAKaokvSTXFLFFEvVE8JIV66hbF2wrZVkEGjyItTJ7Q31yBz4qMHgH8w9aPnRlNt5WfsVGFFi\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8ed68b020bfb974c-FRA"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=49736&min_rtt=47265&rtt_var=5912&sent=16&recv=16&lost=0&retrans=0&sent_bytes=8095&recv_bytes=4853&delivery_rate=60854&cwnd=257&unsent_bytes=0&cid=ae0d5295c901a468&ts=4567&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"accountholder\": \"Örnek HESAP\",\n    \"accountiban\": \"TR123123123123123123\"\n}"},{"id":"e65aeb76-8831-48a8-94e3-4a5a2e017b79","name":"Fail Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"bankid\": \"12\",\n        \"amount\": \"1000\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/rest/banktransfer/newtransaction"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 05 Dec 2024 20:35:52 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=nShjQ91v4%2BHkQDO8TpWWHXChGCXBTtYAsUfOHIFG8JmDXPkaSuE3cBErF2Ui4EdM0ZDopMe2BqOHzfaGAB2ovoAhMXlYSikcJwXsWy4SYQrGtiDYezZbLiCroTSDozYvueEMjVUb\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8ed6d3370f41b523-OSL"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7029&min_rtt=7024&rtt_var=1984&sent=4&recv=6&lost=0&retrans=0&sent_bytes=2820&recv_bytes=1293&delivery_rate=410721&cwnd=251&unsent_bytes=0&cid=8e913ce6cedbc1d0&ts=666&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"Uygun hesap bulunamadı\"\n}"}],"_postman_id":"51918e15-c239-4c4e-b02c-9bbe4c2d6e2f"},{"name":"Create Credit Card Deposit Request","event":[{"listen":"test","script":{"id":"1a36908d-3d6f-41ed-8e0b-eadf780af450","exec":["// Test to validate that the amount parameter contains only digits","pm.test(\"Amount parameter contains only digits\", function () {","    var requestData = pm.request.body.urlencoded.find((param) => param.key === 'amount');","    pm.expect(/^\\d+$/.test(requestData.value)).to.be.true;","});",""],"type":"text/javascript","packages":{}}}],"id":"aa18ff70-eb10-4b8c-a247-87d01edc19b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"FUAT DAĞAOTURAN\",\n        \"userid\": \"123456789\",\n        \"email\": \"test@user.com\",\n        \"yearofbirth\": \"1900\",\n        \"tckn\": \"20036565816\",\n        \"ip_address\": \"1.1.1.1\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\",\n        \"card_number\": \"4546711234567894\",\n        \"expiration_month\": \"05\",\n        \"expiration_year\": \"2028\",\n        \"cardholders_name\": \"John Doe\",\n        \"cvv\": \"000\",\n        \"return_url\": \"https://example.com\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/rest/creditcard/newtransaction","description":"<h3 id=\"create-new-credit-card-transaction\">Create New Credit Card Transaction</h3>\n<p>This endpoint allows the client to initiate a new credit card transaction.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>client</code> (object, required): Information about the client initiating the transaction.</p>\n<ul>\n<li><p><code>username</code> (string, required): The username of the client.</p>\n</li>\n<li><p><code>fullname</code> (string, required): The full name of the client.</p>\n</li>\n<li><p><code>userid</code> (string, required): The user ID of the client.</p>\n</li>\n<li><p><code>email</code> (string, required): The email address of the client.</p>\n</li>\n<li><p><code>yearofbirth</code> (string, required): The birth year of the client.</p>\n</li>\n<li><p><code>tckn</code> (string, required): The TCKN (Turkish Identification Number) of the client.</p>\n</li>\n<li><p><code>ip_address</code> (string, required): The IP address of the client.</p>\n</li>\n</ul>\n</li>\n<li><p><code>transaction</code> (object, required): Information about the transaction.</p>\n<ul>\n<li><p><code>txn</code> (string, required): Unique hash for the transaction.</p>\n</li>\n<li><p><code>amount</code> (string, required): The amount of the transaction.</p>\n</li>\n<li><p><code>card_number</code> (string, required): The credit card number.</p>\n</li>\n<li><p><code>expiration_month</code> (string, required): The expiration month of the credit card.</p>\n</li>\n<li><p><code>expiration_year</code> (string, required): The expiration year of the credit card.</p>\n</li>\n<li><p><code>cardholders_name</code> (string, required): The name of the cardholder.</p>\n</li>\n<li><p><code>cvv</code> (string, required): The CVV of the credit card.</p>\n</li>\n<li><p><code>return_url</code> (string, required): The URL to return to after the transaction.</p>\n</li>\n</ul>\n</li>\n<li><p><code>encryptedhash</code> (string, required): The encrypted hash for the transaction.</p>\n</li>\n</ul>\n<h4 id=\"response-json-schema\">Response (JSON Schema)</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"transaction_id\": {\n      \"type\": \"string\",\n      \"description\": \"The ID of the new transaction\"\n    },\n    \"status\": {\n      \"type\": \"string\",\n      \"description\": \"The status of the transaction\"\n    },\n    \"timestamp\": {\n      \"type\": \"string\",\n      \"format\": \"date-time\",\n      \"description\": \"The timestamp of the transaction\"\n    }\n  }\n}\n\n</code></pre>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"APIKEY"}]},"isInherited":true,"source":{"_postman_id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","name":"OleyPayment - API Documentation","type":"collection"}},"urlObject":{"path":["rest","creditcard","newtransaction"],"host":["https://api.oleypayment.com"],"query":[],"variable":[]}},"response":[{"id":"b807350e-70ec-4efd-94f1-19616859380c","name":"Success Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\",\n        \"email\": \"test@user.com\",\n        \"yearofbirth\": \"1996\",\n        \"tckn\": \"20036565816\",\n        \"ip_address\": \"1.1.1.1\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\",\n        \"card_number\": \"4546711234567894\",\n        \"expiration_month\": \"05\",\n        \"expiration_year\": \"2028\",\n        \"cardholders_name\": \"John Doe\",\n        \"cvv\": \"000\",\n        \"return_url\": \"https://example.com\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/rest/creditcard/newtransaction"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 05 Dec 2024 19:48:14 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=q7HCBLMTEIqbeMBadCkIeZP6FrotpKEHQyqrGcU%2FC7VICjBrmuDw9ofhb15DlC%2BNDEoEDuvwu6fBTU6kD%2FVs1hpoJnrIbYDxm3euTiH8FA%2BDXgr0qp0u86%2FqBDRFZid4InglGKoq\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8ed68d78fbef18d7-FRA"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=46395&min_rtt=45179&rtt_var=8318&sent=22&recv=21&lost=0&retrans=0&sent_bytes=6243&recv_bytes=4717&delivery_rate=88075&cwnd=250&unsent_bytes=0&cid=d815bd36ee569e25&ts=11651&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"redirect_url\": \"https://pos.example.com/payment/TestTransactionUniqueHash\"\n}"},{"id":"f4270b7f-a4df-438a-b848-ff2b66e22f4d","name":"Fail Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\",\n        \"email\": \"test@user.com\",\n        \"yearofbirth\": \"1996\",\n        \"tckn\": \"20036565816\",\n        \"ip_address\": \"1.1.1.1\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\",\n        \"card_number\": \"4546711234567894\",\n        \"expiration_month\": \"05\",\n        \"expiration_year\": \"2028\",\n        \"cardholders_name\": \"John Doe\",\n        \"cvv\": \"000\",\n        \"return_url\": \"https://example.com\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/rest/creditcard/newtransaction"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 05 Dec 2024 20:36:27 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=SyNO2cgjthpAS%2BZzI1GsyuVUF1%2Bwum%2B%2FAlsX9cJ%2F%2FuKVfoBFr85ItnikMtc1oNWVJ9voA8M3PLCUgHtGyaW2HLqobe34SZgVUs93zp%2BNuk76txjWSZK%2Bs8sgqtdgtcHKbijFKJsp\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8ed6d418fd6eb523-OSL"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7020&min_rtt=6964&rtt_var=659&sent=16&recv=18&lost=0&retrans=0&sent_bytes=5190&recv_bytes=3361&delivery_rate=412007&cwnd=4&unsent_bytes=0&cid=8e913ce6cedbc1d0&ts=36276&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"Kredi kartı işlemi başarısız\"\n}"}],"_postman_id":"aa18ff70-eb10-4b8c-a247-87d01edc19b0"}],"id":"bbd3d08a-89fb-45c2-ae07-e751b74e636e","description":"<p>In this type, you can operate all the process at your end. User doesn't need to redirect to our interface.</p>\n","_postman_id":"bbd3d08a-89fb-45c2-ae07-e751b74e636e","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"APIKEY"}]},"isInherited":true,"source":{"_postman_id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","name":"OleyPayment - API Documentation","type":"collection"}}},{"name":"iFrame API","item":[{"name":"Create Bank Transfer Request","event":[{"listen":"test","script":{"id":"1a36908d-3d6f-41ed-8e0b-eadf780af450","exec":["// Test to validate that the amount parameter contains only digits","pm.test(\"Amount parameter contains only digits\", function () {","    var requestData = pm.request.body.urlencoded.find((param) => param.key === 'amount');","    pm.expect(/^\\d+$/.test(requestData.value)).to.be.true;","});",""],"type":"text/javascript","packages":{}}}],"id":"ccd89fc0-2bae-40c5-b2a3-581899e349d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/iframe/banktransfer/newtransaction","description":"<p>This endpoint allows you to create a new bank transfer transaction within an iframe. The HTTP POST request should be sent to https://api.oleypayment.com/iframe/banktransfer/newtransaction.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<p>The request body should be in raw format and include the following parameters:</p>\n<ul>\n<li><p><code>client</code>: An object containing the client's information, including <code>username</code>, <code>fullname</code>, and <code>userid</code>.</p>\n</li>\n<li><p><code>transaction</code>: An object containing the transaction details, such as <code>txn</code> (transaction unique hash) and <code>amount</code>.</p>\n</li>\n<li><p><code>encryptedhash</code>: A SHA512 encrypted hash that includes the <code>userid</code>, <code>txn</code>, and a secret value.</p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>The response to this request will contain the relevant information about the new bank transfer transaction.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"APIKEY"}]},"isInherited":true,"source":{"_postman_id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","name":"OleyPayment - API Documentation","type":"collection"}},"urlObject":{"path":["iframe","banktransfer","newtransaction"],"host":["https://api.oleypayment.com"],"query":[],"variable":[]}},"response":[{"id":"4604c1d1-9deb-42c3-883d-248f93fdb83e","name":"Success Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/iframe/banktransfer/newtransaction"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 05 Dec 2024 20:41:07 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=FslpX38JzxIOdRsAlTE7ZVW7b2daMGzT%2Fu11%2FxvDgQ3IJoz52FFPVezPUQQRzU6%2FUvwRN0TZx13VMlSkc3U35ucdjrjwnuHOiQJmxaqU8Bph5M5S%2B1XB9zm6JiG%2FYdBTA%2F6NQ868\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8ed6dae8dc371c0e-OSL"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7003&min_rtt=6997&rtt_var=1979&sent=4&recv=6&lost=0&retrans=0&sent_bytes=2819&recv_bytes=1271&delivery_rate=411831&cwnd=251&unsent_bytes=0&cid=7aafcbf2d052fcb1&ts=667&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"redirect_url\": \"https://iframe.oleypayment.com/payment/TestTransactionUniqueHash\"\n}"},{"id":"36188188-323f-4d53-9230-d201c909e3d3","name":"Fail Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/iframe/banktransfer/newtransaction"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 05 Dec 2024 20:41:24 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=%2F0%2F8fvQFfhCx2tE9slk0TLjHSZINwjdqQXdXBeK7om6r1M%2B3LOm3NUIr3n3rymceUQPoDNENNOCtXPnjcNJQswRfRL1BMseuxYBRjoJiT%2FciDcOCSAUdPHp%2BCmeIhf8KZgj0kCke\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8ed6db58e83b1c0e-OSL"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=6994&min_rtt=6958&rtt_var=1129&sent=10&recv=12&lost=0&retrans=0&sent_bytes=4240&recv_bytes=1961&delivery_rate=413300&cwnd=253&unsent_bytes=0&cid=7aafcbf2d052fcb1&ts=18069&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"İşlem başarısız\"\n}"}],"_postman_id":"ccd89fc0-2bae-40c5-b2a3-581899e349d0"},{"name":"Create Credit Card Request","event":[{"listen":"test","script":{"id":"1a36908d-3d6f-41ed-8e0b-eadf780af450","exec":["// Test to validate that the amount parameter contains only digits","pm.test(\"Amount parameter contains only digits\", function () {","    var requestData = pm.request.body.urlencoded.find((param) => param.key === 'amount');","    pm.expect(/^\\d+$/.test(requestData.value)).to.be.true;","});",""],"type":"text/javascript","packages":{}}}],"id":"54ec523d-5815-4b82-93b7-b46700732a85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/iframe/creditcard/newtransaction","description":"<h3 id=\"create-new-credit-card-transaction\">Create New Credit Card Transaction</h3>\n<p>This endpoint allows you to create a new credit card transaction within an iframe.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>client.username</code> (string): The username of the client initiating the transaction.</p>\n</li>\n<li><p><code>client.fullname</code> (string): The full name of the client initiating the transaction.</p>\n</li>\n<li><p><code>client.userid</code> (string): The unique user ID of the client initiating the transaction.</p>\n</li>\n<li><p><code>transaction.txn</code> (string): A unique hash for the transaction.</p>\n</li>\n<li><p><code>transaction.amount</code> (string): The amount of the transaction.</p>\n</li>\n<li><p><code>encryptedhash</code> (string): The SHA512 encrypted hash containing sensitive information.</p>\n</li>\n</ul>\n<h4 id=\"response-body\">Response Body</h4>\n<p>The response body contains the details of the newly created credit card transaction.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"APIKEY"}]},"isInherited":true,"source":{"_postman_id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","name":"OleyPayment - API Documentation","type":"collection"}},"urlObject":{"path":["iframe","creditcard","newtransaction"],"host":["https://api.oleypayment.com"],"query":[],"variable":[]}},"response":[{"id":"32f494d5-9070-4697-a545-f7f1a4586275","name":"Success Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/iframe/creditcard/newtransaction"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 05 Dec 2024 19:50:37 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=Xy9vxMA35eyn%2BjRhKVARmYc1ydGHKkNEPu5v%2B88dBJaIbiAMNHQOD6L1cEd6z36yvJGCns77RJc1AcmefbjmJvFMkvRJjXHOT6GOufbIWIGBCp1YPirqS6wKt9SXiyv0badZB%2BEU\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8ed690f42933038e-FRA"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=60891&min_rtt=49439&rtt_var=36170&sent=13&recv=13&lost=0&retrans=1&sent_bytes=4261&recv_bytes=1959&delivery_rate=58253&cwnd=252&unsent_bytes=0&cid=f6179684970a3d40&ts=27826&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"redirect_url\": \"https://iframe.oleypayment.com/payment/TestTransactionUniqueHash\"\n}"},{"id":"64ff8088-62f3-424c-9f37-5fb872acc31c","name":"Fail Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/iframe/creditcard/newtransaction"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 05 Dec 2024 20:41:44 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=5waYBWc06Md666%2BEFweTpFqv0Xj7a%2BFYGYNscPUxwpPUC0%2FvioFlLUOFkRXGJ0BsLzPxHyVd%2FnKxyE9K%2BEy24jmoaTq8l9K9aCjzUm8CNmcg4kPKl0B0HhYdmnf9gTKsHEUGXGHe\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8ed6dbd2981e1c0e-OSL"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=6999&min_rtt=6958&rtt_var=645&sent=16&recv=18&lost=0&retrans=0&sent_bytes=5205&recv_bytes=2649&delivery_rate=413300&cwnd=4&unsent_bytes=0&cid=7aafcbf2d052fcb1&ts=37537&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"İşlem başarısız\"\n}"}],"_postman_id":"54ec523d-5815-4b82-93b7-b46700732a85"},{"name":"Create Papara Deposit Request","event":[{"listen":"test","script":{"id":"1a36908d-3d6f-41ed-8e0b-eadf780af450","exec":["// Test to validate that the amount parameter contains only digits","pm.test(\"Amount parameter contains only digits\", function () {","    var requestData = pm.request.body.urlencoded.find((param) => param.key === 'amount');","    pm.expect(/^\\d+$/.test(requestData.value)).to.be.true;","});",""],"type":"text/javascript","packages":{}}}],"id":"29ce7382-d0e8-42ab-84af-5691a2a02276","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"client\":{\"username\":\"bot_streamer15\",\"fullname\":\"Bot Streamer 15\",\"userid\":\"6796b8327fe78722e6ee9cb8\"},\"transaction\":{\"txn\":\"9ec0a400-a832-464a-9125-8b8645dbf8db\",\"amount\":1000,\"return_url\":\"https:\\/\\/www.beauty-addict.com\\/wp-content\\/uploads\\/2021\\/02\\/Payment-success.png\"},\"encryptedhash\":\"54965cc63f69443ba98eb25245d35fd6cf9e28a310a23e229241c1d086262d0deaa07e94bdbbe31a4840aac0a315ed55d33e4c2656606f44824ac5131eb9377b\"}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/iframe/papara/newtransaction","description":"<h3 id=\"create-new-transaction-via-papara-iframe\">Create New Transaction via Papara Iframe</h3>\n<p>This endpoint allows you to create a new transaction via the Papara iframe.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>client.username</code> (string): The username of the client.</p>\n</li>\n<li><p><code>client.fullname</code> (string): The full name of the client.</p>\n</li>\n<li><p><code>client.userid</code> (string): The unique ID of the client.</p>\n</li>\n<li><p><code>transaction.txn</code> (string): The unique hash for the transaction.</p>\n</li>\n<li><p><code>transaction.amount</code> (string): The amount of the transaction.</p>\n</li>\n<li><p><code>transaction.return_url</code> (string): The URL to which the user will be redirected after the transaction.</p>\n</li>\n<li><p><code>encryptedhash</code> (string): The SHA512 encrypted hash containing sensitive information.</p>\n</li>\n</ul>\n<h4 id=\"response-body\">Response Body</h4>\n<p>The response body contains the details of the newly created transaction.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"APIKEY"}]},"isInherited":true,"source":{"_postman_id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","name":"OleyPayment - API Documentation","type":"collection"}},"urlObject":{"path":["iframe","papara","newtransaction"],"host":["https://api.oleypayment.com"],"query":[],"variable":[]}},"response":[{"id":"1414634b-bbbf-43d0-8b03-6f8d46216510","name":"Success Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\",\n        \"return_url\": \"https://example.com\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/iframe/papara/newtransaction"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 05 Dec 2024 20:41:56 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=Wj9U3VaImKvGBUR%2FIl3Ju4itV8krP0tQ0k4mB%2FvR%2FxrxrxVdmj0Pbe48jWmPIPYXoarML7odySFAVR8Uls74EvTKuTMEWh9WBwf73IKoyEQRI4sVFCv0LUxEtN0kI82Xzyvnxnld\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8ed6dc1ffa291c0e-OSL"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=6996&min_rtt=6958&rtt_var=217&sent=23&recv=25&lost=0&retrans=0&sent_bytes=7135&recv_bytes=4107&delivery_rate=413300&cwnd=256&unsent_bytes=0&cid=7aafcbf2d052fcb1&ts=49903&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"redirect_url\": \"https://iframe.oleypayment.com/payment/TestTransactionUniqueHash\"\n}"},{"id":"68180cd2-a8f1-4881-ab15-afdd8d82c082","name":"Fail Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\",\n        \"return_url\": \"https://example.com\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/iframe/papara/newtransaction"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 05 Dec 2024 20:42:08 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=cnNPYEP9c2Pl16DFcEyMthNU2zxaWnq90EHpdH0hZkkOBEhvfPlpg1dZf%2FZd06A%2By%2BREwhnttZfYDHEukg8JSgbpslZIXGws6O4CUs6RpT6pr%2Bi9HVLsCa%2FGaIo9vdhfXXD1Z8WS\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8ed6dc68ccd71c0e-OSL"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7006&min_rtt=6958&rtt_var=85&sent=31&recv=33&lost=0&retrans=0&sent_bytes=9141&recv_bytes=5565&delivery_rate=413300&cwnd=4&unsent_bytes=0&cid=7aafcbf2d052fcb1&ts=61555&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"İşlem başarısız\"\n}"}],"_postman_id":"29ce7382-d0e8-42ab-84af-5691a2a02276"},{"name":"Create Payfix Deposit Request","event":[{"listen":"test","script":{"id":"1a36908d-3d6f-41ed-8e0b-eadf780af450","exec":["// Test to validate that the amount parameter contains only digits","pm.test(\"Amount parameter contains only digits\", function () {","    var requestData = pm.request.body.urlencoded.find((param) => param.key === 'amount');","    pm.expect(/^\\d+$/.test(requestData.value)).to.be.true;","});",""],"type":"text/javascript","packages":{}}}],"id":"c8fd39d0-54d1-47f6-a903-556ad3428bcd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\",\n        \"return_url\": \"https://example.com\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/iframe/payfix/newtransaction","description":"<h3 id=\"post-iframepayfixnewtransaction\">POST /iframe/payfix/newtransaction</h3>\n<p>This endpoint is used to initiate a new transaction for the Payfix iframe.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>client.username</code> (string): The username of the client.</p>\n</li>\n<li><p><code>client.fullname</code> (string): The full name of the client.</p>\n</li>\n<li><p><code>client.userid</code> (string): The unique ID of the client.</p>\n</li>\n<li><p><code>transaction.txn</code> (string): The unique hash for the transaction.</p>\n</li>\n<li><p><code>transaction.amount</code> (string): The amount of the transaction.</p>\n</li>\n<li><p><code>transaction.return_url</code> (string): The URL to which the user should be redirected after the transaction.</p>\n</li>\n<li><p><code>encryptedhash</code> (string): The SHA512 encrypted hash containing sensitive data.</p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response of this request is a JSON schema, which defines the structure of the response object.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"status\": {\n      \"type\": \"string\",\n      \"description\": \"The status of the transaction.\"\n    },\n    \"transaction_id\": {\n      \"type\": \"string\",\n      \"description\": \"The unique ID of the transaction.\"\n    },\n    \"redirect_url\": {\n      \"type\": \"string\",\n      \"description\": \"The URL to which the user should be redirected to complete the transaction.\"\n    }\n  }\n}\n\n</code></pre>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"APIKEY"}]},"isInherited":true,"source":{"_postman_id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","name":"OleyPayment - API Documentation","type":"collection"}},"urlObject":{"path":["iframe","payfix","newtransaction"],"host":["https://api.oleypayment.com"],"query":[],"variable":[]}},"response":[{"id":"6c66c552-21e7-418e-9777-ef067aa06db8","name":"Success Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\",\n        \"return_url\": \"https://example.com\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/iframe/payfix/newtransaction"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 05 Dec 2024 19:51:43 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=SbjnT5bXTXNXrxWoSG7n33uSWGJXAGThr0b7EbX57xgAz3O57Co9lpXqld%2FisNMWQau62wOby%2B0Fca8HNy%2BpQomHtPF9mCxv7FiNPGvWEKZSKyvPS5EhgfQbssEwiU1kydutROb%2F\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8ed6928ebf6a038e-FRA"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=58783&min_rtt=49439&rtt_var=24013&sent=64&recv=62&lost=0&retrans=1&sent_bytes=6269&recv_bytes=3417&delivery_rate=58253&cwnd=254&unsent_bytes=0&cid=f6179684970a3d40&ts=94051&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"redirect_url\": \"https://iframe.oleypayment.com/payment/TestTransactionUniqueHash\"\n}"},{"id":"0026dfae-067b-4790-afdd-17b92594a082","name":"Fail Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\",\n        \"return_url\": \"https://example.com\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/iframe/payfix/newtransaction"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 05 Dec 2024 20:42:27 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=PEjDaA%2Bm3BsFwFGxlGkr9%2FVTof80R7tc00Y8GipNn4iBKyjMgYnxJsxt0QFKXtMrgIGZonaxSliY6CDtCCGBJl0IVu1YyurFd0HDik5ShSW0iY%2FgJm6cSti8hCWnBBEfFX43WYDG\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8ed6dce13b3d1c0e-OSL"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7009&min_rtt=6958&rtt_var=55&sent=37&recv=39&lost=0&retrans=0&sent_bytes=10102&recv_bytes=6294&delivery_rate=413300&cwnd=256&unsent_bytes=0&cid=7aafcbf2d052fcb1&ts=80835&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"İşlem başarısız\"\n}"}],"_postman_id":"c8fd39d0-54d1-47f6-a903-556ad3428bcd"},{"name":"Create Mefete Deposit Request","event":[{"listen":"test","script":{"id":"1a36908d-3d6f-41ed-8e0b-eadf780af450","exec":["// Test to validate that the amount parameter contains only digits","pm.test(\"Amount parameter contains only digits\", function () {","    var requestData = pm.request.body.urlencoded.find((param) => param.key === 'amount');","    pm.expect(/^\\d+$/.test(requestData.value)).to.be.true;","});",""],"type":"text/javascript","packages":{}}}],"id":"1e7006fa-de50-42ca-ad89-39ecaad4a25f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\",\n        \"return_url\": \"https://example.com\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/iframe/mefete/newtransaction","description":"<h3 id=\"post-iframepayfixnewtransaction\">POST /iframe/payfix/newtransaction</h3>\n<p>This endpoint is used to initiate a new transaction through the Payfix iframe.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>client.username</code> (string): The username of the client initiating the transaction.</p>\n</li>\n<li><p><code>client.fullname</code> (string): The full name of the client.</p>\n</li>\n<li><p><code>client.userid</code> (string): The unique identifier of the client.</p>\n</li>\n<li><p><code>transaction.txn</code> (string): The unique hash for the transaction.</p>\n</li>\n<li><p><code>transaction.amount</code> (string): The amount of the transaction.</p>\n</li>\n<li><p><code>transaction.return_url</code> (string): The URL to which the user should be redirected after completing the transaction.</p>\n</li>\n<li><p><code>encryptedhash</code> (string): The SHA512 encrypted hash containing sensitive information.</p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response for this request is a JSON object conforming to the following schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"string\",\n  \"message\": \"string\",\n  \"transaction_id\": \"string\"\n}\n\n</code></pre>\n<ul>\n<li><p><code>status</code> (string): The status of the transaction.</p>\n</li>\n<li><p><code>message</code> (string): A message related to the transaction status.</p>\n</li>\n<li><p><code>transaction_id</code> (string): The unique identifier of the transaction.</p>\n</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"APIKEY"}]},"isInherited":true,"source":{"_postman_id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","name":"OleyPayment - API Documentation","type":"collection"}},"urlObject":{"path":["iframe","mefete","newtransaction"],"host":["https://api.oleypayment.com"],"query":[],"variable":[]}},"response":[{"id":"90615de1-8cf7-4798-8687-f912d00992a4","name":"Success Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\",\n        \"return_url\": \"https://example.com\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/iframe/mefete/newtransaction"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 05 Dec 2024 19:52:37 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=2hxhy5L12Oy0%2FQ9YkwecTYBNsB5KO%2BWkppd6WzPrLfKgvT1ZFKDOaQVIUH6MDEUuBCUO2QfeBGOrPPuuLd8WELtDKpB6110nO1AbzODH1LWSEsndEtopgrhHKbEUn4bMMlsyRRMK\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8ed693e50df1038e-FRA"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=56479&min_rtt=48479&rtt_var=17476&sent=118&recv=114&lost=0&retrans=1&sent_bytes=8248&recv_bytes=4875&delivery_rate=59342&cwnd=254&unsent_bytes=0&cid=f6179684970a3d40&ts=148274&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"redirect_url\": \"https://iframe.oleypayment.com/payment/TestTransactionUniqueHash\"\n}"},{"id":"3c7eba12-c555-46f4-b946-6acd2ac45e9f","name":"Fail Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\",\n        \"return_url\": \"https://example.com\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/iframe/mefete/newtransaction"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 05 Dec 2024 20:42:46 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=qfMf2rzxP4TPNh38CNb0Q0a%2BsJzs%2BNIcgWLANLa%2BTe3dsa5G%2Bu%2BhdPrEs29wVBzQXBRbGLs4kvqDNHnoQqO4cQ2iBYF4YDNLrL8j7ihbGxT%2BciLlHLc2C5CAzyEppDyVu%2FGVU46e\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8ed6dd5a3f7c1c0e-OSL"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7008&min_rtt=6958&rtt_var=37&sent=43&recv=45&lost=0&retrans=0&sent_bytes=11062&recv_bytes=7023&delivery_rate=413300&cwnd=256&unsent_bytes=0&cid=7aafcbf2d052fcb1&ts=100190&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"İşlem başarısız\"\n}"}],"_postman_id":"1e7006fa-de50-42ca-ad89-39ecaad4a25f"},{"name":"Create Parazula Deposit Request","event":[{"listen":"test","script":{"id":"1a36908d-3d6f-41ed-8e0b-eadf780af450","exec":["// Test to validate that the amount parameter contains only digits","pm.test(\"Amount parameter contains only digits\", function () {","    var requestData = pm.request.body.urlencoded.find((param) => param.key === 'amount');","    pm.expect(/^\\d+$/.test(requestData.value)).to.be.true;","});",""],"type":"text/javascript","packages":{}}}],"id":"c7320cb0-423d-4d17-94e1-4d382b326ead","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\",\n        \"return_url\": \"https://example.com\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/iframe/parazula/newtransaction","description":"<p>This endpoint allows you to create a new transaction within an iframe on the specified domain. The HTTP POST request should be made to https://api.oleypayment.com/iframe/parazula/newtransaction.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li><p><strong>client</strong> (object) - An object containing information about the client making the transaction.</p>\n<ul>\n<li><p>username (string) - The username of the client.</p>\n</li>\n<li><p>fullname (string) - The full name of the client.</p>\n</li>\n<li><p>userid (string) - The unique identifier of the client.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>transaction</strong> (object) - An object containing details of the transaction.</p>\n<ul>\n<li><p>txn (string) - A unique hash representing the transaction.</p>\n</li>\n<li><p>amount (string) - The amount of the transaction.</p>\n</li>\n<li><p>return_url (string) - The URL to which the user should be redirected after completing the transaction.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>encryptedhash</strong> (string) - The SHA512 encrypted hash containing sensitive information.</p>\n</li>\n</ul>\n<h3 id=\"headers\">Headers</h3>\n<ul>\n<li>Content-Type: application/json</li>\n</ul>\n<p>Make sure to include the appropriate headers and provide the required details in the request body to create a new transaction successfully.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"APIKEY"}]},"isInherited":true,"source":{"_postman_id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","name":"OleyPayment - API Documentation","type":"collection"}},"urlObject":{"path":["iframe","parazula","newtransaction"],"host":["https://api.oleypayment.com"],"query":[],"variable":[]}},"response":[{"id":"b0b04e24-c1df-4da5-a59a-fcdc9f873325","name":"Success Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\",\n        \"return_url\": \"https://example.com\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/iframe/parazula/newtransaction"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 05 Dec 2024 20:43:32 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=Zak8BCF2%2FTCHldqK%2FznZqjmZyfLsVYkN%2BHfuFUjIEXMXDm1VmuQJQud%2FYOi5uQuCt8NAyuIQR61abu17nRz4x6vDJ%2FZdhGFc%2BleRaXrp1Zl1hwv9hoUq7Xpo1s%2BRlo3Y%2FW8QGTzY\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8ed6de784c031c0e-OSL"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7012&min_rtt=6958&rtt_var=32&sent=57&recv=59&lost=0&retrans=0&sent_bytes=12996&recv_bytes=8485&delivery_rate=413300&cwnd=4&unsent_bytes=0&cid=7aafcbf2d052fcb1&ts=145958&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"redirect_url\": \"https://iframe.oleypayment.com/payment/TestTransactionUniqueHash\"\n}"},{"id":"34b5ce06-b15b-4905-a6bf-2ff731370294","name":"Fail Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\",\n        \"return_url\": \"https://example.com\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/iframe/parazula/newtransaction"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 05 Dec 2024 20:43:43 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=ruG9kFot7XOiWN66CHpDbgWTTpTGzopCXfDW5RgN8Vw0rrE7IP5oxWKGrtuS4OgaZk3nCWPEaV9FABJdWCDSkYxds8dlIYyvxlCruTiRjsDMmqRFYFiI%2FKfDC0u%2F%2FfEb5h%2BRv78Z\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8ed6debabfa11c0e-OSL"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=6999&min_rtt=6958&rtt_var=24&sent=64&recv=66&lost=0&retrans=0&sent_bytes=15006&recv_bytes=9947&delivery_rate=413300&cwnd=256&unsent_bytes=0&cid=7aafcbf2d052fcb1&ts=156586&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"İşlem başarısız\"\n}"}],"_postman_id":"c7320cb0-423d-4d17-94e1-4d382b326ead"},{"name":"Create Popy Deposit Request","event":[{"listen":"test","script":{"id":"1a36908d-3d6f-41ed-8e0b-eadf780af450","exec":["// Test to validate that the amount parameter contains only digits","pm.test(\"Amount parameter contains only digits\", function () {","    var requestData = pm.request.body.urlencoded.find((param) => param.key === 'amount');","    pm.expect(/^\\d+$/.test(requestData.value)).to.be.true;","});",""],"type":"text/javascript","packages":{}}}],"id":"4543515c-7644-40de-88df-7368f2184d86","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\",\n        \"return_url\": \"https://example.com\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/iframe/popy/newtransaction","description":"<p>The HTTP POST request is used to create a new transaction within an iframe. The request should be sent to https://api.oleypayment.com/iframe/popy/newtransaction.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<p>The request should include the following parameters in the raw request body:</p>\n<ul>\n<li><p><code>client</code>: An object containing the user's information, including <code>username</code>, <code>fullname</code>, and <code>userid</code>.</p>\n</li>\n<li><p><code>transaction</code>: An object containing details of the transaction, such as <code>txn</code> (transaction unique hash), <code>amount</code>, and <code>return_url</code>.</p>\n</li>\n<li><p><code>encryptedhash</code>: A SHA512 encrypted hash containing sensitive information.</p>\n</li>\n</ul>\n<h3 id=\"response-body\">Response Body</h3>\n<p>The response body will contain the relevant details of the newly created transaction. The specific structure and details of the response body will depend on the implementation of the API.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"APIKEY"}]},"isInherited":true,"source":{"_postman_id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","name":"OleyPayment - API Documentation","type":"collection"}},"urlObject":{"path":["iframe","popy","newtransaction"],"host":["https://api.oleypayment.com"],"query":[],"variable":[]}},"response":[{"id":"4d307751-898a-40c7-98ed-f167a9d2a59c","name":"Success Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\",\n        \"return_url\": \"https://example.com\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/iframe/popy/newtransaction"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 05 Dec 2024 20:43:53 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=aOsem%2F1pL37QIiwQJGt9KYv6DAG6aKqCiw3UivmHA7GuHA9zDTxJ7N%2BmpXxVBZEL9cfLPzHmcKq9EJx98U40tVLCdwh3zATjo8EcVUAjPwuLU1xFsX2kV1cynInm%2B%2BRwiFbsgSqM\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8ed6defd1e8a1c0e-OSL"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7006&min_rtt=6958&rtt_var=25&sent=73&recv=76&lost=0&retrans=0&sent_bytes=17899&recv_bytes=12128&delivery_rate=413300&cwnd=256&unsent_bytes=0&cid=7aafcbf2d052fcb1&ts=167205&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"redirect_url\": \"https://iframe.oleypayment.com/payment/TestTransactionUniqueHash\"\n}"},{"id":"8fc92b12-79d8-4c54-8aaa-f7758954c851","name":"Fail Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\",\n        \"return_url\": \"https://example.com\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/iframe/popy/newtransaction"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 05 Dec 2024 20:44:07 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=cOY2nnRTu8Y6l%2Fxu%2FwnKMTVi%2FPM1MGWf8klfPpzw%2Btnwuy3KiWpByPknziK6489bz%2BuWs9D3bEe7maqCHNSbwfqLnPYFl7TCTqDvmPkpzxbbk8%2FfYGaaNDU7h3NMBxcEnoMI3eQb\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8ed6df50fe6c1c0e-OSL"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7023&min_rtt=6956&rtt_var=76&sent=88&recv=91&lost=0&retrans=0&sent_bytes=21935&recv_bytes=15036&delivery_rate=617308&cwnd=256&unsent_bytes=0&cid=7aafcbf2d052fcb1&ts=180628&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"İşlem başarısız\"\n}"}],"_postman_id":"4543515c-7644-40de-88df-7368f2184d86"},{"name":"Create Payco Deposit Request","event":[{"listen":"test","script":{"id":"1a36908d-3d6f-41ed-8e0b-eadf780af450","exec":["// Test to validate that the amount parameter contains only digits","pm.test(\"Amount parameter contains only digits\", function () {","    var requestData = pm.request.body.urlencoded.find((param) => param.key === 'amount');","    pm.expect(/^\\d+$/.test(requestData.value)).to.be.true;","});",""],"type":"text/javascript","packages":{}}}],"id":"8bf9ba5c-9d9b-4245-bc0e-7e19dd4e0c04","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\",\n        \"return_url\": \"https://example.com\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/iframe/payco/newtransaction","description":"<h3 id=\"post-iframepayconewtransaction\">POST /iframe/payco/newtransaction</h3>\n<p>This endpoint is used to initiate a new transaction through the Payco iframe.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>client</code> (object, required): An object containing client information.</p>\n<ul>\n<li><p><code>username</code> (string): The username of the client.</p>\n</li>\n<li><p><code>fullname</code> (string): The full name of the client.</p>\n</li>\n<li><p><code>userid</code> (string): The user ID of the client.</p>\n</li>\n</ul>\n</li>\n<li><p><code>transaction</code> (object, required): An object containing transaction details.</p>\n<ul>\n<li><p><code>txn</code> (string): The unique hash for the transaction.</p>\n</li>\n<li><p><code>amount</code> (string): The amount of the transaction.</p>\n</li>\n<li><p><code>return_url</code> (string): The URL to which the user should be redirected after the transaction.</p>\n</li>\n</ul>\n</li>\n<li><p><code>encryptedhash</code> (string): The encrypted hash for the transaction.</p>\n</li>\n</ul>\n<h4 id=\"response-json-schema\">Response (JSON Schema)</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"status\": {\n      \"type\": \"string\"\n    },\n    \"transaction_id\": {\n      \"type\": \"string\"\n    },\n    \"timestamp\": {\n      \"type\": \"string\"\n    }\n  }\n}\n\n</code></pre>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"APIKEY"}]},"isInherited":true,"source":{"_postman_id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","name":"OleyPayment - API Documentation","type":"collection"}},"urlObject":{"path":["iframe","payco","newtransaction"],"host":["https://api.oleypayment.com"],"query":[],"variable":[]}},"response":[{"id":"94ab9421-dcbc-49f6-b577-76c928b5c3fd","name":"Success Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\",\n        \"return_url\": \"https://example.com\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/iframe/payco/newtransaction"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 05 Dec 2024 20:44:19 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=dkA%2F%2B8ExkD1jrM59lSwWT%2FN7eNai%2BOxgjMcq%2BZJ1qpdVC%2FrvWAiBaXNclwKgxeePGxDKGiyWFjyx9Rll9%2F7%2F1dc7dMU0EnP0WIdyyBgxtXGjf1zrJ%2BcIhumxbp9mpQWDUJGyHxLt\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8ed6df9a8cd51c0e-OSL"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=6999&min_rtt=6956&rtt_var=29&sent=101&recv=104&lost=0&retrans=0&sent_bytes=25802&recv_bytes=17948&delivery_rate=617308&cwnd=256&unsent_bytes=0&cid=7aafcbf2d052fcb1&ts=192407&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"redirect_url\": \"https://iframe.oleypayment.com/payment/TestTransactionUniqueHash\"\n}"},{"id":"106636eb-4c7a-42b3-8821-f7ec54646c47","name":"Fail Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\",\n        \"return_url\": \"https://example.com\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/iframe/payco/newtransaction"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 05 Dec 2024 20:44:31 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=7bEma%2B6W3Z14TcCCGE10Z4IqNDppLjxnZYz2JHGtNUcCp%2Fh7rsDH0cFWL2TvA%2FpYEmDVNfUoRQuy7NuQO3mCL2wAUj%2BlhGltNyYInMvHZEN0HqkxSOb%2Fmoo2kuRfYM0WzLt4lrnz\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8ed6dfead8451c0e-OSL"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=7006&min_rtt=6954&rtt_var=24&sent=115&recv=118&lost=0&retrans=0&sent_bytes=29834&recv_bytes=20860&delivery_rate=617308&cwnd=256&unsent_bytes=0&cid=7aafcbf2d052fcb1&ts=205249&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"İşlem başarısız\"\n}"}],"_postman_id":"8bf9ba5c-9d9b-4245-bc0e-7e19dd4e0c04"}],"id":"53885f94-af52-4bd1-815e-f45c05c2bc60","description":"<p>In this type of API, you may redirect the user to our client interface. Customer will make all the process at our end. Simple and easy to integrate.</p>\n","_postman_id":"53885f94-af52-4bd1-815e-f45c05c2bc60","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"APIKEY"}]},"isInherited":true,"source":{"_postman_id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","name":"OleyPayment - API Documentation","type":"collection"}}},{"name":"Withdraw API","item":[{"name":"Create Bank Transfer Withdraw Request","event":[{"listen":"test","script":{"id":"1a36908d-3d6f-41ed-8e0b-eadf780af450","exec":["// Test to validate that the amount parameter contains only digits","pm.test(\"Amount parameter contains only digits\", function () {","    var requestData = pm.request.body.urlencoded.find((param) => param.key === 'amount');","    pm.expect(/^\\d+$/.test(requestData.value)).to.be.true;","});",""],"type":"text/javascript","packages":{}}}],"id":"a4ebc0d9-efce-4860-9e74-64751731f5d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\",\n        \"iban\": \"TR123123123123123123\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"bankid\": \"11\",\n        \"amount\": \"1000\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/withdraw/banktransfer/newtransaction","description":"<h3 id=\"bank-transfer-new-transaction\">Bank Transfer New Transaction</h3>\n<p>This endpoint allows the client to initiate a new bank transfer transaction.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>client</code> (object, required): Contains the client information.</p>\n<ul>\n<li><p><code>username</code> (string, required): The username of the client.</p>\n</li>\n<li><p><code>fullname</code> (string, required): The full name of the client.</p>\n</li>\n<li><p><code>userid</code> (string, required): The unique user ID of the client.</p>\n</li>\n<li><p><code>iban</code> (string, required): The user bank account IBAN address.</p>\n</li>\n</ul>\n</li>\n<li><p><code>transaction</code> (object, required): Contains the transaction details.</p>\n<ul>\n<li><p><code>txn</code> (string, required): The unique hash for the transaction.</p>\n</li>\n<li><p><code>bankid</code> (string, required): The ID of the bank for the transaction. Can be taken from Bank List endpoint.</p>\n</li>\n<li><p><code>amount</code> (string, required): The amount of the transaction. Only digits or decimal</p>\n</li>\n</ul>\n</li>\n<li><p><code>encryptedhash</code> (string, required): The encrypted hash for the transaction.</p>\n</li>\n</ul>\n<h4 id=\"response-json-schema\">Response (JSON Schema)</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"status\": {\n      \"type\": \"string\"\n    },\n    \"transaction_id\": {\n      \"type\": \"string\"\n    }\n  }\n}\n\n</code></pre>\n<p>The response will include the status of the transaction, a message related to the status, description of request, account owner, and account IBAN upon successful initiation of the bank transfer transaction.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"APIKEY"}]},"isInherited":true,"source":{"_postman_id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","name":"OleyPayment - API Documentation","type":"collection"}},"urlObject":{"path":["withdraw","banktransfer","newtransaction"],"host":["https://api.oleypayment.com"],"query":[],"variable":[]}},"response":[{"id":"eed58c15-422d-43db-bf0a-e1972a393480","name":"Success Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\",\n        \"iban\": \"TR123123123123123123\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"bankid\": \"11\",\n        \"amount\": \"1000\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/withdraw/banktransfer/newtransaction"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 05 Dec 2024 21:21:35 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=U5zln0pSaMgNFC1JRmu8T%2BqVLA%2Bq6WCVKXewq57N0eGfOhxrfbDaJ0MrDN94jrRhFEWZNrdKHAL8tt10rl%2Fip0qzsBwun35C3GqooFME0bpEy4qFRvvI6uF8CsUY72vmSy49Zsiw\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8ed716365ea9d3b9-FRA"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=55220&min_rtt=47312&rtt_var=14082&sent=18&recv=18&lost=0&retrans=1&sent_bytes=8946&recv_bytes=5873&delivery_rate=60831&cwnd=255&unsent_bytes=0&cid=e46834df4e63b209&ts=4941&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"transaction_id\": 65\n    }\n}"},{"id":"70bd0ec3-6481-4036-9091-09b47f91c375","name":"Fail Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\",\n        \"iban\": \"TR123123123123123123\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"bankid\": \"11\",\n        \"amount\": \"1000\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/withdraw/banktransfer/newtransaction"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 05 Dec 2024 21:21:55 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=dkzvGO2ZQkkY%2ByrgekMqRPCjr84%2Bz04FFYUGaEEyls6IkM%2F%2FKaqyfPyR%2BULOC336sTTi6cuizNBBhJlBdIOnG6IgrY%2B%2FzuwdOZQJnBWNh41oS%2BPm6bksqVYO6PlD%2Facz%2Fa1hHLSI\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8ed716b4987fd3b9-FRA"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=54219&min_rtt=47176&rtt_var=12563&sent=38&recv=38&lost=0&retrans=1&sent_bytes=9888&recv_bytes=6629&delivery_rate=61001&cwnd=255&unsent_bytes=0&cid=e46834df4e63b209&ts=25145&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"Transaction id is not unique\"\n}"}],"_postman_id":"a4ebc0d9-efce-4860-9e74-64751731f5d0"},{"name":"Create Papara Withdraw Request","event":[{"listen":"test","script":{"id":"1a36908d-3d6f-41ed-8e0b-eadf780af450","exec":["// Test to validate that the amount parameter contains only digits","pm.test(\"Amount parameter contains only digits\", function () {","    var requestData = pm.request.body.urlencoded.find((param) => param.key === 'amount');","    pm.expect(/^\\d+$/.test(requestData.value)).to.be.true;","});",""],"type":"text/javascript","packages":{}}}],"id":"78f98141-ec9c-4ed8-a754-a547148d1969","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\",\n        \"account_no\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/withdraw/papara/newtransaction","description":"<h3 id=\"papara-new-withdraw-transaction\">Papara New Withdraw Transaction</h3>\n<p>This endpoint is used to initiate a new papara withdraw transaction.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>client</code> (object, required): Contains the client information.</p>\n<ul>\n<li><p><code>username</code> (string, required): The username of the client.</p>\n</li>\n<li><p><code>fullname</code> (string, required): The full name of the client.</p>\n</li>\n<li><p><code>userid</code> (string, required): The unique user ID of the client.</p>\n</li>\n<li><p><code>account_no</code> (string, required): The account number of the client.</p>\n</li>\n</ul>\n</li>\n<li><p><code>transaction</code> (object, required): Contains the transaction details.</p>\n<ul>\n<li><p><code>txn</code> (string, required): The unique hash for the transaction.</p>\n</li>\n<li><p><code>amount</code> (string, required): The amount of the transaction. Only digits or decimal.</p>\n</li>\n</ul>\n</li>\n<li><p><code>encryptedhash</code> (string, required): The encrypted hash for the transaction.</p>\n</li>\n</ul>\n<h4 id=\"response-json-schema\">Response (JSON Schema)</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"status\": {\n      \"type\": \"string\"\n    },\n    \"transaction_id\": {\n      \"type\": \"string\"\n    }\n  }\n}\n\n</code></pre>\n<p>The response will include the status of the transaction, a message related to the status, description of the request, account holder, and account IBAN upon successful initiation of the bank transfer transaction.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"APIKEY"}]},"isInherited":true,"source":{"_postman_id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","name":"OleyPayment - API Documentation","type":"collection"}},"urlObject":{"path":["withdraw","papara","newtransaction"],"host":["https://api.oleypayment.com"],"query":[],"variable":[]}},"response":[{"id":"05ff0c1e-f4e9-4fab-96ce-ed25eaeb229d","name":"Success Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\",\n        \"account_no\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/withdraw/papara/newtransaction"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 05 Dec 2024 21:23:15 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=oIbMrX0JrLCrhihTOwHryOIgnT0vrx%2FPPra3C%2BzQHgfSp%2B43%2BvIJemJQUT%2FCeEMKelhuN6YoMIv3C7qKx3TE7VuKm2uYsNAp4CyP0UDrpuodWGWcp4WswLTcMX3zxDnTadtTyu2%2B\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8ed718a75bec3636-FRA"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=50901&min_rtt=48122&rtt_var=8180&sent=15&recv=15&lost=0&retrans=0&sent_bytes=7047&recv_bytes=4186&delivery_rate=59790&cwnd=257&unsent_bytes=0&cid=d05c6ad4c530622a&ts=5333&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"transaction_id\": 65\n    }\n}"},{"id":"75b7c607-9739-443c-8d6b-e8b760000a32","name":"Fail Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\",\n        \"account_no\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/withdraw/papara/newtransaction"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 05 Dec 2024 21:23:31 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=6p6hImM%2BrlPMmxJyEjqo1WVAnJdJEfvN3qhsx96Pw9g40d6%2BNcHnb5oThvDgGg%2BsOV451IhdgKMvQN%2FmGqDKO8XfStcTnENe66tptZ%2FQLt74lCvUla3KFjZbgT25vAp9r0gz0xUG\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8ed71907390c3636-FRA"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=50392&min_rtt=48122&rtt_var=5505&sent=33&recv=32&lost=0&retrans=0&sent_bytes=8962&recv_bytes=5628&delivery_rate=88044&cwnd=257&unsent_bytes=0&cid=d05c6ad4c530622a&ts=20677&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"Transaction id is not unique\"\n}"}],"_postman_id":"78f98141-ec9c-4ed8-a754-a547148d1969"},{"name":"Create Payfix Withdraw Request","event":[{"listen":"test","script":{"id":"1a36908d-3d6f-41ed-8e0b-eadf780af450","exec":["// Test to validate that the amount parameter contains only digits","pm.test(\"Amount parameter contains only digits\", function () {","    var requestData = pm.request.body.urlencoded.find((param) => param.key === 'amount');","    pm.expect(/^\\d+$/.test(requestData.value)).to.be.true;","});",""],"type":"text/javascript","packages":{}}}],"id":"fadf3e6c-a05b-440d-a387-5a03ef2caf1b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\",\n        \"account_no\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/withdraw/payfix/newtransaction","description":"<h3 id=\"payfix-new-withdraw-transaction\">Payfix New Withdraw Transaction</h3>\n<p>This endpoint is used to initiate a new payfix withdraw transaction.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>client</code> (object, required): Contains the client information.</p>\n<ul>\n<li><p><code>username</code> (string, required): The username of the client.</p>\n</li>\n<li><p><code>fullname</code> (string, required): The full name of the client.</p>\n</li>\n<li><p><code>userid</code> (string, required): The unique user ID of the client.</p>\n</li>\n<li><p><code>account_no</code> (string, required): The account number of the client.</p>\n</li>\n</ul>\n</li>\n<li><p><code>transaction</code> (object, required): Contains the transaction details.</p>\n<ul>\n<li><p><code>txn</code> (string, required): The unique hash for the transaction.</p>\n</li>\n<li><p><code>amount</code> (string, required): The amount of the transaction. Only digits or decimal.</p>\n</li>\n</ul>\n</li>\n<li><p><code>encryptedhash</code> (string, required): The encrypted hash for the transaction.</p>\n</li>\n</ul>\n<h4 id=\"response-json-schema\">Response (JSON Schema)</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"status\": {\n      \"type\": \"string\"\n    },\n    \"transaction_id\": {\n      \"type\": \"string\"\n    }\n  }\n}\n\n</code></pre>\n<p>The response will include the status of the transaction, a message related to the status, description of the request, account holder, and account IBAN upon successful initiation of the bank transfer transaction.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"APIKEY"}]},"isInherited":true,"source":{"_postman_id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","name":"OleyPayment - API Documentation","type":"collection"}},"urlObject":{"path":["withdraw","payfix","newtransaction"],"host":["https://api.oleypayment.com"],"query":[],"variable":[]}},"response":[{"id":"de21b809-becf-422b-98b0-dbb5dd1c75c4","name":"Success Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\",\n        \"account_no\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/withdraw/payfix/newtransaction"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 05 Dec 2024 21:23:43 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=RR%2BqnmEoQ%2Fds%2FcoiOQzAZ0hTvcnPSHzU9SY6ZX1A6GA%2BlAkE75iwdhpBo4jPdFVFDoc6QW7wscHY9pzpwhXv7fAxBffopY0sMO16QZtSvJZuMnvovvGckg3fh1xfBKZzrQqXRwGC\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8ed71953ce113636-FRA"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=50373&min_rtt=48122&rtt_var=3163&sent=47&recv=46&lost=0&retrans=0&sent_bytes=10868&recv_bytes=7070&delivery_rate=88044&cwnd=257&unsent_bytes=0&cid=d05c6ad4c530622a&ts=32927&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"transaction_id\": 65\n    }\n}"},{"id":"46433a9c-e384-4853-be4d-fe867b96dee5","name":"Fail Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\",\n        \"account_no\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/withdraw/payfix/newtransaction"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 05 Dec 2024 21:23:53 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=KXUqPwYYM%2BYhyPI%2FmH1zH%2BdOQntSycug4pmrEDBFVbIEAZ0yBwe7zSUay9Larynp80zaIa7Z6ky9Cgf4w36%2Fcv7M1HaRyOY7css9x8YuukSxVHE1Vp9JqDeT46%2Bo2%2FwqslwM7chK\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8ed7199578943636-FRA"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=50262&min_rtt=48122&rtt_var=2594&sent=58&recv=57&lost=0&retrans=0&sent_bytes=11813&recv_bytes=7791&delivery_rate=88044&cwnd=257&unsent_bytes=0&cid=d05c6ad4c530622a&ts=43428&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"Transaction id is not unique\"\n}"}],"_postman_id":"fadf3e6c-a05b-440d-a387-5a03ef2caf1b"},{"name":"Create Mefete Withdraw Request","event":[{"listen":"test","script":{"id":"1a36908d-3d6f-41ed-8e0b-eadf780af450","exec":["// Test to validate that the amount parameter contains only digits","pm.test(\"Amount parameter contains only digits\", function () {","    var requestData = pm.request.body.urlencoded.find((param) => param.key === 'amount');","    pm.expect(/^\\d+$/.test(requestData.value)).to.be.true;","});",""],"type":"text/javascript","packages":{}}}],"id":"e4a415e5-9981-425d-97eb-ef10eabf2210","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\",\n        \"account_no\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/withdraw/mefete/newtransaction","description":"<h3 id=\"mefete-new-withdraw-transaction\">Mefete New Withdraw Transaction</h3>\n<p>This endpoint is used to initiate a new mefete withdraw transaction.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>client</code> (object, required): Contains the client information.</p>\n<ul>\n<li><p><code>username</code> (string, required): The username of the client.</p>\n</li>\n<li><p><code>fullname</code> (string, required): The full name of the client.</p>\n</li>\n<li><p><code>userid</code> (string, required): The unique user ID of the client.</p>\n</li>\n<li><p><code>account_no</code> (string, required): The account number of the client.</p>\n</li>\n</ul>\n</li>\n<li><p><code>transaction</code> (object, required): Contains the transaction details.</p>\n<ul>\n<li><p><code>txn</code> (string, required): The unique hash for the transaction.</p>\n</li>\n<li><p><code>amount</code> (string, required): The amount of the transaction. Only digits or decimal.</p>\n</li>\n</ul>\n</li>\n<li><p><code>encryptedhash</code> (string, required): The encrypted hash for the transaction.</p>\n</li>\n</ul>\n<h4 id=\"response-json-schema\">Response (JSON Schema)</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"status\": {\n      \"type\": \"string\"\n    },\n    \"transaction_id\": {\n      \"type\": \"string\"\n    }\n  }\n}\n\n</code></pre>\n<p>The response will include the status of the transaction, a message related to the status, description of the request, account holder, and account IBAN upon successful initiation of the bank transfer transaction.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"APIKEY"}]},"isInherited":true,"source":{"_postman_id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","name":"OleyPayment - API Documentation","type":"collection"}},"urlObject":{"path":["withdraw","mefete","newtransaction"],"host":["https://api.oleypayment.com"],"query":[],"variable":[]}},"response":[{"id":"992bf9e4-ef7a-43a0-8893-ba3621e659c7","name":"Success Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\",\n        \"account_no\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/withdraw/mefete/newtransaction"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 05 Dec 2024 21:24:16 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=azYsF61CxtRCYhu5PZBekQDrMv8HDWUtmVYqUX5qEGiKpgHQ3oZivGaMHNGkypYLKsq5dxveL5pujjiVO2t3NlGKpg9VyxU3oD37FeD7rybkTlmURAKuxVaH8guqYZMSUVF7ltnT\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8ed71a25aa4a3636-FRA"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=49601&min_rtt=46686&rtt_var=1719&sent=86&recv=84&lost=0&retrans=0&sent_bytes=15656&recv_bytes=10675&delivery_rate=89304&cwnd=257&unsent_bytes=0&cid=d05c6ad4c530622a&ts=66509&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"transaction_id\": 65\n    }\n}"},{"id":"bfa0ad70-0149-42eb-b43d-06954056c969","name":"Fail Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\",\n        \"account_no\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/withdraw/mefete/newtransaction"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 05 Dec 2024 21:24:36 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=g6IFPyCgU1iexbZf6NW%2FwvtThsSY33CQjXdBhygSY6OZ0%2FFK6Hckm8vwZv9fyZPVLKeKP76%2B4TdiBc5R1t7RJX6Y%2Fi%2B78xHMsx8d9xmqiK9DppirqTbB2MYi9cBUOj1zn8Z8NHSR\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8ed71a9d5a703636-FRA"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=49851&min_rtt=46686&rtt_var=1790&sent=106&recv=103&lost=0&retrans=0&sent_bytes=16621&recv_bytes=11396&delivery_rate=89304&cwnd=257&unsent_bytes=0&cid=d05c6ad4c530622a&ts=85652&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"Transaction id is not unique\"\n}"}],"_postman_id":"e4a415e5-9981-425d-97eb-ef10eabf2210"},{"name":"Create Parazula Withdraw Request","event":[{"listen":"test","script":{"id":"1a36908d-3d6f-41ed-8e0b-eadf780af450","exec":["// Test to validate that the amount parameter contains only digits","pm.test(\"Amount parameter contains only digits\", function () {","    var requestData = pm.request.body.urlencoded.find((param) => param.key === 'amount');","    pm.expect(/^\\d+$/.test(requestData.value)).to.be.true;","});",""],"type":"text/javascript","packages":{}}}],"id":"1f158435-86c1-4b24-b16d-2ad3cfe54cdd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\",\n        \"account_no\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/withdraw/parazula/newtransaction","description":"<h3 id=\"parazula-new-withdraw-transaction\">Parazula New Withdraw Transaction</h3>\n<p>This endpoint is used to initiate a new parazula withdraw transaction.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>client</code> (object, required): Contains the client information.</p>\n<ul>\n<li><p><code>username</code> (string, required): The username of the client.</p>\n</li>\n<li><p><code>fullname</code> (string, required): The full name of the client.</p>\n</li>\n<li><p><code>userid</code> (string, required): The unique user ID of the client.</p>\n</li>\n<li><p><code>account_no</code> (string, required): The account number of the client.</p>\n</li>\n</ul>\n</li>\n<li><p><code>transaction</code> (object, required): Contains the transaction details.</p>\n<ul>\n<li><p><code>txn</code> (string, required): The unique hash for the transaction.</p>\n</li>\n<li><p><code>amount</code> (string, required): The amount of the transaction. Only digits or decimal.</p>\n</li>\n</ul>\n</li>\n<li><p><code>encryptedhash</code> (string, required): The encrypted hash for the transaction.</p>\n</li>\n</ul>\n<h4 id=\"response-json-schema\">Response (JSON Schema)</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"status\": {\n      \"type\": \"string\"\n    },\n    \"transaction_id\": {\n      \"type\": \"string\"\n    }\n  }\n}\n\n</code></pre>\n<p>The response will include the status of the transaction, a message related to the status, description of the request, account holder, and account IBAN upon successful initiation of the bank transfer transaction.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"APIKEY"}]},"isInherited":true,"source":{"_postman_id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","name":"OleyPayment - API Documentation","type":"collection"}},"urlObject":{"path":["withdraw","parazula","newtransaction"],"host":["https://api.oleypayment.com"],"query":[],"variable":[]}},"response":[{"id":"684f9266-a893-4a29-b724-29de530c5018","name":"Success Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\",\n        \"account_no\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/withdraw/parazula/newtransaction"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 05 Dec 2024 21:24:47 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=XZrAKaqiQ6n86EwKOzNabp20%2ByZchQ%2FWq%2BY8xIHYYkr32zBbfFNO4lD5SMmc81E%2FQ1dMyQ%2Fs8I5hwoYB5qFkjScDNPQQwYKiQnd4bPGvsPf5nTHBGmtn8Y5%2BG01UcCCtns%2BnTNqk\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8ed71ae3cc303636-FRA"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=49753&min_rtt=46686&rtt_var=1539&sent=118&recv=115&lost=0&retrans=0&sent_bytes=17578&recv_bytes=12119&delivery_rate=89304&cwnd=257&unsent_bytes=0&cid=d05c6ad4c530622a&ts=96945&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"transaction_id\": 65\n    }\n}"},{"id":"3df6787e-21e2-454b-b8a0-c91c46f2ac67","name":"Fail Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\",\n        \"account_no\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/withdraw/parazula/newtransaction"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 05 Dec 2024 21:25:04 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=8iVKwqq3QlfVH9F9Yr7B%2BhOzyg8o2yYi4a%2F2PRL7NOAaZKq8%2Fye5OgncShFtpayKq4%2B%2Bvoue37RT5Xekeeqy%2BARjopTzGB%2FFAnlyTiGDuNqhsmgtgoxVy2Ye0QIXTAYUvdtxFPek\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8ed71b4e6b5e3636-FRA"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=49593&min_rtt=46686&rtt_var=1273&sent=137&recv=134&lost=0&retrans=0&sent_bytes=19481&recv_bytes=13565&delivery_rate=89304&cwnd=257&unsent_bytes=0&cid=d05c6ad4c530622a&ts=113980&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"Transaction id is not unique\"\n}"}],"_postman_id":"1f158435-86c1-4b24-b16d-2ad3cfe54cdd"},{"name":"Create Popy Withdraw Request","event":[{"listen":"test","script":{"id":"1a36908d-3d6f-41ed-8e0b-eadf780af450","exec":["// Test to validate that the amount parameter contains only digits","pm.test(\"Amount parameter contains only digits\", function () {","    var requestData = pm.request.body.urlencoded.find((param) => param.key === 'amount');","    pm.expect(/^\\d+$/.test(requestData.value)).to.be.true;","});",""],"type":"text/javascript","packages":{}}}],"id":"7fa9ceca-d438-413d-8dac-dcb5fd4671bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\",\n        \"account_no\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/withdraw/popy/newtransaction","description":"<h3 id=\"popy-new-withdraw-transaction\">Popy New Withdraw Transaction</h3>\n<p>This endpoint is used to initiate a new popy withdraw transaction.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>client</code> (object, required): Contains the client information.</p>\n<ul>\n<li><p><code>username</code> (string, required): The username of the client.</p>\n</li>\n<li><p><code>fullname</code> (string, required): The full name of the client.</p>\n</li>\n<li><p><code>userid</code> (string, required): The unique user ID of the client.</p>\n</li>\n<li><p><code>account_no</code> (string, required): The account number of the client.</p>\n</li>\n</ul>\n</li>\n<li><p><code>transaction</code> (object, required): Contains the transaction details.</p>\n<ul>\n<li><p><code>txn</code> (string, required): The unique hash for the transaction.</p>\n</li>\n<li><p><code>amount</code> (string, required): The amount of the transaction. Only digits or decimal.</p>\n</li>\n</ul>\n</li>\n<li><p><code>encryptedhash</code> (string, required): The encrypted hash for the transaction.</p>\n</li>\n</ul>\n<h4 id=\"response-json-schema\">Response (JSON Schema)</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"status\": {\n      \"type\": \"string\"\n    },\n    \"transaction_id\": {\n      \"type\": \"string\"\n    }\n  }\n}\n\n</code></pre>\n<p>The response will include the status of the transaction, a message related to the status, description of the request, account holder, and account IBAN upon successful initiation of the bank transfer transaction.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"APIKEY"}]},"isInherited":true,"source":{"_postman_id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","name":"OleyPayment - API Documentation","type":"collection"}},"urlObject":{"path":["withdraw","popy","newtransaction"],"host":["https://api.oleypayment.com"],"query":[],"variable":[]}},"response":[{"id":"37788f55-d14b-40fc-9d4e-0406b2af9ab1","name":"Success Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\",\n        \"account_no\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/withdraw/popy/newtransaction"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 05 Dec 2024 21:25:14 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=%2FyGObgLJViaXxy0B8fwiScULUt6lzqxKUuHggznUerpnBL%2FytDITYoqpD1MAkwi8AHKNGcybvh1ZW2ZtzFpmQtAqKI85ODXxwHO2YBIbIdoBpWqqr1ZaS0ryl%2FZA1i8C0kOu7Dqx\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8ed71b8e7ced3636-FRA"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=49437&min_rtt=46686&rtt_var=1266&sent=148&recv=145&lost=0&retrans=0&sent_bytes=20443&recv_bytes=14284&delivery_rate=89304&cwnd=257&unsent_bytes=0&cid=d05c6ad4c530622a&ts=124229&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"transaction_id\": 65\n    }\n}"},{"id":"b5587020-9d9f-4a4e-b756-697fdd00b68c","name":"Fail Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\",\n        \"account_no\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/withdraw/popy/newtransaction"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 05 Dec 2024 21:25:26 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=Ja26cdXneIt6l0CzvCOVwjaEQxaAfuyEBjDUkNyurdBzr5NJzRN5PzbErvuJlKBM8xPbyOy%2FhHtXD9Uqg0JABVsMcmGD5dwtHwx1Pxg30LRZF0JhMBaoFGpcYKrWSZxfhKn8AR5q\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8ed71bd80a963636-FRA"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=49674&min_rtt=46686&rtt_var=1658&sent=164&recv=161&lost=0&retrans=0&sent_bytes=23294&recv_bytes=16441&delivery_rate=89304&cwnd=257&unsent_bytes=0&cid=d05c6ad4c530622a&ts=136006&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"Transaction id is not unique\"\n}"}],"_postman_id":"7fa9ceca-d438-413d-8dac-dcb5fd4671bb"},{"name":"Create Payco Withdraw Request","event":[{"listen":"test","script":{"id":"1a36908d-3d6f-41ed-8e0b-eadf780af450","exec":["// Test to validate that the amount parameter contains only digits","pm.test(\"Amount parameter contains only digits\", function () {","    var requestData = pm.request.body.urlencoded.find((param) => param.key === 'amount');","    pm.expect(/^\\d+$/.test(requestData.value)).to.be.true;","});",""],"type":"text/javascript","packages":{}}}],"id":"9ddef2b2-8794-412b-a8e1-cd96f0eef00f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\",\n        \"account_no\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/withdraw/payco/newtransaction","description":"<h3 id=\"payco-new-withdraw-transaction\">Payco New Withdraw Transaction</h3>\n<p>This endpoint is used to initiate a new payco withdraw transaction.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>client</code> (object, required): Contains the client information.</p>\n<ul>\n<li><p><code>username</code> (string, required): The username of the client.</p>\n</li>\n<li><p><code>fullname</code> (string, required): The full name of the client.</p>\n</li>\n<li><p><code>userid</code> (string, required): The unique user ID of the client.</p>\n</li>\n<li><p><code>account_no</code> (string, required): The account number of the client.</p>\n</li>\n</ul>\n</li>\n<li><p><code>transaction</code> (object, required): Contains the transaction details.</p>\n<ul>\n<li><p><code>txn</code> (string, required): The unique hash for the transaction.</p>\n</li>\n<li><p><code>amount</code> (string, required): The amount of the transaction. Only digits or decimal.</p>\n</li>\n</ul>\n</li>\n<li><p><code>encryptedhash</code> (string, required): The encrypted hash for the transaction.</p>\n</li>\n</ul>\n<h4 id=\"response-json-schema\">Response (JSON Schema)</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"status\": {\n      \"type\": \"string\"\n    },\n    \"transaction_id\": {\n      \"type\": \"string\"\n    }\n  }\n}\n\n</code></pre>\n<p>The response will include the status of the transaction, a message related to the status, description of the request, account holder, and account IBAN upon successful initiation of the bank transfer transaction.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"APIKEY"}]},"isInherited":true,"source":{"_postman_id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","name":"OleyPayment - API Documentation","type":"collection"}},"urlObject":{"path":["withdraw","payco","newtransaction"],"host":["https://api.oleypayment.com"],"query":[],"variable":[]}},"response":[{"id":"8deb355a-da05-4af5-a835-a31473c090f3","name":"Success Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\",\n        \"account_no\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/withdraw/payco/newtransaction"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 05 Dec 2024 21:25:36 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=UvfhcWG6e%2F5jIIkezex02sv6Lho8PQGDX%2FDYeW3tMVgZ6A4HnTkXJv4WyG2hLiYHjkklrXcs4Z9RusqiCqYHudzDbq4ImLMwxgbshSiHcu4kWSLLOVY8N3b5BsVDi4g0UZpyT5Qo\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8ed71c159b583636-FRA"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=49910&min_rtt=46686&rtt_var=1715&sent=175&recv=172&lost=0&retrans=0&sent_bytes=24244&recv_bytes=17161&delivery_rate=89304&cwnd=257&unsent_bytes=0&cid=d05c6ad4c530622a&ts=145853&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"transaction_id\": 65\n    }\n}"},{"id":"0dfff7ae-853e-4e48-8963-b9b1256c0d5c","name":"Fail Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"John Doe\",\n        \"userid\": \"123456789\",\n        \"account_no\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\",\n        \"amount\": \"1000\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/withdraw/payco/newtransaction"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 05 Dec 2024 21:25:54 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=KefFbnsNZVOD%2FZLKIrE%2FcTaY9eSP6PfjHEAnBvYGIRilZo50yGLHCh3XzKGx7BjYZpXOyztxfOdT7Jtkd%2B%2BIdxgXGOIuwr6%2BpGqc6BuNiJVJC3sKqX7JlwCQj0u8NNICamhjcO3n\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8ed71c885e333636-FRA"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=49263&min_rtt=46686&rtt_var=1040&sent=205&recv=200&lost=0&retrans=0&sent_bytes=31875&recv_bytes=22921&delivery_rate=89304&cwnd=257&unsent_bytes=0&cid=d05c6ad4c530622a&ts=164246&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"Transaction id is not unique\"\n}"}],"_postman_id":"9ddef2b2-8794-412b-a8e1-cd96f0eef00f"}],"id":"9735d80a-d6c9-4210-93f9-6c74fe4996dc","_postman_id":"9735d80a-d6c9-4210-93f9-6c74fe4996dc","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"APIKEY"}]},"isInherited":true,"source":{"_postman_id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","name":"OleyPayment - API Documentation","type":"collection"}}},{"name":"WebHooks","item":[{"name":"Deposit-Withdraw","id":"d89d63cc-75c0-422b-ad59-2d7dcf27e0ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n  \"transactionhash\": \"TestTransactionUniqueHash\",\r\n  \"username\": \"testuser\",\r\n  \"userid\": \"123456789\",\r\n  \"amount\": \"100\",\r\n  \"status\": \"confirmed/declined\",\r\n  \"encryptedhash\": \"SHA512([transactionhash]_[username]_[userid]_[amount]_[status]_[apisecret])\"\r\n}","options":{"raw":{"language":"json"}}},"url":"CALLBACK","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"APIKEY"}]},"isInherited":true,"source":{"_postman_id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","name":"OleyPayment - API Documentation","type":"collection"}},"urlObject":{"host":["CALLBACK"],"query":[],"variable":[]}},"response":[],"_postman_id":"d89d63cc-75c0-422b-ad59-2d7dcf27e0ae"}],"id":"d40a5dee-40e8-4247-8c2f-16e95d2319b5","_postman_id":"d40a5dee-40e8-4247-8c2f-16e95d2319b5","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"APIKEY"}]},"isInherited":true,"source":{"_postman_id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","name":"OleyPayment - API Documentation","type":"collection"}}},{"name":"Bank List","id":"0ebcd7de-b1be-4699-8460-f225f37784fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://api.oleypayment.com/bank/list","description":"<h1 id=\"bank-list-api\">Bank List API</h1>\n<p>This API endpoint is used to retrieve a list of banks.</p>\n<h2 id=\"request\">Request</h2>\n<h3 id=\"endpoint\">Endpoint</h3>\n<p><code>GET /bank/list</code></p>\n<h3 id=\"parameters\">Parameters</h3>\n<p>This request does not require any parameters.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<p>This request does not require a request body.</p>\n<h2 id=\"response\">Response</h2>\n<h3 id=\"status\">Status</h3>\n<p>The API returns a status code of 200 on success.</p>\n<h3 id=\"response-body\">Response Body</h3>\n<p>The response is in JSON format and includes the following fields:</p>\n<ul>\n<li><p><code>type</code> (string): The type of the bank.</p>\n</li>\n<li><p><code>count</code> (integer): The total count of banks.</p>\n</li>\n<li><p><code>banks</code> (array): An array of bank objects, each containing the following fields:</p>\n<ul>\n<li><p><code>id</code> (integer): The unique identifier of the bank.</p>\n</li>\n<li><p><code>name</code> (string): The name of the bank.</p>\n</li>\n<li><p><code>mindeposit</code> (integer): The minimum deposit amount for the bank.</p>\n</li>\n<li><p><code>maxdeposit</code> (integer): The maximum deposit amount for the bank.</p>\n</li>\n</ul>\n</li>\n</ul>\n<p>Example response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"\",\n  \"count\": 0,\n  \"banks\": [\n    {\n      \"id\": 0,\n      \"name\": \"\",\n      \"mindeposit\": 0,\n      \"maxdeposit\": 0\n    }\n  ]\n}\n\n</code></pre>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"APIKEY"}]},"isInherited":true,"source":{"_postman_id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","name":"OleyPayment - API Documentation","type":"collection"}},"urlObject":{"path":["bank","list"],"host":["https://api.oleypayment.com"],"query":[],"variable":[]}},"response":[{"id":"13974851-4d1d-439a-a85a-e1374162960a","name":"Success Response","originalRequest":{"method":"GET","header":[],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://api.oleypayment.com/bank/list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 05 Dec 2024 18:14:20 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Cache-Control","value":"s-maxage=10"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=c9513d0934c71244f4301f5267eb48bd; path=/"},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=5DtzGm4Ufjz%2Bh68Tf2EWfGZQLYJjSEsRNzVoUrus8xRPN9Ltqt7hXPT1xT4aZal0d6Pc2Y%2BleTkBxqjlVmfHH1EreC82u%2BLKxeAmpUqEBmy1FPNT8fckkgzCOYmuNzicP3p0egKF\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8ed603e679aa71d3-FRA"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=49516&min_rtt=48301&rtt_var=18981&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2819&recv_bytes=865&delivery_rate=59626&cwnd=251&unsent_bytes=0&cid=66b96e9aba75f722&ts=603&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"Bankalar\",\n    \"count\": 18,\n    \"banks\": [\n        {\n            \"id\": 1,\n            \"name\": \"Garanti Bankası\",\n            \"mindeposit\": 1000,\n            \"maxdeposit\": 1000000\n        },\n        {\n            \"id\": 2,\n            \"name\": \"İş Bankası\",\n            \"mindeposit\": 1000,\n            \"maxdeposit\": 100000\n        },\n        {\n            \"id\": 3,\n            \"name\": \"Vakıfbank\",\n            \"mindeposit\": 0,\n            \"maxdeposit\": 0\n        },\n        {\n            \"id\": 4,\n            \"name\": \"Halk Bankası\",\n            \"mindeposit\": 1000,\n            \"maxdeposit\": 100000\n        },\n        {\n            \"id\": 5,\n            \"name\": \"Denizbank\",\n            \"mindeposit\": 1000,\n            \"maxdeposit\": 1000000\n        },\n        {\n            \"id\": 6,\n            \"name\": \"Akbank\",\n            \"mindeposit\": 5000,\n            \"maxdeposit\": 1000000\n        },\n        {\n            \"id\": 7,\n            \"name\": \"Finans bank\",\n            \"mindeposit\": 50,\n            \"maxdeposit\": 10000000\n        },\n        {\n            \"id\": 8,\n            \"name\": \"Türkiye Finans Bank\",\n            \"mindeposit\": 0,\n            \"maxdeposit\": 0\n        },\n        {\n            \"id\": 9,\n            \"name\": \"INGBank\",\n            \"mindeposit\": 50,\n            \"maxdeposit\": 250000\n        },\n        {\n            \"id\": 10,\n            \"name\": \"TEB Bankası\",\n            \"mindeposit\": 50,\n            \"maxdeposit\": 100000\n        },\n        {\n            \"id\": 11,\n            \"name\": \"Kuveyttürk\",\n            \"mindeposit\": 50,\n            \"maxdeposit\": 100000\n        },\n        {\n            \"id\": 12,\n            \"name\": \"Ziraat Bankası\",\n            \"mindeposit\": 1000,\n            \"maxdeposit\": 1000000\n        },\n        {\n            \"id\": 13,\n            \"name\": \"PTT\",\n            \"mindeposit\": 0,\n            \"maxdeposit\": 0\n        },\n        {\n            \"id\": 14,\n            \"name\": \"Yapı Kredi\",\n            \"mindeposit\": 1000,\n            \"maxdeposit\": 100000\n        },\n        {\n            \"id\": 15,\n            \"name\": \"En Para\",\n            \"mindeposit\": 800,\n            \"maxdeposit\": 10000000\n        },\n        {\n            \"id\": 16,\n            \"name\": \"Şekerbank\",\n            \"mindeposit\": 0,\n            \"maxdeposit\": 0\n        },\n        {\n            \"id\": 17,\n            \"name\": \"Albaraka\",\n            \"mindeposit\": 50,\n            \"maxdeposit\": 100000\n        },\n        {\n            \"id\": 20,\n            \"name\": \"FAST\",\n            \"mindeposit\": 50,\n            \"maxdeposit\": 10000000\n        }\n    ]\n}"}],"_postman_id":"0ebcd7de-b1be-4699-8460-f225f37784fd"},{"name":"Check Transaction Status","event":[{"listen":"test","script":{"id":"1a36908d-3d6f-41ed-8e0b-eadf780af450","exec":["// Test to validate that the amount parameter contains only digits","pm.test(\"Amount parameter contains only digits\", function () {","    var requestData = pm.request.body.urlencoded.find((param) => param.key === 'amount');","    pm.expect(/^\\d+$/.test(requestData.value)).to.be.true;","});",""],"type":"text/javascript","packages":{}}}],"id":"e9e6acf7-57a2-4b50-9462-73c1880e0301","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"userid\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/check/status","description":"<h3 id=\"check-status\">Check Status</h3>\n<p>This endpoint is used to check the status of a bank transfer transaction.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>client</code> (object, required): Contains the client information.</p>\n<ul>\n<li><code>userid</code> (string, required): The unique user ID of the client.</li>\n</ul>\n</li>\n<li><p><code>transaction</code> (object, required): Contains the transaction details.</p>\n<ul>\n<li><code>txn</code> (string, required): The unique hash for the transaction.</li>\n</ul>\n</li>\n<li><p><code>encryptedhash</code> (string, required): The encrypted hash for the transaction.</p>\n</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"APIKEY"}]},"isInherited":true,"source":{"_postman_id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","name":"OleyPayment - API Documentation","type":"collection"}},"urlObject":{"path":["check","status"],"host":["https://api.oleypayment.com"],"query":[],"variable":[]}},"response":[{"id":"c3b72ef2-708b-43ba-b84f-08ad296cf099","name":"Success Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"userid\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/check/status"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 05 Dec 2024 21:59:38 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=yvMfB8Cs7HBsZIQkN%2BppIXeEyPUUzrE%2FU6YvH82zmfjnJPSZGzx0mUDbc9UpQ1K9EQBir8qfyy9KyDbI20C9X%2BgHUc%2BOzJilmx93zZl39TIPELX%2BKPr4CwDNZZBtjOfLVIux8wAI\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8ed74defb838362f-FRA"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=46639&min_rtt=46580&rtt_var=17586&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2819&recv_bytes=1147&delivery_rate=61204&cwnd=251&unsent_bytes=0&cid=c03999758bea834f&ts=592&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"Test Name\"\n    },\n    \"transaction\": {\n        \"status\": \"approved\"\n    }\n}"},{"id":"5d26504f-0701-462c-bd0a-d6c9e969cdd0","name":"Success Response - Declined","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"userid\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/check/status"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 05 Dec 2024 22:01:31 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=lfeq%2Fe5yfnPAmiJUxvs6slLu5V06%2BjAbkFaStM3rMruKOrOIjnLsTAzD8iX9HKhyL8%2FcZp2ry4svR9R4lD9M0002MRIIti33KApMY%2BM52jgHfNbwC8owpzT99J8giZeADotKwv1A\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8ed750af6ef53a6e-FRA"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=46611&min_rtt=46294&rtt_var=13217&sent=48&recv=48&lost=0&retrans=0&sent_bytes=4175&recv_bytes=1713&delivery_rate=62211&cwnd=211&unsent_bytes=0&cid=504f4862edcd7759&ts=44734&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"client\": {\n        \"username\": \"testuser\",\n        \"fullname\": \"Test Name\"\n    },\n    \"transaction\": {\n        \"status\": \"declined\"\n    }\n}"},{"id":"265f0ee7-6e61-4082-9a4e-9be95618844f","name":"Fail Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"userid\": \"123456789\"\n    },\n    \"transaction\": {\n        \"txn\": \"TestTransactionUniqueHash\"\n    },\n    \"encryptedhash\": \"SHA512(userid_txn_SECRET)\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.oleypayment.com/check/status"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 05 Dec 2024 22:01:50 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=YeJkYPMP2fR0D83k0p%2FoNB6owqjOXN2kj5ryVw2DGuOy9r6c7l%2FE6PWealmPRrcK%2BEUAmZZsmWSsvR4D9DDxOhrYyWEDrt6f94AZo8rElCYRr6yAhlmkwxwjbtWpSvb5TDolPa1Q\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8ed75127db3b3a6e-FRA"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=46369&min_rtt=44317&rtt_var=3628&sent=75&recv=73&lost=0&retrans=0&sent_bytes=10151&recv_bytes=5109&delivery_rate=92374&cwnd=215&unsent_bytes=0&cid=504f4862edcd7759&ts=63493&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"message\": \"Transaction couldnt found\"\n}"}],"_postman_id":"e9e6acf7-57a2-4b50-9462-73c1880e0301"},{"name":"CALLBACKS","id":"667ac324-a7d0-4b88-becc-f887de8f92d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"transactionhash\": \"TestTransactionUniqueHash\",\r\n  \"username\": \"testuser\",\r\n  \"userid\": \"123456789\",\r\n  \"amount\": \"100\",\r\n  \"status\": \"confirmed/declined\",\r\n  \"encryptedhash\": \"SHA512([transactionhash]_[username]_[userid]_[amount]_[status]_[apisecret])\"\r\n}","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"APIKEY"}]},"isInherited":true,"source":{"_postman_id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","id":"2dc7f984-b7c7-48cc-84d0-478652eb4bef","name":"OleyPayment - API Documentation","type":"collection"}},"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"667ac324-a7d0-4b88-becc-f887de8f92d1"}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"APIKEY"}]}},"event":[{"listen":"prerequest","script":{"id":"f81b6b2d-320e-4afb-84fb-7aff597bf7b2","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"31412c44-052e-41cc-a7e3-e2a08a6f253b","type":"text/javascript","packages":{},"exec":[""]}}],"variable":[{"key":"apikey","value":"APIKEY","type":"string"},{"key":"apisecret","value":"SECRET","type":"string"},{"key":"domain","value":"https://api.oleypayment.com","type":"string"}]}