---
title: "Create PDN"
method: POST
path: "/subscription/pdn"
tags: ["PDN"]
---

# Create PDN

`POST /subscription/pdn`

## Request

- Base URL: `https://services.jiopay.co.in/api`
- URL: `https://services.jiopay.co.in/api/subscription/pdn`
- Auth: none required

Sends the mandatory pre-debit notification(s) to the customer ahead of an execution.

## Request body

- CreatePDNRequest: Sends pre-debit notifications ahead of execution. client_id sits at the top level; notification items are wrapped in a pdns array.
  - `client_id` string, required: Client identifier.
  - `pdns` PDNItem[], required
    - `subscription_refid` string, required: Subscription reference ID the notification relates to.
    - `amount` string: Notification amount.
    - `note` string: Free-text note.
    - `executionDate` string, required: Scheduled execution date/time (YYYY-MM-DD HH:mm:ss).
    - `merchant_txn_no` string, required: Merchant transaction number for this notification. Confirmed snake_case (supersedes an earlier camelCase merchantTxnNo seen elsewhere).
    - `send_email` 'Y' | 'N': Trigger an email notification for this request.
    - `send_sms` 'Y' | 'N': Trigger an SMS notification for this request.

## Response `200`

OK

- CreatePDNResponse
  - `statusCode` integer
  - `statusDesc` string
  - `summary` BatchSummary: Bulk-submission counters.
    - `total` integer
    - `success` integer
    - `failed` integer
    - `pending` integer: Count of items left pending in the batch (seen on Initiate Mandate; not present in every batch endpoint's response).
  - `results` PDNCreateResultItem[]
    - `statusCode` integer
    - `statusDesc` string
    - `secureHash` string
    - `amount` string
    - `authAmount` string
    - `requestType` string
    - `errorDescription` string
    - `addlParam1` string
    - `addlParam2` string
    - `customerEmailID` string
    - `customerMobileNo` string
    - `paymentMode` string
    - `paymentSubInstType` string
    - `respDescription` string
    - `errorCode` string
    - `responseCode` string
    - `merchantId` string
    - `paymentID` string
    - `merchantTxnNo` string
    - `umn` string
    - `mandateId` string
    - `bankRRN` string
    - `paymentDateTime` string
    - `txnID` string

---

[API](https://skmtc.dev/jiopay/apis/subscription-hub.md) - [All operations](https://skmtc.dev/jiopay/apis/subscription-hub/llms.txt) - [OpenAPI document](https://skmtc.dev/jiopay/apis/subscription-hub/revisions/9da96f805941?raw)
