{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"f69a7b54-98b7-4dfc-af1d-99946638e300","name":"DigetPay Integrations","description":"# **DigetPay Payment Gateway APIs**\n\nThis Postman collection provides a complete set of APIs for integrating with the **DigetPay Payment Gateway**, enabling merchants and businesses to securely accept, process, and manage online payments.\n\nDigetPay provides multiple integration methods, including **Hosted Checkout** and **Server-to-Server (S2S)**, allowing merchants to choose the integration approach that best fits their business and technical requirements.\n\n---\n\n## **What This Collection Covers**\n\nThis collection includes APIs for:\n\n- Hosted Checkout payment initiation\n    \n- Server-to-Server (S2S) payment processing\n    \n- Payment status and transaction inquiries\n    \n- Transaction operations such as **Capture, Refund, and Void**\n    \n- Recurring payments\n    \n- Webhook and payment notifications\n    \n\n---\n\n## **Integration Types**\n\n### **Hosted Checkout**\n\nA redirect-based integration where the customer is redirected to the **DigetPay Hosted Checkout** page to securely complete the payment.\n\nDigetPay handles the payment interface and security-related payment processing, providing a simple and secure integration experience for merchants.\n\n### **Server-to-Server (S2S)**\n\nA direct API integration where the merchant's backend communicates with DigetPay APIs to initiate and manage payment transactions.\n\nThis integration provides merchants with greater control over the payment flow and transaction processing.\n\n---\n\n## **Authentication**\n\nAll authenticated API requests must include a valid API key in the request header:\n\n```\nX-API-KEY: <Your API Key>\n\n ```\n\nFor testing, use the API key provided for your **Sandbox/Test environment**.\n\n**Note:** API keys are environment-specific. A Sandbox API key cannot be used with Production APIs, and a Production API key cannot be used with Sandbox APIs.\n\n---\n\n## **Environments**\n\n### **Sandbox / Test Environment**\n\nUse the Sandbox environment for development, integration, and testing:\n\n```\nhttps://fin-api.digetpay.com\n\n ```\n\n### **Production Environment**\n\nOnce your integration has been successfully tested and approved for production, use the Production environment:\n\n```\nhttps://api.digetpay.com\n\n ```\n\n> &lt;p &gt;Make sure to use the API key associated with the corresponding environment.&lt;/p&gt; \n  \n\n---\n\n## **Important Notes**\n\n- Always test your integration in the **Sandbox environment** before moving to Production.\n    \n- Use a **unique** **`order_id`** for each payment transaction.\n    \n- Configure a **Webhook URL** to receive transaction status updates.\n    \n- Keep your API keys secure and never expose them in client-side applications.\n    \n- Production credentials should only be used after completing the required testing and approval process.\n    \n- Make sure your integration handles successful, failed, cancelled, and pending transactions appropriately.\n    \n\n---\n\n## **Recommended Testing Flow**\n\nFor a complete integration test, we recommend testing the following scenarios:\n\n1. ```\n            Initiate a payment.  \n            \n           \n          \n         \n        \n       \n      \n     \n    \n     ```\n    \n2. ```\n            Complete a successful transaction.  \n            \n           \n          \n         \n        \n       \n      \n     \n    \n     ```\n    \n3. ```\n            Verify the transaction status.  \n            \n           \n          \n         \n        \n       \n      \n     \n    \n     ```\n    \n4. ```\n            Validate webhook notifications.  \n            \n           \n          \n         \n        \n       \n      \n     \n    \n     ```\n    \n5. ```\n            Test failed and declined transactions.  \n            \n           \n          \n         \n        \n       \n      \n     \n    \n     ```\n    \n6. ```\n            Test transaction operations such as Capture, Refund, and Void where applicable.  \n            \n           \n          \n         \n        \n       \n      \n     \n    \n     ```\n    \n7. ```\n            Test recurring payments if enabled for your merchant account.  \n            \n           \n          \n         \n        \n       \n      \n     \n    \n     ```\n    \n8. ```\n            Verify the integration using the Production environment after successful Sandbox testing.\n            \n           \n          \n         \n        \n       \n      \n     \n    \n     ```\n    \n\nEndFragment","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"43817994","team":7185305,"collectionId":"f69a7b54-98b7-4dfc-af1d-99946638e300","publishedId":"2sBYApxsKu","public":true,"publicUrl":"https://documenter-api.postman.tech/view/43817994/2sBYApxsKu","privateUrl":"https://go.postman.co/documentation/43817994-f69a7b54-98b7-4dfc-af1d-99946638e300","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"documentationLayout":"classic-double-column","customisation":{"metaTags":[{"name":"description","value":""},{"name":"title","value":""}],"appearance":{"default":"light","themes":[{"name":"dark","logo":"https://content.pstmn.io/2692984d-9efd-4e90-9307-58b713ddbda2/TG9nby1EaWdldHBheS5wbmc=","colors":{"top-bar":"212121","right-sidebar":"303030","highlight":"FF6C37"}},{"name":"light","logo":"https://content.pstmn.io/2692984d-9efd-4e90-9307-58b713ddbda2/TG9nby1EaWdldHBheS5wbmc=","colors":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"}}]}},"version":"8.12.7","publishDate":"2026-08-13T12:34:24.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{"title":"","description":""},"logos":{"logoLight":"https://content.pstmn.io/2692984d-9efd-4e90-9307-58b713ddbda2/TG9nby1EaWdldHBheS5wbmc=","logoDark":"https://content.pstmn.io/2692984d-9efd-4e90-9307-58b713ddbda2/TG9nby1EaWdldHBheS5wbmc="}},"statusCode":200},"environments":[{"name":"New Environment","id":"2c02e182-e188-4d11-9a95-60c9a5489d98","owner":"43817994","values":[{"key":"session_hash","value":"","enabled":true,"type":"default"}],"published":true}],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/003f4dd4edb40cb8dc0974035545586e8078b2ec5be0ffd694dca99ff6214237","favicon":""},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"},{"label":"New Environment","value":"43817994-2c02e182-e188-4d11-9a95-60c9a5489d98"}],"canonicalUrl":"https://documenter.gw.postman.com/view/metadata/2sBYApxsKu"}