cashfree-pg 4.2.0 → 4.2.2
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/api.ts +443 -324
- package/dist/api.d.ts +294 -181
- package/dist/api.js +150 -144
- package/dist/esm/api.d.ts +294 -181
- package/dist/esm/api.js +150 -144
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -568,6 +568,61 @@ export interface BanktransferPaymentMethod {
|
|
|
568
568
|
*/
|
|
569
569
|
'banktransfer': Banktransfer;
|
|
570
570
|
}
|
|
571
|
+
/**
|
|
572
|
+
* payment method card.
|
|
573
|
+
* @export
|
|
574
|
+
* @interface CARD
|
|
575
|
+
*/
|
|
576
|
+
export interface CARD {
|
|
577
|
+
/**
|
|
578
|
+
* Channel. can be link
|
|
579
|
+
* @type {string}
|
|
580
|
+
* @memberof CARD
|
|
581
|
+
*/
|
|
582
|
+
'channel'?: string;
|
|
583
|
+
/**
|
|
584
|
+
* Card number
|
|
585
|
+
* @type {string}
|
|
586
|
+
* @memberof CARD
|
|
587
|
+
*/
|
|
588
|
+
'card_number'?: string;
|
|
589
|
+
/**
|
|
590
|
+
* Card holder name
|
|
591
|
+
* @type {string}
|
|
592
|
+
* @memberof CARD
|
|
593
|
+
*/
|
|
594
|
+
'card_holder_name'?: string;
|
|
595
|
+
/**
|
|
596
|
+
* Card expiry month
|
|
597
|
+
* @type {string}
|
|
598
|
+
* @memberof CARD
|
|
599
|
+
*/
|
|
600
|
+
'card_expiry_mm'?: string;
|
|
601
|
+
/**
|
|
602
|
+
* Card expiry year
|
|
603
|
+
* @type {string}
|
|
604
|
+
* @memberof CARD
|
|
605
|
+
*/
|
|
606
|
+
'card_expiry_yy'?: string;
|
|
607
|
+
/**
|
|
608
|
+
* Card CVV
|
|
609
|
+
* @type {string}
|
|
610
|
+
* @memberof CARD
|
|
611
|
+
*/
|
|
612
|
+
'card_cvv'?: string;
|
|
613
|
+
/**
|
|
614
|
+
* Card network
|
|
615
|
+
* @type {string}
|
|
616
|
+
* @memberof CARD
|
|
617
|
+
*/
|
|
618
|
+
'card_network'?: string;
|
|
619
|
+
/**
|
|
620
|
+
* Card type
|
|
621
|
+
* @type {string}
|
|
622
|
+
* @memberof CARD
|
|
623
|
+
*/
|
|
624
|
+
'card_type'?: string;
|
|
625
|
+
}
|
|
571
626
|
/**
|
|
572
627
|
* Card Payment method
|
|
573
628
|
* @export
|
|
@@ -1314,206 +1369,133 @@ export interface CreatePlanRequest {
|
|
|
1314
1369
|
'plan_note'?: string;
|
|
1315
1370
|
}
|
|
1316
1371
|
/**
|
|
1317
|
-
* The
|
|
1372
|
+
* The request to be passed for the create subscription payment API.
|
|
1318
1373
|
* @export
|
|
1319
|
-
* @interface
|
|
1374
|
+
* @interface CreateSubscriptionPaymentRequest
|
|
1320
1375
|
*/
|
|
1321
|
-
export interface
|
|
1376
|
+
export interface CreateSubscriptionPaymentRequest {
|
|
1322
1377
|
/**
|
|
1323
|
-
*
|
|
1378
|
+
* A unique ID passed by merchant for identifying the subscription.
|
|
1324
1379
|
* @type {string}
|
|
1325
|
-
* @memberof
|
|
1380
|
+
* @memberof CreateSubscriptionPaymentRequest
|
|
1326
1381
|
*/
|
|
1327
|
-
'
|
|
1382
|
+
'subscription_id': string;
|
|
1328
1383
|
/**
|
|
1329
|
-
*
|
|
1384
|
+
* Session ID for the subscription. Required only for Auth.
|
|
1330
1385
|
* @type {string}
|
|
1331
|
-
* @memberof
|
|
1386
|
+
* @memberof CreateSubscriptionPaymentRequest
|
|
1332
1387
|
*/
|
|
1333
|
-
'
|
|
1388
|
+
'subscription_session_id'?: string;
|
|
1334
1389
|
/**
|
|
1335
|
-
*
|
|
1336
|
-
* @type {
|
|
1337
|
-
* @memberof
|
|
1390
|
+
* A unique ID passed by merchant for identifying the subscription payment.
|
|
1391
|
+
* @type {string}
|
|
1392
|
+
* @memberof CreateSubscriptionPaymentRequest
|
|
1338
1393
|
*/
|
|
1339
|
-
'
|
|
1394
|
+
'payment_id': string;
|
|
1340
1395
|
/**
|
|
1341
|
-
* The charge amount of the payment.
|
|
1396
|
+
* The charge amount of the payment. Required in case of charge.
|
|
1342
1397
|
* @type {number}
|
|
1343
|
-
* @memberof
|
|
1398
|
+
* @memberof CreateSubscriptionPaymentRequest
|
|
1344
1399
|
*/
|
|
1345
1400
|
'payment_amount'?: number;
|
|
1346
1401
|
/**
|
|
1347
|
-
*
|
|
1348
|
-
* @type {string}
|
|
1349
|
-
* @memberof CreateSubscriptionPaymentAuthResponse
|
|
1350
|
-
*/
|
|
1351
|
-
'payment_id'?: string;
|
|
1352
|
-
/**
|
|
1353
|
-
* The date on which the payment was initiated.
|
|
1402
|
+
* The date on which the payment is scheduled to be processed. Required for UPI and CARD payment modes.
|
|
1354
1403
|
* @type {string}
|
|
1355
|
-
* @memberof
|
|
1404
|
+
* @memberof CreateSubscriptionPaymentRequest
|
|
1356
1405
|
*/
|
|
1357
|
-
'
|
|
1406
|
+
'payment_schedule_date'?: string;
|
|
1358
1407
|
/**
|
|
1359
|
-
*
|
|
1408
|
+
* Payment remarks.
|
|
1360
1409
|
* @type {string}
|
|
1361
|
-
* @memberof
|
|
1410
|
+
* @memberof CreateSubscriptionPaymentRequest
|
|
1362
1411
|
*/
|
|
1363
|
-
'
|
|
1412
|
+
'payment_remarks'?: string;
|
|
1364
1413
|
/**
|
|
1365
1414
|
* Payment type. Can be AUTH or CHARGE.
|
|
1366
1415
|
* @type {string}
|
|
1367
|
-
* @memberof
|
|
1368
|
-
*/
|
|
1369
|
-
'payment_type'?: string;
|
|
1370
|
-
/**
|
|
1371
|
-
* A unique ID passed by merchant for identifying the subscription.
|
|
1372
|
-
* @type {string}
|
|
1373
|
-
* @memberof CreateSubscriptionPaymentAuthResponse
|
|
1416
|
+
* @memberof CreateSubscriptionPaymentRequest
|
|
1374
1417
|
*/
|
|
1375
|
-
'
|
|
1418
|
+
'payment_type': string;
|
|
1376
1419
|
/**
|
|
1377
|
-
*
|
|
1378
|
-
* @type {
|
|
1379
|
-
* @memberof
|
|
1420
|
+
*
|
|
1421
|
+
* @type {CreateSubscriptionPaymentRequestPaymentMethod}
|
|
1422
|
+
* @memberof CreateSubscriptionPaymentRequest
|
|
1380
1423
|
*/
|
|
1381
|
-
'payment_method'?:
|
|
1424
|
+
'payment_method'?: CreateSubscriptionPaymentRequestPaymentMethod;
|
|
1382
1425
|
}
|
|
1383
1426
|
/**
|
|
1384
|
-
*
|
|
1427
|
+
* @type CreateSubscriptionPaymentRequestPaymentMethod
|
|
1428
|
+
* Payment method. Can be one of [\"upi\", \"enach\", \"pnach\", \"card\"]
|
|
1385
1429
|
* @export
|
|
1386
|
-
* @interface CreateSubscriptionPaymentAuthResponseFailureDetails
|
|
1387
1430
|
*/
|
|
1388
|
-
export
|
|
1389
|
-
|
|
1390
|
-
* Failure reason of the payment if the payment_status is failed.
|
|
1391
|
-
* @type {string}
|
|
1392
|
-
* @memberof CreateSubscriptionPaymentAuthResponseFailureDetails
|
|
1393
|
-
*/
|
|
1394
|
-
'failure_reason'?: string;
|
|
1395
|
-
}
|
|
1431
|
+
export type CreateSubscriptionPaymentRequestPaymentMethod = CARD | ENACH | PNACH | UPI;
|
|
1432
|
+
|
|
1396
1433
|
/**
|
|
1397
|
-
* The response returned
|
|
1434
|
+
* The response returned is Create Subscription Auth or Charge APIs.
|
|
1398
1435
|
* @export
|
|
1399
|
-
* @interface
|
|
1436
|
+
* @interface CreateSubscriptionPaymentResponse
|
|
1400
1437
|
*/
|
|
1401
|
-
export interface
|
|
1438
|
+
export interface CreateSubscriptionPaymentResponse {
|
|
1402
1439
|
/**
|
|
1403
1440
|
* Cashfree subscription payment reference number
|
|
1404
1441
|
* @type {string}
|
|
1405
|
-
* @memberof
|
|
1442
|
+
* @memberof CreateSubscriptionPaymentResponse
|
|
1406
1443
|
*/
|
|
1407
1444
|
'cf_payment_id'?: string;
|
|
1408
|
-
/**
|
|
1409
|
-
* Cashfree subscription reference number
|
|
1410
|
-
* @type {string}
|
|
1411
|
-
* @memberof CreateSubscriptionPaymentChargeResponse
|
|
1412
|
-
*/
|
|
1413
|
-
'cf_subscription_id'?: string;
|
|
1414
1445
|
/**
|
|
1415
1446
|
*
|
|
1416
|
-
* @type {
|
|
1417
|
-
* @memberof
|
|
1447
|
+
* @type {SubscriptionPaymentEntityFailureDetails}
|
|
1448
|
+
* @memberof CreateSubscriptionPaymentResponse
|
|
1418
1449
|
*/
|
|
1419
|
-
'failure_details'?:
|
|
1450
|
+
'failure_details'?: SubscriptionPaymentEntityFailureDetails;
|
|
1420
1451
|
/**
|
|
1421
1452
|
* The charge amount of the payment.
|
|
1422
1453
|
* @type {number}
|
|
1423
|
-
* @memberof
|
|
1454
|
+
* @memberof CreateSubscriptionPaymentResponse
|
|
1424
1455
|
*/
|
|
1425
1456
|
'payment_amount'?: number;
|
|
1426
1457
|
/**
|
|
1427
1458
|
* A unique ID passed by merchant for identifying the transaction.
|
|
1428
1459
|
* @type {string}
|
|
1429
|
-
* @memberof
|
|
1460
|
+
* @memberof CreateSubscriptionPaymentResponse
|
|
1430
1461
|
*/
|
|
1431
1462
|
'payment_id'?: string;
|
|
1432
1463
|
/**
|
|
1433
1464
|
* The date on which the payment was initiated.
|
|
1434
1465
|
* @type {string}
|
|
1435
|
-
* @memberof
|
|
1466
|
+
* @memberof CreateSubscriptionPaymentResponse
|
|
1436
1467
|
*/
|
|
1437
1468
|
'payment_initiated_date'?: string;
|
|
1438
1469
|
/**
|
|
1439
1470
|
* Status of the payment.
|
|
1440
1471
|
* @type {string}
|
|
1441
|
-
* @memberof
|
|
1472
|
+
* @memberof CreateSubscriptionPaymentResponse
|
|
1442
1473
|
*/
|
|
1443
1474
|
'payment_status'?: string;
|
|
1444
1475
|
/**
|
|
1445
1476
|
* Payment type. Can be AUTH or CHARGE.
|
|
1446
1477
|
* @type {string}
|
|
1447
|
-
* @memberof
|
|
1478
|
+
* @memberof CreateSubscriptionPaymentResponse
|
|
1448
1479
|
*/
|
|
1449
1480
|
'payment_type'?: string;
|
|
1450
1481
|
/**
|
|
1451
1482
|
* A unique ID passed by merchant for identifying the subscription.
|
|
1452
1483
|
* @type {string}
|
|
1453
|
-
* @memberof
|
|
1484
|
+
* @memberof CreateSubscriptionPaymentResponse
|
|
1454
1485
|
*/
|
|
1455
1486
|
'subscription_id'?: string;
|
|
1456
1487
|
/**
|
|
1457
|
-
*
|
|
1458
|
-
* @type {
|
|
1459
|
-
* @memberof
|
|
1460
|
-
*/
|
|
1461
|
-
'payment_method'?: string;
|
|
1462
|
-
}
|
|
1463
|
-
/**
|
|
1464
|
-
* The request to be passed for the create subscription payment API.
|
|
1465
|
-
* @export
|
|
1466
|
-
* @interface CreateSubscriptionPaymentRequest
|
|
1467
|
-
*/
|
|
1468
|
-
export interface CreateSubscriptionPaymentRequest {
|
|
1469
|
-
/**
|
|
1470
|
-
* A unique ID passed by merchant for identifying the subscription.
|
|
1471
|
-
* @type {string}
|
|
1472
|
-
* @memberof CreateSubscriptionPaymentRequest
|
|
1473
|
-
*/
|
|
1474
|
-
'subscription_id': string;
|
|
1475
|
-
/**
|
|
1476
|
-
* Session ID for the subscription. Required only for Auth.
|
|
1477
|
-
* @type {string}
|
|
1478
|
-
* @memberof CreateSubscriptionPaymentRequest
|
|
1479
|
-
*/
|
|
1480
|
-
'subscription_session_id'?: string;
|
|
1481
|
-
/**
|
|
1482
|
-
* A unique ID passed by merchant for identifying the subscription payment.
|
|
1483
|
-
* @type {string}
|
|
1484
|
-
* @memberof CreateSubscriptionPaymentRequest
|
|
1485
|
-
*/
|
|
1486
|
-
'payment_id': string;
|
|
1487
|
-
/**
|
|
1488
|
-
* The charge amount of the payment. Required in case of charge.
|
|
1489
|
-
* @type {number}
|
|
1490
|
-
* @memberof CreateSubscriptionPaymentRequest
|
|
1491
|
-
*/
|
|
1492
|
-
'payment_amount'?: number;
|
|
1493
|
-
/**
|
|
1494
|
-
* The date on which the payment is scheduled to be processed. Required for UPI and CARD payment modes.
|
|
1495
|
-
* @type {string}
|
|
1496
|
-
* @memberof CreateSubscriptionPaymentRequest
|
|
1497
|
-
*/
|
|
1498
|
-
'payment_schedule_date'?: string;
|
|
1499
|
-
/**
|
|
1500
|
-
* Payment remarks.
|
|
1501
|
-
* @type {string}
|
|
1502
|
-
* @memberof CreateSubscriptionPaymentRequest
|
|
1488
|
+
* Contains a payload for auth app links in case of AUTH. For charge, the payload is empty.
|
|
1489
|
+
* @type {object}
|
|
1490
|
+
* @memberof CreateSubscriptionPaymentResponse
|
|
1503
1491
|
*/
|
|
1504
|
-
'
|
|
1492
|
+
'data'?: object;
|
|
1505
1493
|
/**
|
|
1506
|
-
* Payment
|
|
1494
|
+
* Payment method used for the authorization.
|
|
1507
1495
|
* @type {string}
|
|
1508
|
-
* @memberof
|
|
1509
|
-
*/
|
|
1510
|
-
'payment_type': string;
|
|
1511
|
-
/**
|
|
1512
|
-
* Payment method. Can be one of [\"upi\", \"enach\", \"pnach\", \"card\"]
|
|
1513
|
-
* @type {object}
|
|
1514
|
-
* @memberof CreateSubscriptionPaymentRequest
|
|
1496
|
+
* @memberof CreateSubscriptionPaymentResponse
|
|
1515
1497
|
*/
|
|
1516
|
-
'payment_method'?:
|
|
1498
|
+
'payment_method'?: string;
|
|
1517
1499
|
}
|
|
1518
1500
|
/**
|
|
1519
1501
|
* Request body to create a subscription refund.
|
|
@@ -1890,7 +1872,7 @@ export interface CreateVendorRequest {
|
|
|
1890
1872
|
*/
|
|
1891
1873
|
'dashboard_access'?: boolean;
|
|
1892
1874
|
/**
|
|
1893
|
-
* Specify the settlement cycle to be updated. View the settlement cycle details from the \"Settlement Cycles Supported\" table.
|
|
1875
|
+
* Specify the settlement cycle to be updated. View the settlement cycle details from the \"Settlement Cycles Supported\" table. If no schedule option is configured, the settlement cycle ID \"1\" will be in effect. Select \"8\" or \"9\" if you want to schedule instant vendor settlements.
|
|
1894
1876
|
* @type {number}
|
|
1895
1877
|
* @memberof CreateVendorRequest
|
|
1896
1878
|
*/
|
|
@@ -2037,7 +2019,7 @@ export interface CryptogramEntity {
|
|
|
2037
2019
|
'card_display'?: string;
|
|
2038
2020
|
}
|
|
2039
2021
|
/**
|
|
2040
|
-
* The customer details that are necessary.
|
|
2022
|
+
* The customer details that are necessary. Note that you can pass dummy details if your use case does not require the customer details.
|
|
2041
2023
|
* @export
|
|
2042
2024
|
* @interface CustomerDetails
|
|
2043
2025
|
*/
|
|
@@ -2153,7 +2135,7 @@ export interface CustomerDetailsResponse {
|
|
|
2153
2135
|
*/
|
|
2154
2136
|
'customer_bank_code'?: number;
|
|
2155
2137
|
/**
|
|
2156
|
-
* Customer identifier at Cashfree. You will get this when you create/get customer
|
|
2138
|
+
* Customer identifier at Cashfree. You will get this when you create/get customer
|
|
2157
2139
|
* @type {string}
|
|
2158
2140
|
* @memberof CustomerDetailsResponse
|
|
2159
2141
|
*/
|
|
@@ -2292,6 +2274,55 @@ export interface EMIPlansArray {
|
|
|
2292
2274
|
*/
|
|
2293
2275
|
'total_amount'?: number;
|
|
2294
2276
|
}
|
|
2277
|
+
/**
|
|
2278
|
+
* payment method enach.
|
|
2279
|
+
* @export
|
|
2280
|
+
* @interface ENACH
|
|
2281
|
+
*/
|
|
2282
|
+
export interface ENACH {
|
|
2283
|
+
/**
|
|
2284
|
+
* Channel. can be link
|
|
2285
|
+
* @type {string}
|
|
2286
|
+
* @memberof ENACH
|
|
2287
|
+
*/
|
|
2288
|
+
'channel'?: string;
|
|
2289
|
+
/**
|
|
2290
|
+
* Authentication mode. can be debit_card, aadhaar, or net_banking
|
|
2291
|
+
* @type {string}
|
|
2292
|
+
* @memberof ENACH
|
|
2293
|
+
*/
|
|
2294
|
+
'auth_mode'?: string;
|
|
2295
|
+
/**
|
|
2296
|
+
* Account holder name
|
|
2297
|
+
* @type {string}
|
|
2298
|
+
* @memberof ENACH
|
|
2299
|
+
*/
|
|
2300
|
+
'account_holder_name'?: string;
|
|
2301
|
+
/**
|
|
2302
|
+
* Account number
|
|
2303
|
+
* @type {string}
|
|
2304
|
+
* @memberof ENACH
|
|
2305
|
+
*/
|
|
2306
|
+
'account_number'?: string;
|
|
2307
|
+
/**
|
|
2308
|
+
* Account bank code (required without AccountIFSC)
|
|
2309
|
+
* @type {string}
|
|
2310
|
+
* @memberof ENACH
|
|
2311
|
+
*/
|
|
2312
|
+
'account_bank_code'?: string;
|
|
2313
|
+
/**
|
|
2314
|
+
* Account type
|
|
2315
|
+
* @type {string}
|
|
2316
|
+
* @memberof ENACH
|
|
2317
|
+
*/
|
|
2318
|
+
'account_type'?: string;
|
|
2319
|
+
/**
|
|
2320
|
+
* Account IFSC
|
|
2321
|
+
* @type {string}
|
|
2322
|
+
* @memberof ENACH
|
|
2323
|
+
*/
|
|
2324
|
+
'account_ifsc'?: string;
|
|
2325
|
+
}
|
|
2295
2326
|
/**
|
|
2296
2327
|
* ES Order Recon Request
|
|
2297
2328
|
* @export
|
|
@@ -4333,6 +4364,61 @@ export interface OrderPayData {
|
|
|
4333
4364
|
*/
|
|
4334
4365
|
'method'?: string;
|
|
4335
4366
|
}
|
|
4367
|
+
/**
|
|
4368
|
+
* payment method pnach.
|
|
4369
|
+
* @export
|
|
4370
|
+
* @interface PNACH
|
|
4371
|
+
*/
|
|
4372
|
+
export interface PNACH {
|
|
4373
|
+
/**
|
|
4374
|
+
* Channel. can be post
|
|
4375
|
+
* @type {string}
|
|
4376
|
+
* @memberof PNACH
|
|
4377
|
+
*/
|
|
4378
|
+
'channel'?: string;
|
|
4379
|
+
/**
|
|
4380
|
+
* Account holder name
|
|
4381
|
+
* @type {string}
|
|
4382
|
+
* @memberof PNACH
|
|
4383
|
+
*/
|
|
4384
|
+
'account_holder_name'?: string;
|
|
4385
|
+
/**
|
|
4386
|
+
* Account number
|
|
4387
|
+
* @type {string}
|
|
4388
|
+
* @memberof PNACH
|
|
4389
|
+
*/
|
|
4390
|
+
'account_number'?: string;
|
|
4391
|
+
/**
|
|
4392
|
+
* Account bank code
|
|
4393
|
+
* @type {string}
|
|
4394
|
+
* @memberof PNACH
|
|
4395
|
+
*/
|
|
4396
|
+
'account_bank_code'?: string;
|
|
4397
|
+
/**
|
|
4398
|
+
* Account type
|
|
4399
|
+
* @type {string}
|
|
4400
|
+
* @memberof PNACH
|
|
4401
|
+
*/
|
|
4402
|
+
'account_type'?: string;
|
|
4403
|
+
/**
|
|
4404
|
+
* Account IFSC
|
|
4405
|
+
* @type {string}
|
|
4406
|
+
* @memberof PNACH
|
|
4407
|
+
*/
|
|
4408
|
+
'account_ifsc'?: string;
|
|
4409
|
+
/**
|
|
4410
|
+
* Mandate creation date
|
|
4411
|
+
* @type {string}
|
|
4412
|
+
* @memberof PNACH
|
|
4413
|
+
*/
|
|
4414
|
+
'mandate_creation_date'?: string;
|
|
4415
|
+
/**
|
|
4416
|
+
* Mandate start date
|
|
4417
|
+
* @type {string}
|
|
4418
|
+
* @memberof PNACH
|
|
4419
|
+
*/
|
|
4420
|
+
'mandate_start_date'?: string;
|
|
4421
|
+
}
|
|
4336
4422
|
/**
|
|
4337
4423
|
* Order Pay response once you create a transaction for that order
|
|
4338
4424
|
* @export
|
|
@@ -6767,12 +6853,6 @@ export interface StaticSplitResponseSchemeInner {
|
|
|
6767
6853
|
*/
|
|
6768
6854
|
'percentage'?: string;
|
|
6769
6855
|
}
|
|
6770
|
-
/**
|
|
6771
|
-
* @type SubsCreatePayment200Response
|
|
6772
|
-
* @export
|
|
6773
|
-
*/
|
|
6774
|
-
export type SubsCreatePayment200Response = CreateSubscriptionPaymentAuthResponse | CreateSubscriptionPaymentChargeResponse;
|
|
6775
|
-
|
|
6776
6856
|
/**
|
|
6777
6857
|
* Bank details object
|
|
6778
6858
|
* @export
|
|
@@ -7041,10 +7121,10 @@ export interface SubscriptionPaymentEntity {
|
|
|
7041
7121
|
'cf_order_id'?: string;
|
|
7042
7122
|
/**
|
|
7043
7123
|
*
|
|
7044
|
-
* @type {
|
|
7124
|
+
* @type {SubscriptionPaymentEntityFailureDetails}
|
|
7045
7125
|
* @memberof SubscriptionPaymentEntity
|
|
7046
7126
|
*/
|
|
7047
|
-
'failure_details'?:
|
|
7127
|
+
'failure_details'?: SubscriptionPaymentEntityFailureDetails;
|
|
7048
7128
|
/**
|
|
7049
7129
|
* The charge amount of the payment.
|
|
7050
7130
|
* @type {number}
|
|
@@ -7100,6 +7180,19 @@ export interface SubscriptionPaymentEntity {
|
|
|
7100
7180
|
*/
|
|
7101
7181
|
'subscription_id'?: string;
|
|
7102
7182
|
}
|
|
7183
|
+
/**
|
|
7184
|
+
*
|
|
7185
|
+
* @export
|
|
7186
|
+
* @interface SubscriptionPaymentEntityFailureDetails
|
|
7187
|
+
*/
|
|
7188
|
+
export interface SubscriptionPaymentEntityFailureDetails {
|
|
7189
|
+
/**
|
|
7190
|
+
* Failure reason of the payment if the payment_status is failed.
|
|
7191
|
+
* @type {string}
|
|
7192
|
+
* @memberof SubscriptionPaymentEntityFailureDetails
|
|
7193
|
+
*/
|
|
7194
|
+
'failure_reason'?: string;
|
|
7195
|
+
}
|
|
7103
7196
|
/**
|
|
7104
7197
|
* Get/Create Subscription Payment Refund Response
|
|
7105
7198
|
* @export
|
|
@@ -7567,6 +7660,25 @@ export interface TransferDetailsTagsInner {
|
|
|
7567
7660
|
*/
|
|
7568
7661
|
'size'?: number;
|
|
7569
7662
|
}
|
|
7663
|
+
/**
|
|
7664
|
+
* payment method upi.
|
|
7665
|
+
* @export
|
|
7666
|
+
* @interface UPI
|
|
7667
|
+
*/
|
|
7668
|
+
export interface UPI {
|
|
7669
|
+
/**
|
|
7670
|
+
*
|
|
7671
|
+
* @type {string}
|
|
7672
|
+
* @memberof UPI
|
|
7673
|
+
*/
|
|
7674
|
+
'upi_id'?: string;
|
|
7675
|
+
/**
|
|
7676
|
+
* Channel. can be link, qrcode, or collect
|
|
7677
|
+
* @type {string}
|
|
7678
|
+
* @memberof UPI
|
|
7679
|
+
*/
|
|
7680
|
+
'channel'?: string;
|
|
7681
|
+
}
|
|
7570
7682
|
/**
|
|
7571
7683
|
* object when you are using preauth in UPI in order pay
|
|
7572
7684
|
* @export
|
|
@@ -7784,7 +7896,7 @@ export interface UpdateVendorRequest {
|
|
|
7784
7896
|
*/
|
|
7785
7897
|
'dashboard_access'?: boolean;
|
|
7786
7898
|
/**
|
|
7787
|
-
* Specify the settlement cycle to be updated. View the settlement cycle details from the \"Settlement Cycles Supported\" table.
|
|
7899
|
+
* Specify the settlement cycle to be updated. View the settlement cycle details from the \"Settlement Cycles Supported\" table. If no schedule option is configured, the settlement cycle ID \"1\" will be in effect. Select \"8\" or \"9\" if you want to schedule instant vendor settlements.
|
|
7788
7900
|
* @type {number}
|
|
7789
7901
|
* @memberof UpdateVendorRequest
|
|
7790
7902
|
*/
|
|
@@ -7912,47 +8024,10 @@ export interface UpdateVendorResponse {
|
|
|
7912
8024
|
'bank_details'?: string;
|
|
7913
8025
|
/**
|
|
7914
8026
|
*
|
|
7915
|
-
* @type {Array<
|
|
8027
|
+
* @type {Array<VendorEntityRelatedDocsInner>}
|
|
7916
8028
|
* @memberof UpdateVendorResponse
|
|
7917
8029
|
*/
|
|
7918
|
-
'related_docs'?: Array<
|
|
7919
|
-
}
|
|
7920
|
-
/**
|
|
7921
|
-
*
|
|
7922
|
-
* @export
|
|
7923
|
-
* @interface UpdateVendorResponseRelatedDocsInner
|
|
7924
|
-
*/
|
|
7925
|
-
export interface UpdateVendorResponseRelatedDocsInner {
|
|
7926
|
-
/**
|
|
7927
|
-
*
|
|
7928
|
-
* @type {string}
|
|
7929
|
-
* @memberof UpdateVendorResponseRelatedDocsInner
|
|
7930
|
-
*/
|
|
7931
|
-
'vendor_id'?: string;
|
|
7932
|
-
/**
|
|
7933
|
-
*
|
|
7934
|
-
* @type {string}
|
|
7935
|
-
* @memberof UpdateVendorResponseRelatedDocsInner
|
|
7936
|
-
*/
|
|
7937
|
-
'doc_type'?: string;
|
|
7938
|
-
/**
|
|
7939
|
-
*
|
|
7940
|
-
* @type {string}
|
|
7941
|
-
* @memberof UpdateVendorResponseRelatedDocsInner
|
|
7942
|
-
*/
|
|
7943
|
-
'doc_value'?: string;
|
|
7944
|
-
/**
|
|
7945
|
-
*
|
|
7946
|
-
* @type {string}
|
|
7947
|
-
* @memberof UpdateVendorResponseRelatedDocsInner
|
|
7948
|
-
*/
|
|
7949
|
-
'status'?: string;
|
|
7950
|
-
/**
|
|
7951
|
-
*
|
|
7952
|
-
* @type {string}
|
|
7953
|
-
* @memberof UpdateVendorResponseRelatedDocsInner
|
|
7954
|
-
*/
|
|
7955
|
-
'remarks'?: string;
|
|
8030
|
+
'related_docs'?: Array<VendorEntityRelatedDocsInner>;
|
|
7956
8031
|
}
|
|
7957
8032
|
/**
|
|
7958
8033
|
* UPI collect payment method object
|
|
@@ -8239,10 +8314,10 @@ export interface VendorDocumentDownloadResponse {
|
|
|
8239
8314
|
export interface VendorDocumentsResponse {
|
|
8240
8315
|
/**
|
|
8241
8316
|
*
|
|
8242
|
-
* @type {Array<
|
|
8317
|
+
* @type {Array<VendorEntityRelatedDocsInner>}
|
|
8243
8318
|
* @memberof VendorDocumentsResponse
|
|
8244
8319
|
*/
|
|
8245
|
-
'documents'?: Array<
|
|
8320
|
+
'documents'?: Array<VendorEntityRelatedDocsInner>;
|
|
8246
8321
|
}
|
|
8247
8322
|
/**
|
|
8248
8323
|
* Vendor entity object
|
|
@@ -8336,10 +8411,47 @@ export interface VendorEntity {
|
|
|
8336
8411
|
'remarks'?: string;
|
|
8337
8412
|
/**
|
|
8338
8413
|
*
|
|
8339
|
-
* @type {Array<
|
|
8414
|
+
* @type {Array<VendorEntityRelatedDocsInner>}
|
|
8340
8415
|
* @memberof VendorEntity
|
|
8341
8416
|
*/
|
|
8342
|
-
'related_docs'?: Array<
|
|
8417
|
+
'related_docs'?: Array<VendorEntityRelatedDocsInner>;
|
|
8418
|
+
}
|
|
8419
|
+
/**
|
|
8420
|
+
*
|
|
8421
|
+
* @export
|
|
8422
|
+
* @interface VendorEntityRelatedDocsInner
|
|
8423
|
+
*/
|
|
8424
|
+
export interface VendorEntityRelatedDocsInner {
|
|
8425
|
+
/**
|
|
8426
|
+
*
|
|
8427
|
+
* @type {string}
|
|
8428
|
+
* @memberof VendorEntityRelatedDocsInner
|
|
8429
|
+
*/
|
|
8430
|
+
'vendor_id'?: string;
|
|
8431
|
+
/**
|
|
8432
|
+
*
|
|
8433
|
+
* @type {string}
|
|
8434
|
+
* @memberof VendorEntityRelatedDocsInner
|
|
8435
|
+
*/
|
|
8436
|
+
'doc_type'?: string;
|
|
8437
|
+
/**
|
|
8438
|
+
*
|
|
8439
|
+
* @type {string}
|
|
8440
|
+
* @memberof VendorEntityRelatedDocsInner
|
|
8441
|
+
*/
|
|
8442
|
+
'doc_value'?: string;
|
|
8443
|
+
/**
|
|
8444
|
+
*
|
|
8445
|
+
* @type {string}
|
|
8446
|
+
* @memberof VendorEntityRelatedDocsInner
|
|
8447
|
+
*/
|
|
8448
|
+
'status'?: string;
|
|
8449
|
+
/**
|
|
8450
|
+
*
|
|
8451
|
+
* @type {string}
|
|
8452
|
+
* @memberof VendorEntityRelatedDocsInner
|
|
8453
|
+
*/
|
|
8454
|
+
'remarks'?: string;
|
|
8343
8455
|
}
|
|
8344
8456
|
/**
|
|
8345
8457
|
* Use to split order when cashfree\'s Easy Split is enabled for your account.
|
|
@@ -8444,7 +8556,7 @@ const CustomersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
8444
8556
|
|
|
8445
8557
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8446
8558
|
|
|
8447
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
8559
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
8448
8560
|
if (x_api_version != null && x_api_version != undefined) {
|
|
8449
8561
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
8450
8562
|
}
|
|
@@ -8566,7 +8678,7 @@ const EasySplitApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
8566
8678
|
|
|
8567
8679
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8568
8680
|
|
|
8569
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
8681
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
8570
8682
|
if (x_api_version != null && x_api_version != undefined) {
|
|
8571
8683
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
8572
8684
|
}
|
|
@@ -8638,7 +8750,7 @@ const EasySplitApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
8638
8750
|
|
|
8639
8751
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8640
8752
|
|
|
8641
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
8753
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
8642
8754
|
if (x_api_version != null && x_api_version != undefined) {
|
|
8643
8755
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
8644
8756
|
}
|
|
@@ -8715,7 +8827,7 @@ const EasySplitApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
8715
8827
|
|
|
8716
8828
|
|
|
8717
8829
|
|
|
8718
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
8830
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
8719
8831
|
if (x_api_version != null && x_api_version != undefined) {
|
|
8720
8832
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
8721
8833
|
}
|
|
@@ -8787,7 +8899,7 @@ const EasySplitApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
8787
8899
|
|
|
8788
8900
|
|
|
8789
8901
|
|
|
8790
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
8902
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
8791
8903
|
if (x_api_version != null && x_api_version != undefined) {
|
|
8792
8904
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
8793
8905
|
}
|
|
@@ -8859,7 +8971,7 @@ const EasySplitApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
8859
8971
|
|
|
8860
8972
|
|
|
8861
8973
|
|
|
8862
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
8974
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
8863
8975
|
if (x_api_version != null && x_api_version != undefined) {
|
|
8864
8976
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
8865
8977
|
}
|
|
@@ -8938,7 +9050,7 @@ const EasySplitApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
8938
9050
|
|
|
8939
9051
|
|
|
8940
9052
|
|
|
8941
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
9053
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
8942
9054
|
if (x_api_version != null && x_api_version != undefined) {
|
|
8943
9055
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
8944
9056
|
}
|
|
@@ -9010,7 +9122,7 @@ const EasySplitApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
9010
9122
|
|
|
9011
9123
|
|
|
9012
9124
|
|
|
9013
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
9125
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
9014
9126
|
if (x_api_version != null && x_api_version != undefined) {
|
|
9015
9127
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
9016
9128
|
}
|
|
@@ -9081,7 +9193,7 @@ const EasySplitApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
9081
9193
|
|
|
9082
9194
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9083
9195
|
|
|
9084
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
9196
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
9085
9197
|
if (x_api_version != null && x_api_version != undefined) {
|
|
9086
9198
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
9087
9199
|
}
|
|
@@ -9157,7 +9269,7 @@ const EasySplitApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
9157
9269
|
|
|
9158
9270
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9159
9271
|
|
|
9160
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
9272
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
9161
9273
|
if (x_api_version != null && x_api_version != undefined) {
|
|
9162
9274
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
9163
9275
|
}
|
|
@@ -9248,7 +9360,7 @@ const EasySplitApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
9248
9360
|
|
|
9249
9361
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
9250
9362
|
|
|
9251
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
9363
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
9252
9364
|
if (x_api_version != null && x_api_version != undefined) {
|
|
9253
9365
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
9254
9366
|
}
|
|
@@ -9324,7 +9436,7 @@ const EasySplitApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
9324
9436
|
|
|
9325
9437
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9326
9438
|
|
|
9327
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
9439
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
9328
9440
|
if (x_api_version != null && x_api_version != undefined) {
|
|
9329
9441
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
9330
9442
|
}
|
|
@@ -9396,7 +9508,7 @@ const EasySplitApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
9396
9508
|
|
|
9397
9509
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9398
9510
|
|
|
9399
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
9511
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
9400
9512
|
if (x_api_version != null && x_api_version != undefined) {
|
|
9401
9513
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
9402
9514
|
}
|
|
@@ -9722,7 +9834,7 @@ const EligibilityApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
9722
9834
|
|
|
9723
9835
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9724
9836
|
|
|
9725
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
9837
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
9726
9838
|
if (x_api_version != null && x_api_version != undefined) {
|
|
9727
9839
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
9728
9840
|
}
|
|
@@ -9796,7 +9908,7 @@ const EligibilityApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
9796
9908
|
|
|
9797
9909
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9798
9910
|
|
|
9799
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
9911
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
9800
9912
|
if (x_api_version != null && x_api_version != undefined) {
|
|
9801
9913
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
9802
9914
|
}
|
|
@@ -9870,7 +9982,7 @@ const EligibilityApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
9870
9982
|
|
|
9871
9983
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9872
9984
|
|
|
9873
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
9985
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
9874
9986
|
if (x_api_version != null && x_api_version != undefined) {
|
|
9875
9987
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
9876
9988
|
}
|
|
@@ -9944,7 +10056,7 @@ const EligibilityApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
9944
10056
|
|
|
9945
10057
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9946
10058
|
|
|
9947
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
10059
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
9948
10060
|
if (x_api_version != null && x_api_version != undefined) {
|
|
9949
10061
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
9950
10062
|
}
|
|
@@ -10118,7 +10230,7 @@ const OffersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
10118
10230
|
|
|
10119
10231
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10120
10232
|
|
|
10121
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
10233
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
10122
10234
|
if (x_api_version != null && x_api_version != undefined) {
|
|
10123
10235
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
10124
10236
|
}
|
|
@@ -10191,7 +10303,7 @@ const OffersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
10191
10303
|
|
|
10192
10304
|
|
|
10193
10305
|
|
|
10194
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
10306
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
10195
10307
|
if (x_api_version != null && x_api_version != undefined) {
|
|
10196
10308
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
10197
10309
|
}
|
|
@@ -10328,7 +10440,7 @@ const OrdersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
10328
10440
|
|
|
10329
10441
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10330
10442
|
|
|
10331
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
10443
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
10332
10444
|
if (x_api_version != null && x_api_version != undefined) {
|
|
10333
10445
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
10334
10446
|
}
|
|
@@ -10401,7 +10513,7 @@ const OrdersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
10401
10513
|
|
|
10402
10514
|
|
|
10403
10515
|
|
|
10404
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
10516
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
10405
10517
|
if (x_api_version != null && x_api_version != undefined) {
|
|
10406
10518
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
10407
10519
|
}
|
|
@@ -10478,7 +10590,7 @@ const OrdersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
10478
10590
|
|
|
10479
10591
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10480
10592
|
|
|
10481
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
10593
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
10482
10594
|
if (x_api_version != null && x_api_version != undefined) {
|
|
10483
10595
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
10484
10596
|
}
|
|
@@ -10637,7 +10749,7 @@ const PGReconciliationApiAxiosParamCreator = function (configuration?: Configura
|
|
|
10637
10749
|
|
|
10638
10750
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10639
10751
|
|
|
10640
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
10752
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
10641
10753
|
if (x_api_version != null && x_api_version != undefined) {
|
|
10642
10754
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
10643
10755
|
}
|
|
@@ -10758,7 +10870,7 @@ const PaymentLinksApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
10758
10870
|
|
|
10759
10871
|
|
|
10760
10872
|
|
|
10761
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
10873
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
10762
10874
|
if (x_api_version != null && x_api_version != undefined) {
|
|
10763
10875
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
10764
10876
|
}
|
|
@@ -10831,7 +10943,7 @@ const PaymentLinksApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
10831
10943
|
|
|
10832
10944
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10833
10945
|
|
|
10834
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
10946
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
10835
10947
|
if (x_api_version != null && x_api_version != undefined) {
|
|
10836
10948
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
10837
10949
|
}
|
|
@@ -10904,7 +11016,7 @@ const PaymentLinksApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
10904
11016
|
|
|
10905
11017
|
|
|
10906
11018
|
|
|
10907
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
11019
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
10908
11020
|
if (x_api_version != null && x_api_version != undefined) {
|
|
10909
11021
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
10910
11022
|
}
|
|
@@ -10933,11 +11045,12 @@ const PaymentLinksApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
10933
11045
|
* @param {string} link_id The payment link ID for which you want to view the details.
|
|
10934
11046
|
* @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree
|
|
10935
11047
|
* @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions.
|
|
11048
|
+
* @param {string} [status] Mention What is status of orders you want to fetch, default is PAID. Possible value: ALL, PAID
|
|
10936
11049
|
* @param {*} [options] Override http request option.
|
|
10937
11050
|
* @throws {RequiredError}
|
|
10938
11051
|
* x_idempotency_key?: string,
|
|
10939
11052
|
*/
|
|
10940
|
-
pGLinkFetchOrders: async (x_api_version: string, link_id: string, x_request_id?: string, x_idempotency_key?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11053
|
+
pGLinkFetchOrders: async (x_api_version: string, link_id: string, x_request_id?: string, x_idempotency_key?: string, status?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10941
11054
|
// verify required parameter 'x_api_version' is not null or undefined
|
|
10942
11055
|
assertParamExists('pGLinkFetchOrders', 'x_api_version', x_api_version)
|
|
10943
11056
|
// verify required parameter 'link_id' is not null or undefined
|
|
@@ -10974,9 +11087,13 @@ const PaymentLinksApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
10974
11087
|
// authentication XClientSignatureHeader required
|
|
10975
11088
|
await setApiKeyToObject(localVarHeaderParameter, "x-client-signature")
|
|
10976
11089
|
|
|
11090
|
+
if (status !== undefined) {
|
|
11091
|
+
localVarQueryParameter['status'] = status;
|
|
11092
|
+
}
|
|
11093
|
+
|
|
10977
11094
|
|
|
10978
11095
|
|
|
10979
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
11096
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
10980
11097
|
if (x_api_version != null && x_api_version != undefined) {
|
|
10981
11098
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
10982
11099
|
}
|
|
@@ -11068,11 +11185,12 @@ const PaymentLinksApiFp = function(configuration?: Configuration) {
|
|
|
11068
11185
|
* @param {string} link_id The payment link ID for which you want to view the details.
|
|
11069
11186
|
* @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree
|
|
11070
11187
|
* @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions.
|
|
11188
|
+
* @param {string} [status] Mention What is status of orders you want to fetch, default is PAID. Possible value: ALL, PAID
|
|
11071
11189
|
* @param {*} [options] Override http request option.
|
|
11072
11190
|
* @throws {RequiredError}
|
|
11073
11191
|
*/
|
|
11074
|
-
async pGLinkFetchOrders(x_api_version: string, link_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PaymentLinkOrderEntity>>> {
|
|
11075
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.pGLinkFetchOrders(x_api_version, link_id, x_request_id, x_idempotency_key, options);
|
|
11192
|
+
async pGLinkFetchOrders(x_api_version: string, link_id: string, x_request_id?: string, x_idempotency_key?: string, status?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PaymentLinkOrderEntity>>> {
|
|
11193
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.pGLinkFetchOrders(x_api_version, link_id, x_request_id, x_idempotency_key, status, options);
|
|
11076
11194
|
var url = "https://sandbox.cashfree.com/pg";
|
|
11077
11195
|
if(Cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
11078
11196
|
url = "https://api.cashfree.com/pg"
|
|
@@ -11153,7 +11271,7 @@ const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
11153
11271
|
|
|
11154
11272
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11155
11273
|
|
|
11156
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
11274
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
11157
11275
|
if (x_api_version != null && x_api_version != undefined) {
|
|
11158
11276
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
11159
11277
|
}
|
|
@@ -11216,7 +11334,7 @@ const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
11216
11334
|
|
|
11217
11335
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11218
11336
|
|
|
11219
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
11337
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
11220
11338
|
if (x_api_version != null && x_api_version != undefined) {
|
|
11221
11339
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
11222
11340
|
}
|
|
@@ -11293,7 +11411,7 @@ const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
11293
11411
|
|
|
11294
11412
|
|
|
11295
11413
|
|
|
11296
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
11414
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
11297
11415
|
if (x_api_version != null && x_api_version != undefined) {
|
|
11298
11416
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
11299
11417
|
}
|
|
@@ -11365,7 +11483,7 @@ const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
11365
11483
|
|
|
11366
11484
|
|
|
11367
11485
|
|
|
11368
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
11486
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
11369
11487
|
if (x_api_version != null && x_api_version != undefined) {
|
|
11370
11488
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
11371
11489
|
}
|
|
@@ -11423,7 +11541,7 @@ const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
11423
11541
|
|
|
11424
11542
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11425
11543
|
|
|
11426
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
11544
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
11427
11545
|
if (x_api_version != null && x_api_version != undefined) {
|
|
11428
11546
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
11429
11547
|
}
|
|
@@ -11622,7 +11740,7 @@ const RefundsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
11622
11740
|
|
|
11623
11741
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11624
11742
|
|
|
11625
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
11743
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
11626
11744
|
if (x_api_version != null && x_api_version != undefined) {
|
|
11627
11745
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
11628
11746
|
}
|
|
@@ -11699,7 +11817,7 @@ const RefundsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
11699
11817
|
|
|
11700
11818
|
|
|
11701
11819
|
|
|
11702
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
11820
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
11703
11821
|
if (x_api_version != null && x_api_version != undefined) {
|
|
11704
11822
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
11705
11823
|
}
|
|
@@ -11771,7 +11889,7 @@ const RefundsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
11771
11889
|
|
|
11772
11890
|
|
|
11773
11891
|
|
|
11774
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
11892
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
11775
11893
|
if (x_api_version != null && x_api_version != undefined) {
|
|
11776
11894
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
11777
11895
|
}
|
|
@@ -11930,7 +12048,7 @@ const SettlementReconciliationApiAxiosParamCreator = function (configuration?: C
|
|
|
11930
12048
|
|
|
11931
12049
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11932
12050
|
|
|
11933
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
12051
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
11934
12052
|
if (x_api_version != null && x_api_version != undefined) {
|
|
11935
12053
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
11936
12054
|
}
|
|
@@ -12006,7 +12124,7 @@ const SettlementReconciliationApiAxiosParamCreator = function (configuration?: C
|
|
|
12006
12124
|
|
|
12007
12125
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12008
12126
|
|
|
12009
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
12127
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
12010
12128
|
if (x_api_version != null && x_api_version != undefined) {
|
|
12011
12129
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
12012
12130
|
}
|
|
@@ -12146,7 +12264,7 @@ const SettlementsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
12146
12264
|
|
|
12147
12265
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12148
12266
|
|
|
12149
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
12267
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
12150
12268
|
if (x_api_version != null && x_api_version != undefined) {
|
|
12151
12269
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
12152
12270
|
}
|
|
@@ -12219,7 +12337,7 @@ const SettlementsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
12219
12337
|
|
|
12220
12338
|
|
|
12221
12339
|
|
|
12222
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
12340
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
12223
12341
|
if (x_api_version != null && x_api_version != undefined) {
|
|
12224
12342
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
12225
12343
|
}
|
|
@@ -12355,7 +12473,7 @@ const SimulationApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
12355
12473
|
|
|
12356
12474
|
|
|
12357
12475
|
|
|
12358
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
12476
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
12359
12477
|
if (x_api_version != null && x_api_version != undefined) {
|
|
12360
12478
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
12361
12479
|
}
|
|
@@ -12428,7 +12546,7 @@ const SimulationApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
12428
12546
|
|
|
12429
12547
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12430
12548
|
|
|
12431
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
12549
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
12432
12550
|
if (x_api_version != null && x_api_version != undefined) {
|
|
12433
12551
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
12434
12552
|
}
|
|
@@ -12566,7 +12684,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
12566
12684
|
|
|
12567
12685
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12568
12686
|
|
|
12569
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
12687
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
12570
12688
|
if (x_api_version != null && x_api_version != undefined) {
|
|
12571
12689
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
12572
12690
|
}
|
|
@@ -12640,7 +12758,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
12640
12758
|
|
|
12641
12759
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12642
12760
|
|
|
12643
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
12761
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
12644
12762
|
if (x_api_version != null && x_api_version != undefined) {
|
|
12645
12763
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
12646
12764
|
}
|
|
@@ -12713,7 +12831,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
12713
12831
|
|
|
12714
12832
|
|
|
12715
12833
|
|
|
12716
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
12834
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
12717
12835
|
if (x_api_version != null && x_api_version != undefined) {
|
|
12718
12836
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
12719
12837
|
}
|
|
@@ -12795,7 +12913,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
12795
12913
|
|
|
12796
12914
|
|
|
12797
12915
|
|
|
12798
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
12916
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
12799
12917
|
if (x_api_version != null && x_api_version != undefined) {
|
|
12800
12918
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
12801
12919
|
}
|
|
@@ -12874,7 +12992,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
12874
12992
|
|
|
12875
12993
|
|
|
12876
12994
|
|
|
12877
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
12995
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
12878
12996
|
if (x_api_version != null && x_api_version != undefined) {
|
|
12879
12997
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
12880
12998
|
}
|
|
@@ -12951,7 +13069,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
12951
13069
|
|
|
12952
13070
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12953
13071
|
|
|
12954
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
13072
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
12955
13073
|
if (x_api_version != null && x_api_version != undefined) {
|
|
12956
13074
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
12957
13075
|
}
|
|
@@ -13029,7 +13147,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
13029
13147
|
|
|
13030
13148
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13031
13149
|
|
|
13032
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
13150
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
13033
13151
|
if (x_api_version != null && x_api_version != undefined) {
|
|
13034
13152
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
13035
13153
|
}
|
|
@@ -13107,7 +13225,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
13107
13225
|
|
|
13108
13226
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13109
13227
|
|
|
13110
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
13228
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
13111
13229
|
if (x_api_version != null && x_api_version != undefined) {
|
|
13112
13230
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
13113
13231
|
}
|
|
@@ -13358,7 +13476,7 @@ const SubscriptionApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
13358
13476
|
|
|
13359
13477
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13360
13478
|
|
|
13361
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
13479
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
13362
13480
|
if (x_api_version != null && x_api_version != undefined) {
|
|
13363
13481
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
13364
13482
|
}
|
|
@@ -13432,7 +13550,7 @@ const SubscriptionApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
13432
13550
|
|
|
13433
13551
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13434
13552
|
|
|
13435
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
13553
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
13436
13554
|
if (x_api_version != null && x_api_version != undefined) {
|
|
13437
13555
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
13438
13556
|
}
|
|
@@ -13510,7 +13628,7 @@ const SubscriptionApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
13510
13628
|
|
|
13511
13629
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13512
13630
|
|
|
13513
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
13631
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
13514
13632
|
if (x_api_version != null && x_api_version != undefined) {
|
|
13515
13633
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
13516
13634
|
}
|
|
@@ -13584,7 +13702,7 @@ const SubscriptionApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
13584
13702
|
|
|
13585
13703
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13586
13704
|
|
|
13587
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
13705
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
13588
13706
|
if (x_api_version != null && x_api_version != undefined) {
|
|
13589
13707
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
13590
13708
|
}
|
|
@@ -13623,7 +13741,7 @@ const SubscriptionApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
13623
13741
|
assertParamExists('subsFetchPlan', 'x_api_version', x_api_version)
|
|
13624
13742
|
// verify required parameter 'plan_id' is not null or undefined
|
|
13625
13743
|
assertParamExists('subsFetchPlan', 'plan_id', plan_id)
|
|
13626
|
-
const localVarPath = `/
|
|
13744
|
+
const localVarPath = `/plans/{plan_id}`
|
|
13627
13745
|
.replace(`{${"plan_id"}}`, encodeURIComponent(String(plan_id)));
|
|
13628
13746
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13629
13747
|
var url = "https://sandbox.cashfree.com/pg";
|
|
@@ -13657,7 +13775,7 @@ const SubscriptionApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
13657
13775
|
|
|
13658
13776
|
|
|
13659
13777
|
|
|
13660
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
13778
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
13661
13779
|
if (x_api_version != null && x_api_version != undefined) {
|
|
13662
13780
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
13663
13781
|
}
|
|
@@ -13729,7 +13847,7 @@ const SubscriptionApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
13729
13847
|
|
|
13730
13848
|
|
|
13731
13849
|
|
|
13732
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
13850
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
13733
13851
|
if (x_api_version != null && x_api_version != undefined) {
|
|
13734
13852
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
13735
13853
|
}
|
|
@@ -13805,7 +13923,7 @@ const SubscriptionApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
13805
13923
|
|
|
13806
13924
|
|
|
13807
13925
|
|
|
13808
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
13926
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
13809
13927
|
if (x_api_version != null && x_api_version != undefined) {
|
|
13810
13928
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
13811
13929
|
}
|
|
@@ -13877,7 +13995,7 @@ const SubscriptionApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
13877
13995
|
|
|
13878
13996
|
|
|
13879
13997
|
|
|
13880
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
13998
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
13881
13999
|
if (x_api_version != null && x_api_version != undefined) {
|
|
13882
14000
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
13883
14001
|
}
|
|
@@ -13953,7 +14071,7 @@ const SubscriptionApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
13953
14071
|
|
|
13954
14072
|
|
|
13955
14073
|
|
|
13956
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
14074
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
13957
14075
|
if (x_api_version != null && x_api_version != undefined) {
|
|
13958
14076
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
13959
14077
|
}
|
|
@@ -14030,7 +14148,7 @@ const SubscriptionApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
14030
14148
|
|
|
14031
14149
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14032
14150
|
|
|
14033
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
14151
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
14034
14152
|
if (x_api_version != null && x_api_version != undefined) {
|
|
14035
14153
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
14036
14154
|
}
|
|
@@ -14112,7 +14230,7 @@ const SubscriptionApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
14112
14230
|
|
|
14113
14231
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14114
14232
|
|
|
14115
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
14233
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
14116
14234
|
if (x_api_version != null && x_api_version != undefined) {
|
|
14117
14235
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
14118
14236
|
}
|
|
@@ -14136,7 +14254,7 @@ const SubscriptionApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
14136
14254
|
},
|
|
14137
14255
|
/**
|
|
14138
14256
|
* Use this API to upload Physical Nach for Physical Nach Authorization.
|
|
14139
|
-
* @summary
|
|
14257
|
+
* @summary API to upload Physical Nach for Physical Nach Authorization.
|
|
14140
14258
|
|
|
14141
14259
|
* @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD
|
|
14142
14260
|
* @param {string} payment_id Provide the PaymentId using which the payment was created.
|
|
@@ -14209,7 +14327,7 @@ const SubscriptionApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
14209
14327
|
|
|
14210
14328
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
14211
14329
|
|
|
14212
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
14330
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
14213
14331
|
if (x_api_version != null && x_api_version != undefined) {
|
|
14214
14332
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
14215
14333
|
}
|
|
@@ -14233,7 +14351,7 @@ const SubscriptionApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
14233
14351
|
},
|
|
14234
14352
|
/**
|
|
14235
14353
|
* Use this API to check if a payment method is enabled for your account.
|
|
14236
|
-
* @summary
|
|
14354
|
+
* @summary API to get all the payment method details available for subscription payments.
|
|
14237
14355
|
|
|
14238
14356
|
* @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD
|
|
14239
14357
|
* @param {SubscriptionEligibilityRequest} SubscriptionEligibilityRequest Request body to fetch subscription eligibile payment method details.
|
|
@@ -14283,7 +14401,7 @@ const SubscriptionApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
14283
14401
|
|
|
14284
14402
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14285
14403
|
|
|
14286
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
14404
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
14287
14405
|
if (x_api_version != null && x_api_version != undefined) {
|
|
14288
14406
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
14289
14407
|
}
|
|
@@ -14325,7 +14443,7 @@ const SubscriptionApiFp = function(configuration?: Configuration) {
|
|
|
14325
14443
|
* @param {*} [options] Override http request option.
|
|
14326
14444
|
* @throws {RequiredError}
|
|
14327
14445
|
*/
|
|
14328
|
-
async subsCreatePayment(x_api_version: string, CreateSubscriptionPaymentRequest: CreateSubscriptionPaymentRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
14446
|
+
async subsCreatePayment(x_api_version: string, CreateSubscriptionPaymentRequest: CreateSubscriptionPaymentRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateSubscriptionPaymentResponse>> {
|
|
14329
14447
|
const localVarAxiosArgs = await localVarAxiosParamCreator.subsCreatePayment(x_api_version, CreateSubscriptionPaymentRequest, x_request_id, x_idempotency_key, options);
|
|
14330
14448
|
var url = "https://sandbox.cashfree.com/pg";
|
|
14331
14449
|
if(Cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
@@ -14521,7 +14639,7 @@ const SubscriptionApiFp = function(configuration?: Configuration) {
|
|
|
14521
14639
|
},
|
|
14522
14640
|
/**
|
|
14523
14641
|
* Use this API to upload Physical Nach for Physical Nach Authorization.
|
|
14524
|
-
* @summary
|
|
14642
|
+
* @summary API to upload Physical Nach for Physical Nach Authorization.
|
|
14525
14643
|
* @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD
|
|
14526
14644
|
* @param {string} payment_id Provide the PaymentId using which the payment was created.
|
|
14527
14645
|
* @param {File} file Select the .jpg file that should be uploaded or provide the path of that file. You cannot upload a file that is more than 1MB in size.
|
|
@@ -14542,7 +14660,7 @@ const SubscriptionApiFp = function(configuration?: Configuration) {
|
|
|
14542
14660
|
},
|
|
14543
14661
|
/**
|
|
14544
14662
|
* Use this API to check if a payment method is enabled for your account.
|
|
14545
|
-
* @summary
|
|
14663
|
+
* @summary API to get all the payment method details available for subscription payments.
|
|
14546
14664
|
* @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD
|
|
14547
14665
|
* @param {SubscriptionEligibilityRequest} SubscriptionEligibilityRequest Request body to fetch subscription eligibile payment method details.
|
|
14548
14666
|
* @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree
|
|
@@ -14631,7 +14749,7 @@ const TokenVaultApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
14631
14749
|
|
|
14632
14750
|
|
|
14633
14751
|
|
|
14634
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
14752
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
14635
14753
|
if (x_api_version != null && x_api_version != undefined) {
|
|
14636
14754
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
14637
14755
|
}
|
|
@@ -14707,7 +14825,7 @@ const TokenVaultApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
14707
14825
|
|
|
14708
14826
|
|
|
14709
14827
|
|
|
14710
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
14828
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
14711
14829
|
if (x_api_version != null && x_api_version != undefined) {
|
|
14712
14830
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
14713
14831
|
}
|
|
@@ -14786,7 +14904,7 @@ const TokenVaultApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
14786
14904
|
|
|
14787
14905
|
|
|
14788
14906
|
|
|
14789
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
14907
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
14790
14908
|
if (x_api_version != null && x_api_version != undefined) {
|
|
14791
14909
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
14792
14910
|
}
|
|
@@ -14862,7 +14980,7 @@ const TokenVaultApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
14862
14980
|
|
|
14863
14981
|
|
|
14864
14982
|
|
|
14865
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
14983
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
14866
14984
|
if (x_api_version != null && x_api_version != undefined) {
|
|
14867
14985
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
14868
14986
|
}
|
|
@@ -15090,7 +15208,7 @@ export class Cashfree {
|
|
|
15090
15208
|
} else {
|
|
15091
15209
|
scope.setExtra('environment', 'production');
|
|
15092
15210
|
}
|
|
15093
|
-
scope.setExtra('release', "4.2.
|
|
15211
|
+
scope.setExtra('release', "4.2.2");
|
|
15094
15212
|
});
|
|
15095
15213
|
}
|
|
15096
15214
|
try {
|
|
@@ -15151,7 +15269,7 @@ export class Cashfree {
|
|
|
15151
15269
|
} else {
|
|
15152
15270
|
scope.setExtra('environment', 'production');
|
|
15153
15271
|
}
|
|
15154
|
-
scope.setExtra('release', "4.2.
|
|
15272
|
+
scope.setExtra('release', "4.2.2");
|
|
15155
15273
|
});
|
|
15156
15274
|
}
|
|
15157
15275
|
try {
|
|
@@ -15211,7 +15329,7 @@ export class Cashfree {
|
|
|
15211
15329
|
} else {
|
|
15212
15330
|
scope.setExtra('environment', 'production');
|
|
15213
15331
|
}
|
|
15214
|
-
scope.setExtra('release', "4.2.
|
|
15332
|
+
scope.setExtra('release', "4.2.2");
|
|
15215
15333
|
});
|
|
15216
15334
|
}
|
|
15217
15335
|
try {
|
|
@@ -15272,7 +15390,7 @@ export class Cashfree {
|
|
|
15272
15390
|
} else {
|
|
15273
15391
|
scope.setExtra('environment', 'production');
|
|
15274
15392
|
}
|
|
15275
|
-
scope.setExtra('release', "4.2.
|
|
15393
|
+
scope.setExtra('release', "4.2.2");
|
|
15276
15394
|
});
|
|
15277
15395
|
}
|
|
15278
15396
|
try {
|
|
@@ -15332,7 +15450,7 @@ export class Cashfree {
|
|
|
15332
15450
|
} else {
|
|
15333
15451
|
scope.setExtra('environment', 'production');
|
|
15334
15452
|
}
|
|
15335
|
-
scope.setExtra('release', "4.2.
|
|
15453
|
+
scope.setExtra('release', "4.2.2");
|
|
15336
15454
|
});
|
|
15337
15455
|
}
|
|
15338
15456
|
try {
|
|
@@ -15392,7 +15510,7 @@ export class Cashfree {
|
|
|
15392
15510
|
} else {
|
|
15393
15511
|
scope.setExtra('environment', 'production');
|
|
15394
15512
|
}
|
|
15395
|
-
scope.setExtra('release', "4.2.
|
|
15513
|
+
scope.setExtra('release', "4.2.2");
|
|
15396
15514
|
});
|
|
15397
15515
|
}
|
|
15398
15516
|
try {
|
|
@@ -15453,7 +15571,7 @@ export class Cashfree {
|
|
|
15453
15571
|
} else {
|
|
15454
15572
|
scope.setExtra('environment', 'production');
|
|
15455
15573
|
}
|
|
15456
|
-
scope.setExtra('release', "4.2.
|
|
15574
|
+
scope.setExtra('release', "4.2.2");
|
|
15457
15575
|
});
|
|
15458
15576
|
}
|
|
15459
15577
|
try {
|
|
@@ -15513,7 +15631,7 @@ export class Cashfree {
|
|
|
15513
15631
|
} else {
|
|
15514
15632
|
scope.setExtra('environment', 'production');
|
|
15515
15633
|
}
|
|
15516
|
-
scope.setExtra('release', "4.2.
|
|
15634
|
+
scope.setExtra('release', "4.2.2");
|
|
15517
15635
|
});
|
|
15518
15636
|
}
|
|
15519
15637
|
try {
|
|
@@ -15573,7 +15691,7 @@ export class Cashfree {
|
|
|
15573
15691
|
} else {
|
|
15574
15692
|
scope.setExtra('environment', 'production');
|
|
15575
15693
|
}
|
|
15576
|
-
scope.setExtra('release', "4.2.
|
|
15694
|
+
scope.setExtra('release', "4.2.2");
|
|
15577
15695
|
});
|
|
15578
15696
|
}
|
|
15579
15697
|
try {
|
|
@@ -15634,7 +15752,7 @@ export class Cashfree {
|
|
|
15634
15752
|
} else {
|
|
15635
15753
|
scope.setExtra('environment', 'production');
|
|
15636
15754
|
}
|
|
15637
|
-
scope.setExtra('release', "4.2.
|
|
15755
|
+
scope.setExtra('release', "4.2.2");
|
|
15638
15756
|
});
|
|
15639
15757
|
}
|
|
15640
15758
|
try {
|
|
@@ -15697,7 +15815,7 @@ export class Cashfree {
|
|
|
15697
15815
|
} else {
|
|
15698
15816
|
scope.setExtra('environment', 'production');
|
|
15699
15817
|
}
|
|
15700
|
-
scope.setExtra('release', "4.2.
|
|
15818
|
+
scope.setExtra('release', "4.2.2");
|
|
15701
15819
|
});
|
|
15702
15820
|
}
|
|
15703
15821
|
try {
|
|
@@ -15758,7 +15876,7 @@ export class Cashfree {
|
|
|
15758
15876
|
} else {
|
|
15759
15877
|
scope.setExtra('environment', 'production');
|
|
15760
15878
|
}
|
|
15761
|
-
scope.setExtra('release', "4.2.
|
|
15879
|
+
scope.setExtra('release', "4.2.2");
|
|
15762
15880
|
});
|
|
15763
15881
|
}
|
|
15764
15882
|
try {
|
|
@@ -15818,7 +15936,7 @@ export class Cashfree {
|
|
|
15818
15936
|
} else {
|
|
15819
15937
|
scope.setExtra('environment', 'production');
|
|
15820
15938
|
}
|
|
15821
|
-
scope.setExtra('release', "4.2.
|
|
15939
|
+
scope.setExtra('release', "4.2.2");
|
|
15822
15940
|
});
|
|
15823
15941
|
}
|
|
15824
15942
|
try {
|
|
@@ -15878,7 +15996,7 @@ export class Cashfree {
|
|
|
15878
15996
|
} else {
|
|
15879
15997
|
scope.setExtra('environment', 'production');
|
|
15880
15998
|
}
|
|
15881
|
-
scope.setExtra('release', "4.2.
|
|
15999
|
+
scope.setExtra('release', "4.2.2");
|
|
15882
16000
|
});
|
|
15883
16001
|
}
|
|
15884
16002
|
try {
|
|
@@ -15938,7 +16056,7 @@ export class Cashfree {
|
|
|
15938
16056
|
} else {
|
|
15939
16057
|
scope.setExtra('environment', 'production');
|
|
15940
16058
|
}
|
|
15941
|
-
scope.setExtra('release', "4.2.
|
|
16059
|
+
scope.setExtra('release', "4.2.2");
|
|
15942
16060
|
});
|
|
15943
16061
|
}
|
|
15944
16062
|
try {
|
|
@@ -15998,7 +16116,7 @@ export class Cashfree {
|
|
|
15998
16116
|
} else {
|
|
15999
16117
|
scope.setExtra('environment', 'production');
|
|
16000
16118
|
}
|
|
16001
|
-
scope.setExtra('release', "4.2.
|
|
16119
|
+
scope.setExtra('release', "4.2.2");
|
|
16002
16120
|
});
|
|
16003
16121
|
}
|
|
16004
16122
|
try {
|
|
@@ -16058,7 +16176,7 @@ export class Cashfree {
|
|
|
16058
16176
|
} else {
|
|
16059
16177
|
scope.setExtra('environment', 'production');
|
|
16060
16178
|
}
|
|
16061
|
-
scope.setExtra('release', "4.2.
|
|
16179
|
+
scope.setExtra('release', "4.2.2");
|
|
16062
16180
|
});
|
|
16063
16181
|
}
|
|
16064
16182
|
try {
|
|
@@ -16118,7 +16236,7 @@ export class Cashfree {
|
|
|
16118
16236
|
} else {
|
|
16119
16237
|
scope.setExtra('environment', 'production');
|
|
16120
16238
|
}
|
|
16121
|
-
scope.setExtra('release', "4.2.
|
|
16239
|
+
scope.setExtra('release', "4.2.2");
|
|
16122
16240
|
});
|
|
16123
16241
|
}
|
|
16124
16242
|
try {
|
|
@@ -16178,7 +16296,7 @@ export class Cashfree {
|
|
|
16178
16296
|
} else {
|
|
16179
16297
|
scope.setExtra('environment', 'production');
|
|
16180
16298
|
}
|
|
16181
|
-
scope.setExtra('release', "4.2.
|
|
16299
|
+
scope.setExtra('release', "4.2.2");
|
|
16182
16300
|
});
|
|
16183
16301
|
}
|
|
16184
16302
|
try {
|
|
@@ -16238,7 +16356,7 @@ export class Cashfree {
|
|
|
16238
16356
|
} else {
|
|
16239
16357
|
scope.setExtra('environment', 'production');
|
|
16240
16358
|
}
|
|
16241
|
-
scope.setExtra('release', "4.2.
|
|
16359
|
+
scope.setExtra('release', "4.2.2");
|
|
16242
16360
|
});
|
|
16243
16361
|
}
|
|
16244
16362
|
try {
|
|
@@ -16298,7 +16416,7 @@ export class Cashfree {
|
|
|
16298
16416
|
} else {
|
|
16299
16417
|
scope.setExtra('environment', 'production');
|
|
16300
16418
|
}
|
|
16301
|
-
scope.setExtra('release', "4.2.
|
|
16419
|
+
scope.setExtra('release', "4.2.2");
|
|
16302
16420
|
});
|
|
16303
16421
|
}
|
|
16304
16422
|
try {
|
|
@@ -16359,7 +16477,7 @@ export class Cashfree {
|
|
|
16359
16477
|
} else {
|
|
16360
16478
|
scope.setExtra('environment', 'production');
|
|
16361
16479
|
}
|
|
16362
|
-
scope.setExtra('release', "4.2.
|
|
16480
|
+
scope.setExtra('release', "4.2.2");
|
|
16363
16481
|
});
|
|
16364
16482
|
}
|
|
16365
16483
|
try {
|
|
@@ -16421,7 +16539,7 @@ export class Cashfree {
|
|
|
16421
16539
|
} else {
|
|
16422
16540
|
scope.setExtra('environment', 'production');
|
|
16423
16541
|
}
|
|
16424
|
-
scope.setExtra('release', "4.2.
|
|
16542
|
+
scope.setExtra('release', "4.2.2");
|
|
16425
16543
|
});
|
|
16426
16544
|
}
|
|
16427
16545
|
try {
|
|
@@ -16481,7 +16599,7 @@ export class Cashfree {
|
|
|
16481
16599
|
} else {
|
|
16482
16600
|
scope.setExtra('environment', 'production');
|
|
16483
16601
|
}
|
|
16484
|
-
scope.setExtra('release', "4.2.
|
|
16602
|
+
scope.setExtra('release', "4.2.2");
|
|
16485
16603
|
});
|
|
16486
16604
|
}
|
|
16487
16605
|
try {
|
|
@@ -16541,7 +16659,7 @@ export class Cashfree {
|
|
|
16541
16659
|
} else {
|
|
16542
16660
|
scope.setExtra('environment', 'production');
|
|
16543
16661
|
}
|
|
16544
|
-
scope.setExtra('release', "4.2.
|
|
16662
|
+
scope.setExtra('release', "4.2.2");
|
|
16545
16663
|
});
|
|
16546
16664
|
}
|
|
16547
16665
|
try {
|
|
@@ -16601,7 +16719,7 @@ export class Cashfree {
|
|
|
16601
16719
|
} else {
|
|
16602
16720
|
scope.setExtra('environment', 'production');
|
|
16603
16721
|
}
|
|
16604
|
-
scope.setExtra('release', "4.2.
|
|
16722
|
+
scope.setExtra('release', "4.2.2");
|
|
16605
16723
|
});
|
|
16606
16724
|
}
|
|
16607
16725
|
try {
|
|
@@ -16621,11 +16739,12 @@ export class Cashfree {
|
|
|
16621
16739
|
* @param {string} link_id The payment link ID for which you want to view the details.
|
|
16622
16740
|
* @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree
|
|
16623
16741
|
* @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions.
|
|
16742
|
+
* @param {string} [status] Mention What is status of orders you want to fetch, default is PAID. Possible value: ALL, PAID
|
|
16624
16743
|
* @param {*} [options] Override http request option.
|
|
16625
16744
|
* @throws {RequiredError}
|
|
16626
16745
|
* @memberof PaymentLinksApi
|
|
16627
16746
|
*/
|
|
16628
|
-
public static PGLinkFetchOrders(x_api_version: string, link_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
|
|
16747
|
+
public static PGLinkFetchOrders(x_api_version: string, link_id: string, x_request_id?: string, x_idempotency_key?: string, status?: string, options?: AxiosRequestConfig) {
|
|
16629
16748
|
if(Cashfree.XEnableErrorAnalytics) {
|
|
16630
16749
|
Sentry.init({
|
|
16631
16750
|
dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
|
|
@@ -16661,11 +16780,11 @@ export class Cashfree {
|
|
|
16661
16780
|
} else {
|
|
16662
16781
|
scope.setExtra('environment', 'production');
|
|
16663
16782
|
}
|
|
16664
|
-
scope.setExtra('release', "4.2.
|
|
16783
|
+
scope.setExtra('release', "4.2.2");
|
|
16665
16784
|
});
|
|
16666
16785
|
}
|
|
16667
16786
|
try {
|
|
16668
|
-
return PaymentLinksApiFp().pGLinkFetchOrders(x_api_version, link_id, x_request_id, x_idempotency_key, options).then((request) => request(Cashfree.axios, Cashfree.basePath));
|
|
16787
|
+
return PaymentLinksApiFp().pGLinkFetchOrders(x_api_version, link_id, x_request_id, x_idempotency_key, status, options).then((request) => request(Cashfree.axios, Cashfree.basePath));
|
|
16669
16788
|
} catch (error) {
|
|
16670
16789
|
if(Cashfree.XEnableErrorAnalytics) {
|
|
16671
16790
|
Sentry.captureException(error);
|
|
@@ -16722,7 +16841,7 @@ export class Cashfree {
|
|
|
16722
16841
|
} else {
|
|
16723
16842
|
scope.setExtra('environment', 'production');
|
|
16724
16843
|
}
|
|
16725
|
-
scope.setExtra('release', "4.2.
|
|
16844
|
+
scope.setExtra('release', "4.2.2");
|
|
16726
16845
|
});
|
|
16727
16846
|
}
|
|
16728
16847
|
try {
|
|
@@ -16783,7 +16902,7 @@ export class Cashfree {
|
|
|
16783
16902
|
} else {
|
|
16784
16903
|
scope.setExtra('environment', 'production');
|
|
16785
16904
|
}
|
|
16786
|
-
scope.setExtra('release', "4.2.
|
|
16905
|
+
scope.setExtra('release', "4.2.2");
|
|
16787
16906
|
});
|
|
16788
16907
|
}
|
|
16789
16908
|
try {
|
|
@@ -16844,7 +16963,7 @@ export class Cashfree {
|
|
|
16844
16963
|
} else {
|
|
16845
16964
|
scope.setExtra('environment', 'production');
|
|
16846
16965
|
}
|
|
16847
|
-
scope.setExtra('release', "4.2.
|
|
16966
|
+
scope.setExtra('release', "4.2.2");
|
|
16848
16967
|
});
|
|
16849
16968
|
}
|
|
16850
16969
|
try {
|
|
@@ -16904,7 +17023,7 @@ export class Cashfree {
|
|
|
16904
17023
|
} else {
|
|
16905
17024
|
scope.setExtra('environment', 'production');
|
|
16906
17025
|
}
|
|
16907
|
-
scope.setExtra('release', "4.2.
|
|
17026
|
+
scope.setExtra('release', "4.2.2");
|
|
16908
17027
|
});
|
|
16909
17028
|
}
|
|
16910
17029
|
try {
|
|
@@ -16964,7 +17083,7 @@ export class Cashfree {
|
|
|
16964
17083
|
} else {
|
|
16965
17084
|
scope.setExtra('environment', 'production');
|
|
16966
17085
|
}
|
|
16967
|
-
scope.setExtra('release', "4.2.
|
|
17086
|
+
scope.setExtra('release', "4.2.2");
|
|
16968
17087
|
});
|
|
16969
17088
|
}
|
|
16970
17089
|
try {
|
|
@@ -17025,7 +17144,7 @@ export class Cashfree {
|
|
|
17025
17144
|
} else {
|
|
17026
17145
|
scope.setExtra('environment', 'production');
|
|
17027
17146
|
}
|
|
17028
|
-
scope.setExtra('release', "4.2.
|
|
17147
|
+
scope.setExtra('release', "4.2.2");
|
|
17029
17148
|
});
|
|
17030
17149
|
}
|
|
17031
17150
|
try {
|
|
@@ -17086,7 +17205,7 @@ export class Cashfree {
|
|
|
17086
17205
|
} else {
|
|
17087
17206
|
scope.setExtra('environment', 'production');
|
|
17088
17207
|
}
|
|
17089
|
-
scope.setExtra('release', "4.2.
|
|
17208
|
+
scope.setExtra('release', "4.2.2");
|
|
17090
17209
|
});
|
|
17091
17210
|
}
|
|
17092
17211
|
try {
|
|
@@ -17146,7 +17265,7 @@ export class Cashfree {
|
|
|
17146
17265
|
} else {
|
|
17147
17266
|
scope.setExtra('environment', 'production');
|
|
17148
17267
|
}
|
|
17149
|
-
scope.setExtra('release', "4.2.
|
|
17268
|
+
scope.setExtra('release', "4.2.2");
|
|
17150
17269
|
});
|
|
17151
17270
|
}
|
|
17152
17271
|
try {
|
|
@@ -17208,7 +17327,7 @@ export class Cashfree {
|
|
|
17208
17327
|
} else {
|
|
17209
17328
|
scope.setExtra('environment', 'production');
|
|
17210
17329
|
}
|
|
17211
|
-
scope.setExtra('release', "4.2.
|
|
17330
|
+
scope.setExtra('release', "4.2.2");
|
|
17212
17331
|
});
|
|
17213
17332
|
}
|
|
17214
17333
|
try {
|
|
@@ -17270,7 +17389,7 @@ export class Cashfree {
|
|
|
17270
17389
|
} else {
|
|
17271
17390
|
scope.setExtra('environment', 'production');
|
|
17272
17391
|
}
|
|
17273
|
-
scope.setExtra('release', "4.2.
|
|
17392
|
+
scope.setExtra('release', "4.2.2");
|
|
17274
17393
|
});
|
|
17275
17394
|
}
|
|
17276
17395
|
try {
|
|
@@ -17330,7 +17449,7 @@ export class Cashfree {
|
|
|
17330
17449
|
} else {
|
|
17331
17450
|
scope.setExtra('environment', 'production');
|
|
17332
17451
|
}
|
|
17333
|
-
scope.setExtra('release', "4.2.
|
|
17452
|
+
scope.setExtra('release', "4.2.2");
|
|
17334
17453
|
});
|
|
17335
17454
|
}
|
|
17336
17455
|
try {
|
|
@@ -17390,7 +17509,7 @@ export class Cashfree {
|
|
|
17390
17509
|
} else {
|
|
17391
17510
|
scope.setExtra('environment', 'production');
|
|
17392
17511
|
}
|
|
17393
|
-
scope.setExtra('release', "4.2.
|
|
17512
|
+
scope.setExtra('release', "4.2.2");
|
|
17394
17513
|
});
|
|
17395
17514
|
}
|
|
17396
17515
|
try {
|
|
@@ -17450,7 +17569,7 @@ export class Cashfree {
|
|
|
17450
17569
|
} else {
|
|
17451
17570
|
scope.setExtra('environment', 'production');
|
|
17452
17571
|
}
|
|
17453
|
-
scope.setExtra('release', "4.2.
|
|
17572
|
+
scope.setExtra('release', "4.2.2");
|
|
17454
17573
|
});
|
|
17455
17574
|
}
|
|
17456
17575
|
try {
|
|
@@ -17510,7 +17629,7 @@ export class Cashfree {
|
|
|
17510
17629
|
} else {
|
|
17511
17630
|
scope.setExtra('environment', 'production');
|
|
17512
17631
|
}
|
|
17513
|
-
scope.setExtra('release', "4.2.
|
|
17632
|
+
scope.setExtra('release', "4.2.2");
|
|
17514
17633
|
});
|
|
17515
17634
|
}
|
|
17516
17635
|
try {
|
|
@@ -17570,7 +17689,7 @@ export class Cashfree {
|
|
|
17570
17689
|
} else {
|
|
17571
17690
|
scope.setExtra('environment', 'production');
|
|
17572
17691
|
}
|
|
17573
|
-
scope.setExtra('release', "4.2.
|
|
17692
|
+
scope.setExtra('release', "4.2.2");
|
|
17574
17693
|
});
|
|
17575
17694
|
}
|
|
17576
17695
|
try {
|
|
@@ -17630,7 +17749,7 @@ export class Cashfree {
|
|
|
17630
17749
|
} else {
|
|
17631
17750
|
scope.setExtra('environment', 'production');
|
|
17632
17751
|
}
|
|
17633
|
-
scope.setExtra('release', "4.2.
|
|
17752
|
+
scope.setExtra('release', "4.2.2");
|
|
17634
17753
|
});
|
|
17635
17754
|
}
|
|
17636
17755
|
try {
|
|
@@ -17690,7 +17809,7 @@ export class Cashfree {
|
|
|
17690
17809
|
} else {
|
|
17691
17810
|
scope.setExtra('environment', 'production');
|
|
17692
17811
|
}
|
|
17693
|
-
scope.setExtra('release', "4.2.
|
|
17812
|
+
scope.setExtra('release', "4.2.2");
|
|
17694
17813
|
});
|
|
17695
17814
|
}
|
|
17696
17815
|
try {
|
|
@@ -17751,7 +17870,7 @@ export class Cashfree {
|
|
|
17751
17870
|
} else {
|
|
17752
17871
|
scope.setExtra('environment', 'production');
|
|
17753
17872
|
}
|
|
17754
|
-
scope.setExtra('release', "4.2.
|
|
17873
|
+
scope.setExtra('release', "4.2.2");
|
|
17755
17874
|
});
|
|
17756
17875
|
}
|
|
17757
17876
|
try {
|
|
@@ -17812,7 +17931,7 @@ export class Cashfree {
|
|
|
17812
17931
|
} else {
|
|
17813
17932
|
scope.setExtra('environment', 'production');
|
|
17814
17933
|
}
|
|
17815
|
-
scope.setExtra('release', "4.2.
|
|
17934
|
+
scope.setExtra('release', "4.2.2");
|
|
17816
17935
|
});
|
|
17817
17936
|
}
|
|
17818
17937
|
try {
|
|
@@ -17873,7 +17992,7 @@ export class Cashfree {
|
|
|
17873
17992
|
} else {
|
|
17874
17993
|
scope.setExtra('environment', 'production');
|
|
17875
17994
|
}
|
|
17876
|
-
scope.setExtra('release', "4.2.
|
|
17995
|
+
scope.setExtra('release', "4.2.2");
|
|
17877
17996
|
});
|
|
17878
17997
|
}
|
|
17879
17998
|
try {
|
|
@@ -17934,7 +18053,7 @@ export class Cashfree {
|
|
|
17934
18053
|
} else {
|
|
17935
18054
|
scope.setExtra('environment', 'production');
|
|
17936
18055
|
}
|
|
17937
|
-
scope.setExtra('release', "4.2.
|
|
18056
|
+
scope.setExtra('release', "4.2.2");
|
|
17938
18057
|
});
|
|
17939
18058
|
}
|
|
17940
18059
|
try {
|
|
@@ -17995,7 +18114,7 @@ export class Cashfree {
|
|
|
17995
18114
|
} else {
|
|
17996
18115
|
scope.setExtra('environment', 'production');
|
|
17997
18116
|
}
|
|
17998
|
-
scope.setExtra('release', "4.2.
|
|
18117
|
+
scope.setExtra('release', "4.2.2");
|
|
17999
18118
|
});
|
|
18000
18119
|
}
|
|
18001
18120
|
try {
|
|
@@ -18055,7 +18174,7 @@ export class Cashfree {
|
|
|
18055
18174
|
} else {
|
|
18056
18175
|
scope.setExtra('environment', 'production');
|
|
18057
18176
|
}
|
|
18058
|
-
scope.setExtra('release', "4.2.
|
|
18177
|
+
scope.setExtra('release', "4.2.2");
|
|
18059
18178
|
});
|
|
18060
18179
|
}
|
|
18061
18180
|
try {
|
|
@@ -18115,7 +18234,7 @@ export class Cashfree {
|
|
|
18115
18234
|
} else {
|
|
18116
18235
|
scope.setExtra('environment', 'production');
|
|
18117
18236
|
}
|
|
18118
|
-
scope.setExtra('release', "4.2.
|
|
18237
|
+
scope.setExtra('release', "4.2.2");
|
|
18119
18238
|
});
|
|
18120
18239
|
}
|
|
18121
18240
|
try {
|
|
@@ -18176,7 +18295,7 @@ export class Cashfree {
|
|
|
18176
18295
|
} else {
|
|
18177
18296
|
scope.setExtra('environment', 'production');
|
|
18178
18297
|
}
|
|
18179
|
-
scope.setExtra('release', "4.2.
|
|
18298
|
+
scope.setExtra('release', "4.2.2");
|
|
18180
18299
|
});
|
|
18181
18300
|
}
|
|
18182
18301
|
try {
|
|
@@ -18236,7 +18355,7 @@ export class Cashfree {
|
|
|
18236
18355
|
} else {
|
|
18237
18356
|
scope.setExtra('environment', 'production');
|
|
18238
18357
|
}
|
|
18239
|
-
scope.setExtra('release', "4.2.
|
|
18358
|
+
scope.setExtra('release', "4.2.2");
|
|
18240
18359
|
});
|
|
18241
18360
|
}
|
|
18242
18361
|
try {
|
|
@@ -18296,7 +18415,7 @@ export class Cashfree {
|
|
|
18296
18415
|
} else {
|
|
18297
18416
|
scope.setExtra('environment', 'production');
|
|
18298
18417
|
}
|
|
18299
|
-
scope.setExtra('release', "4.2.
|
|
18418
|
+
scope.setExtra('release', "4.2.2");
|
|
18300
18419
|
});
|
|
18301
18420
|
}
|
|
18302
18421
|
try {
|
|
@@ -18356,7 +18475,7 @@ export class Cashfree {
|
|
|
18356
18475
|
} else {
|
|
18357
18476
|
scope.setExtra('environment', 'production');
|
|
18358
18477
|
}
|
|
18359
|
-
scope.setExtra('release', "4.2.
|
|
18478
|
+
scope.setExtra('release', "4.2.2");
|
|
18360
18479
|
});
|
|
18361
18480
|
}
|
|
18362
18481
|
try {
|
|
@@ -18417,7 +18536,7 @@ export class Cashfree {
|
|
|
18417
18536
|
} else {
|
|
18418
18537
|
scope.setExtra('environment', 'production');
|
|
18419
18538
|
}
|
|
18420
|
-
scope.setExtra('release', "4.2.
|
|
18539
|
+
scope.setExtra('release', "4.2.2");
|
|
18421
18540
|
});
|
|
18422
18541
|
}
|
|
18423
18542
|
try {
|
|
@@ -18477,7 +18596,7 @@ export class Cashfree {
|
|
|
18477
18596
|
} else {
|
|
18478
18597
|
scope.setExtra('environment', 'production');
|
|
18479
18598
|
}
|
|
18480
|
-
scope.setExtra('release', "4.2.
|
|
18599
|
+
scope.setExtra('release', "4.2.2");
|
|
18481
18600
|
});
|
|
18482
18601
|
}
|
|
18483
18602
|
try {
|
|
@@ -18538,7 +18657,7 @@ export class Cashfree {
|
|
|
18538
18657
|
} else {
|
|
18539
18658
|
scope.setExtra('environment', 'production');
|
|
18540
18659
|
}
|
|
18541
|
-
scope.setExtra('release', "4.2.
|
|
18660
|
+
scope.setExtra('release', "4.2.2");
|
|
18542
18661
|
});
|
|
18543
18662
|
}
|
|
18544
18663
|
try {
|
|
@@ -18599,7 +18718,7 @@ export class Cashfree {
|
|
|
18599
18718
|
} else {
|
|
18600
18719
|
scope.setExtra('environment', 'production');
|
|
18601
18720
|
}
|
|
18602
|
-
scope.setExtra('release', "4.2.
|
|
18721
|
+
scope.setExtra('release', "4.2.2");
|
|
18603
18722
|
});
|
|
18604
18723
|
}
|
|
18605
18724
|
try {
|
|
@@ -18661,7 +18780,7 @@ export class Cashfree {
|
|
|
18661
18780
|
} else {
|
|
18662
18781
|
scope.setExtra('environment', 'production');
|
|
18663
18782
|
}
|
|
18664
|
-
scope.setExtra('release', "4.2.
|
|
18783
|
+
scope.setExtra('release', "4.2.2");
|
|
18665
18784
|
});
|
|
18666
18785
|
}
|
|
18667
18786
|
try {
|
|
@@ -18676,7 +18795,7 @@ export class Cashfree {
|
|
|
18676
18795
|
|
|
18677
18796
|
/**
|
|
18678
18797
|
* Use this API to upload Physical Nach for Physical Nach Authorization.
|
|
18679
|
-
* @summary
|
|
18798
|
+
* @summary API to upload Physical Nach for Physical Nach Authorization.
|
|
18680
18799
|
* @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD
|
|
18681
18800
|
* @param {string} payment_id Provide the PaymentId using which the payment was created.
|
|
18682
18801
|
* @param {File} file Select the .jpg file that should be uploaded or provide the path of that file. You cannot upload a file that is more than 1MB in size.
|
|
@@ -18724,7 +18843,7 @@ export class Cashfree {
|
|
|
18724
18843
|
} else {
|
|
18725
18844
|
scope.setExtra('environment', 'production');
|
|
18726
18845
|
}
|
|
18727
|
-
scope.setExtra('release', "4.2.
|
|
18846
|
+
scope.setExtra('release', "4.2.2");
|
|
18728
18847
|
});
|
|
18729
18848
|
}
|
|
18730
18849
|
try {
|
|
@@ -18739,7 +18858,7 @@ export class Cashfree {
|
|
|
18739
18858
|
|
|
18740
18859
|
/**
|
|
18741
18860
|
* Use this API to check if a payment method is enabled for your account.
|
|
18742
|
-
* @summary
|
|
18861
|
+
* @summary API to get all the payment method details available for subscription payments.
|
|
18743
18862
|
* @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD
|
|
18744
18863
|
* @param {SubscriptionEligibilityRequest} SubscriptionEligibilityRequest Request body to fetch subscription eligibile payment method details.
|
|
18745
18864
|
* @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree
|
|
@@ -18784,7 +18903,7 @@ export class Cashfree {
|
|
|
18784
18903
|
} else {
|
|
18785
18904
|
scope.setExtra('environment', 'production');
|
|
18786
18905
|
}
|
|
18787
|
-
scope.setExtra('release', "4.2.
|
|
18906
|
+
scope.setExtra('release', "4.2.2");
|
|
18788
18907
|
});
|
|
18789
18908
|
}
|
|
18790
18909
|
try {
|
|
@@ -18845,7 +18964,7 @@ export class Cashfree {
|
|
|
18845
18964
|
} else {
|
|
18846
18965
|
scope.setExtra('environment', 'production');
|
|
18847
18966
|
}
|
|
18848
|
-
scope.setExtra('release', "4.2.
|
|
18967
|
+
scope.setExtra('release', "4.2.2");
|
|
18849
18968
|
});
|
|
18850
18969
|
}
|
|
18851
18970
|
try {
|
|
@@ -18906,7 +19025,7 @@ export class Cashfree {
|
|
|
18906
19025
|
} else {
|
|
18907
19026
|
scope.setExtra('environment', 'production');
|
|
18908
19027
|
}
|
|
18909
|
-
scope.setExtra('release', "4.2.
|
|
19028
|
+
scope.setExtra('release', "4.2.2");
|
|
18910
19029
|
});
|
|
18911
19030
|
}
|
|
18912
19031
|
try {
|
|
@@ -18967,7 +19086,7 @@ export class Cashfree {
|
|
|
18967
19086
|
} else {
|
|
18968
19087
|
scope.setExtra('environment', 'production');
|
|
18969
19088
|
}
|
|
18970
|
-
scope.setExtra('release', "4.2.
|
|
19089
|
+
scope.setExtra('release', "4.2.2");
|
|
18971
19090
|
});
|
|
18972
19091
|
}
|
|
18973
19092
|
try {
|
|
@@ -19028,7 +19147,7 @@ export class Cashfree {
|
|
|
19028
19147
|
} else {
|
|
19029
19148
|
scope.setExtra('environment', 'production');
|
|
19030
19149
|
}
|
|
19031
|
-
scope.setExtra('release', "4.2.
|
|
19150
|
+
scope.setExtra('release', "4.2.2");
|
|
19032
19151
|
});
|
|
19033
19152
|
}
|
|
19034
19153
|
try {
|