@boostengine/collections 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +51 -64
- package/bin/cli.cjs +49 -0
- package/collections/cashfree.collection.json +651 -0
- package/collections/delhivery.collection.json +270 -0
- package/collections/easyecom.collection.json +84 -82
- package/collections/paytm.collection.json +161 -0
- package/collections/phonepe.collection.json +359 -0
- package/collections/razorpay.collection.json +527 -90
- package/collections/shiprocket.collection.json +490 -0
- package/collections/shopify.collection.json +351 -0
- package/collections/stripe.collection.json +322 -0
- package/dist/index.cjs +602 -66
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +16 -2
- package/dist/index.d.ts +16 -2
- package/dist/index.mjs +602 -66
- package/dist/index.mjs.map +1 -1
- package/environments/cashfree.env.json +67 -0
- package/environments/delhivery.env.json +31 -0
- package/environments/paytm.env.json +49 -0
- package/environments/phonepe.env.json +85 -0
- package/environments/razorpay.env.json +12 -0
- package/environments/shiprocket.env.json +61 -0
- package/environments/shopify.env.json +31 -0
- package/environments/stripe.env.json +31 -0
- package/package.json +11 -2
package/dist/index.cjs
CHANGED
|
@@ -1,30 +1,115 @@
|
|
|
1
|
-
'use strict';var s=require('fs'),
|
|
2
|
-
"amount":
|
|
1
|
+
'use strict';var s=require('fs'),E=require('path');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var s__default=/*#__PURE__*/_interopDefault(s);var E__default=/*#__PURE__*/_interopDefault(E);var c={info:{_postman_id:"9b12a83e-105b-4832-8419-a86d5e789012",name:"Razorpay Full eCommerce API Collection",description:"Exhaustive Enterprise Postman Collection for Razorpay (Orders, Payments, Payment Links, Smart Collect Virtual Accounts, UPI QR Codes, Customers & Card Tokens, Invoices, Subscriptions, Route Transfers & Webhook Simulator). Includes auto-chaining test scripts.",schema:"https://schema.getpostman.com/json/collection/v2.1.0/collection.json"},auth:{type:"basic",basic:[{key:"username",value:"{{razorpay_key_id}}",type:"string"},{key:"password",value:"{{razorpay_key_secret}}",type:"string"}]},item:[{name:"1. Orders API",description:"Create, fetch, and manage customer checkout orders.",item:[{name:"Create Order (Standard eCommerce)",event:[{listen:"test",script:{exec:["var jsonData = pm.response.json();","if (jsonData && jsonData.id) {"," pm.environment.set('order_id', jsonData.id);"," console.log('Saved order_id to environment: ' + jsonData.id);","}"],type:"text/javascript"}}],request:{method:"POST",header:[{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
2
|
+
"amount": 149900,
|
|
3
3
|
"currency": "INR",
|
|
4
|
-
"receipt": "
|
|
4
|
+
"receipt": "rcpt_boost_{{$timestamp}}",
|
|
5
|
+
"partial_payment": false,
|
|
5
6
|
"notes": {
|
|
6
7
|
"customer_name": "Aman Sharma",
|
|
7
8
|
"customer_email": "aman@example.com",
|
|
8
|
-
"customer_phone": "+919876543210"
|
|
9
|
+
"customer_phone": "+919876543210",
|
|
10
|
+
"shipping_address": "Flat 402, Skyline Residency, Mumbai"
|
|
9
11
|
}
|
|
10
|
-
}`},url:{raw:"{{razorpay_base_url}}/v1/orders",host:["{{razorpay_base_url}}"],path:["v1","orders"]},description:"Creates a new
|
|
11
|
-
"amount": 99900,
|
|
12
|
-
"currency": "INR"
|
|
13
|
-
}`},url:{raw:"{{razorpay_base_url}}/v1/payments/{{payment_id}}/capture",host:["{{razorpay_base_url}}"],path:["v1","payments","{{payment_id}}","capture"]},description:"Captures an authorized payment manually if auto-capture is disabled."}},{name:"3. Update Payment Notes",request:{method:"PATCH",header:[{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
12
|
+
}`},url:{raw:"{{razorpay_base_url}}/v1/orders",host:["{{razorpay_base_url}}"],path:["v1","orders"]},description:"Creates a new Order in Razorpay. Automatically extracts and sets {{order_id}} in environment."}},{name:"Fetch Order by ID",request:{method:"GET",header:[],url:{raw:"{{razorpay_base_url}}/v1/orders/{{order_id}}",host:["{{razorpay_base_url}}"],path:["v1","orders","{{order_id}}"]},description:"Retrieves the order entity using {{order_id}}."}},{name:"Fetch Payments for an Order",request:{method:"GET",header:[],url:{raw:"{{razorpay_base_url}}/v1/orders/{{order_id}}/payments",host:["{{razorpay_base_url}}"],path:["v1","orders","{{order_id}}","payments"]},description:"Fetches all payment attempts made against {{order_id}}."}},{name:"List All Orders (Paginated)",request:{method:"GET",header:[],url:{raw:"{{razorpay_base_url}}/v1/orders?count=20&skip=0",host:["{{razorpay_base_url}}"],path:["v1","orders"],query:[{key:"count",value:"20"},{key:"skip",value:"0"}]},description:"Lists all merchant orders in descending order."}},{name:"Update Order Notes",request:{method:"PATCH",header:[{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
14
13
|
"notes": {
|
|
15
|
-
"
|
|
16
|
-
"
|
|
14
|
+
"special_instructions": "Fragile packing required",
|
|
15
|
+
"delivery_slot": "Morning 9 AM - 12 PM"
|
|
17
16
|
}
|
|
18
|
-
}`},url:{raw:"{{razorpay_base_url}}/v1/
|
|
19
|
-
"amount":
|
|
20
|
-
"
|
|
17
|
+
}`},url:{raw:"{{razorpay_base_url}}/v1/orders/{{order_id}}",host:["{{razorpay_base_url}}"],path:["v1","orders","{{order_id}}"]},description:"Updates metadata/notes for an existing order."}}]},{name:"2. Payments API",description:"Inspect, capture, and process transactions.",item:[{name:"Fetch Payment by ID",request:{method:"GET",header:[],url:{raw:"{{razorpay_base_url}}/v1/payments/{{payment_id}}",host:["{{razorpay_base_url}}"],path:["v1","payments","{{payment_id}}"]},description:"Fetches details of a specific payment transaction."}},{name:"Capture Payment (Manual)",request:{method:"POST",header:[{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
18
|
+
"amount": 149900,
|
|
19
|
+
"currency": "INR"
|
|
20
|
+
}`},url:{raw:"{{razorpay_base_url}}/v1/payments/{{payment_id}}/capture",host:["{{razorpay_base_url}}"],path:["v1","payments","{{payment_id}}","capture"]},description:"Captures an authorized payment before timeout."}},{name:"Fetch Card Details of Payment",request:{method:"GET",header:[],url:{raw:"{{razorpay_base_url}}/v1/payments/{{payment_id}}/card",host:["{{razorpay_base_url}}"],path:["v1","payments","{{payment_id}}","card"]},description:"Fetches tokenized card brand, last4, and issuer network."}},{name:"List All Payments",request:{method:"GET",header:[],url:{raw:"{{razorpay_base_url}}/v1/payments?count=10",host:["{{razorpay_base_url}}"],path:["v1","payments"],query:[{key:"count",value:"10"}]},description:"Lists recent payments received."}}]},{name:"3. Payment Links & UPI QR Codes",description:"Direct checkout links and dynamic on-counter / on-screen UPI QR codes.",item:[{name:"Create Standard Payment Link",event:[{listen:"test",script:{exec:["var jsonData = pm.response.json();","if (jsonData && jsonData.id) {"," pm.environment.set('payment_link_id', jsonData.id);"," console.log('Saved payment_link_id: ' + jsonData.id);","}"],type:"text/javascript"}}],request:{method:"POST",header:[{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
21
|
+
"amount": 149900,
|
|
22
|
+
"currency": "INR",
|
|
23
|
+
"accept_partial": false,
|
|
24
|
+
"reference_id": "pl_ref_{{$timestamp}}",
|
|
25
|
+
"description": "Payment for Boost Engine eCommerce Order",
|
|
26
|
+
"customer": {
|
|
27
|
+
"name": "Aman Sharma",
|
|
28
|
+
"contact": "+919876543210",
|
|
29
|
+
"email": "aman@example.com"
|
|
30
|
+
},
|
|
31
|
+
"notify": {
|
|
32
|
+
"sms": true,
|
|
33
|
+
"email": true,
|
|
34
|
+
"whatsapp": true
|
|
35
|
+
},
|
|
36
|
+
"reminder_enable": true
|
|
37
|
+
}`},url:{raw:"{{razorpay_base_url}}/v1/payment_links",host:["{{razorpay_base_url}}"],path:["v1","payment_links"]},description:"Generates a hosted payment link with automatic SMS/Email/WhatsApp notification."}},{name:"Fetch Payment Link Details",request:{method:"GET",header:[],url:{raw:"{{razorpay_base_url}}/v1/payment_links/{{payment_link_id}}",host:["{{razorpay_base_url}}"],path:["v1","payment_links","{{payment_link_id}}"]},description:"Checks payment link status (created, paid, expired, cancelled)."}},{name:"Cancel Payment Link",request:{method:"POST",header:[],url:{raw:"{{razorpay_base_url}}/v1/payment_links/{{payment_link_id}}/cancel",host:["{{razorpay_base_url}}"],path:["v1","payment_links","{{payment_link_id}}","cancel"]},description:"Cancels an unpaid payment link."}},{name:"Create Dynamic UPI QR Code",event:[{listen:"test",script:{exec:["var jsonData = pm.response.json();","if (jsonData && jsonData.id) {"," pm.environment.set('razorpay_qr_id', jsonData.id);","}"],type:"text/javascript"}}],request:{method:"POST",header:[{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
38
|
+
"type": "upi_qr",
|
|
39
|
+
"name": "Boost Engine Checkout QR",
|
|
40
|
+
"usage": "single_use",
|
|
41
|
+
"fixed_amount": true,
|
|
42
|
+
"payment_amount": 149900,
|
|
43
|
+
"description": "Payment for Order #1001",
|
|
44
|
+
"customer_id": "{{customer_id}}",
|
|
45
|
+
"close_by": 1735689600
|
|
46
|
+
}`},url:{raw:"{{razorpay_base_url}}/v1/payments/qr_codes",host:["{{razorpay_base_url}}"],path:["v1","payments","qr_codes"]},description:"Creates a dynamic single-use or multi-use UPI QR code image and payload."}},{name:"Fetch QR Code by ID",request:{method:"GET",header:[],url:{raw:"{{razorpay_base_url}}/v1/payments/qr_codes/{{razorpay_qr_id}}",host:["{{razorpay_base_url}}"],path:["v1","payments","qr_codes","{{razorpay_qr_id}}"]},description:"Retrieves the status, scanned state, and payments received on a QR code."}}]},{name:"4. Smart Collect (Virtual Accounts / B2B Bank Transfer)",description:"Generate unique virtual bank account & UPI ID for automatic reconciliation of NEFT/RTGS/IMPS payments.",item:[{name:"Create Virtual Account",event:[{listen:"test",script:{exec:["var jsonData = pm.response.json();","if (jsonData && jsonData.id) {"," pm.environment.set('razorpay_va_id', jsonData.id);","}"],type:"text/javascript"}}],request:{method:"POST",header:[{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
47
|
+
"receivers": {
|
|
48
|
+
"types": [
|
|
49
|
+
"bank_account",
|
|
50
|
+
"vpa"
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
"description": "Dedicated Virtual Account for Aman Sharma",
|
|
54
|
+
"customer_id": "{{customer_id}}",
|
|
55
|
+
"close_by": 1735689600
|
|
56
|
+
}`},url:{raw:"{{razorpay_base_url}}/v1/virtual_accounts",host:["{{razorpay_base_url}}"],path:["v1","virtual_accounts"]},description:"Creates a dedicated virtual bank account (account number + IFSC) and UPI ID."}},{name:"Fetch Virtual Account by ID",request:{method:"GET",header:[],url:{raw:"{{razorpay_base_url}}/v1/virtual_accounts/{{razorpay_va_id}}",host:["{{razorpay_base_url}}"],path:["v1","virtual_accounts","{{razorpay_va_id}}"]},description:"Fetches bank account and receiver details."}},{name:"Fetch Payments for Virtual Account",request:{method:"GET",header:[],url:{raw:"{{razorpay_base_url}}/v1/virtual_accounts/{{razorpay_va_id}}/payments",host:["{{razorpay_base_url}}"],path:["v1","virtual_accounts","{{razorpay_va_id}}","payments"]},description:"Lists all payments received into the virtual account."}}]},{name:"5. Customers & Card Vault API",description:"Manage customer profiles and saved cards/mandates.",item:[{name:"Create Customer",event:[{listen:"test",script:{exec:["var jsonData = pm.response.json();","if (jsonData && jsonData.id) {"," pm.environment.set('customer_id', jsonData.id);"," console.log('Saved customer_id: ' + jsonData.id);","}"],type:"text/javascript"}}],request:{method:"POST",header:[{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
57
|
+
"name": "Aman Sharma",
|
|
58
|
+
"contact": "+919876543210",
|
|
59
|
+
"email": "aman@example.com",
|
|
60
|
+
"fail_existing": 0,
|
|
21
61
|
"notes": {
|
|
22
|
-
"
|
|
62
|
+
"user_type": "VIP Member",
|
|
63
|
+
"app_user_id": "usr_boost_1001"
|
|
64
|
+
}
|
|
65
|
+
}`},url:{raw:"{{razorpay_base_url}}/v1/customers",host:["{{razorpay_base_url}}"],path:["v1","customers"]},description:"Creates customer record for one-click checkout and saved payment methods."}},{name:"Fetch Customer by ID",request:{method:"GET",header:[],url:{raw:"{{razorpay_base_url}}/v1/customers/{{customer_id}}",host:["{{razorpay_base_url}}"],path:["v1","customers","{{customer_id}}"]},description:"Fetches customer entity."}},{name:"Fetch Saved Tokens / Cards of Customer",request:{method:"GET",header:[],url:{raw:"{{razorpay_base_url}}/v1/customers/{{customer_id}}/tokens",host:["{{razorpay_base_url}}"],path:["v1","customers","{{customer_id}}","tokens"]},description:"Fetches RBI-compliant tokenized cards for 1-click seamless re-purchases."}}]},{name:"6. Invoices API",description:"GST-compliant tax invoices for eCommerce sales.",item:[{name:"Create Tax Invoice",event:[{listen:"test",script:{exec:["var jsonData = pm.response.json();","if (jsonData && jsonData.id) {"," pm.environment.set('razorpay_invoice_id', jsonData.id);","}"],type:"text/javascript"}}],request:{method:"POST",header:[{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
66
|
+
"type": "invoice",
|
|
67
|
+
"customer": {
|
|
68
|
+
"name": "Aman Sharma",
|
|
69
|
+
"email": "aman@example.com",
|
|
70
|
+
"contact": "+919876543210"
|
|
23
71
|
},
|
|
24
|
-
"
|
|
25
|
-
|
|
72
|
+
"line_items": [
|
|
73
|
+
{
|
|
74
|
+
"name": "Boost Engine Premium Hoodie",
|
|
75
|
+
"description": "Size L, Black color",
|
|
76
|
+
"amount": 149900,
|
|
77
|
+
"currency": "INR",
|
|
78
|
+
"quantity": 1
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
"sms_notify": 1,
|
|
82
|
+
"email_notify": 1,
|
|
83
|
+
"currency": "INR"
|
|
84
|
+
}`},url:{raw:"{{razorpay_base_url}}/v1/invoices",host:["{{razorpay_base_url}}"],path:["v1","invoices"]},description:"Creates a GST itemized invoice."}},{name:"Issue Invoice",request:{method:"POST",header:[],url:{raw:"{{razorpay_base_url}}/v1/invoices/{{razorpay_invoice_id}}/issue",host:["{{razorpay_base_url}}"],path:["v1","invoices","{{razorpay_invoice_id}}","issue"]},description:"Issues a draft invoice and sends email/SMS link to customer."}}]},{name:"7. Subscriptions & Recurring Plans",description:"Automated recurring subscriptions with UPI Autopay and cards.",item:[{name:"Create Recurring Plan",event:[{listen:"test",script:{exec:["var jsonData = pm.response.json();","if (jsonData && jsonData.id) {"," pm.environment.set('razorpay_plan_id', jsonData.id);","}"],type:"text/javascript"}}],request:{method:"POST",header:[{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
85
|
+
"period": "monthly",
|
|
86
|
+
"interval": 1,
|
|
87
|
+
"item": {
|
|
88
|
+
"name": "Boost Engine Pro Membership",
|
|
89
|
+
"amount": 99900,
|
|
90
|
+
"currency": "INR",
|
|
91
|
+
"description": "Monthly Pro Membership"
|
|
92
|
+
}
|
|
93
|
+
}`},url:{raw:"{{razorpay_base_url}}/v1/plans",host:["{{razorpay_base_url}}"],path:["v1","plans"]},description:"Creates a billing plan."}},{name:"Create Subscription",event:[{listen:"test",script:{exec:["var jsonData = pm.response.json();","if (jsonData && jsonData.id) {"," pm.environment.set('razorpay_sub_id', jsonData.id);","}"],type:"text/javascript"}}],request:{method:"POST",header:[{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
94
|
+
"plan_id": "{{razorpay_plan_id}}",
|
|
95
|
+
"total_count": 12,
|
|
96
|
+
"quantity": 1,
|
|
97
|
+
"customer_notify": 1,
|
|
98
|
+
"start_at": 1735689600,
|
|
99
|
+
"notes": {
|
|
100
|
+
"user_id": "usr_boost_01"
|
|
101
|
+
}
|
|
102
|
+
}`},url:{raw:"{{razorpay_base_url}}/v1/subscriptions",host:["{{razorpay_base_url}}"],path:["v1","subscriptions"]},description:"Initializes a recurring subscription."}},{name:"Cancel Subscription",request:{method:"POST",header:[{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
103
|
+
"cancel_at_cycle_end": 0
|
|
104
|
+
}`},url:{raw:"{{razorpay_base_url}}/v1/subscriptions/{{razorpay_sub_id}}/cancel",host:["{{razorpay_base_url}}"],path:["v1","subscriptions","{{razorpay_sub_id}}","cancel"]},description:"Cancels active subscription."}}]},{name:"8. Refunds API",description:"Process standard or instant refunds.",item:[{name:"Create Refund",event:[{listen:"test",script:{exec:["var jsonData = pm.response.json();","if (jsonData && jsonData.id) {"," pm.environment.set('refund_id', jsonData.id);"," console.log('Saved refund_id: ' + jsonData.id);","}"],type:"text/javascript"}}],request:{method:"POST",header:[{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
105
|
+
"amount": 149900,
|
|
106
|
+
"reverse_all": 1,
|
|
107
|
+
"notes": {
|
|
108
|
+
"reason": "Customer requested cancellation before dispatch"
|
|
109
|
+
}
|
|
110
|
+
}`},url:{raw:"{{razorpay_base_url}}/v1/payments/{{payment_id}}/refund",host:["{{razorpay_base_url}}"],path:["v1","payments","{{payment_id}}","refund"]},description:"Initiates a full or partial refund."}},{name:"Fetch Refund by ID",request:{method:"GET",header:[],url:{raw:"{{razorpay_base_url}}/v1/refunds/{{refund_id}}",host:["{{razorpay_base_url}}"],path:["v1","refunds","{{refund_id}}"]},description:"Fetches refund details and status (processed, pending)."}}]},{name:"9. Webhooks Simulator",description:"Simulated webhook payloads ready to trigger against local API server.",item:[{name:"Webhook: order.paid",request:{method:"POST",header:[{key:"Content-Type",value:"application/json"},{key:"X-Razorpay-Signature",value:"{{computed_webhook_signature}}"}],body:{mode:"raw",raw:`{
|
|
26
111
|
"entity": "event",
|
|
27
|
-
"account_id": "
|
|
112
|
+
"account_id": "acc_boost_1001",
|
|
28
113
|
"event": "order.paid",
|
|
29
114
|
"contains": ["order", "payment"],
|
|
30
115
|
"payload": {
|
|
@@ -32,48 +117,308 @@
|
|
|
32
117
|
"entity": {
|
|
33
118
|
"id": "pay_test_001",
|
|
34
119
|
"entity": "payment",
|
|
35
|
-
"amount":
|
|
120
|
+
"amount": 149900,
|
|
36
121
|
"currency": "INR",
|
|
37
122
|
"status": "captured",
|
|
38
123
|
"order_id": "order_test_001",
|
|
39
124
|
"method": "upi",
|
|
40
|
-
"vpa": "
|
|
125
|
+
"vpa": "aman@upi"
|
|
41
126
|
}
|
|
42
127
|
},
|
|
43
128
|
"order": {
|
|
44
129
|
"entity": {
|
|
45
130
|
"id": "order_test_001",
|
|
46
131
|
"entity": "order",
|
|
47
|
-
"amount":
|
|
48
|
-
"
|
|
49
|
-
"status": "paid"
|
|
50
|
-
"receipt": "rcpt_boost_001"
|
|
132
|
+
"amount": 149900,
|
|
133
|
+
"currency": "INR",
|
|
134
|
+
"status": "paid"
|
|
51
135
|
}
|
|
52
136
|
}
|
|
53
137
|
},
|
|
54
|
-
"created_at":
|
|
55
|
-
}`},url:{raw:"{{local_webhook_url}}",host:["{{local_webhook_url}}"]},description:"Simulates
|
|
138
|
+
"created_at": 1709923200
|
|
139
|
+
}`},url:{raw:"{{local_webhook_url}}",host:["{{local_webhook_url}}"]},description:"Simulates order.paid webhook."}},{name:"Webhook: payment.failed",request:{method:"POST",header:[{key:"Content-Type",value:"application/json"},{key:"X-Razorpay-Signature",value:"{{computed_webhook_signature}}"}],body:{mode:"raw",raw:`{
|
|
56
140
|
"entity": "event",
|
|
57
|
-
"account_id": "
|
|
141
|
+
"account_id": "acc_boost_1001",
|
|
58
142
|
"event": "payment.failed",
|
|
59
143
|
"contains": ["payment"],
|
|
60
144
|
"payload": {
|
|
61
145
|
"payment": {
|
|
62
146
|
"entity": {
|
|
63
|
-
"id": "
|
|
64
|
-
"
|
|
147
|
+
"id": "pay_test_failed",
|
|
148
|
+
"entity": "payment",
|
|
149
|
+
"amount": 149900,
|
|
65
150
|
"currency": "INR",
|
|
66
151
|
"status": "failed",
|
|
67
|
-
"order_id": "order_test_001",
|
|
68
152
|
"error_code": "BAD_REQUEST_ERROR",
|
|
69
|
-
"error_description": "Payment was declined by
|
|
153
|
+
"error_description": "Payment was declined by bank"
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"created_at": 1709923200
|
|
158
|
+
}`},url:{raw:"{{local_webhook_url}}",host:["{{local_webhook_url}}"]},description:"Simulates payment.failed webhook."}},{name:"Webhook: refund.processed",request:{method:"POST",header:[{key:"Content-Type",value:"application/json"},{key:"X-Razorpay-Signature",value:"{{computed_webhook_signature}}"}],body:{mode:"raw",raw:`{
|
|
159
|
+
"entity": "event",
|
|
160
|
+
"account_id": "acc_boost_1001",
|
|
161
|
+
"event": "refund.processed",
|
|
162
|
+
"contains": ["refund"],
|
|
163
|
+
"payload": {
|
|
164
|
+
"refund": {
|
|
165
|
+
"entity": {
|
|
166
|
+
"id": "rfnd_test_001",
|
|
167
|
+
"entity": "refund",
|
|
168
|
+
"amount": 149900,
|
|
169
|
+
"currency": "INR",
|
|
170
|
+
"payment_id": "pay_test_001",
|
|
171
|
+
"status": "processed"
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
"created_at": 1709923500
|
|
176
|
+
}`},url:{raw:"{{local_webhook_url}}",host:["{{local_webhook_url}}"]},description:"Simulates refund.processed webhook."}},{name:"Webhook: virtual_account.credited",request:{method:"POST",header:[{key:"Content-Type",value:"application/json"},{key:"X-Razorpay-Signature",value:"{{computed_webhook_signature}}"}],body:{mode:"raw",raw:`{
|
|
177
|
+
"entity": "event",
|
|
178
|
+
"account_id": "acc_boost_1001",
|
|
179
|
+
"event": "virtual_account.credited",
|
|
180
|
+
"contains": ["virtual_account", "payment"],
|
|
181
|
+
"payload": {
|
|
182
|
+
"payment": {
|
|
183
|
+
"entity": {
|
|
184
|
+
"id": "pay_va_001",
|
|
185
|
+
"amount": 500000,
|
|
186
|
+
"currency": "INR",
|
|
187
|
+
"method": "bank_transfer",
|
|
188
|
+
"bank": "HDFC"
|
|
70
189
|
}
|
|
71
190
|
}
|
|
72
191
|
},
|
|
73
|
-
"created_at":
|
|
74
|
-
}`},url:{raw:"{{local_webhook_url}}",host:["{{local_webhook_url}}"]},description:"Simulates
|
|
192
|
+
"created_at": 1709923800
|
|
193
|
+
}`},url:{raw:"{{local_webhook_url}}",host:["{{local_webhook_url}}"]},description:"Simulates virtual_account.credited webhook for automated B2B NEFT/RTGS reconciliation."}}]}]};var l={info:{_postman_id:"cf123456-7890-4abc-def1-234567890123",name:"Cashfree Full Payments & Payouts API Suite",description:"Exhaustive Enterprise Postman Collection for Cashfree PG & Banking v2023-08-01 (Orders, Seamless UPI/Cards, Payment Links, Subscriptions, Bank/UPI Verification, Payouts, Refunds, Settlements, Webhooks). Includes auto-chaining test scripts.",schema:"https://schema.getpostman.com/json/collection/v2.1.0/collection.json"},auth:{type:"noauth"},item:[{name:"1. Orders API (Checkout & Drop-in)",description:"Create, fetch, and manage customer checkout orders in Cashfree PG.",item:[{name:"Create Order (with Session ID)",event:[{listen:"test",script:{exec:["var jsonData = pm.response.json();","if (jsonData && jsonData.order_id) {"," pm.environment.set('cashfree_order_id', jsonData.order_id);"," pm.environment.set('payment_session_id', jsonData.payment_session_id);"," console.log('Saved order_id: ' + jsonData.order_id + ', session_id: ' + jsonData.payment_session_id);","}"],type:"text/javascript"}}],request:{method:"POST",header:[{key:"x-client-id",value:"{{cashfree_app_id}}"},{key:"x-client-secret",value:"{{cashfree_secret_key}}"},{key:"x-api-version",value:"2023-08-01"},{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
194
|
+
"order_id": "order_cf_{{$timestamp}}",
|
|
195
|
+
"order_amount": 1499.00,
|
|
196
|
+
"order_currency": "INR",
|
|
197
|
+
"customer_details": {
|
|
198
|
+
"customer_id": "cust_{{$timestamp}}",
|
|
199
|
+
"customer_name": "Aman Sharma",
|
|
200
|
+
"customer_email": "aman@example.com",
|
|
201
|
+
"customer_phone": "9876543210"
|
|
202
|
+
},
|
|
203
|
+
"order_meta": {
|
|
204
|
+
"return_url": "https://yourstore.com/order-confirmed?order_id={order_id}",
|
|
205
|
+
"notify_url": "{{local_webhook_url}}",
|
|
206
|
+
"payment_methods": "cc,dc,upi,nb"
|
|
207
|
+
},
|
|
208
|
+
"order_note": "Boost Engine eCommerce Checkout"
|
|
209
|
+
}`},url:{raw:"{{cashfree_base_url}}/orders",host:["{{cashfree_base_url}}"],path:["orders"]},description:"Creates an order and returns payment_session_id for Cashfree Drop-in UI or Native SDK checkout."}},{name:"Get Order Details",request:{method:"GET",header:[{key:"x-client-id",value:"{{cashfree_app_id}}"},{key:"x-client-secret",value:"{{cashfree_secret_key}}"},{key:"x-api-version",value:"2023-08-01"}],url:{raw:"{{cashfree_base_url}}/orders/{{cashfree_order_id}}",host:["{{cashfree_base_url}}"],path:["orders","{{cashfree_order_id}}"]},description:"Retrieves the status of an order (PAID, ACTIVE, EXPIRED)."}},{name:"Terminate / Cancel Order",request:{method:"PATCH",header:[{key:"x-client-id",value:"{{cashfree_app_id}}"},{key:"x-client-secret",value:"{{cashfree_secret_key}}"},{key:"x-api-version",value:"2023-08-01"},{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
210
|
+
"order_status": "TERMINATED"
|
|
211
|
+
}`},url:{raw:"{{cashfree_base_url}}/orders/{{cashfree_order_id}}",host:["{{cashfree_base_url}}"],path:["orders","{{cashfree_order_id}}"]},description:"Terminates an active order so that no more payments can be made against it."}},{name:"Fetch Order Settlements",request:{method:"GET",header:[{key:"x-client-id",value:"{{cashfree_app_id}}"},{key:"x-client-secret",value:"{{cashfree_secret_key}}"},{key:"x-api-version",value:"2023-08-01"}],url:{raw:"{{cashfree_base_url}}/orders/{{cashfree_order_id}}/settlements",host:["{{cashfree_base_url}}"],path:["orders","{{cashfree_order_id}}","settlements"]},description:"Retrieves settlement breakdown, MDR charges, and bank transfer reference for an order."}}]},{name:"2. Seamless / Direct Payments API",description:"Direct S2S checkout without redirecting to hosted page (UPI Intent, UPI Collect, Cards, Netbanking).",item:[{name:"Pay Order - UPI Intent (GPay, PhonePe, Paytm)",request:{method:"POST",header:[{key:"x-client-id",value:"{{cashfree_app_id}}"},{key:"x-client-secret",value:"{{cashfree_secret_key}}"},{key:"x-api-version",value:"2023-08-01"},{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
212
|
+
"payment_session_id": "{{payment_session_id}}",
|
|
213
|
+
"payment_method": {
|
|
214
|
+
"upi": {
|
|
215
|
+
"channel": "intent"
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
}`},url:{raw:"{{cashfree_base_url}}/orders/sessions",host:["{{cashfree_base_url}}"],path:["orders","sessions"]},description:"Returns deep link / intent URI for mobile app checkouts (GPay, PhonePe, Paytm)."}},{name:"Pay Order - UPI Collect (Enter VPA)",request:{method:"POST",header:[{key:"x-client-id",value:"{{cashfree_app_id}}"},{key:"x-client-secret",value:"{{cashfree_secret_key}}"},{key:"x-api-version",value:"2023-08-01"},{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
219
|
+
"payment_session_id": "{{payment_session_id}}",
|
|
220
|
+
"payment_method": {
|
|
221
|
+
"upi": {
|
|
222
|
+
"channel": "collect",
|
|
223
|
+
"upi_id": "testsuccess@gocash"
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
}`},url:{raw:"{{cashfree_base_url}}/orders/sessions",host:["{{cashfree_base_url}}"],path:["orders","sessions"]},description:"Sends UPI collect request directly to customer's UPI app."}},{name:"Pay Order - Netbanking",request:{method:"POST",header:[{key:"x-client-id",value:"{{cashfree_app_id}}"},{key:"x-client-secret",value:"{{cashfree_secret_key}}"},{key:"x-api-version",value:"2023-08-01"},{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
227
|
+
"payment_session_id": "{{payment_session_id}}",
|
|
228
|
+
"payment_method": {
|
|
229
|
+
"netbanking": {
|
|
230
|
+
"channel": "link",
|
|
231
|
+
"netbanking_bank_code": 3003
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
}`},url:{raw:"{{cashfree_base_url}}/orders/sessions",host:["{{cashfree_base_url}}"],path:["orders","sessions"]},description:"Directly routes customer to bank netbanking portal (e.g. 3003 = HDFC, 3022 = ICICI, 3044 = SBI)."}}]},{name:"3. Payments & Transactions API",description:"Fetch payments, details, and submit headless OTPs.",item:[{name:"Fetch Payments for an Order",request:{method:"GET",header:[{key:"x-client-id",value:"{{cashfree_app_id}}"},{key:"x-client-secret",value:"{{cashfree_secret_key}}"},{key:"x-api-version",value:"2023-08-01"}],url:{raw:"{{cashfree_base_url}}/orders/{{cashfree_order_id}}/payments",host:["{{cashfree_base_url}}"],path:["orders","{{cashfree_order_id}}","payments"]},description:"Retrieves payment attempts with bank reference IDs, payment methods, and timestamps."}},{name:"Get Payment by CF Payment ID",request:{method:"GET",header:[{key:"x-client-id",value:"{{cashfree_app_id}}"},{key:"x-client-secret",value:"{{cashfree_secret_key}}"},{key:"x-api-version",value:"2023-08-01"}],url:{raw:"{{cashfree_base_url}}/orders/{{cashfree_order_id}}/payments/{{cf_payment_id}}",host:["{{cashfree_base_url}}"],path:["orders","{{cashfree_order_id}}","payments","{{cf_payment_id}}"]},description:"Fetches a specific transaction attempt."}},{name:"Submit Headless Card OTP",request:{method:"POST",header:[{key:"x-client-id",value:"{{cashfree_app_id}}"},{key:"x-client-secret",value:"{{cashfree_secret_key}}"},{key:"x-api-version",value:"2023-08-01"},{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
235
|
+
"action": "SUBMIT_OTP",
|
|
236
|
+
"otp": "123456"
|
|
237
|
+
}`},url:{raw:"{{cashfree_base_url}}/orders/{{cashfree_order_id}}/payments/{{cf_payment_id}}/otp",host:["{{cashfree_base_url}}"],path:["orders","{{cashfree_order_id}}","payments","{{cf_payment_id}}","otp"]},description:"Submits bank OTP directly for headless custom card checkout experiences."}}]},{name:"4. Payment Links API",description:"Generate dynamic payment links with SMS/Email/WhatsApp reminders.",item:[{name:"Create Payment Link",event:[{listen:"test",script:{exec:["var jsonData = pm.response.json();","if (jsonData && jsonData.link_id) {"," pm.environment.set('cashfree_link_id', jsonData.link_id);","}"],type:"text/javascript"}}],request:{method:"POST",header:[{key:"x-client-id",value:"{{cashfree_app_id}}"},{key:"x-client-secret",value:"{{cashfree_secret_key}}"},{key:"x-api-version",value:"2023-08-01"},{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
238
|
+
"link_id": "link_cf_{{$timestamp}}",
|
|
239
|
+
"link_amount": 1499.00,
|
|
240
|
+
"link_currency": "INR",
|
|
241
|
+
"link_purpose": "Boost Engine Order #9821",
|
|
242
|
+
"customer_details": {
|
|
243
|
+
"customer_name": "Aman Sharma",
|
|
244
|
+
"customer_email": "aman@example.com",
|
|
245
|
+
"customer_phone": "9876543210"
|
|
246
|
+
},
|
|
247
|
+
"link_notify": {
|
|
248
|
+
"send_sms": true,
|
|
249
|
+
"send_email": true
|
|
250
|
+
}
|
|
251
|
+
}`},url:{raw:"{{cashfree_base_url}}/links",host:["{{cashfree_base_url}}"],path:["links"]},description:"Generates a hosted payment link with SMS/Email notifications."}},{name:"Get Payment Link Details",request:{method:"GET",header:[{key:"x-client-id",value:"{{cashfree_app_id}}"},{key:"x-client-secret",value:"{{cashfree_secret_key}}"},{key:"x-api-version",value:"2023-08-01"}],url:{raw:"{{cashfree_base_url}}/links/{{cashfree_link_id}}",host:["{{cashfree_base_url}}"],path:["links","{{cashfree_link_id}}"]},description:"Fetches status of the payment link."}},{name:"Cancel Payment Link",request:{method:"POST",header:[{key:"x-client-id",value:"{{cashfree_app_id}}"},{key:"x-client-secret",value:"{{cashfree_secret_key}}"},{key:"x-api-version",value:"2023-08-01"}],url:{raw:"{{cashfree_base_url}}/links/{{cashfree_link_id}}/cancel",host:["{{cashfree_base_url}}"],path:["links","{{cashfree_link_id}}","cancel"]},description:"Cancels an active payment link."}}]},{name:"5. Verification Suite (KYC & Bank / UPI Verify)",description:"Cashfree Verification Suite for vendor / customer bank account, UPI, and PAN verification.",item:[{name:"Verify Bank Account (Penny Drop)",request:{method:"POST",header:[{key:"x-client-id",value:"{{cashfree_app_id}}"},{key:"x-client-secret",value:"{{cashfree_secret_key}}"},{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
252
|
+
"bank_account": "001101524321",
|
|
253
|
+
"ifsc": "HDFC0000001",
|
|
254
|
+
"name": "Aman Sharma",
|
|
255
|
+
"phone": "9876543210"
|
|
256
|
+
}`},url:{raw:"https://api.cashfree.com/verification/bank-account/sync",protocol:"https",host:["api","cashfree","com"],path:["verification","bank-account","sync"]},description:"Performs instant penny-drop verification and returns registered account holder name."}},{name:"Verify UPI VPA ID",request:{method:"POST",header:[{key:"x-client-id",value:"{{cashfree_app_id}}"},{key:"x-client-secret",value:"{{cashfree_secret_key}}"},{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
257
|
+
"vpa": "aman@oksbi",
|
|
258
|
+
"name": "Aman Sharma"
|
|
259
|
+
}`},url:{raw:"https://api.cashfree.com/verification/upi",protocol:"https",host:["api","cashfree","com"],path:["verification","upi"]},description:"Validates UPI ID existence and checks if VPA is active and matches customer name."}},{name:"Verify PAN Card",request:{method:"POST",header:[{key:"x-client-id",value:"{{cashfree_app_id}}"},{key:"x-client-secret",value:"{{cashfree_secret_key}}"},{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
260
|
+
"pan": "ABCDE1234F",
|
|
261
|
+
"name": "Aman Sharma"
|
|
262
|
+
}`},url:{raw:"https://api.cashfree.com/verification/pan",protocol:"https",host:["api","cashfree","com"],path:["verification","pan"]},description:"Verifies PAN card authenticity and registered tax name with NSDL."}}]},{name:"6. Payouts & Disbursals API",description:"Instant vendor, affiliate, and refund disbursals via IMPS / NEFT / UPI.",item:[{name:"Add Beneficiary",request:{method:"POST",header:[{key:"Authorization",value:"Bearer {{cashfree_payout_token}}"},{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
263
|
+
"beneId": "bene_{{$timestamp}}",
|
|
264
|
+
"name": "Aman Sharma",
|
|
265
|
+
"email": "aman@example.com",
|
|
266
|
+
"phone": "9876543210",
|
|
267
|
+
"bankAccount": "001101524321",
|
|
268
|
+
"ifsc": "HDFC0000001",
|
|
269
|
+
"address1": "Skyline Residency"
|
|
270
|
+
}`},url:{raw:"https://payout-api.cashfree.com/payout/v1/addBeneficiary",protocol:"https",host:["payout-api","cashfree","com"],path:["payout","v1","addBeneficiary"]},description:"Registers a beneficiary for instant payouts."}},{name:"Request Instant Transfer / Payout",request:{method:"POST",header:[{key:"Authorization",value:"Bearer {{cashfree_payout_token}}"},{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
271
|
+
"beneId": "bene_12345",
|
|
272
|
+
"amount": "1500.00",
|
|
273
|
+
"transferId": "trans_{{$timestamp}}",
|
|
274
|
+
"transferMode": "imps",
|
|
275
|
+
"remarks": "Boost Engine Affiliate Payout"
|
|
276
|
+
}`},url:{raw:"https://payout-api.cashfree.com/payout/v1/requestTransfer",protocol:"https",host:["payout-api","cashfree","com"],path:["payout","v1","requestTransfer"]},description:"Disburses funds instantly to beneficiary bank account via IMPS/UPI/NEFT."}},{name:"Get Transfer Status",request:{method:"GET",header:[{key:"Authorization",value:"Bearer {{cashfree_payout_token}}"}],url:{raw:"https://payout-api.cashfree.com/payout/v1/getTransferStatus?transferId=trans_12345",protocol:"https",host:["payout-api","cashfree","com"],path:["payout","v1","getTransferStatus"],query:[{key:"transferId",value:"trans_12345"}]},description:"Checks status of payout transfer (SUCCESS, PENDING, REVERSED)."}}]},{name:"7. Refunds API",description:"Trigger instant and standard refund requests.",item:[{name:"Create Refund",event:[{listen:"test",script:{exec:["var jsonData = pm.response.json();","if (jsonData && jsonData.refund_id) {"," pm.environment.set('cashfree_refund_id', jsonData.refund_id);","}"],type:"text/javascript"}}],request:{method:"POST",header:[{key:"x-client-id",value:"{{cashfree_app_id}}"},{key:"x-client-secret",value:"{{cashfree_secret_key}}"},{key:"x-api-version",value:"2023-08-01"},{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
277
|
+
"refund_id": "rfnd_cf_{{$timestamp}}",
|
|
278
|
+
"refund_amount": 1499.00,
|
|
279
|
+
"refund_note": "Customer requested order cancellation"
|
|
280
|
+
}`},url:{raw:"{{cashfree_base_url}}/orders/{{cashfree_order_id}}/refunds",host:["{{cashfree_base_url}}"],path:["orders","{{cashfree_order_id}}","refunds"]},description:"Processes a refund for a paid order."}},{name:"Fetch Refund by ID",request:{method:"GET",header:[{key:"x-client-id",value:"{{cashfree_app_id}}"},{key:"x-client-secret",value:"{{cashfree_secret_key}}"},{key:"x-api-version",value:"2023-08-01"}],url:{raw:"{{cashfree_base_url}}/orders/{{cashfree_order_id}}/refunds/{{cashfree_refund_id}}",host:["{{cashfree_base_url}}"],path:["orders","{{cashfree_order_id}}","refunds","{{cashfree_refund_id}}"]},description:"Queries the refund status (SUCCESS, PENDING, CANCELLED)."}},{name:"List All Refunds for an Order",request:{method:"GET",header:[{key:"x-client-id",value:"{{cashfree_app_id}}"},{key:"x-client-secret",value:"{{cashfree_secret_key}}"},{key:"x-api-version",value:"2023-08-01"}],url:{raw:"{{cashfree_base_url}}/orders/{{cashfree_order_id}}/refunds",host:["{{cashfree_base_url}}"],path:["orders","{{cashfree_order_id}}","refunds"]},description:"Lists all partial/full refunds created for the order."}}]},{name:"8. Subscriptions & Recurring API",description:"Recurring mandates and subscription billing.",item:[{name:"Create Subscription Plan",request:{method:"POST",header:[{key:"x-client-id",value:"{{cashfree_app_id}}"},{key:"x-client-secret",value:"{{cashfree_secret_key}}"},{key:"x-api-version",value:"2023-08-01"},{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
281
|
+
"plan_id": "plan_monthly_coffee_{{$timestamp}}",
|
|
282
|
+
"plan_name": "Monthly Coffee Club",
|
|
283
|
+
"plan_type": "PERIODIC",
|
|
284
|
+
"plan_currency": "INR",
|
|
285
|
+
"plan_recurring_amount": 999.00,
|
|
286
|
+
"plan_max_amount": 2000.00,
|
|
287
|
+
"plan_intervals": 1,
|
|
288
|
+
"plan_interval_type": "MONTH"
|
|
289
|
+
}`},url:{raw:"{{cashfree_base_url}}/subscription-plans",host:["{{cashfree_base_url}}"],path:["subscription-plans"]},description:"Creates a recurring billing plan for UPI Autopay / eNACH / Card mandate."}},{name:"Create Subscription",request:{method:"POST",header:[{key:"x-client-id",value:"{{cashfree_app_id}}"},{key:"x-client-secret",value:"{{cashfree_secret_key}}"},{key:"x-api-version",value:"2023-08-01"},{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
290
|
+
"subscription_id": "sub_cf_{{$timestamp}}",
|
|
291
|
+
"plan_id": "plan_monthly_coffee_123",
|
|
292
|
+
"customer_details": {
|
|
293
|
+
"customer_name": "Aman Sharma",
|
|
294
|
+
"customer_email": "aman@example.com",
|
|
295
|
+
"customer_phone": "9876543210"
|
|
296
|
+
},
|
|
297
|
+
"subscription_expiry_time": "2027-12-31T23:59:59+05:30"
|
|
298
|
+
}`},url:{raw:"{{cashfree_base_url}}/subscriptions",host:["{{cashfree_base_url}}"],path:["subscriptions"]},description:"Initializes a subscription for a customer to authorize mandate."}}]},{name:"9. Webhooks Simulator",description:"Ready-to-fire simulated Cashfree webhooks for testing local servers and background workers.",item:[{name:"Webhook: PAYMENT_SUCCESS_WEBHOOK",request:{method:"POST",header:[{key:"Content-Type",value:"application/json"},{key:"x-webhook-signature",value:"{{computed_webhook_signature}}"}],body:{mode:"raw",raw:`{
|
|
299
|
+
"data": {
|
|
300
|
+
"order": {
|
|
301
|
+
"order_id": "order_cf_001",
|
|
302
|
+
"order_amount": 1499.00,
|
|
303
|
+
"order_currency": "INR"
|
|
304
|
+
},
|
|
305
|
+
"payment": {
|
|
306
|
+
"cf_payment_id": 109283719,
|
|
307
|
+
"payment_status": "SUCCESS",
|
|
308
|
+
"payment_amount": 1499.00,
|
|
309
|
+
"payment_currency": "INR",
|
|
310
|
+
"payment_message": "Transaction successful",
|
|
311
|
+
"payment_time": "2026-09-08T18:30:00+05:30",
|
|
312
|
+
"bank_reference": "UPI-9821739218",
|
|
313
|
+
"payment_method": {
|
|
314
|
+
"upi": {
|
|
315
|
+
"channel": null,
|
|
316
|
+
"upi_id": "success@upi"
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
"customer_details": {
|
|
321
|
+
"customer_name": "Aman Sharma",
|
|
322
|
+
"customer_id": "cust_boost_01",
|
|
323
|
+
"customer_email": "aman@example.com",
|
|
324
|
+
"customer_phone": "9876543210"
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
"event_time": "2026-09-08T18:30:05+05:30",
|
|
328
|
+
"type": "PAYMENT_SUCCESS_WEBHOOK"
|
|
329
|
+
}`},url:{raw:"{{local_webhook_url}}",host:["{{local_webhook_url}}"]},description:"Simulates PAYMENT_SUCCESS_WEBHOOK event."}},{name:"Webhook: PAYMENT_FAILED_WEBHOOK",request:{method:"POST",header:[{key:"Content-Type",value:"application/json"},{key:"x-webhook-signature",value:"{{computed_webhook_signature}}"}],body:{mode:"raw",raw:`{
|
|
330
|
+
"data": {
|
|
331
|
+
"order": {
|
|
332
|
+
"order_id": "order_cf_001",
|
|
333
|
+
"order_amount": 1499.00,
|
|
334
|
+
"order_currency": "INR"
|
|
335
|
+
},
|
|
336
|
+
"payment": {
|
|
337
|
+
"cf_payment_id": 109283720,
|
|
338
|
+
"payment_status": "FAILED",
|
|
339
|
+
"payment_amount": 1499.00,
|
|
340
|
+
"payment_message": "Bank declined transaction due to insufficient funds"
|
|
341
|
+
}
|
|
342
|
+
},
|
|
343
|
+
"type": "PAYMENT_FAILED_WEBHOOK"
|
|
344
|
+
}`},url:{raw:"{{local_webhook_url}}",host:["{{local_webhook_url}}"]},description:"Simulates PAYMENT_FAILED_WEBHOOK event."}},{name:"Webhook: REFUND_STATUS_WEBHOOK",request:{method:"POST",header:[{key:"Content-Type",value:"application/json"},{key:"x-webhook-signature",value:"{{computed_webhook_signature}}"}],body:{mode:"raw",raw:`{
|
|
345
|
+
"data": {
|
|
346
|
+
"refund": {
|
|
347
|
+
"cf_payment_id": 109283719,
|
|
348
|
+
"cf_refund_id": 8821921,
|
|
349
|
+
"order_id": "order_cf_001",
|
|
350
|
+
"refund_id": "rfnd_cf_001",
|
|
351
|
+
"refund_amount": 1499.00,
|
|
352
|
+
"refund_status": "SUCCESS",
|
|
353
|
+
"refund_arn": "ARN1928374619"
|
|
354
|
+
}
|
|
355
|
+
},
|
|
356
|
+
"event_time": "2026-09-08T18:35:00+05:30",
|
|
357
|
+
"type": "REFUND_STATUS_WEBHOOK"
|
|
358
|
+
}`},url:{raw:"{{local_webhook_url}}",host:["{{local_webhook_url}}"]},description:"Simulates REFUND_STATUS_WEBHOOK event."}}]}]};var u={info:{_postman_id:"pe123456-7890-4abc-def1-234567890123",name:"PhonePe PG Standard & Custom Full Collection",description:"Production Postman Collection for PhonePe PG (Standard Web Checkout, Custom UPI Intent Flow, UPI Collect VPA, Dynamic QR, Status Verification, Refunds, S2S Webhooks). Includes Pre-request scripts for automatic Base64 encoding and SHA256 X-VERIFY Checksum generation.",schema:"https://schema.getpostman.com/json/collection/v2.1.0/collection.json"},auth:{type:"noauth"},item:[{name:"1. Standard Web Checkout",description:"PhonePe Standard Hosted Pay Page flow with auto-checksum calculation.",item:[{name:"Initiate Standard Payment Request",event:[{listen:"prerequest",script:{exec:["var txnId = 'MT_' + Date.now();","pm.environment.set('phonepe_txn_id', txnId);","var payload = {"," merchantId: pm.environment.get('phonepe_merchant_id') || 'PGTESTPAYUAT',"," merchantTransactionId: txnId,"," merchantUserId: 'MUID_' + Date.now(),"," amount: 149900,"," redirectUrl: 'https://yourstore.com/order-success?id=' + txnId,"," redirectMode: 'POST',"," callbackUrl: pm.environment.get('local_webhook_url') || 'https://api.yourstore.com/webhooks/phonepe',"," mobileNumber: '9876543210',"," paymentInstrument: {"," type: 'PAY_PAGE'"," }","};","var base64Payload = CryptoJS.enc.Base64.stringify(CryptoJS.enc.Utf8.parse(JSON.stringify(payload)));","pm.environment.set('phonepe_base64_payload', base64Payload);","var saltKey = pm.environment.get('phonepe_salt_key') || '099eb0cd-02cf-4e2a-8aca-3e6c6aff0399';","var saltIndex = pm.environment.get('phonepe_salt_index') || '1';","var stringToHash = base64Payload + '/pg/v1/pay' + saltKey;","var sha256Hash = CryptoJS.SHA256(stringToHash).toString();","var xVerify = sha256Hash + '###' + saltIndex;","pm.environment.set('phonepe_x_verify', xVerify);"],type:"text/javascript"}},{listen:"test",script:{exec:["var jsonData = pm.response.json();","if (jsonData && jsonData.data && jsonData.data.instrumentResponse) {"," pm.environment.set('phonepe_redirect_url', jsonData.data.instrumentResponse.redirectInfo.url);"," console.log('PhonePe checkout redirect URL:', jsonData.data.instrumentResponse.redirectInfo.url);","}"],type:"text/javascript"}}],request:{method:"POST",header:[{key:"Content-Type",value:"application/json"},{key:"X-VERIFY",value:"{{phonepe_x_verify}}"}],body:{mode:"raw",raw:`{
|
|
359
|
+
"request": "{{phonepe_base64_payload}}"
|
|
360
|
+
}`},url:{raw:"{{phonepe_base_url}}/pg/v1/pay",host:["{{phonepe_base_url}}"],path:["pg","v1","pay"]},description:"Standard PhonePe Web Pay Page. Computes Base64 request body and X-VERIFY checksum in pre-request script."}}]},{name:"2. Custom Mobile / App Flows (Intent & VPA)",description:"Mobile App SDK and Direct Intent Checkout.",item:[{name:"Initiate UPI Intent Payment (Mobile Apps)",event:[{listen:"prerequest",script:{exec:["var txnId = 'MT_INTENT_' + Date.now();","pm.environment.set('phonepe_txn_id', txnId);","var payload = {"," merchantId: pm.environment.get('phonepe_merchant_id') || 'PGTESTPAYUAT',"," merchantTransactionId: txnId,"," merchantUserId: 'MUID_' + Date.now(),"," amount: 149900,"," callbackUrl: pm.environment.get('local_webhook_url') || 'https://api.yourstore.com/webhooks/phonepe',"," mobileNumber: '9876543210',"," paymentInstrument: {"," type: 'UPI_INTENT',"," targetApp: 'com.phonepe.app'"," }","};","var base64Payload = CryptoJS.enc.Base64.stringify(CryptoJS.enc.Utf8.parse(JSON.stringify(payload)));","pm.environment.set('phonepe_intent_base64', base64Payload);","var saltKey = pm.environment.get('phonepe_salt_key') || '099eb0cd-02cf-4e2a-8aca-3e6c6aff0399';","var saltIndex = pm.environment.get('phonepe_salt_index') || '1';","var stringToHash = base64Payload + '/pg/v1/pay' + saltKey;","var sha256Hash = CryptoJS.SHA256(stringToHash).toString();","pm.environment.set('phonepe_intent_x_verify', sha256Hash + '###' + saltIndex);"],type:"text/javascript"}}],request:{method:"POST",header:[{key:"Content-Type",value:"application/json"},{key:"X-VERIFY",value:"{{phonepe_intent_x_verify}}"}],body:{mode:"raw",raw:`{
|
|
361
|
+
"request": "{{phonepe_intent_base64}}"
|
|
362
|
+
}`},url:{raw:"{{phonepe_base_url}}/pg/v1/pay",host:["{{phonepe_base_url}}"],path:["pg","v1","pay"]},description:"Returns intentUrl to trigger PhonePe Android/iOS app directly without browser redirect."}},{name:"Initiate UPI Collect (VPA Flow)",event:[{listen:"prerequest",script:{exec:["var txnId = 'MT_VPA_' + Date.now();","pm.environment.set('phonepe_txn_id', txnId);","var payload = {"," merchantId: pm.environment.get('phonepe_merchant_id') || 'PGTESTPAYUAT',"," merchantTransactionId: txnId,"," merchantUserId: 'MUID_' + Date.now(),"," amount: 149900,"," callbackUrl: pm.environment.get('local_webhook_url') || 'https://api.yourstore.com/webhooks/phonepe',"," mobileNumber: '9876543210',"," paymentInstrument: {"," type: 'UPI_COLLECT',"," vpa: 'aman@oksbi'"," }","};","var base64Payload = CryptoJS.enc.Base64.stringify(CryptoJS.enc.Utf8.parse(JSON.stringify(payload)));","pm.environment.set('phonepe_vpa_base64', base64Payload);","var saltKey = pm.environment.get('phonepe_salt_key') || '099eb0cd-02cf-4e2a-8aca-3e6c6aff0399';","var saltIndex = pm.environment.get('phonepe_salt_index') || '1';","var stringToHash = base64Payload + '/pg/v1/pay' + saltKey;","var sha256Hash = CryptoJS.SHA256(stringToHash).toString();","pm.environment.set('phonepe_vpa_x_verify', sha256Hash + '###' + saltIndex);"],type:"text/javascript"}}],request:{method:"POST",header:[{key:"Content-Type",value:"application/json"},{key:"X-VERIFY",value:"{{phonepe_vpa_x_verify}}"}],body:{mode:"raw",raw:`{
|
|
363
|
+
"request": "{{phonepe_vpa_base64}}"
|
|
364
|
+
}`},url:{raw:"{{phonepe_base_url}}/pg/v1/pay",host:["{{phonepe_base_url}}"],path:["pg","v1","pay"]},description:"Sends UPI collect request directly to customer VPA handle."}},{name:"Create Dynamic UPI QR",event:[{listen:"prerequest",script:{exec:["var txnId = 'MT_QR_' + Date.now();","pm.environment.set('phonepe_txn_id', txnId);","var payload = {"," merchantId: pm.environment.get('phonepe_merchant_id') || 'PGTESTPAYUAT',"," transactionId: txnId,"," merchantOrderId: 'ORD_' + Date.now(),"," amount: 149900,"," expiresIn: 600,"," storeId: 'STORE_01',"," terminalId: 'TERM_01'","};","var base64Payload = CryptoJS.enc.Base64.stringify(CryptoJS.enc.Utf8.parse(JSON.stringify(payload)));","pm.environment.set('phonepe_qr_base64', base64Payload);","var saltKey = pm.environment.get('phonepe_salt_key') || '099eb0cd-02cf-4e2a-8aca-3e6c6aff0399';","var saltIndex = pm.environment.get('phonepe_salt_index') || '1';","var stringToHash = base64Payload + '/pg/v1/qr/init' + saltKey;","var sha256Hash = CryptoJS.SHA256(stringToHash).toString();","pm.environment.set('phonepe_qr_x_verify', sha256Hash + '###' + saltIndex);"],type:"text/javascript"}}],request:{method:"POST",header:[{key:"Content-Type",value:"application/json"},{key:"X-VERIFY",value:"{{phonepe_qr_x_verify}}"}],body:{mode:"raw",raw:`{
|
|
365
|
+
"request": "{{phonepe_qr_base64}}"
|
|
366
|
+
}`},url:{raw:"{{phonepe_base_url}}/pg/v1/qr/init",host:["{{phonepe_base_url}}"],path:["pg","v1","qr","init"]},description:"Initializes a dynamic QR code for desktop checkout or in-store POS."}}]},{name:"3. Status Verification API",description:"Verify payment transaction status via S2S polling.",item:[{name:"Check Order Payment Status",event:[{listen:"prerequest",script:{exec:["var merchantId = pm.environment.get('phonepe_merchant_id') || 'PGTESTPAYUAT';","var txnId = pm.environment.get('phonepe_txn_id') || 'MT_TEST_001';","var saltKey = pm.environment.get('phonepe_salt_key') || '099eb0cd-02cf-4e2a-8aca-3e6c6aff0399';","var saltIndex = pm.environment.get('phonepe_salt_index') || '1';","var endpoint = '/pg/v1/status/' + merchantId + '/' + txnId;","var stringToHash = endpoint + saltKey;","var sha256Hash = CryptoJS.SHA256(stringToHash).toString();","pm.environment.set('phonepe_status_x_verify', sha256Hash + '###' + saltIndex);"],type:"text/javascript"}}],request:{method:"GET",header:[{key:"Content-Type",value:"application/json"},{key:"X-VERIFY",value:"{{phonepe_status_x_verify}}"},{key:"X-MERCHANT-ID",value:"{{phonepe_merchant_id}}"}],url:{raw:"{{phonepe_base_url}}/pg/v1/status/{{phonepe_merchant_id}}/{{phonepe_txn_id}}",host:["{{phonepe_base_url}}"],path:["pg","v1","status","{{phonepe_merchant_id}}","{{phonepe_txn_id}}"]},description:"Fetches status of transaction (PAYMENT_SUCCESS, PAYMENT_ERROR, PAYMENT_PENDING)."}}]},{name:"4. Refunds API",description:"Trigger and monitor refund requests.",item:[{name:"Initiate Refund",event:[{listen:"prerequest",script:{exec:["var refundTxnId = 'RF_' + Date.now();","pm.environment.set('phonepe_refund_id', refundTxnId);","var payload = {"," merchantId: pm.environment.get('phonepe_merchant_id') || 'PGTESTPAYUAT',"," merchantTransactionId: refundTxnId,"," originalTransactionId: pm.environment.get('phonepe_txn_id') || 'MT_TEST_001',"," amount: 149900,"," callbackUrl: pm.environment.get('local_webhook_url') || 'https://api.yourstore.com/webhooks/phonepe'","};","var base64Payload = CryptoJS.enc.Base64.stringify(CryptoJS.enc.Utf8.parse(JSON.stringify(payload)));","pm.environment.set('phonepe_refund_base64', base64Payload);","var saltKey = pm.environment.get('phonepe_salt_key') || '099eb0cd-02cf-4e2a-8aca-3e6c6aff0399';","var saltIndex = pm.environment.get('phonepe_salt_index') || '1';","var stringToHash = base64Payload + '/pg/v1/refund' + saltKey;","var sha256Hash = CryptoJS.SHA256(stringToHash).toString();","pm.environment.set('phonepe_refund_x_verify', sha256Hash + '###' + saltIndex);"],type:"text/javascript"}}],request:{method:"POST",header:[{key:"Content-Type",value:"application/json"},{key:"X-VERIFY",value:"{{phonepe_refund_x_verify}}"}],body:{mode:"raw",raw:`{
|
|
367
|
+
"request": "{{phonepe_refund_base64}}"
|
|
368
|
+
}`},url:{raw:"{{phonepe_base_url}}/pg/v1/refund",host:["{{phonepe_base_url}}"],path:["pg","v1","refund"]},description:"Initiates a refund back to customer source account."}}]},{name:"5. S2S Callback / Webhook Simulator",description:"Simulate server-to-server webhook callbacks sent by PhonePe on payment completion.",item:[{name:"S2S Callback: PAYMENT_SUCCESS",request:{method:"POST",header:[{key:"Content-Type",value:"application/json"},{key:"X-VERIFY",value:"{{phonepe_mock_callback_verify}}"}],body:{mode:"raw",raw:`{
|
|
369
|
+
"response": "eyJzdWNjZXNzIjp0cnVlLCJjb2RlIjoiUEFZTUVOVF9TVUNDRVNTIiwibWVzc2FnZSI6IlBheW1lbnQgc3VjY2Vzc2Z1bCIsImRhdGEiOnsibWVyY2hhbnRJZCI6IlBHVEVTVFBBWVVBVCIsIm1lcmNoYW50VHJhbnNhY3Rpb25JZCI6Ik1UXzA5MjE3MzgxIiwidHJhbnNhY3Rpb25JZCI6IlQyNDA5MDgxODMwMTAiLCJhbW91bnQiOjE0OTkwMCwic3RhdGUiOiJDT01QTEVURUQiLCJyZXNwb25zZUNvZGUiOiJTVUNDRVNTIn19"
|
|
370
|
+
}`},url:{raw:"{{local_webhook_url}}",host:["{{local_webhook_url}}"]},description:"Simulates PhonePe Base64 decoded PAYMENT_SUCCESS server callback."}}]}]};var m={info:{_postman_id:"pt123456-5555-4abc-def6-789012345678",name:"Paytm Payment Gateway Full API Collection",description:"Production Postman Collection for Paytm All-In-One PG (Initiate Transaction Token, Fetch Payment Status, Process Refund, Refund Status, Dynamic QR, and S2S Webhooks Simulator).",schema:"https://schema.getpostman.com/json/collection/v2.1.0/collection.json"},auth:{type:"noauth"},item:[{name:"1. Transaction & Checkout",description:"Initiate checkout and generate txnToken for Paytm JS Checkout SDK / App SDK.",item:[{name:"Initiate Transaction (Generate txnToken)",event:[{listen:"test",script:{exec:["var jsonData = pm.response.json();","if (jsonData && jsonData.body && jsonData.body.txnToken) {"," pm.environment.set('paytm_txn_token', jsonData.body.txnToken);"," console.log('Saved paytm_txn_token: ' + jsonData.body.txnToken);","}"],type:"text/javascript"}}],request:{method:"POST",header:[{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
371
|
+
"head": {
|
|
372
|
+
"signature": "{{paytm_checksum}}"
|
|
373
|
+
},
|
|
374
|
+
"body": {
|
|
375
|
+
"requestType": "Payment",
|
|
376
|
+
"mid": "{{paytm_mid}}",
|
|
377
|
+
"websiteName": "DEFAULT",
|
|
378
|
+
"orderId": "ORDER_PTM_{{$timestamp}}",
|
|
379
|
+
"callbackUrl": "{{local_webhook_url}}",
|
|
380
|
+
"txnAmount": {
|
|
381
|
+
"value": "1499.00",
|
|
382
|
+
"currency": "INR"
|
|
383
|
+
},
|
|
384
|
+
"userInfo": {
|
|
385
|
+
"custId": "CUST_{{$timestamp}}",
|
|
386
|
+
"mobile": "9876543210",
|
|
387
|
+
"email": "aman@example.com"
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
}`},url:{raw:"{{paytm_base_url}}/theia/api/v1/initiateTransaction?mid={{paytm_mid}}&orderId=ORDER_PTM_{{$timestamp}}",host:["{{paytm_base_url}}"],path:["theia","api","v1","initiateTransaction"],query:[{key:"mid",value:"{{paytm_mid}}"},{key:"orderId",value:"ORDER_PTM_{{$timestamp}}"}]},description:"Initiates payment session and returns txnToken used by frontend checkout."}}]},{name:"2. Payment Status Verification",description:"Query Paytm backend for real-time payment status.",item:[{name:"Transaction Status Check",request:{method:"POST",header:[{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
391
|
+
"head": {
|
|
392
|
+
"signature": "{{paytm_checksum}}"
|
|
393
|
+
},
|
|
394
|
+
"body": {
|
|
395
|
+
"mid": "{{paytm_mid}}",
|
|
396
|
+
"orderId": "{{paytm_order_id}}"
|
|
397
|
+
}
|
|
398
|
+
}`},url:{raw:"{{paytm_base_url}}/v3/order/status",host:["{{paytm_base_url}}"],path:["v3","order","status"]},description:"Verifies transaction state (TXN_SUCCESS, TXN_FAILURE, PENDING)."}}]},{name:"3. Refunds API",description:"Trigger and monitor refund status.",item:[{name:"Initiate Refund",request:{method:"POST",header:[{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
399
|
+
"head": {
|
|
400
|
+
"signature": "{{paytm_checksum}}"
|
|
401
|
+
},
|
|
402
|
+
"body": {
|
|
403
|
+
"mid": "{{paytm_mid}}",
|
|
404
|
+
"txnType": "REFUND",
|
|
405
|
+
"orderId": "{{paytm_order_id}}",
|
|
406
|
+
"txnId": "{{paytm_txn_id}}",
|
|
407
|
+
"refId": "REFUND_PTM_{{$timestamp}}",
|
|
408
|
+
"refundAmount": "1499.00"
|
|
409
|
+
}
|
|
410
|
+
}`},url:{raw:"{{paytm_base_url}}/refund/apply",host:["{{paytm_base_url}}"],path:["refund","apply"]},description:"Initiates refund to source payment method."}},{name:"Check Refund Status",request:{method:"POST",header:[{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
411
|
+
"head": {
|
|
412
|
+
"signature": "{{paytm_checksum}}"
|
|
413
|
+
},
|
|
414
|
+
"body": {
|
|
415
|
+
"mid": "{{paytm_mid}}",
|
|
416
|
+
"orderId": "{{paytm_order_id}}",
|
|
417
|
+
"refId": "REFUND_PTM_001"
|
|
418
|
+
}
|
|
419
|
+
}`},url:{raw:"{{paytm_base_url}}/v2/refund/status",host:["{{paytm_base_url}}"],path:["v2","refund","status"]},description:"Checks status of refund (TXN_SUCCESS, PENDING)."}}]},{name:"4. Webhooks Simulator",description:"Simulated Paytm S2S payment notification.",item:[{name:"Webhook: Payment Response S2S",request:{method:"POST",header:[{key:"Content-Type",value:"application/x-www-form-urlencoded"}],body:{mode:"urlencoded",urlencoded:[{key:"MID",value:"{{paytm_mid}}"},{key:"ORDERID",value:"ORDER_PTM_1001"},{key:"TXNAMOUNT",value:"1499.00"},{key:"CURRENCY",value:"INR"},{key:"STATUS",value:"TXN_SUCCESS"},{key:"RESPCODE",value:"01"},{key:"RESPMSG",value:"Txn Success"},{key:"BANKTXNID",value:"109283719283"},{key:"PAYMENTMODE",value:"UPI"},{key:"CHECKSUMHASH",value:"{{paytm_checksum}}"}]},url:{raw:"{{local_webhook_url}}",host:["{{local_webhook_url}}"]},description:"Simulates S2S POST callback sent by Paytm on transaction completion."}}]}]};var _={info:{_postman_id:"st123456-1111-4abc-def2-345678901234",name:"Stripe Full Global Payments API Collection",description:"Exhaustive Production Postman Collection for Stripe API (Checkout Sessions, PaymentIntents, Customers, Payment Methods, Refunds, Webhooks).",schema:"https://schema.getpostman.com/json/collection/v2.1.0/collection.json"},auth:{type:"bearer",bearer:[{key:"token",value:"{{stripe_secret_key}}",type:"string"}]},item:[{name:"1. Checkout Sessions",description:"Hosted checkout page APIs for global card and local payment methods.",item:[{name:"Create Checkout Session",event:[{listen:"test",script:{exec:["var jsonData = pm.response.json();","if (jsonData && jsonData.id) {"," pm.environment.set('stripe_session_id', jsonData.id);","}"],type:"text/javascript"}}],request:{method:"POST",header:[{key:"Content-Type",value:"application/x-www-form-urlencoded"}],body:{mode:"urlencoded",urlencoded:[{key:"mode",value:"payment"},{key:"success_url",value:"https://yourstore.com/order-confirmed?session_id={CHECKOUT_SESSION_ID}"},{key:"cancel_url",value:"https://yourstore.com/cart"},{key:"line_items[0][price_data][currency]",value:"inr"},{key:"line_items[0][price_data][product_data][name]",value:"Boost Engine Cyberpunk Hoodie"},{key:"line_items[0][price_data][unit_amount]",value:"199900"},{key:"line_items[0][quantity]",value:"1"}]},url:{raw:"{{stripe_base_url}}/checkout/sessions",host:["{{stripe_base_url}}"],path:["checkout","sessions"]},description:"Creates a Stripe Checkout Session."}},{name:"Retrieve Checkout Session",request:{method:"GET",header:[],url:{raw:"{{stripe_base_url}}/checkout/sessions/{{stripe_session_id}}",host:["{{stripe_base_url}}"],path:["checkout","sessions","{{stripe_session_id}}"]},description:"Retrieves the checkout session to verify payment status."}},{name:"Expire Checkout Session",request:{method:"POST",header:[],url:{raw:"{{stripe_base_url}}/checkout/sessions/{{stripe_session_id}}/expire",host:["{{stripe_base_url}}"],path:["checkout","sessions","{{stripe_session_id}}","expire"]},description:"Expires an open checkout session so it cannot be paid."}}]},{name:"2. Payment Intents (Headless)",description:"Direct server-driven payment flows.",item:[{name:"Create PaymentIntent",event:[{listen:"test",script:{exec:["var jsonData = pm.response.json();","if (jsonData && jsonData.id) {"," pm.environment.set('stripe_payment_intent_id', jsonData.id);","}"],type:"text/javascript"}}],request:{method:"POST",header:[{key:"Content-Type",value:"application/x-www-form-urlencoded"}],body:{mode:"urlencoded",urlencoded:[{key:"amount",value:"199900"},{key:"currency",value:"inr"},{key:"automatic_payment_methods[enabled]",value:"true"}]},url:{raw:"{{stripe_base_url}}/payment_intents",host:["{{stripe_base_url}}"],path:["payment_intents"]},description:"Creates a PaymentIntent for custom checkout Elements."}},{name:"Retrieve PaymentIntent",request:{method:"GET",header:[],url:{raw:"{{stripe_base_url}}/payment_intents/{{stripe_payment_intent_id}}",host:["{{stripe_base_url}}"],path:["payment_intents","{{stripe_payment_intent_id}}"]},description:"Checks PaymentIntent status."}},{name:"Capture PaymentIntent",request:{method:"POST",header:[],url:{raw:"{{stripe_base_url}}/payment_intents/{{stripe_payment_intent_id}}/capture",host:["{{stripe_base_url}}"],path:["payment_intents","{{stripe_payment_intent_id}}","capture"]},description:"Captures funds of an authorized PaymentIntent."}}]},{name:"3. Customers API",description:"Manage saved payment methods and customer records.",item:[{name:"Create Customer",event:[{listen:"test",script:{exec:["var jsonData = pm.response.json();","if (jsonData && jsonData.id) {"," pm.environment.set('stripe_customer_id', jsonData.id);","}"],type:"text/javascript"}}],request:{method:"POST",header:[{key:"Content-Type",value:"application/x-www-form-urlencoded"}],body:{mode:"urlencoded",urlencoded:[{key:"name",value:"Aman Sharma"},{key:"email",value:"aman@example.com"},{key:"phone",value:"+919876543210"}]},url:{raw:"{{stripe_base_url}}/customers",host:["{{stripe_base_url}}"],path:["customers"]},description:"Creates customer record in Stripe."}},{name:"Retrieve Customer",request:{method:"GET",header:[],url:{raw:"{{stripe_base_url}}/customers/{{stripe_customer_id}}",host:["{{stripe_base_url}}"],path:["customers","{{stripe_customer_id}}"]},description:"Retrieves customer profile."}}]},{name:"4. Refunds API",description:"Process and query refunds.",item:[{name:"Create Refund",request:{method:"POST",header:[{key:"Content-Type",value:"application/x-www-form-urlencoded"}],body:{mode:"urlencoded",urlencoded:[{key:"payment_intent",value:"{{stripe_payment_intent_id}}"},{key:"amount",value:"199900"}]},url:{raw:"{{stripe_base_url}}/refunds",host:["{{stripe_base_url}}"],path:["refunds"]},description:"Processes refund."}},{name:"List All Refunds",request:{method:"GET",header:[],url:{raw:"{{stripe_base_url}}/refunds?limit=10",host:["{{stripe_base_url}}"],path:["refunds"],query:[{key:"limit",value:"10"}]},description:"Lists recent refunds."}}]}]};var h={info:{_postman_id:"8f21bc90-2134-4b45-9128-b12a83e01290",name:"EasyEcom Full eCommerce & Warehouse ERP API Collection",description:"Exhaustive Enterprise Postman Collection for EasyEcom (Orders, Batch Dispatches, Multi-Warehouse Stock Sync, Master Catalog SKUs, Inward/Outward Inventory, AWB & Courier Manifests, Returns Reconciliation).",schema:"https://schema.getpostman.com/json/collection/v2.1.0/collection.json"},auth:{type:"bearer",bearer:[{key:"token",value:"{{easyecom_api_token}}",type:"string"}]},item:[{name:"1. Orders & Dispatches API",description:"Push storefront orders, fetch pending shipments, allocate couriers, and generate manifests.",item:[{name:"Fetch Pending Orders",request:{method:"GET",header:[],url:{raw:"{{easyecom_base_url}}/orders/v2/getOrders?status=pending&limit=20",host:["{{easyecom_base_url}}"],path:["orders","v2","getOrders"],query:[{key:"status",value:"pending"},{key:"limit",value:"20"}]},description:"Fetches unfulfilled orders."}},{name:"Create / Push Store Order",request:{method:"POST",header:[{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
75
420
|
"order_details": {
|
|
76
|
-
"order_reference_id": "
|
|
421
|
+
"order_reference_id": "ORD_BOOST_{{$timestamp}}",
|
|
77
422
|
"order_date": "2026-09-08 18:30:00",
|
|
78
423
|
"payment_mode": "Prepaid",
|
|
79
424
|
"marketplace": "CustomStore",
|
|
@@ -84,7 +429,7 @@
|
|
|
84
429
|
"contact_number": "9876543210"
|
|
85
430
|
},
|
|
86
431
|
"shipping_address": {
|
|
87
|
-
"address_line_1": "Flat 402, Skyline Residency
|
|
432
|
+
"address_line_1": "Flat 402, Skyline Residency",
|
|
88
433
|
"city": "Mumbai",
|
|
89
434
|
"state": "Maharashtra",
|
|
90
435
|
"pin_code": "400053",
|
|
@@ -103,43 +448,234 @@
|
|
|
103
448
|
"total_amount": 799,
|
|
104
449
|
"shipping_charges": 0
|
|
105
450
|
}
|
|
106
|
-
}`},url:{raw:"{{easyecom_base_url}}/orders/v2/createOrder",host:["{{easyecom_base_url}}"],path:["orders","v2","createOrder"]},description:"Pushes
|
|
451
|
+
}`},url:{raw:"{{easyecom_base_url}}/orders/v2/createOrder",host:["{{easyecom_base_url}}"],path:["orders","v2","createOrder"]},description:"Pushes storefront order into EasyEcom ERP."}},{name:"Update Order Status (Shipped / Delivered)",request:{method:"POST",header:[{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
107
452
|
"order_reference_id": "ORD_BOOST_9821",
|
|
108
453
|
"status": "shipped",
|
|
109
454
|
"tracking_number": "AWB_DELHIVERY_1092831",
|
|
110
455
|
"courier_name": "Delhivery Surface"
|
|
111
|
-
}`},url:{raw:"{{easyecom_base_url}}/orders/v2/updateOrderStatus",host:["{{easyecom_base_url}}"],path:["orders","v2","updateOrderStatus"]},description:"Updates
|
|
456
|
+
}`},url:{raw:"{{easyecom_base_url}}/orders/v2/updateOrderStatus",host:["{{easyecom_base_url}}"],path:["orders","v2","updateOrderStatus"]},description:"Updates fulfillment status."}},{name:"Cancel Order",request:{method:"POST",header:[{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
112
457
|
"order_reference_id": "ORD_BOOST_9821",
|
|
113
|
-
"cancellation_reason": "Customer requested cancellation before
|
|
114
|
-
}`},url:{raw:"{{easyecom_base_url}}/orders/v2/cancelOrder",host:["{{easyecom_base_url}}"],path:["orders","v2","cancelOrder"]},description:"Cancels
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
|
|
119
|
-
"remarks": "New batch inward stock from manufacturer"
|
|
120
|
-
}`},url:{raw:"{{easyecom_base_url}}/inventory/v2/updateInventory",host:["{{easyecom_base_url}}"],path:["inventory","v2","updateInventory"]},description:"Updates warehouse inventory. Supports update_type 'absolute' (set exact count) or 'incremental' (add/subtract)."}},{name:"3. Get All Warehouses List",request:{method:"GET",header:[],url:{raw:"{{easyecom_base_url}}/inventory/v2/getWarehouses",host:["{{easyecom_base_url}}"],path:["inventory","v2","getWarehouses"]},description:"Retrieves the list of active warehouse locations and fulfillment centers."}}]},{name:"Master Catalog & SKUs",description:"APIs to manage master product catalog, HSN codes, dimensions, and weights.",item:[{name:"1. Get Master Products",request:{method:"GET",header:[],url:{raw:"{{easyecom_base_url}}/catalog/v2/getMasterProducts?limit=20&page=1",host:["{{easyecom_base_url}}"],path:["catalog","v2","getMasterProducts"],query:[{key:"limit",value:"20"},{key:"page",value:"1"}]},description:"Fetches master product catalog records with weights, dimensions, and barcodes."}},{name:"2. Create / Update Master SKU",request:{method:"POST",header:[{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
458
|
+
"cancellation_reason": "Customer requested cancellation before pack"
|
|
459
|
+
}`},url:{raw:"{{easyecom_base_url}}/orders/v2/cancelOrder",host:["{{easyecom_base_url}}"],path:["orders","v2","cancelOrder"]},description:"Cancels order in EasyEcom ERP."}},{name:"Generate Dispatch Manifest",request:{method:"POST",header:[{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
460
|
+
"carrier_name": "Delhivery",
|
|
461
|
+
"warehouse_id": 101,
|
|
462
|
+
"order_ids": ["ORD_BOOST_9821", "ORD_BOOST_9822"]
|
|
463
|
+
}`},url:{raw:"{{easyecom_base_url}}/orders/v2/generateManifest",host:["{{easyecom_base_url}}"],path:["orders","v2","generateManifest"]},description:"Generates dispatch handover manifest document."}}]},{name:"2. Inventory & Warehouses API",description:"Multi-location inventory sync, stock adjustment, and warehouse management.",item:[{name:"Get Inventory by Warehouse",request:{method:"GET",header:[],url:{raw:"{{easyecom_base_url}}/inventory/v2/getInventory?warehouse_id=101&limit=50",host:["{{easyecom_base_url}}"],path:["inventory","v2","getInventory"],query:[{key:"warehouse_id",value:"101"},{key:"limit",value:"50"}]},description:"Fetches current stock on hand and available to sell."}},{name:"Update Stock (Single SKU)",request:{method:"POST",header:[{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
121
464
|
"sku": "TEE-ANIME-BLK-L",
|
|
122
|
-
"
|
|
123
|
-
"
|
|
124
|
-
"
|
|
125
|
-
|
|
126
|
-
"
|
|
127
|
-
"
|
|
128
|
-
"
|
|
129
|
-
"
|
|
130
|
-
"
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
"
|
|
138
|
-
"
|
|
139
|
-
|
|
465
|
+
"warehouse_id": 101,
|
|
466
|
+
"quantity": 150,
|
|
467
|
+
"update_type": "absolute"
|
|
468
|
+
}`},url:{raw:"{{easyecom_base_url}}/inventory/v2/updateStock",host:["{{easyecom_base_url}}"],path:["inventory","v2","updateStock"]},description:"Updates physical inventory for an SKU across sales channels."}},{name:"List All Warehouses",request:{method:"GET",header:[],url:{raw:"{{easyecom_base_url}}/warehouses/v2/getWarehouses",host:["{{easyecom_base_url}}"],path:["warehouses","v2","getWarehouses"]},description:"Lists all fulfillment centers and locations."}}]},{name:"3. Master Catalog & SKUs",description:"Manage master product catalog, barcodes, and HSN tax codes.",item:[{name:"Get Product Master by SKU",request:{method:"GET",header:[],url:{raw:"{{easyecom_base_url}}/products/v2/getProduct?sku=TEE-ANIME-BLK-L",host:["{{easyecom_base_url}}"],path:["products","v2","getProduct"],query:[{key:"sku",value:"TEE-ANIME-BLK-L"}]},description:"Fetches SKU attributes, weight, dimensions, and HSN code."}},{name:"Create / Update Product Master",request:{method:"POST",header:[{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
469
|
+
"sku": "HOODIE-WINTER-NVY-XL",
|
|
470
|
+
"name": "Oversized Navy Blue Winter Hoodie (XL)",
|
|
471
|
+
"hsn_code": "61012000",
|
|
472
|
+
"cost_price": 650,
|
|
473
|
+
"mrp": 2499,
|
|
474
|
+
"tax_rate": 12,
|
|
475
|
+
"weight_grams": 650,
|
|
476
|
+
"length": 30,
|
|
477
|
+
"width": 25,
|
|
478
|
+
"height": 8
|
|
479
|
+
}`},url:{raw:"{{easyecom_base_url}}/products/v2/createProduct",host:["{{easyecom_base_url}}"],path:["products","v2","createProduct"]},description:"Creates master product record in ERP."}}]},{name:"4. Returns & Inward Reconciliation",description:"Process RTO & Customer Returns.",item:[{name:"List Inward Returns",request:{method:"GET",header:[],url:{raw:"{{easyecom_base_url}}/returns/v2/getReturns?status=in_transit&limit=20",host:["{{easyecom_base_url}}"],path:["returns","v2","getReturns"],query:[{key:"status",value:"in_transit"},{key:"limit",value:"20"}]},description:"Lists customer returns on their way to warehouse."}},{name:"Reconcile Inward Return",request:{method:"POST",header:[{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
480
|
+
"return_id": "RET_109283",
|
|
481
|
+
"qc_status": "PASSED",
|
|
482
|
+
"restock_inventory": true,
|
|
483
|
+
"warehouse_id": 101,
|
|
484
|
+
"remarks": "Item verified in original packaging"
|
|
485
|
+
}`},url:{raw:"{{easyecom_base_url}}/returns/v2/reconcileReturn",host:["{{easyecom_base_url}}"],path:["returns","v2","reconcileReturn"]},description:"Runs QC check and restocks returned item back to inventory."}}]}]};var y={info:{_postman_id:"sr123456-2222-4abc-def3-456789012345",name:"Shiprocket Full Logistics & Courier API Collection",description:"Exhaustive Enterprise Postman Collection for Shiprocket (Authentication, Pincode & International Serviceability, Custom & Bulk Orders, AWB Generation, Courier Pickup, Manifests, Labels, Tax Invoices, Live Tracking, NDR Actions, and Webhooks Simulator). Includes auto-chaining token and shipment IDs.",schema:"https://schema.getpostman.com/json/collection/v2.1.0/collection.json"},auth:{type:"bearer",bearer:[{key:"token",value:"{{shiprocket_token}}",type:"string"}]},item:[{name:"1. Authentication",description:"Login API to generate Bearer JWT token.",item:[{name:"Login & Auto-Set Token",event:[{listen:"test",script:{exec:["var jsonData = pm.response.json();","if (jsonData && jsonData.token) {"," pm.environment.set('shiprocket_token', jsonData.token);"," console.log('Shiprocket token saved to environment!');","}"],type:"text/javascript"}}],request:{method:"POST",header:[{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
486
|
+
"email": "{{shiprocket_email}}",
|
|
487
|
+
"password": "{{shiprocket_password}}"
|
|
488
|
+
}`},url:{raw:"{{shiprocket_base_url}}/auth/login",host:["{{shiprocket_base_url}}"],path:["auth","login"]},description:"Logs in and automatically saves JWT into {{shiprocket_token}} for all subsequent requests."}}]},{name:"2. Serviceability & Courier Rates",description:"Check pin code delivery, courier rates, and COD eligibility.",item:[{name:"Check Domestic Courier Serviceability & Rates",request:{method:"GET",header:[],url:{raw:"{{shiprocket_base_url}}/courier/serviceability?pickup_postcode={{pickup_pincode}}&delivery_postcode={{delivery_pincode}}&weight=0.5&cod=1",host:["{{shiprocket_base_url}}"],path:["courier","serviceability"],query:[{key:"pickup_postcode",value:"{{pickup_pincode}}"},{key:"delivery_postcode",value:"{{delivery_pincode}}"},{key:"weight",value:"0.5"},{key:"cod",value:"1"}]},description:"Returns courier partners (Delhivery, Bluedart, Xpressbees, Shadowfax) with freight rates and estimated delivery times."}},{name:"Check International Courier Serviceability",request:{method:"GET",header:[],url:{raw:"{{shiprocket_base_url}}/courier/international/serviceability?pickup_postcode={{pickup_pincode}}&delivery_country=US&delivery_postcode=90001&weight=1",host:["{{shiprocket_base_url}}"],path:["courier","international","serviceability"],query:[{key:"pickup_postcode",value:"{{pickup_pincode}}"},{key:"delivery_country",value:"US"},{key:"delivery_postcode",value:"90001"},{key:"weight",value:"1"}]},description:"Calculates cross-border shipping rates for DHL, FedEx, Aramex."}}]},{name:"3. Orders API",description:"Create, modify, and cancel shipment orders.",item:[{name:"Create Custom / Quick Order",event:[{listen:"test",script:{exec:["var jsonData = pm.response.json();","if (jsonData && jsonData.order_id) {"," pm.environment.set('shiprocket_order_id', jsonData.order_id);"," pm.environment.set('shipment_id', jsonData.shipment_id);"," console.log('Saved order_id: ' + jsonData.order_id + ', shipment_id: ' + jsonData.shipment_id);","}"],type:"text/javascript"}}],request:{method:"POST",header:[{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
489
|
+
"order_id": "ORD_SR_{{$timestamp}}",
|
|
490
|
+
"order_date": "2026-09-08 18:30",
|
|
491
|
+
"pickup_location": "Primary Warehouse",
|
|
492
|
+
"billing_customer_name": "Aman",
|
|
493
|
+
"billing_last_name": "Sharma",
|
|
494
|
+
"billing_address": "Flat 402, Skyline Residency",
|
|
495
|
+
"billing_city": "Mumbai",
|
|
496
|
+
"billing_pincode": "400053",
|
|
497
|
+
"billing_state": "Maharashtra",
|
|
498
|
+
"billing_country": "India",
|
|
499
|
+
"billing_email": "aman@example.com",
|
|
500
|
+
"billing_phone": "9876543210",
|
|
501
|
+
"shipping_is_billing": true,
|
|
502
|
+
"order_items": [
|
|
503
|
+
{
|
|
504
|
+
"name": "Boost Engine Heavy Hoodie",
|
|
505
|
+
"sku": "HOODIE-BLK-L",
|
|
506
|
+
"units": 1,
|
|
507
|
+
"selling_price": 1499,
|
|
508
|
+
"discount": 0,
|
|
509
|
+
"tax": 18
|
|
510
|
+
}
|
|
511
|
+
],
|
|
512
|
+
"payment_method": "Prepaid",
|
|
513
|
+
"sub_total": 1499,
|
|
514
|
+
"length": 10,
|
|
515
|
+
"breadth": 15,
|
|
516
|
+
"height": 5,
|
|
517
|
+
"weight": 0.5
|
|
518
|
+
}`},url:{raw:"{{shiprocket_base_url}}/orders/create/adhoc",host:["{{shiprocket_base_url}}"],path:["orders","create","adhoc"]},description:"Creates shipment order and sets {{shiprocket_order_id}} and {{shipment_id}}."}},{name:"Update Customer Delivery Address",request:{method:"POST",header:[{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
519
|
+
"order_id": [{{shiprocket_order_id}}],
|
|
520
|
+
"shipping_customer_name": "Aman Sharma",
|
|
521
|
+
"shipping_phone": "9876543210",
|
|
522
|
+
"shipping_address": "Plot 12, Tech Park, Andheri East",
|
|
523
|
+
"shipping_city": "Mumbai",
|
|
524
|
+
"shipping_state": "Maharashtra",
|
|
525
|
+
"shipping_pincode": "400069",
|
|
526
|
+
"shipping_country": "India"
|
|
527
|
+
}`},url:{raw:"{{shiprocket_base_url}}/orders/address/update",host:["{{shiprocket_base_url}}"],path:["orders","address","update"]},description:"Updates customer shipping address before courier pickup."}},{name:"Cancel Order",request:{method:"POST",header:[{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
528
|
+
"ids": [{{shiprocket_order_id}}]
|
|
529
|
+
}`},url:{raw:"{{shiprocket_base_url}}/orders/cancel",host:["{{shiprocket_base_url}}"],path:["orders","cancel"]},description:"Cancels an order before dispatch."}},{name:"Create Return Order",request:{method:"POST",header:[{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
530
|
+
"order_id": "RET_SR_{{$timestamp}}",
|
|
531
|
+
"order_date": "2026-09-08 18:30",
|
|
532
|
+
"channel_id": "",
|
|
533
|
+
"pickup_customer_name": "Aman Sharma",
|
|
534
|
+
"pickup_phone": "9876543210",
|
|
535
|
+
"pickup_address": "Flat 402, Skyline Residency",
|
|
536
|
+
"pickup_city": "Mumbai",
|
|
537
|
+
"pickup_state": "Maharashtra",
|
|
538
|
+
"pickup_pincode": "400053",
|
|
539
|
+
"order_items": [
|
|
540
|
+
{
|
|
541
|
+
"name": "Boost Engine Heavy Hoodie",
|
|
542
|
+
"sku": "HOODIE-BLK-L",
|
|
543
|
+
"units": 1,
|
|
544
|
+
"selling_price": 1499
|
|
545
|
+
}
|
|
546
|
+
],
|
|
547
|
+
"sub_total": 1499,
|
|
548
|
+
"length": 10,
|
|
549
|
+
"breadth": 15,
|
|
550
|
+
"height": 5,
|
|
551
|
+
"weight": 0.5
|
|
552
|
+
}`},url:{raw:"{{shiprocket_base_url}}/orders/create/return",host:["{{shiprocket_base_url}}"],path:["orders","create","return"]},description:"Creates reverse pickup request for returned products."}}]},{name:"4. Shipments, AWB & Labels",description:"Assign courier AWB, schedule pickup, print labels & manifests.",item:[{name:"Generate AWB (Assign Courier)",event:[{listen:"test",script:{exec:["var jsonData = pm.response.json();","if (jsonData && jsonData.response && jsonData.response.data) {"," pm.environment.set('shiprocket_awb', jsonData.response.data.awb_code);"," console.log('Saved AWB: ' + jsonData.response.data.awb_code);","}"],type:"text/javascript"}}],request:{method:"POST",header:[{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
553
|
+
"shipment_id": {{shipment_id}},
|
|
554
|
+
"courier_id": ""
|
|
555
|
+
}`},url:{raw:"{{shiprocket_base_url}}/courier/assign/awb",host:["{{shiprocket_base_url}}"],path:["courier","assign","awb"]},description:"Assigns courier and generates AWB tracking number."}},{name:"Request Courier Pickup",request:{method:"POST",header:[{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
556
|
+
"shipment_id": [{{shipment_id}}]
|
|
557
|
+
}`},url:{raw:"{{shiprocket_base_url}}/courier/generate/pickup",host:["{{shiprocket_base_url}}"],path:["courier","generate","pickup"]},description:"Schedules rider pickup at your warehouse."}},{name:"Generate Shipping Label",request:{method:"POST",header:[{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
558
|
+
"shipment_id": [{{shipment_id}}]
|
|
559
|
+
}`},url:{raw:"{{shiprocket_base_url}}/courier/generate/label",host:["{{shiprocket_base_url}}"],path:["courier","generate","label"]},description:"Returns PDF label download URL with barcode for thermal printing."}},{name:"Generate Manifest & Print",request:{method:"POST",header:[{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
560
|
+
"shipment_id": [{{shipment_id}}]
|
|
561
|
+
}`},url:{raw:"{{shiprocket_base_url}}/manifests/generate",host:["{{shiprocket_base_url}}"],path:["manifests","generate"]},description:"Generates courier handover manifest document for driver signature."}},{name:"Print Tax Invoice",request:{method:"POST",header:[{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
562
|
+
"ids": [{{shiprocket_order_id}}]
|
|
563
|
+
}`},url:{raw:"{{shiprocket_base_url}}/orders/print/invoice",host:["{{shiprocket_base_url}}"],path:["orders","print","invoice"]},description:"Downloads PDF invoice for customer package."}}]},{name:"5. Live Tracking API",description:"Realtime parcel location, transit updates, and ETA.",item:[{name:"Track by AWB Code",request:{method:"GET",header:[],url:{raw:"{{shiprocket_base_url}}/courier/track/awb/{{shiprocket_awb}}",host:["{{shiprocket_base_url}}"],path:["courier","track","awb","{{shiprocket_awb}}"]},description:"Returns complete scan history, current hub, and delivered timestamp."}},{name:"Track by Order ID",request:{method:"GET",header:[],url:{raw:"{{shiprocket_base_url}}/courier/track?order_id={{shiprocket_order_id}}",host:["{{shiprocket_base_url}}"],path:["courier","track"],query:[{key:"order_id",value:"{{shiprocket_order_id}}"}]},description:"Fetches tracking history directly by order ID."}}]},{name:"6. NDR (Non-Delivery Reports & Escalations)",description:"Manage undelivered packages, trigger WhatsApp verification & re-attempts.",item:[{name:"Fetch All NDR Orders",request:{method:"GET",header:[],url:{raw:"{{shiprocket_base_url}}/ndr/all",host:["{{shiprocket_base_url}}"],path:["ndr","all"]},description:"Lists failed delivery attempts (Customer Unavailable, Address Incomplete, COD Refused)."}},{name:"Action NDR (Re-attempt Delivery)",request:{method:"POST",header:[{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
564
|
+
"action": "reattempt",
|
|
565
|
+
"awb": "{{shiprocket_awb}}",
|
|
566
|
+
"next_attempt_date": "2026-09-09",
|
|
567
|
+
"comments": "Customer confirmed availability on phone call"
|
|
568
|
+
}`},url:{raw:"{{shiprocket_base_url}}/ndr/action",host:["{{shiprocket_base_url}}"],path:["ndr","action"]},description:"Instructs courier to reattempt package delivery."}},{name:"Action NDR (Return to Origin - RTO)",request:{method:"POST",header:[{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
569
|
+
"action": "return",
|
|
570
|
+
"awb": "{{shiprocket_awb}}",
|
|
571
|
+
"comments": "Customer cancelled order"
|
|
572
|
+
}`},url:{raw:"{{shiprocket_base_url}}/ndr/action",host:["{{shiprocket_base_url}}"],path:["ndr","action"]},description:"Instructs courier to return undelivered parcel back to merchant warehouse."}}]},{name:"7. Webhooks Simulator",description:"Ready-to-fire simulated Shiprocket webhook payloads.",item:[{name:"Webhook: shipment.shipped",request:{method:"POST",header:[{key:"Content-Type",value:"application/json"},{key:"x-api-key",value:"{{shiprocket_webhook_token}}"}],body:{mode:"raw",raw:`{
|
|
573
|
+
"awb": "10928371928",
|
|
574
|
+
"courier_name": "Delhivery",
|
|
575
|
+
"current_status": "SHIPPED",
|
|
576
|
+
"order_id": "ORD_SR_1001",
|
|
577
|
+
"scans": [
|
|
578
|
+
{
|
|
579
|
+
"date": "2026-09-08 20:00:00",
|
|
580
|
+
"activity": "Picked up from warehouse",
|
|
581
|
+
"location": "Bhiwandi Hub"
|
|
582
|
+
}
|
|
583
|
+
]
|
|
584
|
+
}`},url:{raw:"{{local_webhook_url}}",host:["{{local_webhook_url}}"]},description:"Simulates shipment.shipped status update."}},{name:"Webhook: shipment.delivered",request:{method:"POST",header:[{key:"Content-Type",value:"application/json"},{key:"x-api-key",value:"{{shiprocket_webhook_token}}"}],body:{mode:"raw",raw:`{
|
|
585
|
+
"awb": "10928371928",
|
|
140
586
|
"courier_name": "Delhivery",
|
|
141
|
-
"
|
|
142
|
-
"
|
|
143
|
-
|
|
144
|
-
|
|
587
|
+
"current_status": "DELIVERED",
|
|
588
|
+
"order_id": "ORD_SR_1001",
|
|
589
|
+
"delivered_to": "Aman Sharma",
|
|
590
|
+
"delivered_date": "2026-09-10 14:20:00"
|
|
591
|
+
}`},url:{raw:"{{local_webhook_url}}",host:["{{local_webhook_url}}"]},description:"Simulates shipment.delivered event."}}]}]};var v={info:{_postman_id:"dl123456-3333-4abc-def4-567890123456",name:"Delhivery Full Express Logistics API Collection",description:"Exhaustive Enterprise Postman Collection for Delhivery Express (Pincode Serviceability, Waybill Management, Single & Bulk Shipment Manifests, Shipping Labels, Warehouse Pickup Requests, Live Tracking, NDR Actions, and Webhooks Simulator).",schema:"https://schema.getpostman.com/json/collection/v2.1.0/collection.json"},auth:{type:"noauth"},item:[{name:"1. Serviceability & Rates",description:"Check pin code delivery, COD status, and calculate freight rates.",item:[{name:"Check Pincode Serviceability",request:{method:"GET",header:[{key:"Authorization",value:"Token {{delhivery_api_token}}"}],url:{raw:"{{delhivery_base_url}}/c/api/pin-codes/json/?filter_codes={{check_pincode}}",host:["{{delhivery_base_url}}"],path:["c","api","pin-codes","json",""],query:[{key:"filter_codes",value:"{{check_pincode}}"}]},description:"Checks if the pincode is serviceable for Surface/Express and COD."}},{name:"Calculate Estimated Shipping Rate",request:{method:"GET",header:[{key:"Authorization",value:"Token {{delhivery_api_token}}"}],url:{raw:"{{delhivery_base_url}}/api/kinko/v1/invoice/charges/.json?md=S&ss=Delivered&d_pin={{check_pincode}}&o_pin=110001&cgm=500&pt=Pre-paid",host:["{{delhivery_base_url}}"],path:["api","kinko","v1","invoice","charges",".json"],query:[{key:"md",value:"S",description:"Mode: S (Surface) or E (Express)"},{key:"ss",value:"Delivered"},{key:"d_pin",value:"{{check_pincode}}"},{key:"o_pin",value:"110001"},{key:"cgm",value:"500"},{key:"pt",value:"Pre-paid"}]},description:"Calculates shipping charges based on weight, distance, and payment type."}}]},{name:"2. Waybill & Shipments API",description:"Generate bulk waybills, create manifest shipments, and update orders.",item:[{name:"Fetch Bulk Waybill Numbers",event:[{listen:"test",script:{exec:["var jsonData = pm.response.text();","if (jsonData) {",` var firstWbn = jsonData.split(',')[0].replace(/"/g, '').trim();`," pm.environment.set('delhivery_waybill', firstWbn);"," console.log('Saved Delhivery Waybill: ' + firstWbn);","}"],type:"text/javascript"}}],request:{method:"GET",header:[{key:"Authorization",value:"Token {{delhivery_api_token}}"}],url:{raw:"{{delhivery_base_url}}/waybill/api/bulk/json/?count=5",host:["{{delhivery_base_url}}"],path:["waybill","api","bulk","json",""],query:[{key:"count",value:"5"}]},description:"Fetches a pre-allocated pool of waybill tracking numbers."}},{name:"Create Surface / Express Shipment",request:{method:"POST",header:[{key:"Authorization",value:"Token {{delhivery_api_token}}"},{key:"Content-Type",value:"application/x-www-form-urlencoded"}],body:{mode:"urlencoded",urlencoded:[{key:"format",value:"json",type:"text"},{key:"data",value:`{
|
|
592
|
+
"shipments": [
|
|
593
|
+
{
|
|
594
|
+
"name": "Aman Sharma",
|
|
595
|
+
"add": "Flat 402, Skyline Residency",
|
|
596
|
+
"pin": "400053",
|
|
597
|
+
"city": "Mumbai",
|
|
598
|
+
"state": "Maharashtra",
|
|
599
|
+
"country": "India",
|
|
600
|
+
"phone": "9876543210",
|
|
601
|
+
"order": "ORD_DEL_{{$timestamp}}",
|
|
602
|
+
"payment_mode": "Pre-paid",
|
|
603
|
+
"products_desc": "Boost Apparel",
|
|
604
|
+
"cod_amount": "0",
|
|
605
|
+
"order_date": "2026-09-08 18:30:00",
|
|
606
|
+
"total_amount": "1499",
|
|
607
|
+
"seller_add": "Warehouse 1, Bhiwandi",
|
|
608
|
+
"seller_name": "Boost Engine Store",
|
|
609
|
+
"seller_inv": "INV_9821",
|
|
610
|
+
"quantity": "1",
|
|
611
|
+
"waybill": "{{delhivery_waybill}}",
|
|
612
|
+
"shipment_width": 15,
|
|
613
|
+
"shipment_height": 5,
|
|
614
|
+
"weight": 500
|
|
615
|
+
}
|
|
616
|
+
],
|
|
617
|
+
"pickup_location": {
|
|
618
|
+
"name": "Primary Warehouse"
|
|
619
|
+
}
|
|
620
|
+
}`,type:"text"}]},url:{raw:"{{delhivery_base_url}}/api/cmu/create.json",host:["{{delhivery_base_url}}"],path:["api","cmu","create.json"]},description:"Manifests an order and books parcel pickup with Delhivery Express."}},{name:"Edit Shipment Customer Address",request:{method:"POST",header:[{key:"Authorization",value:"Token {{delhivery_api_token}}"},{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
621
|
+
"waybill": "{{delhivery_waybill}}",
|
|
622
|
+
"name": "Aman Sharma",
|
|
623
|
+
"phone": "9876543210",
|
|
624
|
+
"add": "Plot 12, Tech Park, Andheri East"
|
|
625
|
+
}`},url:{raw:"{{delhivery_base_url}}/api/p/edit",host:["{{delhivery_base_url}}"],path:["api","p","edit"]},description:"Updates receiver contact or delivery address."}},{name:"Cancel Shipment Waybill",request:{method:"POST",header:[{key:"Authorization",value:"Token {{delhivery_api_token}}"},{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
626
|
+
"waybill": "{{delhivery_waybill}}",
|
|
627
|
+
"cancellation": "true"
|
|
628
|
+
}`},url:{raw:"{{delhivery_base_url}}/api/p/edit",host:["{{delhivery_base_url}}"],path:["api","p","edit"]},description:"Cancels a booked waybill."}}]},{name:"3. Warehouse & Pickup Request",description:"Schedule rider warehouse pickup.",item:[{name:"Create Warehouse Pickup Request",request:{method:"POST",header:[{key:"Authorization",value:"Token {{delhivery_api_token}}"},{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
629
|
+
"pickup_time": "14:00:00",
|
|
630
|
+
"pickup_date": "2026-09-09",
|
|
631
|
+
"pickup_location": "Primary Warehouse",
|
|
632
|
+
"expected_package_count": 10
|
|
633
|
+
}`},url:{raw:"{{delhivery_base_url}}/fm/request/new/",host:["{{delhivery_base_url}}"],path:["fm","request","new",""]},description:"Requests Delhivery pickup van at your warehouse location."}}]},{name:"4. Shipping Label & Barcodes",description:"Generate thermal shipping slips.",item:[{name:"Download Shipping Label (PDF / Barcode)",request:{method:"GET",header:[{key:"Authorization",value:"Token {{delhivery_api_token}}"}],url:{raw:"{{delhivery_base_url}}/api/p/packing_slip?wbns={{delhivery_waybill}}&pdf=true",host:["{{delhivery_base_url}}"],path:["api","p","packing_slip"],query:[{key:"wbns",value:"{{delhivery_waybill}}"},{key:"pdf",value:"true"}]},description:"Downloads PDF shipping label with courier routing code and barcode."}}]},{name:"5. Live Tracking API",description:"Realtime parcel scan checkpoints and delivery confirmations.",item:[{name:"Live Track by Waybill",request:{method:"GET",header:[{key:"Authorization",value:"Token {{delhivery_api_token}}"}],url:{raw:"{{delhivery_base_url}}/api/v1/packages/json/?waybill={{delhivery_waybill}}",host:["{{delhivery_base_url}}"],path:["api","v1","packages","json",""],query:[{key:"waybill",value:"{{delhivery_waybill}}"}]},description:"Returns full transit scans, current hub, and delivery status."}}]},{name:"6. Webhooks Simulator",description:"Simulated Delhivery push event notifications.",item:[{name:"Webhook: In-Transit Status",request:{method:"POST",header:[{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
634
|
+
"Shipment": {
|
|
635
|
+
"AWB": "128371928371",
|
|
636
|
+
"Status": {
|
|
637
|
+
"Status": "In Transit",
|
|
638
|
+
"StatusDateTime": "2026-09-08T22:00:00+05:30",
|
|
639
|
+
"StatusType": "UD",
|
|
640
|
+
"Instructions": "Package arrived at Mumbai Central Sort Center"
|
|
641
|
+
}
|
|
642
|
+
}
|
|
643
|
+
}`},url:{raw:"{{local_webhook_url}}",host:["{{local_webhook_url}}"]},description:"Simulates Delhivery push tracking event."}}]}]};var k={info:{_postman_id:"sp123456-4444-4abc-def5-678901234567",name:"Shopify Full Admin REST API Collection (2024-07)",description:"Exhaustive Production Postman Collection for Shopify Admin REST API 2024-07 (Products, Variants, Orders, Fulfillments, Customers, Inventory Levels, Webhooks). Includes auto-chaining IDs.",schema:"https://schema.getpostman.com/json/collection/v2.1.0/collection.json"},auth:{type:"noauth"},item:[{name:"1. Products & Variants",description:"Manage catalog products, variants, images, and prices.",item:[{name:"Fetch Products List",request:{method:"GET",header:[{key:"X-Shopify-Access-Token",value:"{{shopify_access_token}}"}],url:{raw:"https://{{shopify_store_domain}}.myshopify.com/admin/api/2024-07/products.json?limit=20",protocol:"https",host:["{{shopify_store_domain}}","myshopify","com"],path:["admin","api","2024-07","products.json"],query:[{key:"limit",value:"20"}]},description:"Lists store products."}},{name:"Create Product",event:[{listen:"test",script:{exec:["var jsonData = pm.response.json();","if (jsonData && jsonData.product && jsonData.product.id) {"," pm.environment.set('shopify_product_id', jsonData.product.id);"," if (jsonData.product.variants && jsonData.product.variants[0]) {"," pm.environment.set('shopify_variant_id', jsonData.product.variants[0].id);"," pm.environment.set('shopify_inventory_item_id', jsonData.product.variants[0].inventory_item_id);"," }","}"],type:"text/javascript"}}],request:{method:"POST",header:[{key:"X-Shopify-Access-Token",value:"{{shopify_access_token}}"},{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
644
|
+
"product": {
|
|
645
|
+
"title": "Boost Engine Oversized Tee",
|
|
646
|
+
"body_html": "<strong>240 GSM Luxury Heavyweight Cotton</strong>",
|
|
647
|
+
"vendor": "Boost Engine",
|
|
648
|
+
"product_type": "Apparel",
|
|
649
|
+
"tags": "anime, oversized, luxury",
|
|
650
|
+
"variants": [
|
|
651
|
+
{
|
|
652
|
+
"option1": "Large",
|
|
653
|
+
"price": "999.00",
|
|
654
|
+
"sku": "TEE-BOOST-L",
|
|
655
|
+
"inventory_management": "shopify"
|
|
656
|
+
}
|
|
657
|
+
]
|
|
658
|
+
}
|
|
659
|
+
}`},url:{raw:"https://{{shopify_store_domain}}.myshopify.com/admin/api/2024-07/products.json",protocol:"https",host:["{{shopify_store_domain}}","myshopify","com"],path:["admin","api","2024-07","products.json"]},description:"Creates product and auto-saves product ID, variant ID, and inventory item ID in environment."}},{name:"Get Product by ID",request:{method:"GET",header:[{key:"X-Shopify-Access-Token",value:"{{shopify_access_token}}"}],url:{raw:"https://{{shopify_store_domain}}.myshopify.com/admin/api/2024-07/products/{{shopify_product_id}}.json",protocol:"https",host:["{{shopify_store_domain}}","myshopify","com"],path:["admin","api","2024-07","products","{{shopify_product_id}}.json"]},description:"Fetches a specific product entity."}},{name:"Update Variant Price",request:{method:"PUT",header:[{key:"X-Shopify-Access-Token",value:"{{shopify_access_token}}"},{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
660
|
+
"variant": {
|
|
661
|
+
"id": {{shopify_variant_id}},
|
|
662
|
+
"price": "899.00",
|
|
663
|
+
"compare_at_price": "1499.00"
|
|
664
|
+
}
|
|
665
|
+
}`},url:{raw:"https://{{shopify_store_domain}}.myshopify.com/admin/api/2024-07/variants/{{shopify_variant_id}}.json",protocol:"https",host:["{{shopify_store_domain}}","myshopify","com"],path:["admin","api","2024-07","variants","{{shopify_variant_id}}.json"]},description:"Updates variant price and strikethrough compare-at price."}}]},{name:"2. Orders & Fulfillments",description:"Fetch orders, create manual orders, and manage fulfillments.",item:[{name:"Fetch Orders List",request:{method:"GET",header:[{key:"X-Shopify-Access-Token",value:"{{shopify_access_token}}"}],url:{raw:"https://{{shopify_store_domain}}.myshopify.com/admin/api/2024-07/orders.json?status=any&limit=20",protocol:"https",host:["{{shopify_store_domain}}","myshopify","com"],path:["admin","api","2024-07","orders.json"],query:[{key:"status",value:"any"},{key:"limit",value:"20"}]},description:"Lists store orders."}},{name:"Get Order Details",request:{method:"GET",header:[{key:"X-Shopify-Access-Token",value:"{{shopify_access_token}}"}],url:{raw:"https://{{shopify_store_domain}}.myshopify.com/admin/api/2024-07/orders/{{shopify_order_id}}.json",protocol:"https",host:["{{shopify_store_domain}}","myshopify","com"],path:["admin","api","2024-07","orders","{{shopify_order_id}}.json"]},description:"Fetches line items, shipping address, and payment gateway details."}},{name:"Cancel Order",request:{method:"POST",header:[{key:"X-Shopify-Access-Token",value:"{{shopify_access_token}}"},{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
666
|
+
"reason": "customer",
|
|
667
|
+
"email": true,
|
|
668
|
+
"restock": true
|
|
669
|
+
}`},url:{raw:"https://{{shopify_store_domain}}.myshopify.com/admin/api/2024-07/orders/{{shopify_order_id}}/cancel.json",protocol:"https",host:["{{shopify_store_domain}}","myshopify","com"],path:["admin","api","2024-07","orders","{{shopify_order_id}}","cancel.json"]},description:"Cancels order and optionally restocks inventory."}}]},{name:"3. Customers API",description:"Search and manage customer profiles.",item:[{name:"Search Customer by Email",request:{method:"GET",header:[{key:"X-Shopify-Access-Token",value:"{{shopify_access_token}}"}],url:{raw:"https://{{shopify_store_domain}}.myshopify.com/admin/api/2024-07/customers/search.json?query=email:aman@example.com",protocol:"https",host:["{{shopify_store_domain}}","myshopify","com"],path:["admin","api","2024-07","customers","search.json"],query:[{key:"query",value:"email:aman@example.com"}]},description:"Searches for an existing customer profile."}}]},{name:"4. Inventory & Locations",description:"Sync multi-location inventory levels.",item:[{name:"List Store Locations",request:{method:"GET",header:[{key:"X-Shopify-Access-Token",value:"{{shopify_access_token}}"}],url:{raw:"https://{{shopify_store_domain}}.myshopify.com/admin/api/2024-07/locations.json",protocol:"https",host:["{{shopify_store_domain}}","myshopify","com"],path:["admin","api","2024-07","locations.json"]},description:"Retrieves warehouse locations."}},{name:"Set Inventory Level",request:{method:"POST",header:[{key:"X-Shopify-Access-Token",value:"{{shopify_access_token}}"},{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
670
|
+
"location_id": {{shopify_location_id}},
|
|
671
|
+
"inventory_item_id": {{shopify_inventory_item_id}},
|
|
672
|
+
"available": 100
|
|
673
|
+
}`},url:{raw:"https://{{shopify_store_domain}}.myshopify.com/admin/api/2024-07/inventory_levels/set.json",protocol:"https",host:["{{shopify_store_domain}}","myshopify","com"],path:["admin","api","2024-07","inventory_levels","set.json"]},description:"Updates live available stock count."}}]},{name:"5. Webhooks API",description:"Register and manage Shopify real-time webhooks.",item:[{name:"List Registered Webhooks",request:{method:"GET",header:[{key:"X-Shopify-Access-Token",value:"{{shopify_access_token}}"}],url:{raw:"https://{{shopify_store_domain}}.myshopify.com/admin/api/2024-07/webhooks.json",protocol:"https",host:["{{shopify_store_domain}}","myshopify","com"],path:["admin","api","2024-07","webhooks.json"]},description:"Lists active webhooks."}},{name:"Register Order Paid Webhook",request:{method:"POST",header:[{key:"X-Shopify-Access-Token",value:"{{shopify_access_token}}"},{key:"Content-Type",value:"application/json"}],body:{mode:"raw",raw:`{
|
|
674
|
+
"webhook": {
|
|
675
|
+
"topic": "orders/paid",
|
|
676
|
+
"address": "https://yourstore.com/api/webhooks/shopify",
|
|
677
|
+
"format": "json"
|
|
678
|
+
}
|
|
679
|
+
}`},url:{raw:"https://{{shopify_store_domain}}.myshopify.com/admin/api/2024-07/webhooks.json",protocol:"https",host:["{{shopify_store_domain}}","myshopify","com"],path:["admin","api","2024-07","webhooks.json"]},description:"Subscribes endpoint to orders/paid notifications."}}]}]};var b={id:"razorpay-environment-template",name:"Razorpay Environment (Boost Engine)",values:[{key:"razorpay_base_url",value:"https://api.razorpay.com",type:"default",enabled:true},{key:"razorpay_key_id",value:"rzp_test_YOUR_KEY_HERE",type:"secret",enabled:true},{key:"razorpay_key_secret",value:"YOUR_KEY_SECRET_HERE",type:"secret",enabled:true},{key:"order_id",value:"order_test_001",type:"default",enabled:true},{key:"payment_id",value:"pay_test_001",type:"default",enabled:true},{key:"payment_link_id",value:"plink_test_001",type:"default",enabled:true},{key:"customer_id",value:"cust_test_001",type:"default",enabled:true},{key:"refund_id",value:"rfnd_test_001",type:"default",enabled:true},{key:"local_webhook_url",value:"http://localhost:3000/api/webhooks/razorpay",type:"default",enabled:true},{key:"computed_webhook_signature",value:"sample_hmac_signature_hex",type:"default",enabled:true}],_postman_variable_scope:"environment"};var f={id:"cashfree-environment-template",name:"Cashfree Environment (Boost Engine)",values:[{key:"cashfree_base_url",value:"https://sandbox.cashfree.com/pg",type:"default",enabled:true},{key:"cashfree_app_id",value:"YOUR_CASHFREE_APP_ID",type:"secret",enabled:true},{key:"cashfree_secret_key",value:"YOUR_CASHFREE_SECRET_KEY",type:"secret",enabled:true},{key:"cashfree_order_id",value:"order_cf_001",type:"default",enabled:true},{key:"payment_session_id",value:"session_sample_token",type:"default",enabled:true},{key:"cf_payment_id",value:"109283719",type:"default",enabled:true},{key:"cashfree_link_id",value:"link_cf_001",type:"default",enabled:true},{key:"cashfree_refund_id",value:"rfnd_cf_001",type:"default",enabled:true},{key:"local_webhook_url",value:"http://localhost:3000/api/webhooks/cashfree",type:"default",enabled:true},{key:"computed_webhook_signature",value:"sample_signature",type:"default",enabled:true}],_postman_variable_scope:"environment"};var w={id:"phonepe-environment-template",name:"PhonePe Environment (Boost Engine)",values:[{key:"phonepe_base_url",value:"https://api-preprod.phonepe.com/apis/pg-sandbox",type:"default",enabled:true},{key:"phonepe_merchant_id",value:"PGTESTPAYUAT",type:"default",enabled:true},{key:"phonepe_salt_key",value:"099eb0cd-02cf-4e2a-8aca-3e6c6aff0399",type:"secret",enabled:true},{key:"phonepe_salt_index",value:"1",type:"default",enabled:true},{key:"merchant_transaction_id",value:"TXN_BOOST_001",type:"default",enabled:true},{key:"phonepe_refund_id",value:"RFND_BOOST_001",type:"default",enabled:true},{key:"phonepe_x_verify",value:"computed_sha256_hash###1",type:"default",enabled:true},{key:"phonepe_status_x_verify",value:"computed_status_sha256_hash###1",type:"default",enabled:true},{key:"phonepe_refund_status_x_verify",value:"computed_refund_status_hash###1",type:"default",enabled:true},{key:"phonepe_base64_payload",value:"ewogICJtZXJjaGFudElkIjogIlBHVEVTVFBBWVVBVCIsCiAgIm1lcmNoYW50VHJhbnNhY3Rpb25JZCI6ICJUWE5fQk9PU1RfMDAxIiwKICAiYW1vdW50IjogOTk5MDAsCiAgInJlZGlyZWN0VXJsIjogImh0dHBzOi8veW91cnN0b3JlLmNvbS9vcmRlci1jb25maXJtZWQiLAogICJyZWRpcmVjdE1vZGUiOiAiUE9TVCIKfQ==",type:"default",enabled:true},{key:"phonepe_qr_base64_payload",value:"ewogICJtZXJjaGFudElkIjogIlBHVEVTVFBBWVVBVCIsCiAgIm1lcmNoYW50VHJhbnNhY3Rpb25JZCI6ICJUWE5fUVJfMDAxIiwKICAiYW1vdW50IjogOTk5MDAsCiAgInBheW1lbnRJbnN0cnVtZW50IjogewogICAgInR5cGUiOiAiVVBJX1FSIgogIH0KfQ==",type:"default",enabled:true},{key:"phonepe_refund_base64_payload",value:"ewogICJtZXJjaGFudElkIjogIlBHVEVTVFBBWVVBVCIsCiAgIm1lcmNoYW50VHJhbnNhY3Rpb25JZCI6ICJUWE5fQk9PU1RfMDAxIiwKICAib3JpZ2luYWxUcmFuc2FjdGlvbklkIjogIlQyMjA5MDgyMDAwMDAwMDAiLAogICJhbW91bnQiOiA5OTkwMCwKICAiY2FsbGJhY2tVcmwiOiAiaHR0cHM6Ly95b3Vyc3RvcmUuY29tL2FwaS93ZWJob29rcy9waG9uZXBlIgp9",type:"default",enabled:true},{key:"local_webhook_url",value:"http://localhost:3000/api/webhooks/phonepe",type:"default",enabled:true}],_postman_variable_scope:"environment"};var S={id:"env-paytm-001",name:"Paytm PG Environment",values:[{key:"paytm_base_url",value:"https://securegw-stage.paytm.in",type:"default",enabled:true},{key:"paytm_mid",value:"YOUR_PAYTM_STAGE_MID",type:"default",enabled:true},{key:"paytm_merchant_key",value:"YOUR_PAYTM_STAGE_MERCHANT_KEY",type:"secret",enabled:true},{key:"paytm_checksum",value:"SAMPLE_GENERATED_CHECKSUM",type:"default",enabled:true},{key:"paytm_order_id",value:"ORDER_PTM_001",type:"default",enabled:true},{key:"paytm_txn_id",value:"20260908111212800110168928300103721",type:"default",enabled:true},{key:"local_webhook_url",value:"http://localhost:3000/api/webhooks/paytm",type:"default",enabled:true}],_postman_variable_scope:"environment"};var P={id:"stripe-environment-template",name:"Stripe Environment (Boost Engine)",values:[{key:"stripe_base_url",value:"https://api.stripe.com/v1",type:"default",enabled:true},{key:"stripe_secret_key",value:"sk_test_YOUR_STRIPE_SECRET_KEY",type:"secret",enabled:true},{key:"stripe_session_id",value:"cs_test_sample_session",type:"default",enabled:true},{key:"stripe_payment_intent_id",value:"pi_test_sample_intent",type:"default",enabled:true}],_postman_variable_scope:"environment"};var T={id:"easyecom-environment-template",name:"EasyEcom Environment (Boost Engine)",values:[{key:"easyecom_base_url",value:"https://api.easyecom.com",type:"default",enabled:true},{key:"easyecom_api_token",value:"YOUR_EASYECOM_API_TOKEN_HERE",type:"secret",enabled:true},{key:"warehouse_id",value:"WH_PRIMARY_01",type:"default",enabled:true},{key:"sku",value:"TEE-ANIME-BLK-L",type:"default",enabled:true}],_postman_variable_scope:"environment"};var C={id:"shiprocket-environment-template",name:"Shiprocket Environment (Boost Engine)",values:[{key:"shiprocket_base_url",value:"https://apiv2.shiprocket.in/v1/external",type:"default",enabled:true},{key:"shiprocket_email",value:"YOUR_SHIPROCKET_EMAIL",type:"default",enabled:true},{key:"shiprocket_password",value:"YOUR_SHIPROCKET_PASSWORD",type:"secret",enabled:true},{key:"shiprocket_token",value:"YOUR_BEARER_JWT_TOKEN",type:"secret",enabled:true},{key:"pickup_pincode",value:"110001",type:"default",enabled:true},{key:"delivery_pincode",value:"400053",type:"default",enabled:true},{key:"shiprocket_shipment_id",value:"1001",type:"default",enabled:true},{key:"shiprocket_courier_id",value:"1",type:"default",enabled:true},{key:"awb_code",value:"7821928312",type:"default",enabled:true}],_postman_variable_scope:"environment"};var g={id:"delhivery-environment-template",name:"Delhivery Environment (Boost Engine)",values:[{key:"delhivery_base_url",value:"https://stage-express.delhivery.com",type:"default",enabled:true},{key:"delhivery_api_token",value:"YOUR_DELHIVERY_API_TOKEN",type:"secret",enabled:true},{key:"check_pincode",value:"400053",type:"default",enabled:true},{key:"delhivery_waybill",value:"129837192831",type:"default",enabled:true}],_postman_variable_scope:"environment"};var I={id:"shopify-environment-template",name:"Shopify Environment (Boost Engine)",values:[{key:"shopify_store_domain",value:"your-store-name",type:"default",enabled:true},{key:"shopify_access_token",value:"shpat_YOUR_ADMIN_API_ACCESS_TOKEN",type:"secret",enabled:true},{key:"shopify_location_id",value:"123456789",type:"default",enabled:true},{key:"shopify_inventory_item_id",value:"987654321",type:"default",enabled:true}],_postman_variable_scope:"environment"};var J=c,Y=l,K=u,X=m,Q=_,Z=h,$=y,ee=v,te=k,ae=b,ne=f,re=w,oe=S,se=P,ie=T,pe=C,de=g,ce=I,n={razorpay:{collection:J,environment:ae,provider:"Razorpay Payments",docsUrl:"https://razorpay.com/docs/api"},cashfree:{collection:Y,environment:ne,provider:"Cashfree Payments",docsUrl:"https://docs.cashfree.com/reference"},phonepe:{collection:K,environment:re,provider:"PhonePe PG",docsUrl:"https://developer.phonepe.com/v1/reference"},paytm:{collection:X,environment:oe,provider:"Paytm Payment Gateway",docsUrl:"https://developer.paytm.com/docs/api"},stripe:{collection:Q,environment:se,provider:"Stripe Global",docsUrl:"https://stripe.com/docs/api"},easyecom:{collection:Z,environment:ie,provider:"EasyEcom WMS & ERP",docsUrl:"https://api.easyecom.com/documentation"},shiprocket:{collection:$,environment:pe,provider:"Shiprocket Logistics",docsUrl:"https://apidocs.shiprocket.in"},delhivery:{collection:ee,environment:de,provider:"Delhivery Express",docsUrl:"https://delhivery.com/developer"},shopify:{collection:te,environment:ce,provider:"Shopify Admin REST",docsUrl:"https://shopify.dev/docs/api/admin-rest"}};function Ke(){return Object.keys(n).map(t=>{let e=n[t],o=e.collection.item.map(a=>a.name),r=0;for(let a of e.collection.item)a.item?r+=a.item.length:a.request&&(r+=1);return {id:t,name:e.collection.info.name,provider:e.provider,requestCount:r,folders:o,docsUrl:e.docsUrl}})}function Xe(t){let e=n[t];if(!e)throw new Error(`Collection "${t}" not found. Available: ${Object.keys(n).join(", ")}`);return e.collection}function Qe(t){let e=n[t];if(!e)throw new Error(`Environment "${t}" not found. Available: ${Object.keys(n).join(", ")}`);return e.environment}function Ze(t,e=process.cwd()){s__default.default.existsSync(e)||s__default.default.mkdirSync(e,{recursive:true});let o=[],r=t==="all"?Object.keys(n):[t];for(let a of r){let i=n[a];if(!i)continue;let p=E__default.default.join(e,`${a}.collection.json`),d=E__default.default.join(e,`${a}.env.json`);s__default.default.writeFileSync(p,JSON.stringify(i.collection,null,2),"utf8"),s__default.default.writeFileSync(d,JSON.stringify(i.environment,null,2),"utf8"),o.push(p,d);}return o}
|
|
680
|
+
exports.cashfreeCollection=Y;exports.cashfreeEnvironment=ne;exports.delhiveryCollection=ee;exports.delhiveryEnvironment=de;exports.easyecomCollection=Z;exports.easyecomEnvironment=ie;exports.exportToDirectory=Ze;exports.getCollection=Xe;exports.getEnvironment=Qe;exports.listCollections=Ke;exports.paytmCollection=X;exports.paytmEnvironment=oe;exports.phonepeCollection=K;exports.phonepeEnvironment=re;exports.razorpayCollection=J;exports.razorpayEnvironment=ae;exports.shiprocketCollection=$;exports.shiprocketEnvironment=pe;exports.shopifyCollection=te;exports.shopifyEnvironment=ce;exports.stripeCollection=Q;exports.stripeEnvironment=se;//# sourceMappingURL=index.cjs.map
|
|
145
681
|
//# sourceMappingURL=index.cjs.map
|