Skip to content

Commit 8bb7da2

Browse files
committed
Updated spec file
1 parent 068f619 commit 8bb7da2

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

generator/cybersource-rest-spec.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@
289289
"/pts/v2/payments": {
290290
"post": {
291291
"summary": "Process a Payment",
292-
"description": "A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc..\n\nA payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html).\n\nAuthorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation. Find more on [Authorization with Add-On Features page.](https://developer.cybersource.com/api/authorization-add-ons.html)\n",
292+
"description": "A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc..\n\nA payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html).\n\nAuthorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation.\n",
293293
"tags": [
294294
"payments"
295295
],
@@ -14312,6 +14312,11 @@
1431214312
"processorInformation": {
1431314313
"type": "object",
1431414314
"properties": {
14315+
"approvalCode": {
14316+
"type": "string",
14317+
"maxLength": 6,
14318+
"description": "Authorization code. Returned only when the processor returns this value.\n\nThe length of this value depends on your processor.\n\nReturned by authorization service.\n\n#### PIN debit\nAuthorization code that is returned by the processor.\n\nReturned by PIN debit credit.\n\n#### Elavon Encrypted Account Number Program\nThe returned value is OFFLINE.\n\n#### TSYS Acquiring Solutions\nThe returned value for a successful zero amount authorization is 000000.\n"
14319+
},
1431514320
"transactionId": {
1431614321
"type": "string",
1431714322
"maxLength": 18,
@@ -16695,6 +16700,11 @@
1669516700
"processorInformation": {
1669616701
"type": "object",
1669716702
"properties": {
16703+
"approvalCode": {
16704+
"type": "string",
16705+
"maxLength": 6,
16706+
"description": "Authorization code. Returned only when the processor returns this value.\n\nThe length of this value depends on your processor.\n\nReturned by authorization service.\n\n#### PIN debit\nAuthorization code that is returned by the processor.\n\nReturned by PIN debit credit.\n\n#### Elavon Encrypted Account Number Program\nThe returned value is OFFLINE.\n\n#### TSYS Acquiring Solutions\nThe returned value for a successful zero amount authorization is 000000.\n"
16707+
},
1669816708
"transactionId": {
1669916709
"type": "string",
1670016710
"maxLength": 18,
@@ -19358,6 +19368,11 @@
1935819368
"processorInformation": {
1935919369
"type": "object",
1936019370
"properties": {
19371+
"approvalCode": {
19372+
"type": "string",
19373+
"maxLength": 6,
19374+
"description": "Authorization code. Returned only when the processor returns this value.\n\nThe length of this value depends on your processor.\n\nReturned by authorization service.\n\n#### PIN debit\nAuthorization code that is returned by the processor.\n\nReturned by PIN debit credit.\n\n#### Elavon Encrypted Account Number Program\nThe returned value is OFFLINE.\n\n#### TSYS Acquiring Solutions\nThe returned value for a successful zero amount authorization is 000000.\n"
19375+
},
1936119376
"transactionId": {
1936219377
"type": "string",
1936319378
"maxLength": 18,

0 commit comments

Comments
 (0)