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.

Open DigetPay Integrations →

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.json
  • DigetPay-Fin.postman_environment.json

Or access the files from GitHub:

DigetPay staging backend — docs/postman


Import Steps

  1. Open Postman.
  2. Select Import.
  3. Import the DigetPay-Fin.postman_collection.json file.
  4. Import the DigetPay-Fin.postman_environment.json file.
  5. Select the DigetPay Fin environment.
  6. Set your apiKey to a valid DigetPay Fin staging API key.
  7. 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.

VariablePurpose
baseUrlDigetPay Fin staging API base URL
apiKeyDigetPay merchant API key
sessionIdHosted Checkout session identifier
gatewayTransactionIdGateway transaction ID used for Checkout status and refund operations
transactionIdTransaction ID used by S2S operations
recurringTokenToken used for recurring payment requests
refundAmountAmount to refund

Environment Example

{
  "baseUrl": "https://fin-api.digetpay.com/v1",
  "apiKey": "YOUR_STAGING_API_KEY",
  "sessionId": "",
  "gatewayTransactionId": "",
  "transactionId": "",
  "recurringToken": "",
  "refundAmount": "0.20"
}

Did this page help you?