Update Order
Update specific fields of an existing order.
Overview
The Update Order endpoint enables you to modify specific information of an existing order, such as buyer details (PAN number, date of birth) and invoice information. This is useful for updating order details after creation or if additional buyer information is requested from the bank. You can update the following fields:- Buyer Information: PAN number, date of birth
- Invoice Information: Invoice number, invoice date
Request Parameters
Path
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| order_id | path | string | Yes | Unique identifier of the order |
Body (JSON)
Only include the fields you want to update.Parameter Definitions
Top-level
| Name | Type | Required | Description | Constraints |
|---|---|---|---|---|
| buyer | object | No | Buyer information to update | See Buyer object |
| invoice | object | No | Invoice information to update | See Invoice object |
Buyer
| Name | Type | Required | Description | Constraints |
|---|---|---|---|---|
| pan_number | string | No | Buyer’s PAN number | Format: Indian PAN (e.g., ABCDE1234F) |
| dob | string (date) | No | Buyer’s date of birth | Format: YYYY-MM-DD |
Invoice
| Name | Type | Required | Description | Constraints |
|---|---|---|---|---|
| number | string | No | Invoice number | Max 255 chars |
| date | string (date) | No | Invoice date | Format: YYYY-MM-DD |
Authorizations
Client Application ID - Your unique application identifier used to authenticate API requests. You can find your Client ID in the Developer Settings section of the merchant dashboard.
Client Secret Key - Your secret key used alongside the Client ID for secure authentication. Keep this confidential and never expose it in client-side code. Available in the Developer Settings section of the merchant dashboard.
API Version - Specifies which version of the API to use (e.g., '1.X.X', '2.X.X', or '3.X.X'). This header allows you to control which API version your integration uses. Default version information is available in the Developer Settings.
Path Parameters
Unique identifier of the order
Body
Order update request - only include fields to update