All payment, transaction, webhook, and account APIs.
DigetPay Merchant API
All 18 endpoints are listed below. Use Try It on any page with your x-api-key.
Fin staging base URL: https://fin-api.digetpay.com/v1
Integration overview
sequenceDiagram
autonumber
participant M as Your Server
participant D as DigetPay API
participant C as Customer
rect rgb(240, 248, 255)
Note over M,C: Checkout — hosted payment page
M->>D: POST /payment/checkout/intiate
D-->>M: redirectUrl
M->>C: Redirect customer
end
rect rgb(255, 248, 240)
Note over M,C: Embedded S2S — card on your server
M->>D: POST /payment/s2s/sale (+ hash)
D-->>M: paymentId (+ 3DS html if needed)
end
rect rgb(240, 255, 240)
Note over M,D: After payment
M->>D: GET /payment/checkout/status?sessionId=...
M->>D: POST /payment/refund (optional)
end
Checkout Integration
| Endpoint | Description |
|---|---|
| Create Payment Link | Hosted checkout session — returns redirectUrl |
| Query Transaction Status | Live status for a checkout session (sessionId) |
| Process Refund | Full or partial refund |
Embedded Integration (S2S)
| Endpoint | Description |
|---|---|
| Embedded Direct Sale | Server-to-server card sale |
| Embedded Capture | Capture an authorized sale |
| Embedded Void | Void before capture |
| Embedded Recurring Charge | Recurring charge using stored token |
| Embedded Status Poll | Poll embedded payment status |
Payment Link
| Endpoint | Description |
|---|---|
| Create Payment Link | Hosted checkout session — returns redirectUrl |
Webhooks
| Endpoint | Description |
|---|---|
| List Webhooks | List configured webhook URLs |
| Create Webhook | Register a webhook endpoint |
| Update Webhook | Update webhook URL or events |
| Delete Webhook | Remove a webhook |
Account & SDK
| Endpoint | Description |
|---|---|
| Get API Credentials | View merchant API keys |
| Rotate API Key | Rotate an API key |
| List SDK Tokens | List terminal SDK tokens |
| Generate SDK Token | Create a new SDK token |
| Update SDK Token Status | Enable or disable a token |
