Postman Collection
Import the DigetPay Fin Postman collection and environment.
API Documentation
Explore the complete DigetPay API documentation with detailed endpoints, request parameters, authentication requirements, JSON examples, and Success / Failed responses.
The documentation covers both Hosted Checkout and S2S APIs and provides ready-to-use examples for testing and integration.
Import the official DigetPay Postman collection to test the available merchant APIs using ready-to-use requests, JSON payloads, and example responses.
The collection is organized by integration type, making it easy to test both Hosted Checkout and S2S payment flows in the Fin staging environment.
The Postman collection uses the same API endpoints, request parameters, and response structures documented in the DigetPay API documentation.
Each API includes example requests and Success / Failed response examples to help you test and troubleshoot your integration.
Collection Structure
The collection is organized into the following API groups:
Checkout
Hosted Checkout APIs allow you to create and manage payment sessions where the customer is redirected to the DigetPay-hosted checkout page.
Available APIs:
- Initiate — Create a Hosted Checkout payment session and receive a
redirectUrl. - Recurring — Charge a customer using a previously generated recurring token.
- Refund — Refund a previously completed Checkout transaction.
- Status — Retrieve the latest status of a Checkout transaction.
S2S
S2S APIs allow merchants to process and manage payments directly from their own server.
Available APIs:
- Sale — Process a payment directly from your server.
- Authorization — Authorize a payment without capturing the funds immediately.
- Capture — Capture funds from a previously authorized transaction.
- Void — Release an uncaptured authorization.
- Refund — Refund a previously completed transaction.
- Recurring — Charge a customer using a previously generated recurring token.
Files
Download the official Postman collection and environment from the DigetPay staging backend repository:
DigetPay-Fin.postman_collection.jsonDigetPay-Fin.postman_environment.json
Or access the files from GitHub:
DigetPay staging backend — docs/postman
Import Steps
- Open Postman.
- Select Import.
- Import the
DigetPay-Fin.postman_collection.jsonfile. - Import the
DigetPay-Fin.postman_environment.jsonfile. - Select the DigetPay Fin environment.
- Set your
apiKeyto a valid DigetPay Fin staging API key. - Select the imported DigetPay collection and start testing.
Important: Use your Fin staging API key only.
Never import production API keys into shared Postman workspaces or commit them to source control.
Environment Variables
The Postman environment contains the variables required to run the collection.
| Variable | Purpose |
|---|---|
baseUrl | DigetPay Fin staging API base URL |
apiKey | DigetPay merchant API key |
sessionId | Hosted Checkout session identifier |
gatewayTransactionId | Gateway transaction ID used for Checkout status and refund operations |
transactionId | Transaction ID used by S2S operations |
recurringToken | Token used for recurring payment requests |
refundAmount | Amount to refund |
Environment Example
{
"baseUrl": "https://fin-api.digetpay.com/v1",
"apiKey": "YOUR_STAGING_API_KEY",
"sessionId": "",
"gatewayTransactionId": "",
"transactionId": "",
"recurringToken": "",
"refundAmount": "0.20"
}Updated about 1 month ago

