{"info":{"_postman_id":"7aa4e861-9f38-41e7-b3d8-1e84d40ffe6b","name":"Paysgator API","description":"<html><head></head><body><p>Payment gateway API for processing payments, managing transactions, subscriptions, and wallets</p>\n<p>Contact Support:\n Name: Paysgator Support</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"40848774","collectionId":"7aa4e861-9f38-41e7-b3d8-1e84d40ffe6b","publishedId":"2sBXVoAU1V","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"4287f5"},"publishDate":"2026-02-01T12:31:59.000Z"},"item":[{"name":"payment","item":[{"name":"create","item":[{"name":"Create Payment","id":"0b733250-b43e-4950-8757-2a95c503b4e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"amount\": \"<double>\",\n  \"currency\": \"<string>\",\n  \"externalTransactionId\": \"<string>\",\n  \"payment_methods\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"fields\": [\n    \"email\",\n    \"address\"\n  ],\n  \"returnUrl\": \"<uri>\",\n  \"metadata\": {\n    \"title\": \"<string>\",\n    \"description\": \"<string>\",\n    \"key_0\": false,\n    \"key_1\": 1055,\n    \"key_2\": \"string\",\n    \"key_3\": 3071\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://paysgator.com/api/v1/payment/create","description":"<p>Creates a payment transaction with an associated payment link</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Api-Key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7aa4e861-9f38-41e7-b3d8-1e84d40ffe6b","id":"7aa4e861-9f38-41e7-b3d8-1e84d40ffe6b","name":"Paysgator API","type":"collection"}},"urlObject":{"path":["payment","create"],"host":["https://paysgator.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"e1bce9eb-f2c0-436e-859e-a6158150e876","name":"Payment created successfully","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"X-Api-Key","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"amount\": \"<double>\",\n  \"currency\": \"<string>\",\n  \"externalTransactionId\": \"<string>\",\n  \"payment_methods\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"fields\": [\n    \"email\",\n    \"address\"\n  ],\n  \"returnUrl\": \"<uri>\",\n  \"metadata\": {\n    \"title\": \"<string>\",\n    \"description\": \"<string>\",\n    \"key_0\": false,\n    \"key_1\": 1055,\n    \"key_2\": \"string\",\n    \"key_3\": 3071\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://paysgator.com/api/v1/payment/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": \"<boolean>\",\n  \"data\": {\n    \"paymentlinkId\": \"<uuid>\",\n    \"checkoutUrl\": \"<uri>\",\n    \"transactionId\": \"<uuid>\"\n  }\n}"},{"id":"de516828-3229-4824-ba91-67c630251208","name":"Bad request - validation error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"X-Api-Key","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"amount\": \"<double>\",\n  \"currency\": \"<string>\",\n  \"externalTransactionId\": \"<string>\",\n  \"payment_methods\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"fields\": [\n    \"email\",\n    \"address\"\n  ],\n  \"returnUrl\": \"<uri>\",\n  \"metadata\": {\n    \"title\": \"<string>\",\n    \"description\": \"<string>\",\n    \"key_0\": false,\n    \"key_1\": 1055,\n    \"key_2\": \"string\",\n    \"key_3\": 3071\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://paysgator.com/api/v1/payment/create"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"message\": \"<string>\",\n    \"code\": \"WALLET_NOT_FOUND\"\n  }\n}"},{"id":"f5a8f197-286f-477b-873c-12e4e22c0f09","name":"Unauthorized - invalid or missing API key","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"X-Api-Key","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"amount\": \"<double>\",\n  \"currency\": \"<string>\",\n  \"externalTransactionId\": \"<string>\",\n  \"payment_methods\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"fields\": [\n    \"email\",\n    \"address\"\n  ],\n  \"returnUrl\": \"<uri>\",\n  \"metadata\": {\n    \"title\": \"<string>\",\n    \"description\": \"<string>\",\n    \"key_0\": false,\n    \"key_1\": 1055,\n    \"key_2\": \"string\",\n    \"key_3\": 3071\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://paysgator.com/api/v1/payment/create"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"message\": \"<string>\",\n    \"code\": \"WALLET_NOT_FOUND\"\n  }\n}"},{"id":"287d3f72-460a-4653-9933-93d1c3a8e207","name":"Internal server error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"X-Api-Key","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"amount\": \"<double>\",\n  \"currency\": \"<string>\",\n  \"externalTransactionId\": \"<string>\",\n  \"payment_methods\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"fields\": [\n    \"email\",\n    \"address\"\n  ],\n  \"returnUrl\": \"<uri>\",\n  \"metadata\": {\n    \"title\": \"<string>\",\n    \"description\": \"<string>\",\n    \"key_0\": false,\n    \"key_1\": 1055,\n    \"key_2\": \"string\",\n    \"key_3\": 3071\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://paysgator.com/api/v1/payment/create"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"message\": \"<string>\",\n    \"code\": \"WALLET_NOT_FOUND\"\n  }\n}"}],"_postman_id":"0b733250-b43e-4950-8757-2a95c503b4e9"}],"id":"4089e124-5f3d-4189-89b1-dff044751207","_postman_id":"4089e124-5f3d-4189-89b1-dff044751207","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Api-Key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7aa4e861-9f38-41e7-b3d8-1e84d40ffe6b","id":"7aa4e861-9f38-41e7-b3d8-1e84d40ffe6b","name":"Paysgator API","type":"collection"}}},{"name":"confirm","item":[{"name":"Confirm Payment","id":"6abb6b53-fd62-4ee3-a022-f30c78901478","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"paymentLinkId\": \"<uuid>\",\n  \"paymentMethod\": \"<string>\",\n  \"payment_fields\": {\n    \"key_0\": \"string\"\n  },\n  \"customer\": {\n    \"name\": \"<string>\",\n    \"email\": \"<email>\",\n    \"phone\": \"<string>\",\n    \"address\": \"<string>\",\n    \"country\": \"<string>\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://paysgator.com/api/v1/payment/confirm","description":"<p>Confirms a payment directly from a payment link</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Api-Key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7aa4e861-9f38-41e7-b3d8-1e84d40ffe6b","id":"7aa4e861-9f38-41e7-b3d8-1e84d40ffe6b","name":"Paysgator API","type":"collection"}},"urlObject":{"path":["payment","confirm"],"host":["https://paysgator.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"8473844a-ecb2-4af0-a612-b811d3cbf3fa","name":"Payment confirmed successfully","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"X-Api-Key","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"paymentLinkId\": \"<uuid>\",\n  \"paymentMethod\": \"<string>\",\n  \"payment_fields\": {\n    \"key_0\": \"string\"\n  },\n  \"customer\": {\n    \"name\": \"<string>\",\n    \"email\": \"<email>\",\n    \"phone\": \"<string>\",\n    \"address\": \"<string>\",\n    \"country\": \"<string>\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://paysgator.com/api/v1/payment/confirm"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": \"<boolean>\",\n  \"data\": {\n    \"transactionId\": \"<uuid>\",\n    \"fee\": \"<double>\",\n    \"netAmount\": \"<double>\"\n  }\n}"},{"id":"09d68ed8-56f7-4c20-b3af-c86bcb4566ad","name":"Bad request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"X-Api-Key","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"paymentLinkId\": \"<uuid>\",\n  \"paymentMethod\": \"<string>\",\n  \"payment_fields\": {\n    \"key_0\": \"string\"\n  },\n  \"customer\": {\n    \"name\": \"<string>\",\n    \"email\": \"<email>\",\n    \"phone\": \"<string>\",\n    \"address\": \"<string>\",\n    \"country\": \"<string>\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://paysgator.com/api/v1/payment/confirm"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"message\": \"<string>\",\n    \"code\": \"WALLET_NOT_FOUND\"\n  }\n}"},{"id":"1225c92c-2728-401e-928f-cd8fb254912a","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"X-Api-Key","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"paymentLinkId\": \"<uuid>\",\n  \"paymentMethod\": \"<string>\",\n  \"payment_fields\": {\n    \"key_0\": \"string\"\n  },\n  \"customer\": {\n    \"name\": \"<string>\",\n    \"email\": \"<email>\",\n    \"phone\": \"<string>\",\n    \"address\": \"<string>\",\n    \"country\": \"<string>\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://paysgator.com/api/v1/payment/confirm"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"message\": \"<string>\",\n    \"code\": \"WALLET_NOT_FOUND\"\n  }\n}"},{"id":"0528a869-6995-40fa-8edc-e3daaab0cd2d","name":"Forbidden - unauthorized for this payment link","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"X-Api-Key","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"paymentLinkId\": \"<uuid>\",\n  \"paymentMethod\": \"<string>\",\n  \"payment_fields\": {\n    \"key_0\": \"string\"\n  },\n  \"customer\": {\n    \"name\": \"<string>\",\n    \"email\": \"<email>\",\n    \"phone\": \"<string>\",\n    \"address\": \"<string>\",\n    \"country\": \"<string>\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://paysgator.com/api/v1/payment/confirm"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"message\": \"<string>\",\n    \"code\": \"WALLET_NOT_FOUND\"\n  }\n}"},{"id":"092e5f80-a238-4eca-a175-9e1920a7519b","name":"Payment link not found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"X-Api-Key","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"paymentLinkId\": \"<uuid>\",\n  \"paymentMethod\": \"<string>\",\n  \"payment_fields\": {\n    \"key_0\": \"string\"\n  },\n  \"customer\": {\n    \"name\": \"<string>\",\n    \"email\": \"<email>\",\n    \"phone\": \"<string>\",\n    \"address\": \"<string>\",\n    \"country\": \"<string>\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://paysgator.com/api/v1/payment/confirm"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"message\": \"<string>\",\n    \"code\": \"WALLET_NOT_FOUND\"\n  }\n}"},{"id":"b4e6b377-d8e4-4cd0-89cc-abe74fd70bca","name":"Internal server error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"X-Api-Key","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"paymentLinkId\": \"<uuid>\",\n  \"paymentMethod\": \"<string>\",\n  \"payment_fields\": {\n    \"key_0\": \"string\"\n  },\n  \"customer\": {\n    \"name\": \"<string>\",\n    \"email\": \"<email>\",\n    \"phone\": \"<string>\",\n    \"address\": \"<string>\",\n    \"country\": \"<string>\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://paysgator.com/api/v1/payment/confirm"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"message\": \"<string>\",\n    \"code\": \"WALLET_NOT_FOUND\"\n  }\n}"}],"_postman_id":"6abb6b53-fd62-4ee3-a022-f30c78901478"}],"id":"40f8ee7e-4749-4812-9fd4-ac408ec0e0b0","_postman_id":"40f8ee7e-4749-4812-9fd4-ac408ec0e0b0","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Api-Key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7aa4e861-9f38-41e7-b3d8-1e84d40ffe6b","id":"7aa4e861-9f38-41e7-b3d8-1e84d40ffe6b","name":"Paysgator API","type":"collection"}}}],"id":"aae5304e-1492-41a5-afcb-8327ebd61cc8","_postman_id":"aae5304e-1492-41a5-afcb-8327ebd61cc8","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Api-Key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7aa4e861-9f38-41e7-b3d8-1e84d40ffe6b","id":"7aa4e861-9f38-41e7-b3d8-1e84d40ffe6b","name":"Paysgator API","type":"collection"}}},{"name":"wallet","item":[{"name":"balance","item":[{"name":"Get Wallet Balance","id":"d84d8d36-345d-44da-825c-63c55a6d7986","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://paysgator.com/api/v1/wallet/balance","description":"<p>Retrieves the balance for the wallet associated with the API key</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Api-Key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7aa4e861-9f38-41e7-b3d8-1e84d40ffe6b","id":"7aa4e861-9f38-41e7-b3d8-1e84d40ffe6b","name":"Paysgator API","type":"collection"}},"urlObject":{"path":["wallet","balance"],"host":["https://paysgator.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"6a3f2a20-62af-41dc-9d78-dfdcf97e25e5","name":"Wallet balance retrieved successfully","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"X-Api-Key","value":"<API Key>"}],"url":"https://paysgator.com/api/v1/wallet/balance"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"walletId\": \"<uuid>\",\n  \"currency\": \"<string>\",\n  \"balance\": \"<string>\",\n  \"mode\": \"TEST\"\n}"},{"id":"fd5a8ac3-b12b-449e-92e4-5f77100465f0","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"X-Api-Key","value":"<API Key>"}],"url":"https://paysgator.com/api/v1/wallet/balance"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"message\": \"<string>\",\n    \"code\": \"WALLET_NOT_FOUND\"\n  }\n}"},{"id":"84faaa80-2e82-4cf5-a6fd-0bc76e894f30","name":"Wallet not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"X-Api-Key","value":"<API Key>"}],"url":"https://paysgator.com/api/v1/wallet/balance"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"message\": \"<string>\",\n    \"code\": \"WALLET_NOT_FOUND\"\n  }\n}"},{"id":"e62277b3-7e9e-4067-9e9d-8bb14f705a0d","name":"Internal server error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"X-Api-Key","value":"<API Key>"}],"url":"https://paysgator.com/api/v1/wallet/balance"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"message\": \"<string>\",\n    \"code\": \"WALLET_NOT_FOUND\"\n  }\n}"}],"_postman_id":"d84d8d36-345d-44da-825c-63c55a6d7986"}],"id":"8a7c6480-9726-42de-abbb-4f7aa800eb92","_postman_id":"8a7c6480-9726-42de-abbb-4f7aa800eb92","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Api-Key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7aa4e861-9f38-41e7-b3d8-1e84d40ffe6b","id":"7aa4e861-9f38-41e7-b3d8-1e84d40ffe6b","name":"Paysgator API","type":"collection"}}}],"id":"661ed33c-91c9-4104-b1c6-ae418fdc0d66","_postman_id":"661ed33c-91c9-4104-b1c6-ae418fdc0d66","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Api-Key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7aa4e861-9f38-41e7-b3d8-1e84d40ffe6b","id":"7aa4e861-9f38-41e7-b3d8-1e84d40ffe6b","name":"Paysgator API","type":"collection"}}},{"name":"transactions","item":[{"name":"{id}","item":[{"name":"Get Transaction","id":"306518ad-ccfe-4440-8d7c-bb7076303831","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://paysgator.com/api/v1/transactions/:id","description":"<p>Retrieves details of a specific transaction</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Api-Key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7aa4e861-9f38-41e7-b3d8-1e84d40ffe6b","id":"7aa4e861-9f38-41e7-b3d8-1e84d40ffe6b","name":"Paysgator API","type":"collection"}},"urlObject":{"path":["transactions",":id"],"host":["https://paysgator.com/api/v1"],"query":[],"variable":[{"id":"e4307dd6-156e-487b-bbb6-207ceb15c550","description":{"content":"<p>(Required) Transaction ID</p>\n","type":"text/plain"},"type":"any","value":"<uuid>","key":"id"}]}},"response":[{"id":"36405717-bfd6-4057-8cee-09b20f6e3052","name":"Transaction retrieved successfully","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"X-Api-Key","value":"<API Key>"}],"url":{"raw":"https://paysgator.com/api/v1/transactions/:id","host":["https://paysgator.com/api/v1"],"path":["transactions",":id"],"variable":[{"key":"id","value":"<uuid>","description":"(Required) Transaction ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<uuid>\",\n  \"amount\": \"<double>\",\n  \"currency\": \"<string>\",\n  \"status\": \"PENDING\",\n  \"createdAt\": \"<dateTime>\",\n  \"mode\": \"TEST\",\n  \"method\": \"<string>\",\n  \"description\": \"<string>\"\n}"},{"id":"5063e0e4-db79-435c-847c-182fe5c28b99","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"X-Api-Key","value":"<API Key>"}],"url":{"raw":"https://paysgator.com/api/v1/transactions/:id","host":["https://paysgator.com/api/v1"],"path":["transactions",":id"],"variable":[{"key":"id","value":"<uuid>","description":"(Required) Transaction ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"message\": \"<string>\",\n    \"code\": \"WALLET_NOT_FOUND\"\n  }\n}"},{"id":"d8524ad5-bdeb-44d3-b1b1-cf0ac7871cb4","name":"Transaction not found or mode mismatch","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"X-Api-Key","value":"<API Key>"}],"url":{"raw":"https://paysgator.com/api/v1/transactions/:id","host":["https://paysgator.com/api/v1"],"path":["transactions",":id"],"variable":[{"key":"id","value":"<uuid>","description":"(Required) Transaction ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"message\": \"<string>\",\n    \"code\": \"WALLET_NOT_FOUND\"\n  }\n}"},{"id":"bdfecfcd-ae07-4e5b-9326-aa9fa0ecd305","name":"Internal server error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"X-Api-Key","value":"<API Key>"}],"url":{"raw":"https://paysgator.com/api/v1/transactions/:id","host":["https://paysgator.com/api/v1"],"path":["transactions",":id"],"variable":[{"key":"id","value":"<uuid>","description":"(Required) Transaction ID"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"message\": \"<string>\",\n    \"code\": \"WALLET_NOT_FOUND\"\n  }\n}"}],"_postman_id":"306518ad-ccfe-4440-8d7c-bb7076303831"}],"id":"30e0b7ab-5e4c-4db6-a022-192a526b8abd","_postman_id":"30e0b7ab-5e4c-4db6-a022-192a526b8abd","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Api-Key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7aa4e861-9f38-41e7-b3d8-1e84d40ffe6b","id":"7aa4e861-9f38-41e7-b3d8-1e84d40ffe6b","name":"Paysgator API","type":"collection"}}}],"id":"84c1365e-8712-4dca-934e-0daa5622d56b","_postman_id":"84c1365e-8712-4dca-934e-0daa5622d56b","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Api-Key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7aa4e861-9f38-41e7-b3d8-1e84d40ffe6b","id":"7aa4e861-9f38-41e7-b3d8-1e84d40ffe6b","name":"Paysgator API","type":"collection"}}},{"name":"subscription","item":[{"name":"create","item":[{"name":"Create Subscription","id":"260900cf-a168-49e0-8f6f-bbe1dfe7d2c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"planId\": \"<uuid>\",\n  \"customerEmail\": \"<email>\",\n  \"customerName\": \"<string>\",\n  \"metadata\": {\n    \"key_0\": 9898,\n    \"key_1\": 3439.7106944282086\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://paysgator.com/api/v1/subscription/create","description":"<p>Initiates a new subscription in PAUSED state and returns a checkout URL</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Api-Key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7aa4e861-9f38-41e7-b3d8-1e84d40ffe6b","id":"7aa4e861-9f38-41e7-b3d8-1e84d40ffe6b","name":"Paysgator API","type":"collection"}},"urlObject":{"path":["subscription","create"],"host":["https://paysgator.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"6e1a947d-87f6-43d8-9c33-fced9ab36225","name":"Subscription created successfully","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"X-Api-Key","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"planId\": \"<uuid>\",\n  \"customerEmail\": \"<email>\",\n  \"customerName\": \"<string>\",\n  \"metadata\": {\n    \"key_0\": 9898,\n    \"key_1\": 3439.7106944282086\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://paysgator.com/api/v1/subscription/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": \"<boolean>\",\n  \"data\": {\n    \"subscriptionId\": \"<uuid>\",\n    \"checkoutUrl\": \"<uri>\",\n    \"status\": \"<string>\"\n  }\n}"},{"id":"a9653f71-2b67-4404-a545-65b5b2c0648b","name":"Bad request - missing fields or invalid plan","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"X-Api-Key","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"planId\": \"<uuid>\",\n  \"customerEmail\": \"<email>\",\n  \"customerName\": \"<string>\",\n  \"metadata\": {\n    \"key_0\": 9898,\n    \"key_1\": 3439.7106944282086\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://paysgator.com/api/v1/subscription/create"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"message\": \"<string>\",\n    \"code\": \"WALLET_NOT_FOUND\"\n  }\n}"},{"id":"d564f210-ad4b-47e9-ad7f-25c361c0a5cb","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"X-Api-Key","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"planId\": \"<uuid>\",\n  \"customerEmail\": \"<email>\",\n  \"customerName\": \"<string>\",\n  \"metadata\": {\n    \"key_0\": 9898,\n    \"key_1\": 3439.7106944282086\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://paysgator.com/api/v1/subscription/create"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"message\": \"<string>\",\n    \"code\": \"WALLET_NOT_FOUND\"\n  }\n}"},{"id":"556014b0-7a9f-4997-b8d1-356f415f49fb","name":"Plan not found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"X-Api-Key","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"planId\": \"<uuid>\",\n  \"customerEmail\": \"<email>\",\n  \"customerName\": \"<string>\",\n  \"metadata\": {\n    \"key_0\": 9898,\n    \"key_1\": 3439.7106944282086\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://paysgator.com/api/v1/subscription/create"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"message\": \"<string>\",\n    \"code\": \"WALLET_NOT_FOUND\"\n  }\n}"},{"id":"24b0ed82-283a-47d9-9810-2f5450ded9f3","name":"Internal server error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"X-Api-Key","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"planId\": \"<uuid>\",\n  \"customerEmail\": \"<email>\",\n  \"customerName\": \"<string>\",\n  \"metadata\": {\n    \"key_0\": 9898,\n    \"key_1\": 3439.7106944282086\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://paysgator.com/api/v1/subscription/create"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"message\": \"<string>\",\n    \"code\": \"WALLET_NOT_FOUND\"\n  }\n}"}],"_postman_id":"260900cf-a168-49e0-8f6f-bbe1dfe7d2c7"}],"id":"84d7e2cb-1a40-4cc1-a1e1-da4de81b96fe","_postman_id":"84d7e2cb-1a40-4cc1-a1e1-da4de81b96fe","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Api-Key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7aa4e861-9f38-41e7-b3d8-1e84d40ffe6b","id":"7aa4e861-9f38-41e7-b3d8-1e84d40ffe6b","name":"Paysgator API","type":"collection"}}},{"name":"{id}","item":[{"name":"Get Subscription","id":"2aa8919d-984c-48db-ad3e-51ce4e5a6fbf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://paysgator.com/api/v1/subscription/:id","description":"<p>Retrieves details of a specific subscription</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Api-Key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7aa4e861-9f38-41e7-b3d8-1e84d40ffe6b","id":"7aa4e861-9f38-41e7-b3d8-1e84d40ffe6b","name":"Paysgator API","type":"collection"}},"urlObject":{"path":["subscription",":id"],"host":["https://paysgator.com/api/v1"],"query":[],"variable":[{"id":"601e5e36-28db-4170-b503-14be25a53043","description":{"content":"<p>(Required) Subscription ID</p>\n","type":"text/plain"},"type":"any","value":"<uuid>","key":"id"}]}},"response":[{"id":"2ebf199e-0984-4d9c-901f-e08ec0415a83","name":"Subscription details retrieved successfully","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"X-Api-Key","value":"<API Key>"}],"url":{"raw":"https://paysgator.com/api/v1/subscription/:id","host":["https://paysgator.com/api/v1"],"path":["subscription",":id"],"variable":[{"key":"id","value":"<uuid>","description":"(Required) Subscription ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": \"<boolean>\",\n  \"data\": {\n    \"id\": \"<uuid>\",\n    \"planId\": \"<uuid>\",\n    \"customerEmail\": \"<email>\",\n    \"status\": \"CANCELED\",\n    \"currentPeriodStart\": \"<dateTime>\",\n    \"currentPeriodEnd\": \"<dateTime>\",\n    \"createdAt\": \"<dateTime>\",\n    \"customerId\": \"<string>\",\n    \"customerName\": \"<string>\",\n    \"cancelAtPeriodEnd\": \"<boolean>\",\n    \"lastPaymentId\": \"<string>\",\n    \"updatedAt\": \"<dateTime>\",\n    \"plan\": {\n      \"id\": \"<uuid>\",\n      \"name\": \"<string>\",\n      \"amount\": \"<string>\",\n      \"currency\": \"<string>\",\n      \"interval\": \"<string>\",\n      \"description\": \"<string>\"\n    }\n  }\n}"},{"id":"ae9d20d9-5a5e-4190-83f5-7cb43c669af2","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-Api-Key","value":"<API Key>"}],"url":{"raw":"https://paysgator.com/api/v1/subscription/:id","host":["https://paysgator.com/api/v1"],"path":["subscription",":id"],"variable":[{"key":"id","value":"<uuid>","description":"(Required) Subscription ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"5e05e21d-e4ce-4d05-89b7-0db2dab0487d","name":"Forbidden - unauthorized access to this subscription","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-Api-Key","value":"<API Key>"}],"url":{"raw":"https://paysgator.com/api/v1/subscription/:id","host":["https://paysgator.com/api/v1"],"path":["subscription",":id"],"variable":[{"key":"id","value":"<uuid>","description":"(Required) Subscription ID"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"ba30b3d1-d61c-4545-afb1-424ad21f4b9d","name":"Subscription not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-Api-Key","value":"<API Key>"}],"url":{"raw":"https://paysgator.com/api/v1/subscription/:id","host":["https://paysgator.com/api/v1"],"path":["subscription",":id"],"variable":[{"key":"id","value":"<uuid>","description":"(Required) Subscription ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"a473c77d-b145-4338-a3f3-8032dda9161a","name":"Internal server error","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-Api-Key","value":"<API Key>"}],"url":{"raw":"https://paysgator.com/api/v1/subscription/:id","host":["https://paysgator.com/api/v1"],"path":["subscription",":id"],"variable":[{"key":"id","value":"<uuid>","description":"(Required) Subscription ID"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"2aa8919d-984c-48db-ad3e-51ce4e5a6fbf"}],"id":"c43cd1c7-cff1-4cfd-977a-548ef20e39f6","_postman_id":"c43cd1c7-cff1-4cfd-977a-548ef20e39f6","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Api-Key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7aa4e861-9f38-41e7-b3d8-1e84d40ffe6b","id":"7aa4e861-9f38-41e7-b3d8-1e84d40ffe6b","name":"Paysgator API","type":"collection"}}}],"id":"59f0bc88-e688-4cb1-b92b-533242081646","_postman_id":"59f0bc88-e688-4cb1-b92b-533242081646","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Api-Key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7aa4e861-9f38-41e7-b3d8-1e84d40ffe6b","id":"7aa4e861-9f38-41e7-b3d8-1e84d40ffe6b","name":"Paysgator API","type":"collection"}}},{"name":"subscriptions","item":[{"name":"{id}","item":[{"name":"Update Subscription","id":"04f644a1-a788-456e-af08-52df71211b66","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"action\": \"pause\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://paysgator.com/api/v1/subscriptions/:id","description":"<p>Updates a subscription status (cancel, pause, resume)</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Api-Key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7aa4e861-9f38-41e7-b3d8-1e84d40ffe6b","id":"7aa4e861-9f38-41e7-b3d8-1e84d40ffe6b","name":"Paysgator API","type":"collection"}},"urlObject":{"path":["subscriptions",":id"],"host":["https://paysgator.com/api/v1"],"query":[],"variable":[{"id":"374dfd56-5d63-4a9f-9997-1e8f7a14a251","description":{"content":"<p>(Required) Subscription ID</p>\n","type":"text/plain"},"type":"any","value":"<uuid>","key":"id"}]}},"response":[{"id":"9dacd9cc-7ebd-4882-8f37-b91775ac1101","name":"Subscription updated successfully","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"X-Api-Key","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"action\": \"pause\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://paysgator.com/api/v1/subscriptions/:id","host":["https://paysgator.com/api/v1"],"path":["subscriptions",":id"],"variable":[{"key":"id","value":"<uuid>","description":"(Required) Subscription ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<uuid>\",\n  \"status\": \"ACTIVE\",\n  \"customerEmail\": \"<email>\",\n  \"currentPeriodEnd\": \"<dateTime>\"\n}"},{"id":"85d829f4-8758-4e48-b0f4-c35e4d36f590","name":"Invalid action","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"X-Api-Key","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"action\": \"pause\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://paysgator.com/api/v1/subscriptions/:id","host":["https://paysgator.com/api/v1"],"path":["subscriptions",":id"],"variable":[{"key":"id","value":"<uuid>","description":"(Required) Subscription ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"message\": \"<string>\",\n    \"code\": \"WALLET_NOT_FOUND\"\n  }\n}"},{"id":"02e3b601-3b26-4bde-93d4-3345d86e4bca","name":"Unauthorized","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"X-Api-Key","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"action\": \"pause\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://paysgator.com/api/v1/subscriptions/:id","host":["https://paysgator.com/api/v1"],"path":["subscriptions",":id"],"variable":[{"key":"id","value":"<uuid>","description":"(Required) Subscription ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"message\": \"<string>\",\n    \"code\": \"WALLET_NOT_FOUND\"\n  }\n}"},{"id":"382cd169-bf16-4cde-92e8-e24a8b0c61f5","name":"Forbidden - unauthorized access to subscription","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"X-Api-Key","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"action\": \"pause\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://paysgator.com/api/v1/subscriptions/:id","host":["https://paysgator.com/api/v1"],"path":["subscriptions",":id"],"variable":[{"key":"id","value":"<uuid>","description":"(Required) Subscription ID"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"message\": \"<string>\",\n    \"code\": \"WALLET_NOT_FOUND\"\n  }\n}"},{"id":"dd48b87b-b2b3-4cc6-8466-69755bab07fa","name":"Subscription not found","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"X-Api-Key","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"action\": \"pause\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://paysgator.com/api/v1/subscriptions/:id","host":["https://paysgator.com/api/v1"],"path":["subscriptions",":id"],"variable":[{"key":"id","value":"<uuid>","description":"(Required) Subscription ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"message\": \"<string>\",\n    \"code\": \"WALLET_NOT_FOUND\"\n  }\n}"},{"id":"ad0c2c2a-8784-409c-8b43-8c304842468b","name":"Internal server error","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"X-Api-Key","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"action\": \"pause\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://paysgator.com/api/v1/subscriptions/:id","host":["https://paysgator.com/api/v1"],"path":["subscriptions",":id"],"variable":[{"key":"id","value":"<uuid>","description":"(Required) Subscription ID"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"message\": \"<string>\",\n    \"code\": \"WALLET_NOT_FOUND\"\n  }\n}"}],"_postman_id":"04f644a1-a788-456e-af08-52df71211b66"}],"id":"2bdf9528-2e6a-4fc0-a947-c2f9b43e6d63","_postman_id":"2bdf9528-2e6a-4fc0-a947-c2f9b43e6d63","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Api-Key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7aa4e861-9f38-41e7-b3d8-1e84d40ffe6b","id":"7aa4e861-9f38-41e7-b3d8-1e84d40ffe6b","name":"Paysgator API","type":"collection"}}},{"name":"List Subscriptions","id":"089aa26a-1f3e-466f-ba74-a939d0f34c4c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://paysgator.com/api/v1/subscriptions?customerEmail=<email>&status=PAST_DUE&planId=<uuid>","description":"<p>Lists all subscriptions for the company</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Api-Key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7aa4e861-9f38-41e7-b3d8-1e84d40ffe6b","id":"7aa4e861-9f38-41e7-b3d8-1e84d40ffe6b","name":"Paysgator API","type":"collection"}},"urlObject":{"path":["subscriptions"],"host":["https://paysgator.com/api/v1"],"query":[{"key":"customerEmail","value":"<email>"},{"description":{"content":"<p> (This can only be one of ACTIVE,CANCELED,PAST_DUE,PAUSED)</p>\n","type":"text/plain"},"key":"status","value":"PAST_DUE"},{"key":"planId","value":"<uuid>"}],"variable":[]}},"response":[{"id":"3f372c57-89c7-43b5-9133-828debfe5370","name":"Subscriptions retrieved successfully","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"X-Api-Key","value":"<API Key>"}],"url":{"raw":"https://paysgator.com/api/v1/subscriptions?customerEmail=<email>&status=PAST_DUE&planId=<uuid>","host":["https://paysgator.com/api/v1"],"path":["subscriptions"],"query":[{"key":"customerEmail","value":"<email>"},{"description":" (This can only be one of ACTIVE,CANCELED,PAST_DUE,PAUSED)","key":"status","value":"PAST_DUE"},{"key":"planId","value":"<uuid>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": \"<boolean>\",\n  \"data\": [\n    {\n      \"id\": \"<uuid>\",\n      \"planId\": \"<uuid>\",\n      \"customerEmail\": \"<email>\",\n      \"status\": \"CANCELED\",\n      \"currentPeriodStart\": \"<dateTime>\",\n      \"currentPeriodEnd\": \"<dateTime>\",\n      \"createdAt\": \"<dateTime>\",\n      \"customerId\": \"<string>\",\n      \"customerName\": \"<string>\",\n      \"cancelAtPeriodEnd\": \"<boolean>\",\n      \"lastPaymentId\": \"<string>\",\n      \"updatedAt\": \"<dateTime>\",\n      \"plan\": {\n        \"id\": \"<uuid>\",\n        \"name\": \"<string>\",\n        \"amount\": \"<string>\",\n        \"currency\": \"<string>\",\n        \"interval\": \"<string>\",\n        \"description\": \"<string>\"\n      }\n    },\n    {\n      \"id\": \"<uuid>\",\n      \"planId\": \"<uuid>\",\n      \"customerEmail\": \"<email>\",\n      \"status\": \"PAST_DUE\",\n      \"currentPeriodStart\": \"<dateTime>\",\n      \"currentPeriodEnd\": \"<dateTime>\",\n      \"createdAt\": \"<dateTime>\",\n      \"customerId\": \"<string>\",\n      \"customerName\": \"<string>\",\n      \"cancelAtPeriodEnd\": \"<boolean>\",\n      \"lastPaymentId\": \"<string>\",\n      \"updatedAt\": \"<dateTime>\",\n      \"plan\": {\n        \"id\": \"<uuid>\",\n        \"name\": \"<string>\",\n        \"amount\": \"<string>\",\n        \"currency\": \"<string>\",\n        \"interval\": \"<string>\",\n        \"description\": \"<string>\"\n      }\n    }\n  ]\n}"},{"id":"ad237584-d662-46ba-a053-020b14ed0c7d","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-Api-Key","value":"<API Key>"}],"url":{"raw":"https://paysgator.com/api/v1/subscriptions?customerEmail=<email>&status=PAST_DUE&planId=<uuid>","host":["https://paysgator.com/api/v1"],"path":["subscriptions"],"query":[{"key":"customerEmail","value":"<email>"},{"description":" (This can only be one of ACTIVE,CANCELED,PAST_DUE,PAUSED)","key":"status","value":"PAST_DUE"},{"key":"planId","value":"<uuid>"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"9a3dd392-140d-4c68-b054-778e46ea7a09","name":"Internal server error","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-Api-Key","value":"<API Key>"}],"url":{"raw":"https://paysgator.com/api/v1/subscriptions?customerEmail=<email>&status=PAST_DUE&planId=<uuid>","host":["https://paysgator.com/api/v1"],"path":["subscriptions"],"query":[{"key":"customerEmail","value":"<email>"},{"description":" (This can only be one of ACTIVE,CANCELED,PAST_DUE,PAUSED)","key":"status","value":"PAST_DUE"},{"key":"planId","value":"<uuid>"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"089aa26a-1f3e-466f-ba74-a939d0f34c4c"}],"id":"51a96540-7b40-456d-a590-3939b2c4d894","_postman_id":"51a96540-7b40-456d-a590-3939b2c4d894","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Api-Key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7aa4e861-9f38-41e7-b3d8-1e84d40ffe6b","id":"7aa4e861-9f38-41e7-b3d8-1e84d40ffe6b","name":"Paysgator API","type":"collection"}}}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-Api-Key"},{"key":"value","value":"{{apiKey}}"}]}},"variable":[{"key":"baseUrl","value":"https://paysgator.com/api/v1"}]}