You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/typings/checkout/additionalDataCommon.ts
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,10 @@ export class AdditionalDataCommon {
22
22
*/
23
23
'authorisationType'?: string;
24
24
/**
25
+
* Set to **true** to enable [Auto Rescue](https://docs.adyen.com/online-payments/auto-rescue/) for a transaction. Use the `maxDaysToRescue` to specify a rescue window.
26
+
*/
27
+
'autoRescue'?: string;
28
+
/**
25
29
* Allows you to determine or override the acquirer account that should be used for the transaction. If you need to process a payment with an acquirer different from a default one, you can set up a corresponding configuration on the Adyen payments platform. Then you can pass a custom routing flag in a payment request\'s additional data to target a specific acquirer. To enable this functionality, contact [Support](https://www.adyen.help/hc/en-us/requests/new).
26
30
*/
27
31
'customRoutingFlag'?: string;
@@ -34,6 +38,10 @@ export class AdditionalDataCommon {
34
38
*/
35
39
'manualCapture'?: string;
36
40
/**
41
+
* The rescue window for a transaction, in days, when `autoRescue` is set to **true**. You can specify a value between 1 and 48. * For [cards](https://docs.adyen.com/online-payments/auto-rescue/cards/), the default is one calendar month. * For [SEPA](https://docs.adyen.com/online-payments/auto-rescue/sepa/), the default is 42 days.
42
+
*/
43
+
'maxDaysToRescue'?: string;
44
+
/**
37
45
* Allows you to link the transaction to the original or previous one in a subscription/card-on-file chain. This field is required for token-based transactions where Adyen does not tokenize the card. Transaction identifier from card schemes, for example, Mastercard Trace ID or the Visa Transaction ID. Submit the original transaction ID of the contract in your payment request if you are not tokenizing card details with Adyen and are making a merchant-initiated transaction (MIT) for subsequent charges. Make sure you are sending `shopperInteraction` **ContAuth** and `recurringProcessingModel` **Subscription** or **UnscheduledCardOnFile** to ensure that the transaction is classified as MIT.
38
46
*/
39
47
'networkTxReference'?: string;
@@ -92,6 +100,11 @@ export class AdditionalDataCommon {
92
100
"baseName": "authorisationType",
93
101
"type": "string"
94
102
},
103
+
{
104
+
"name": "autoRescue",
105
+
"baseName": "autoRescue",
106
+
"type": "string"
107
+
},
95
108
{
96
109
"name": "customRoutingFlag",
97
110
"baseName": "customRoutingFlag",
@@ -107,6 +120,11 @@ export class AdditionalDataCommon {
Copy file name to clipboardExpand all lines: src/typings/payment/additionalDataCommon.ts
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,10 @@ export class AdditionalDataCommon {
22
22
*/
23
23
'authorisationType'?: string;
24
24
/**
25
+
* Set to **true** to enable [Auto Rescue](https://docs.adyen.com/online-payments/auto-rescue/) for a transaction. Use the `maxDaysToRescue` to specify a rescue window.
26
+
*/
27
+
'autoRescue'?: string;
28
+
/**
25
29
* Allows you to determine or override the acquirer account that should be used for the transaction. If you need to process a payment with an acquirer different from a default one, you can set up a corresponding configuration on the Adyen payments platform. Then you can pass a custom routing flag in a payment request\'s additional data to target a specific acquirer. To enable this functionality, contact [Support](https://www.adyen.help/hc/en-us/requests/new).
26
30
*/
27
31
'customRoutingFlag'?: string;
@@ -34,6 +38,10 @@ export class AdditionalDataCommon {
34
38
*/
35
39
'manualCapture'?: string;
36
40
/**
41
+
* The rescue window for a transaction, in days, when `autoRescue` is set to **true**. You can specify a value between 1 and 48. * For [cards](https://docs.adyen.com/online-payments/auto-rescue/cards/), the default is one calendar month. * For [SEPA](https://docs.adyen.com/online-payments/auto-rescue/sepa/), the default is 42 days.
42
+
*/
43
+
'maxDaysToRescue'?: string;
44
+
/**
37
45
* Allows you to link the transaction to the original or previous one in a subscription/card-on-file chain. This field is required for token-based transactions where Adyen does not tokenize the card. Transaction identifier from card schemes, for example, Mastercard Trace ID or the Visa Transaction ID. Submit the original transaction ID of the contract in your payment request if you are not tokenizing card details with Adyen and are making a merchant-initiated transaction (MIT) for subsequent charges. Make sure you are sending `shopperInteraction` **ContAuth** and `recurringProcessingModel` **Subscription** or **UnscheduledCardOnFile** to ensure that the transaction is classified as MIT.
38
46
*/
39
47
'networkTxReference'?: string;
@@ -92,6 +100,11 @@ export class AdditionalDataCommon {
92
100
"baseName": "authorisationType",
93
101
"type": "string"
94
102
},
103
+
{
104
+
"name": "autoRescue",
105
+
"baseName": "autoRescue",
106
+
"type": "string"
107
+
},
95
108
{
96
109
"name": "customRoutingFlag",
97
110
"baseName": "customRoutingFlag",
@@ -107,6 +120,11 @@ export class AdditionalDataCommon {
0 commit comments