DigetPay Merchant API

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

EndpointDescription
Create Payment LinkHosted checkout session — returns redirectUrl
Query Transaction StatusLive status for a checkout session (sessionId)
Process RefundFull or partial refund

Embedded Integration (S2S)

EndpointDescription
Embedded Direct SaleServer-to-server card sale
Embedded CaptureCapture an authorized sale
Embedded VoidVoid before capture
Embedded Recurring ChargeRecurring charge using stored token
Embedded Status PollPoll embedded payment status

Payment Link

EndpointDescription
Create Payment LinkHosted checkout session — returns redirectUrl

Webhooks

EndpointDescription
List WebhooksList configured webhook URLs
Create WebhookRegister a webhook endpoint
Update WebhookUpdate webhook URL or events
Delete WebhookRemove a webhook

Account & SDK

EndpointDescription
Get API CredentialsView merchant API keys
Rotate API KeyRotate an API key
List SDK TokensList terminal SDK tokens
Generate SDK TokenCreate a new SDK token
Update SDK Token StatusEnable or disable a token