@checkdigit/eslint-plugin 7.17.1 → 7.18.0-PR.143-8290

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.
Files changed (80) hide show
  1. package/dist-mjs/athena/api-locator.mjs +30 -0
  2. package/dist-mjs/athena/api-matcher.mjs +108 -0
  3. package/dist-mjs/athena/athena.mjs +331 -0
  4. package/dist-mjs/athena/column.mjs +1 -0
  5. package/dist-mjs/athena/context.mjs +21 -0
  6. package/dist-mjs/athena/index.mjs +1 -0
  7. package/dist-mjs/athena/service-table.mjs +32 -0
  8. package/dist-mjs/athena/types.mjs +1 -0
  9. package/dist-mjs/athena/visitor.mjs +258 -0
  10. package/dist-mjs/index.mjs +8 -4
  11. package/dist-mjs/no-status-code-assert.mjs +1 -1
  12. package/dist-mjs/openapi/deref-schema.mjs +14 -0
  13. package/dist-mjs/openapi/generate-schema.mjs +273 -0
  14. package/dist-mjs/openapi/service-schema-generator.mjs +147 -0
  15. package/dist-mjs/peggy/athena-peggy.mjs +20629 -0
  16. package/dist-types/athena/api-locator.d.ts +2 -0
  17. package/dist-types/athena/api-matcher.d.ts +14 -0
  18. package/dist-types/athena/athena.d.ts +6 -0
  19. package/dist-types/athena/column.d.ts +1 -0
  20. package/dist-types/athena/context.d.ts +21 -0
  21. package/dist-types/athena/index.d.ts +8 -0
  22. package/dist-types/athena/service-table.d.ts +8 -0
  23. package/dist-types/athena/types.d.ts +474 -0
  24. package/dist-types/athena/visitor.d.ts +63 -0
  25. package/dist-types/no-status-code-assert.d.ts +1 -1
  26. package/dist-types/openapi/deref-schema.d.ts +1 -0
  27. package/dist-types/openapi/generate-schema.d.ts +33 -0
  28. package/dist-types/openapi/service-schema-generator.d.ts +5 -0
  29. package/dist-types/peggy/athena-peggy.d.ts +13 -0
  30. package/package.json +1 -96
  31. package/src/athena/ATHENA.md +387 -0
  32. package/src/athena/PLAN.md +355 -0
  33. package/src/athena/api-locator.ts +39 -0
  34. package/src/athena/api-matcher.ts +169 -0
  35. package/src/athena/athena.ts +491 -0
  36. package/src/athena/column.ts +2 -0
  37. package/src/athena/context.ts +47 -0
  38. package/src/athena/index.ts +11 -0
  39. package/src/athena/service-table.ts +55 -0
  40. package/src/athena/types.ts +526 -0
  41. package/src/athena/visitor.ts +365 -0
  42. package/src/index.ts +4 -0
  43. package/src/no-side-effects.ts +1 -1
  44. package/src/no-status-code-assert.ts +2 -2
  45. package/src/openapi/deref-schema.ts +14 -0
  46. package/src/openapi/generate-schema.ts +422 -0
  47. package/src/openapi/service-schema-generator.ts +189 -0
  48. package/src/peggy/athena-chat.peggy +608 -0
  49. package/src/peggy/athena-peggy.ts +22078 -0
  50. package/src/peggy/athena.peggy +2967 -0
  51. package/src/require-service-call-response-declaration.ts +2 -2
  52. package/src/services/interchange/v1/swagger.schema.deref.json +849 -0
  53. package/src/services/interchange/v1/swagger.schema.json +473 -0
  54. package/src/services/interchange/v1/swagger.yml +414 -0
  55. package/src/services/ledger/v1/swagger.schema.deref.json +6694 -0
  56. package/src/services/ledger/v1/swagger.schema.json +1820 -0
  57. package/src/services/ledger/v1/swagger.yml +1094 -0
  58. package/src/services/link/v1/swagger.schema.deref.json +648 -0
  59. package/src/services/link/v1/swagger.schema.json +444 -0
  60. package/src/services/link/v1/swagger.yml +343 -0
  61. package/src/services/message/v1/swagger.schema.deref.json +22049 -0
  62. package/src/services/message/v1/swagger.schema.json +3470 -0
  63. package/src/services/message/v1/swagger.yml +2798 -0
  64. package/src/services/message/v2/swagger.schema.deref.json +72221 -0
  65. package/src/services/message/v2/swagger.schema.json +3558 -0
  66. package/src/services/message/v2/swagger.yml +3009 -0
  67. package/src/services/paymentCard/v1/swagger.schema.deref.json +4346 -0
  68. package/src/services/paymentCard/v1/swagger.schema.json +2181 -0
  69. package/src/services/paymentCard/v1/swagger.yml +1161 -0
  70. package/src/services/paymentCard/v2/swagger.schema.deref.json +4336 -0
  71. package/src/services/paymentCard/v2/swagger.schema.json +2155 -0
  72. package/src/services/paymentCard/v2/swagger.yml +1149 -0
  73. package/src/services/person/v1/swagger.schema.deref.json +6786 -0
  74. package/src/services/person/v1/swagger.schema.json +1445 -0
  75. package/src/services/person/v1/swagger.yml +1157 -0
  76. package/src/services/teampayApproval/v1/swagger.schema.deref.json +9898 -0
  77. package/src/services/teampayCardManagement/v1/swagger.schema.deref.json +6187 -0
  78. package/src/services/teampayClientManagement/v1/swagger.schema.deref.json +4914 -0
  79. package/src/services/teampayClientManagement/v1/swagger.schema.json +1964 -0
  80. package/src/services/teampayClientManagement/v1/swagger.yml +1376 -0
@@ -0,0 +1,3009 @@
1
+ openapi: 3.0.0
2
+ info:
3
+ title: Message
4
+ description: |
5
+
6
+ Creates and retrieves message resources.
7
+
8
+ © Check Digit LLC. 2019-2024
9
+ version: 2.0.0
10
+ contact:
11
+ name: Check Digit
12
+
13
+ servers:
14
+ - url: /message/v2
15
+ tags:
16
+ - name: Service Health
17
+ - name: API
18
+
19
+ x-firehose-logged: false
20
+
21
+ paths:
22
+ /ping:
23
+ get:
24
+ tags:
25
+ - Service Health
26
+ operationId: 'ping-get'
27
+ description: |
28
+ Returns the current server time. This operation is useful for testing if this service is available.
29
+ responses:
30
+ '200':
31
+ $ref: '#/components/responses/Ping'
32
+ default:
33
+ $ref: '#/components/responses/ServerError'
34
+
35
+ /request:
36
+ get:
37
+ tags:
38
+ - API
39
+ operationId: 'request-query-get'
40
+ description: Returns an object with a list of Request resources.
41
+ parameters:
42
+ - $ref: '#/components/parameters/cardIds'
43
+ - $ref: '#/components/parameters/toDate'
44
+ - $ref: '#/components/parameters/fromDate'
45
+ responses:
46
+ '200':
47
+ description: Operation successful.
48
+ content:
49
+ application/json:
50
+ schema:
51
+ $ref: '#/components/schemas/Requests'
52
+ default:
53
+ $ref: '#/components/responses/ServerError'
54
+
55
+ /picked-request:
56
+ get:
57
+ tags:
58
+ - API
59
+ operationId: 'picked-request-get'
60
+ description: |
61
+ Returns an object with a list of PickedRequest objects.
62
+
63
+ A PickedRequest object may be preferred to minimize the amount of data retrieved and the time taken to
64
+ transmit and process the response.
65
+ parameters:
66
+ - $ref: '#/components/parameters/cardIds'
67
+ - $ref: '#/components/parameters/toDate'
68
+ - $ref: '#/components/parameters/fromDate'
69
+ - $ref: '#/components/parameters/requestFields'
70
+ responses:
71
+ '200':
72
+ description: Operation successful.
73
+ content:
74
+ application/json:
75
+ schema:
76
+ $ref: '#/components/schemas/PickedRequests'
77
+ default:
78
+ $ref: '#/components/responses/ServerError'
79
+
80
+ /request/{messageId}:
81
+ put:
82
+ tags:
83
+ - API
84
+ x-firehose-logged: true
85
+ operationId: 'request-put'
86
+ description: Creates a Request resource.
87
+ parameters:
88
+ - $ref: '#/components/parameters/messageId'
89
+ - $ref: '#/components/parameters/createdOn'
90
+ requestBody:
91
+ required: true
92
+ content:
93
+ application/json:
94
+ schema:
95
+ $ref: '#/components/schemas/NewRequest'
96
+ responses:
97
+ '204':
98
+ description: Operation successful.
99
+ content:
100
+ application/json:
101
+ schema: {}
102
+ headers:
103
+ Created-On:
104
+ $ref: '#/components/headers/Created-On'
105
+ Updated-On:
106
+ $ref: '#/components/headers/Updated-On'
107
+ '409':
108
+ description: Operation unsuccessful. A Request resource with the same messageId exists with different data.
109
+ content:
110
+ application/json:
111
+ schema: {}
112
+ default:
113
+ $ref: '#/components/responses/ServerError'
114
+
115
+ get:
116
+ tags:
117
+ - API
118
+ operationId: 'request-get'
119
+ description: Returns a Request resource.
120
+ parameters:
121
+ - $ref: '#/components/parameters/messageId'
122
+ - $ref: '#/components/parameters/at'
123
+ responses:
124
+ '200':
125
+ description: Operation successful.
126
+ content:
127
+ application/json:
128
+ schema:
129
+ $ref: '#/components/schemas/Request'
130
+ headers:
131
+ Created-On:
132
+ $ref: '#/components/headers/Created-On'
133
+ Updated-On:
134
+ $ref: '#/components/headers/Updated-On'
135
+ '404':
136
+ description: Operation unsuccessful. A Request object with the same messageId was not found.
137
+ content:
138
+ application/json:
139
+ schema: {}
140
+ default:
141
+ $ref: '#/components/responses/ServerError'
142
+
143
+ /response:
144
+ get:
145
+ tags:
146
+ - API
147
+ operationId: 'response-query-get'
148
+ description: Returns an object with a list of Response resources.
149
+ parameters:
150
+ - $ref: '#/components/parameters/cardIds'
151
+ - $ref: '#/components/parameters/toDate'
152
+ - $ref: '#/components/parameters/fromDate'
153
+ responses:
154
+ '200':
155
+ description: Operation successful.
156
+ content:
157
+ application/json:
158
+ schema:
159
+ $ref: '#/components/schemas/Responses'
160
+ default:
161
+ $ref: '#/components/responses/ServerError'
162
+
163
+ /picked-response:
164
+ get:
165
+ tags:
166
+ - API
167
+ operationId: 'picked-response-get'
168
+ description: Returns an object with a list of PickedResponse objects.
169
+ parameters:
170
+ - $ref: '#/components/parameters/cardIds'
171
+ - $ref: '#/components/parameters/toDate'
172
+ - $ref: '#/components/parameters/fromDate'
173
+ - $ref: '#/components/parameters/responseFields'
174
+ responses:
175
+ '200':
176
+ description: Operation successful.
177
+ content:
178
+ application/json:
179
+ schema:
180
+ $ref: '#/components/schemas/PickedResponses'
181
+ default:
182
+ $ref: '#/components/responses/ServerError'
183
+
184
+ /response/{messageId}:
185
+ put:
186
+ tags:
187
+ - API
188
+ x-firehose-logged: true
189
+ operationId: 'response-put'
190
+ description: Creates a Response resource.
191
+ parameters:
192
+ - $ref: '#/components/parameters/messageId'
193
+ - $ref: '#/components/parameters/createdOn'
194
+ requestBody:
195
+ required: true
196
+ content:
197
+ application/json:
198
+ schema:
199
+ $ref: '#/components/schemas/NewResponse'
200
+ responses:
201
+ '204':
202
+ description: Operation successful.
203
+ content:
204
+ application/json:
205
+ schema: {}
206
+ headers:
207
+ Created-On:
208
+ $ref: '#/components/headers/Created-On'
209
+ Updated-On:
210
+ $ref: '#/components/headers/Updated-On'
211
+ '409':
212
+ description: Operation unsuccessful. A Response resource with the same messageId exists with different data.
213
+ content:
214
+ application/json:
215
+ schema: {}
216
+ default:
217
+ $ref: '#/components/responses/ServerError'
218
+
219
+ get:
220
+ tags:
221
+ - API
222
+ operationId: 'response-get'
223
+ description: Returns a Response resource.
224
+ parameters:
225
+ - $ref: '#/components/parameters/messageId'
226
+ - $ref: '#/components/parameters/at'
227
+ responses:
228
+ '200':
229
+ description: Operation successful.
230
+ content:
231
+ application/json:
232
+ schema:
233
+ $ref: '#/components/schemas/Response'
234
+ headers:
235
+ Created-On:
236
+ $ref: '#/components/headers/Created-On'
237
+ Updated-On:
238
+ $ref: '#/components/headers/Updated-On'
239
+ '404':
240
+ description: Operation unsuccessful. A Response resource with the same messageId was not found.
241
+ content:
242
+ application/json:
243
+ schema: {}
244
+ default:
245
+ $ref: '#/components/responses/ServerError'
246
+
247
+ components:
248
+ schemas:
249
+ Ping:
250
+ type: object
251
+ description: The current server time.
252
+ additionalProperties: false
253
+ required:
254
+ - serverTime
255
+ properties:
256
+ serverTime:
257
+ type: string
258
+ format: date-time
259
+
260
+ Responses:
261
+ type: object
262
+ additionalProperties: false
263
+ description: |
264
+ An object containing a list of Response objects.
265
+ required:
266
+ - messages
267
+ properties:
268
+ messages:
269
+ type: array
270
+ items:
271
+ $ref: '#/components/schemas/Response'
272
+
273
+ Requests:
274
+ type: object
275
+ additionalProperties: false
276
+ description: |
277
+ An object containing a list of Request objects.
278
+ required:
279
+ - messages
280
+ properties:
281
+ messages:
282
+ type: array
283
+ items:
284
+ $ref: '#/components/schemas/Request'
285
+
286
+ PickedRequests:
287
+ type: object
288
+ additionalProperties: false
289
+ description: |
290
+ An object containing a list of PickedRequest objects.
291
+ required:
292
+ - pickedMessages
293
+ properties:
294
+ pickedMessages:
295
+ type: array
296
+ items:
297
+ $ref: '#/components/schemas/PickedRequest'
298
+
299
+ PickedResponses:
300
+ type: object
301
+ additionalProperties: false
302
+ description: |
303
+ An object containing a list of PickedResponse objects.
304
+ required:
305
+ - pickedMessages
306
+ properties:
307
+ pickedMessages:
308
+ type: array
309
+ items:
310
+ $ref: '#/components/schemas/PickedResponse'
311
+
312
+ Error:
313
+ type: object
314
+ additionalProperties: false
315
+ description: |
316
+ An object containing an error message.
317
+ required:
318
+ - message
319
+ properties:
320
+ message:
321
+ type: string
322
+ code:
323
+ type: string
324
+
325
+ Amount:
326
+ type: object
327
+ additionalProperties: false
328
+ description: |
329
+ An amount of money in the smallest monetary unit of the specified currency.
330
+ required:
331
+ - amount
332
+ - currency
333
+ properties:
334
+ amount:
335
+ type: string
336
+ pattern: '^[0-9]+$'
337
+ description: The amount of money in the smallest monetary unit of the specified currency.
338
+ currency:
339
+ $ref: '#/components/schemas/CurrencyAlphabeticCode'
340
+
341
+ SettlementConversion:
342
+ type: object
343
+ description: |
344
+ The rate sent by the network used to convert the transaction amount to the settlement amount.
345
+
346
+ Only present if the transaction currency differs from the settlement currency.
347
+
348
+ To calculate the conversion rate, use the following formula:
349
+
350
+ conversion rate = factor / (10 ^ factorDecimalPosition)
351
+
352
+ required:
353
+ - date
354
+ - factor
355
+ - factorDecimalPosition
356
+ properties:
357
+ date:
358
+ description: |
359
+ The year, month, and day the conversion rate was determined.
360
+ type: string
361
+ format: date
362
+ factor:
363
+ description: |
364
+ The multiplying factor used to convert the transaction amount to the settlement
365
+ amount.
366
+ type: string
367
+ factorDecimalPosition:
368
+ description: |
369
+ The position the decimal point should be placed, starting from the right.
370
+ type: number
371
+
372
+ MessageType:
373
+ type: string
374
+ description: |
375
+ The type of message received from the network.
376
+ enum:
377
+ - PREAUTHORIZATION
378
+ - FINANCIAL
379
+ - ADMINISTRATIVE
380
+ - REVERSAL
381
+
382
+ MessageUsage:
383
+ type: string
384
+ description: |
385
+ The expected use of the message received from the network.
386
+
387
+ A REQUEST is a message that can be declined, while and ADVICE cannot. RESPONSE and ADVICE RESPONSE are the
388
+ responses to REQUEST and ADVICE messages, respectively.
389
+
390
+ enum:
391
+ - REQUEST
392
+ - RESPONSE
393
+ - ADVICE
394
+ - ADVICE RESPONSE
395
+
396
+ Category:
397
+ type: string
398
+ description: The category of message received from the network.
399
+ enum:
400
+ - GOODS AND SERVICE
401
+ - QUASICASH
402
+ - SCRIP
403
+ - ATM
404
+ - OTC
405
+ - AFD
406
+ - BALANCE INQUIRY
407
+ - ACCOUNT INQUIRY
408
+ - FUNDS TRANSFER
409
+ - BILL PAYMENT
410
+ - ADJUSTMENT
411
+ - RETURN
412
+ - LOAD
413
+ - UNLOAD
414
+ - ACTIVATION
415
+ - ACTIVATION AND LOAD
416
+ - DEACTIVATION
417
+ - DEACTIVATION AND UNLOAD
418
+ - TOKENIZATION
419
+ - REQUEST ACTIVATION METHODS
420
+ - DELIVER ACTIVATION CODE
421
+ - NOTIFY TOKEN ACTIVATED
422
+ - NOTIFY TOKEN UPDATED
423
+ - NOTIFY SUSPICIOUS EVENTS
424
+ - UNSUPPORTED
425
+
426
+ DebitCreditNeither:
427
+ type: string
428
+ description: |
429
+ The Request object's intended effect on the account balance.
430
+
431
+ For example, Balance Inquiries with no fees have no effect on the balance.
432
+ enum:
433
+ - DEBIT
434
+ - CREDIT
435
+ - NEITHER
436
+
437
+ DebitCredit:
438
+ type: string
439
+ enum:
440
+ - DEBIT
441
+ - CREDIT
442
+
443
+ Categorization:
444
+ type: object
445
+ additionalProperties: false
446
+ description: |
447
+ The categorization of the message received from the network.
448
+ required:
449
+ - messageType
450
+ - messageUsage
451
+ - category
452
+ - debitCredit
453
+ properties:
454
+ messageType:
455
+ $ref: '#/components/schemas/MessageType'
456
+ messageUsage:
457
+ $ref: '#/components/schemas/MessageUsage'
458
+ category:
459
+ $ref: '#/components/schemas/Category'
460
+ debitCredit:
461
+ $ref: '#/components/schemas/DebitCreditNeither'
462
+
463
+ AccountType:
464
+ type: string
465
+ enum:
466
+ - NOT PROVIDED
467
+ - UNSPECIFIED
468
+ - SAVINGS
469
+ - CHECKING
470
+ - CREDIT
471
+ - INVESTMENT
472
+ - UNIVERSAL
473
+ - OTHER
474
+
475
+ Accounts:
476
+ type: object
477
+ description: |
478
+ Used when transferring funds between accounts.
479
+
480
+ For example, messages from ATMs that support multiple accounts may utilize this object.
481
+ additionalProperties: false
482
+ required:
483
+ - from
484
+ - to
485
+ properties:
486
+ from:
487
+ $ref: '#/components/schemas/AccountType'
488
+ to:
489
+ $ref: '#/components/schemas/AccountType'
490
+
491
+ PinCapabilities:
492
+ type: string
493
+ description: |
494
+ The terminal's ability to accept a PIN.
495
+ enum:
496
+ - NOT PROVIDED
497
+ - UNSPECIFIED
498
+ - PIN ENTRY CAPABILITY
499
+ - NO PIN ENTRY CAPABILITY
500
+ - PIN PAD INOPERATIVE
501
+ - PIN ENTRY CAPABILITY BUT OUT OF SERVICE
502
+ - PIN VERIFIED BY TERMINAL DEVICE
503
+
504
+ PanEntryMethod:
505
+ type: string
506
+ description: |
507
+ The method used to enter the PAN.
508
+ enum:
509
+ - NOT PROVIDED
510
+ - UNSPECIFIED
511
+ - MANUAL
512
+ - MAGNETIC STRIPE
513
+ - BAR CODE
514
+ - OCR
515
+ - INTEGRATED CIRCUIT CARD
516
+ - MANUAL KEY ENTERED
517
+ - CONTACTLESS EMV RULES
518
+ - CHIP CARD UNABLE MANUAL ENTRY
519
+ - CHIP CARD UNABLE MAGNETIC STRIPE
520
+ - ELECTRONIC COMMERCE
521
+ - PAN AUTO ENTRY VIA SERVER
522
+ - FULL MAGNETIC STRIPE
523
+ - CONTACTLESS MAG STRIPE RULES
524
+ - INTEGRATED CIRCUIT CARD CVV UNRELIABLE
525
+ - STORED VALUE PREREGISTERED CHECKOUT
526
+ - ON FILE
527
+ - SECURE ENTRY
528
+
529
+ TerminalType:
530
+ type: string
531
+ description: |
532
+ The type of terminal used to initiate the transaction.
533
+ enum:
534
+ - POINT OF SALE TERMINAL
535
+ - ATM
536
+ - HOME TERMINAL
537
+ - ELECTRONIC CASH REGISTER
538
+ - DIAL TERMINAL
539
+ - TRAVELERS CHECK MACHINE
540
+ - AUTOMATED FUEL DEVICE
541
+ - SCRIP MACHINE
542
+ - COUPON MACHINE
543
+ - TICKET MACHINE
544
+ - POINT OF BANKING TERMINAL
545
+ - TELLER
546
+ - FRANCHISE TELLER
547
+ - PERSONAL BANKING
548
+ - PUBLIC UTILITY
549
+ - VENDING
550
+ - SELF SERVICE
551
+ - AUTHORIZATION
552
+ - PAYMENT
553
+ - VRU
554
+ - SMART PHONE
555
+ - INTERACTIVE TELEVISION
556
+ - PERSONAL DIGITAL ASSISTANT
557
+ - SCREEN PHONE
558
+ - ELECTRONIC COMMERCE
559
+ - MICR TERMINAL AT POINT OF SALE
560
+ - NOT PROVIDED
561
+
562
+ CardholderPresence:
563
+ type: string
564
+ description: |
565
+ The presence of the cardholder during the transaction.
566
+ enum:
567
+ - CUSTOMER PRESENT
568
+ - CUSTOMER NOT PRESENT
569
+ - NOT PROVIDED
570
+
571
+ CardPresence:
572
+ type: string
573
+ description: |
574
+ The presence of the card during the transaction.
575
+ enum:
576
+ - CARD PRESENT
577
+ - CARD NOT PRESENT
578
+ - NOT PROVIDED
579
+
580
+ Merchant:
581
+ type: object
582
+ description: |
583
+ Information about the merchant and terminal where the transaction took place.
584
+ additionalProperties: false
585
+ required:
586
+ - type
587
+ - name
588
+ - terminalTransactionDateTime
589
+ - terminalSequenceNumber
590
+ - terminalIdentification
591
+ - identificationCode
592
+ - address
593
+ - city
594
+ - stateProvince
595
+ - country
596
+ - allowsPartialApproval
597
+ - panEntryMethod
598
+ - pinCapabilities
599
+ - cardholderPresence
600
+ - cardPresence
601
+ - terminalType
602
+ - terminalOperation
603
+ - terminalLocation
604
+ - cardRetentionCapability
605
+ - transactionStatus
606
+ - securityCondition
607
+ properties:
608
+ type:
609
+ type: string
610
+ description: |
611
+ The Merchant Category Code (MCC) - a four digit number identifying the kind of merchant
612
+ involved in the transaction, e.g. grocery store, airline, hotel.
613
+ name:
614
+ type: string
615
+ description: The name of the merchant or business.
616
+ terminalTransactionDateTime:
617
+ type: string
618
+ description: The UTC datetime of the transaction according to the terminal's clock.
619
+ format: date-time
620
+ terminalSequenceNumber:
621
+ type: number
622
+ description: A counter or identifier used by the terminal to track the transactions it processes.
623
+ terminalIdentification:
624
+ type: string
625
+ description: Identifier for a terminal at the card acceptor's location.
626
+ identificationCode:
627
+ type: string
628
+ description: Identifier for the specific merchant accepting payment.
629
+ address:
630
+ type: string
631
+ description: The merchant's street address.
632
+ city:
633
+ type: string
634
+ description: The merchant's city address.
635
+ stateProvince:
636
+ type: string
637
+ description: The merchant's state or province address.
638
+ county:
639
+ type: string
640
+ description: The merchant's county address.
641
+ postalCode:
642
+ type: string
643
+ description: The merchant's postal code.
644
+ country:
645
+ type: string
646
+ description: The merchant's country.
647
+ allowsPartialApproval:
648
+ type: boolean
649
+ description: |
650
+ Has the value 'true' if the merchant accepts partial approvals. Otherwise, the value is 'false'.
651
+ panEntryMethod:
652
+ $ref: '#/components/schemas/PanEntryMethod'
653
+ pinCapabilities:
654
+ $ref: '#/components/schemas/PinCapabilities'
655
+ cardholderPresence:
656
+ $ref: '#/components/schemas/CardholderPresence'
657
+ cardPresence:
658
+ $ref: '#/components/schemas/CardPresence'
659
+ terminalType:
660
+ $ref: '#/components/schemas/TerminalType'
661
+ terminalOperation:
662
+ type: string
663
+ description: |
664
+ The entity operating the terminal.
665
+ enum:
666
+ - CUSTOMER
667
+ - CARD ACCEPTOR
668
+ - ADMINISTRATIVE
669
+ - UNKNOWN
670
+ - NOT PROVIDED
671
+ terminalLocation:
672
+ type: string
673
+ description: |
674
+ The location of the terminal.
675
+ enum:
676
+ - ON PREMISE
677
+ - OFF PREMISE
678
+ - UNKNOWN
679
+ - NOT PROVIDED
680
+ cardRetentionCapability:
681
+ type: string
682
+ description: |
683
+ The terminal's ability to retain the card.
684
+ enum:
685
+ - ABLE TO RETAIN CARD
686
+ - UNABLE TO RETAIN CARD
687
+ - UNKNOWN
688
+ - NOT PROVIDED
689
+ transactionStatus:
690
+ type: string
691
+ description: |
692
+ The status of the transaction.
693
+ enum:
694
+ - ORIGINAL PRESENTMENT
695
+ - FIRST PRESENTMENT
696
+ - SECOND PRESENTMENT
697
+ - THIRD PRESENTMENT
698
+ - PREVIOUSLY AUTHORIZED OR DEFERRED AUTHORIZATION
699
+ - RESUBMISSION
700
+ - CARD VALIDATION OR ACCOUNT STATUS INQUIRY
701
+ - UNKNOWN
702
+ - NOT PROVIDED
703
+ securityCondition:
704
+ type: string
705
+ description: |
706
+ The security condition of the transaction.
707
+ enum:
708
+ - NO CONCERN
709
+ - SUSPECTED FRAUD
710
+ - IDENTIFICATION VERIFIED
711
+ - ECOMMERCE WITH DIGITAL SIGNATURE
712
+ - ECOMMERCE
713
+ - SECURE ELECTRONIC TRANSACTION WITH CARDHOLDER CERTIFICATE
714
+ - SECURE ELECTRONIC TRANSACTION WITHOUT CARDHOLDER CERTIFICATE
715
+ - ECOMMERCE WITH CHANNEL ENCRYPTED
716
+ - INTERNET PINNED DEBIT TRANSACTION
717
+ - SECURE REMOTE COMMERCE DISCOVER CLICK TO PAY
718
+ - UNKNOWN
719
+ - NOT PROVIDED
720
+
721
+ Acquirer:
722
+ type: object
723
+ additionalProperties: false
724
+ description: |
725
+ Information about the acquirer involved in the transaction.
726
+ required:
727
+ - identificationCode
728
+ - country
729
+ properties:
730
+ identificationCode:
731
+ type: string
732
+ description: |
733
+ Uniquely identifies the acquirer.
734
+ clearingIdentificationCode:
735
+ description: |
736
+ Unvalidated data that may help identify the acquirer. It's optionally included by the acquirer in clearing messages.
737
+ type: string
738
+ country:
739
+ type: string
740
+ description: |
741
+ The country in which the acquirer is located.
742
+
743
+ LifeCycleIndicator:
744
+ type: string
745
+ description: |
746
+ The type of time interval in effect for the message.
747
+ enum:
748
+ - CALENDAR DAY
749
+ - HOURS
750
+ - MINUTES
751
+
752
+ AuthorizationLifeCycle:
753
+ type: object
754
+ additionalProperties: false
755
+ description: |
756
+ The length of time the acquirer is requesting the issuer to hold the funds.
757
+ required:
758
+ - lifeCycleIndicator
759
+ - actualInterval
760
+ properties:
761
+ lifeCycleIndicator:
762
+ $ref: '#/components/schemas/LifeCycleIndicator'
763
+ actualInterval:
764
+ type: number
765
+ description: |
766
+ The number of time intervals in effect for the message.
767
+
768
+ ReplacementAmounts:
769
+ type: object
770
+ additionalProperties: false
771
+ description: |
772
+ The actual transaction, settlement, and fee amounts when they differ from the original
773
+ approved amounts.
774
+ required:
775
+ - transactionAmount
776
+ - transactionFeeAmount
777
+ - settlementAmount
778
+ - settlementFeeAmount
779
+ - feeDetails
780
+ properties:
781
+ transactionAmount:
782
+ $ref: '#/components/schemas/Amount'
783
+ transactionFeeAmount:
784
+ description: |
785
+ The fee amount applied by the network or acquirer in the merchant's currency.
786
+ allOf:
787
+ - $ref: '#/components/schemas/Amount'
788
+ settlementAmount:
789
+ $ref: '#/components/schemas/Amount'
790
+ settlementFeeAmount:
791
+ description: |
792
+ The fee amount applied by the network or acquirer in the BIN currency.
793
+ allOf:
794
+ - $ref: '#/components/schemas/Amount'
795
+ feeDetails:
796
+ type: array
797
+ description: |
798
+ Details about the transaction and settlement fee amounts.
799
+ items:
800
+ $ref: '#/components/schemas/Fee'
801
+
802
+ EncryptedKey:
803
+ type: object
804
+ additionalProperties: false
805
+ description: |
806
+ An encrypted data encryption key paired with a hashed version of the public key used to encrypt.
807
+ required:
808
+ - publicKeyHash
809
+ - encryptedDataEncryptionKey
810
+ properties:
811
+ publicKeyHash:
812
+ description: The public key used to encrypt the encryptedDataEncryptionKey hashed using checkdigit/hash.
813
+ type: string
814
+ format: uuid
815
+ encryptedDataEncryptionKey:
816
+ type: string
817
+ description: RSA encrypted random AES-256 key.
818
+
819
+ AddressVerificationData:
820
+ type: object
821
+ additionalProperties: false
822
+ description: |
823
+ Data supplied to be used by the Address Verification Service.
824
+
825
+ Neither streetAddress, nor postalCode are required as only one may be supplied and there's no
826
+ guarantee as to which one.
827
+ properties:
828
+ streetAddress:
829
+ type: string
830
+ description: Street address supplied by the cardholder for verification.
831
+ postalCode:
832
+ type: string
833
+ description: Postal code supplied by the cardholder for verification.
834
+
835
+ ToleranceType:
836
+ type: string
837
+ description: The type of tolerance to be applied, if applicable.
838
+ enum:
839
+ - FIXED
840
+ - PERCENTAGE
841
+ - NONE
842
+
843
+ Tolerance:
844
+ type: object
845
+ additionalProperties: false
846
+ description: Minimum expected tolerance as defined by the network.
847
+ required:
848
+ - type
849
+ properties:
850
+ type:
851
+ $ref: '#/components/schemas/ToleranceType'
852
+ value:
853
+ type: string
854
+ description: The amount of the type of tolerance to be applied.
855
+
856
+ IssuerNetwork:
857
+ type: string
858
+ description: The network on which we received the message.
859
+ enum:
860
+ - MASTERCARD
861
+ - MDES
862
+ - MNGS
863
+ - STAR
864
+ - VISA
865
+
866
+ AcquirerNetwork:
867
+ type: string
868
+ description: The network on which the message was acquired.
869
+ enum:
870
+ - ALLPOINT
871
+ - CIRRUS
872
+ - DEBIT MASTERCARD
873
+ - CREDIT MASTERCARD
874
+ - DISCOVER
875
+ - INTERLINK
876
+ - MAESTRO
877
+ - OTHER
878
+ - PLUS
879
+ - PULSE
880
+ - STAR
881
+ - STAR POS
882
+ - VISA
883
+ - APPLE PAY
884
+ - GOOGLE PAY
885
+ - SAMSUNG PAY
886
+ - MDES FOR MERCHANTS
887
+ - CLICK TO PAY
888
+
889
+ ResponseCode:
890
+ type: string
891
+ description: The message processing result.
892
+ enum:
893
+ - APPROVED
894
+ - REFER TO ISSUER
895
+ - REFER TO ISSUER SPECIAL CONDITION
896
+ - INVALID MERCHANT
897
+ - PICKUP
898
+ - DO NOT HONOR
899
+ - SYSTEM ERROR
900
+ - PICKUP CARD SPECIAL CONDITION
901
+ - HONOR WITH ID
902
+ - REQUEST IN PROGRESS
903
+ - PARTIAL APPROVAL
904
+ - INVALID TRANSACTION
905
+ - INVALID AMOUNT
906
+ - CARD NOT FOUND
907
+ - REENTER TRANSACTION
908
+ - INVALID RESPONSE
909
+ - UNACCEPTABLE TRANSACTION FEE
910
+ - FILE UPDATE NOT SUPPORTED
911
+ - UNABLE TO LOCATE RECORD
912
+ - DUPLICATE FILE UPDATE
913
+ - FILE UPDATE EDIT ERROR
914
+ - FILE UPDATE FILE LOCKED
915
+ - FILE UPDATE FAILED
916
+ - FORMAT ERROR
917
+ - NO CREDIT ACCOUNT
918
+ - REQUESTED FUNCTION NOT SUPPORTED
919
+ - LOST CARD CAPTURE
920
+ - NO UNIVERSAL ACCOUNT
921
+ - STOLEN CARD CAPTURE
922
+ - NO INVESTMENT ACCOUNT
923
+ - INSUFFICIENT FUNDS
924
+ - NO CHECKING ACCOUNT
925
+ - NO SAVINGS ACCOUNT
926
+ - EXPIRED CARD
927
+ - INCORRECT PIN
928
+ - NO CARD RECORD
929
+ - TRANSACTION NOT PERMITTED TO CARDHOLDER
930
+ - TRANSACTION NOT PERMITTED TO TERMINAL
931
+ - SUSPECTED FRAUD
932
+ - EXCEEDS WITHDRAWAL LIMIT
933
+ - RESTRICTED CARD
934
+ - SECURITY VIOLATION
935
+ - EXCEEDS WITHDRAWAL FREQUENCY LIMIT
936
+ - HARD CAPTURE
937
+ - LATE RESPONSE
938
+ - PIN TRIES EXCEEDED
939
+ - KEY SYNC ERROR
940
+ - CARDHOLDER NOT ELIGIBLE FOR POS
941
+ - ISSUER NOT AVAILABLE
942
+ - DUPLICATE
943
+ - INFORMATION NOT ON FILE
944
+ - CARD VERIFICATION FAILURE
945
+ - CUTOFF IN PROGRESS
946
+ - ISSUER INOPERATIVE
947
+ - TRANSACTION CANNOT COMPLETE LAW VIOLATION
948
+ - DUPLICATE TRANSMISSION
949
+ - RECONCILE ERROR
950
+ - SYSTEM MALFUNCTION
951
+ - CARD VERIFICATION2 FAILURE
952
+ - CARD VERIFICATION3 FAILURE
953
+ - EXPIRATION DATE MISMATCH
954
+ - INACTIVE CARD
955
+ - ITEM SUSPECTED FOR STOP PAY
956
+ - ACCOUNT CLOSED
957
+ - INELIGIBLE ACCOUNT
958
+ - ITEM SUBMITTED MORE THAN TWO TIMES
959
+ - NO ACCT ON FILE
960
+ - UNABLE TO LOCATE
961
+ - GENERAL DENIAL
962
+ - SPECIAL CONDITIONS
963
+ - PIN REQUIRED
964
+ - PAN TRANSFORMATION ERROR
965
+ - RISK BLOCK
966
+ - INVALID ARQC
967
+ - REQUIRE ADDITIONAL AUTHENTICATION
968
+ - OTHER
969
+
970
+ AdviceResponse:
971
+ type: object
972
+ description: Additional information about the advice, reversal, or both.
973
+ additionalProperties: false
974
+ required:
975
+ - adviceOriginator
976
+ - adviceReason
977
+ - reversalOriginator
978
+ - reversalReason
979
+ properties:
980
+ adviceOriginator:
981
+ $ref: '#/components/schemas/Originator'
982
+ adviceReason:
983
+ $ref: '#/components/schemas/AdviceReason'
984
+ reversalOriginator:
985
+ $ref: '#/components/schemas/Originator'
986
+ reversalReason:
987
+ $ref: '#/components/schemas/ReversalReason'
988
+ authorizationIdResponse:
989
+ type: string
990
+ description: |
991
+ Used to identify the message being corrected. This corresponds to the authorizationIdResponse in the
992
+ Response of the message being correcting.
993
+ responseCode:
994
+ $ref: '#/components/schemas/ResponseCode'
995
+
996
+ Originator:
997
+ type: string
998
+ description: The party that initiated the advice or reversal.
999
+ enum:
1000
+ - NOT APPLICABLE
1001
+ - CARD ACCEPTOR
1002
+ - ACQUIRER
1003
+ - INTERMEDIATE FACILITY
1004
+ - CUSTOMER
1005
+ - SWITCH
1006
+ - UNKNOWN
1007
+
1008
+ AdviceReason:
1009
+ type: string
1010
+ description: THe reason for the advice according to the advice originator.
1011
+ enum:
1012
+ - NOT APPLICABLE
1013
+ - NOT AN ADVICE
1014
+ - TIMED OUT REQUEST
1015
+ - ISSUER NOT AVAILABLE
1016
+ - ISSUER SIGNED OFF
1017
+ - WITHIN BUSINESS AGREEMENT
1018
+ - KEY NOT ESTABLISHED
1019
+ - ISSUER REQUESTED STANDIN
1020
+ - OTHER
1021
+ - UNKNOWN
1022
+
1023
+ ReversalReason:
1024
+ type: string
1025
+ description: The reason for the reversal according to the reversal originator.
1026
+ enum:
1027
+ - NOT APPLICABLE
1028
+ - ISSUER NOT AVAILABLE
1029
+ - ISSUER SIGNED OFF
1030
+ - WITHIN BUSINESS AGREEMENT
1031
+ - TERMINAL PROCESSOR ERROR
1032
+ - SYSTEM TIMEOUT
1033
+ - TERMINAL DISPENSE ERROR
1034
+ - TERMINAL COMMUNICATION ERROR
1035
+ - TERMINAL ERROR
1036
+ - LATE RESPONSE
1037
+ - CUSTOMER CANCELLATION
1038
+ - SUSPECTED FRAUD
1039
+ - CHIP
1040
+ - PARTIAL
1041
+ - EDIT ERROR
1042
+ - REVISED HOLD AMOUNT
1043
+ - UNKNOWN
1044
+
1045
+ AddressVerificationResult:
1046
+ type: string
1047
+ description: |
1048
+ The result of the supplied addressVerificationData being checked against the Address Verification System.
1049
+ enum:
1050
+ - ADDRESS MATCH ONLY
1051
+ - POSTAL CODE MATCH ONLY
1052
+ - FULL POSTAL CODE MATCH ONLY
1053
+ - ADDRESS AND POSTAL CODE MATCH
1054
+ - ADDRESS AND FULL POSTAL CODE MATCH
1055
+ - NO MATCH
1056
+ - UNAVAILABLE
1057
+ - NOT PROVIDED
1058
+
1059
+ ApplicationTransactionCounterValidationResult:
1060
+ type: string
1061
+ description: The result of validating the applicationTransactionCounter value found in the card's chip data.
1062
+ enum:
1063
+ - VALID
1064
+ - OUT OF RANGE
1065
+ - DUPLICATE
1066
+ - NOT VALIDATED
1067
+ - BYPASSED
1068
+ - NOT PROVIDED
1069
+
1070
+ SuppliedCardExpirationDate:
1071
+ type: string
1072
+ pattern: '([0-9][0-9])(0[1-9]|1[0-2])'
1073
+ description: |
1074
+ Card expiration date either supplied manually, such as when entering card information into an online payment
1075
+ form, or found in the card's track 1 data. The date is assumed to be the last millisecond of the month. Format
1076
+ is YYMM.
1077
+ example: '9912'
1078
+
1079
+ TrackValidationResult:
1080
+ type: string
1081
+ description: |
1082
+ The validity of the card's track data used in the transaction.
1083
+
1084
+ VALID - The track data is valid and matches the card.
1085
+ INVALID - The track data format is invalid.
1086
+ MISMATCH - The track data does not match the card.
1087
+ enum:
1088
+ - VALID
1089
+ - INVALID
1090
+ - MISMATCH
1091
+ - NOT PROVIDED
1092
+
1093
+ PINValidationResult:
1094
+ type: string
1095
+ description: The validity of the supplied PIN.
1096
+ enum:
1097
+ - VALID
1098
+ - INVALID
1099
+ - INVALID KEY
1100
+ - UNAVAILABLE
1101
+ - NOT PROVIDED
1102
+
1103
+ VerificationValueResult:
1104
+ type: string
1105
+ description: The validity of the supplied verification value.
1106
+ enum:
1107
+ - VALID
1108
+ - INVALID
1109
+ - UNAVAILABLE
1110
+ - NOT PROVIDED
1111
+
1112
+ ARQCValidationResult:
1113
+ type: string
1114
+ description: The validity of the supplied ARQC (Authorization Request Cryptogram).
1115
+ enum:
1116
+ - VALID
1117
+ - INVALID
1118
+ - UNAVAILABLE
1119
+ - NOT PROVIDED
1120
+
1121
+ EMV3DSecureAuthenticationResult:
1122
+ type: string
1123
+ enum:
1124
+ - AUTHENTICATED BY ISSUER
1125
+ - AUTHENTICATED BY NETWORK
1126
+ - UNAUTHENTICATED
1127
+ - UNAVAILABLE
1128
+ - UNKNOWN
1129
+ - NOT PROVIDED
1130
+
1131
+ IIASData:
1132
+ type: object
1133
+ description: Data received from merchants using an IIAS (Inventory Information Approval System).
1134
+
1135
+ An IIAS is used by merchants to identify which items are eligible healthcare expenses under
1136
+ FSA (Flexible Spending Account) or HSA (Health Savings Account) rules.
1137
+ additionalProperties: false
1138
+ required:
1139
+ - merchantId
1140
+ - verificationResult
1141
+ - healthCareAmount
1142
+ - prescriptionAmount
1143
+ - visionAmount
1144
+ properties:
1145
+ merchantId:
1146
+ type: string
1147
+ description: |
1148
+ IIAS specific merchant id which is different from the merchant name or card acceptor identification code.
1149
+ verificationResult:
1150
+ type: string
1151
+ description: |
1152
+ The merchant IIAS validation result.
1153
+
1154
+ Has the value 'UNVERIFIED' if the merchant did not perform an IIAS validation, the value 'VERIFIED' if the
1155
+ merchant did verify with IIAS and is valid, the value '90PERCENT' if the merchant is exempt, and the value
1156
+ NONCERTIFIED if the merchant submitted IIAS data but was unable to validate their certification status.
1157
+ enum:
1158
+ - UNVERIFIED
1159
+ - VERIFIED
1160
+ - 90PERCENT
1161
+ - NONCERTIFIED
1162
+ healthCareAmount:
1163
+ $ref: '#/components/schemas/Amount'
1164
+ prescriptionAmount:
1165
+ $ref: '#/components/schemas/Amount'
1166
+ visionAmount:
1167
+ $ref: '#/components/schemas/Amount'
1168
+
1169
+ Token:
1170
+ required:
1171
+ - tokenId
1172
+ - status
1173
+ properties:
1174
+ tokenId:
1175
+ type: string
1176
+ maxLength: 64
1177
+ description: Uniquely identifies the token.
1178
+ status:
1179
+ $ref: '#/components/schemas/TokenStatus'
1180
+ tokenExpiration:
1181
+ type: string
1182
+ description: The date the token expires.
1183
+ pattern: '([0-9][0-9])(0[1-9]|1[0-2])'
1184
+ example: '9912'
1185
+
1186
+ TokenStatus:
1187
+ type: string
1188
+ description: |
1189
+ The current status of token.
1190
+
1191
+ INACTIVE - Token has not yet been activated.
1192
+ ACTIVE - Active and ready.
1193
+ SUSPENDED - Suspended and unable to be used.
1194
+ DEACTIVATED - Permanently deactivated.
1195
+ enum:
1196
+ - INACTIVE
1197
+ - ACTIVE
1198
+ - SUSPENDED
1199
+ - DEACTIVATED
1200
+ - UNKNOWN
1201
+
1202
+ TokenNotificationReasonCode:
1203
+ type: string
1204
+ description: |
1205
+ The reason for the notification.
1206
+
1207
+ Tokens 'DELETED FROM CONSUMER APP' may still be active.
1208
+ enum:
1209
+ - STATUS UPDATE
1210
+ - REDIGITIZATION COMPLETE
1211
+ - DELETED FROM CONSUMER APP
1212
+
1213
+ TokenNotificationData:
1214
+ description: |
1215
+ The data provided in a token notification. The notification may apply to multiple
1216
+ tokens.
1217
+ properties:
1218
+ tokens:
1219
+ type: array
1220
+ description: Tokens affected by the notification.
1221
+ items:
1222
+ $ref: '#/components/schemas/Token'
1223
+ reasonCode:
1224
+ $ref: '#/components/schemas/TokenNotificationReasonCode'
1225
+ activationCodeExpirationDateTime:
1226
+ type: string
1227
+ format: date-time
1228
+ description: The UTC datetime the activation code expires.
1229
+ numberOfActivationAttempts:
1230
+ type: number
1231
+ description: |
1232
+ The number of times an activationCode was sent in order to activate a token.
1233
+ numberOfActiveTokens:
1234
+ type: number
1235
+ description: |
1236
+ The number of active tokens.
1237
+
1238
+ The value might differ from the number of tokens listed in the 'tokens' property of the notification, as
1239
+ this represents all tokens not just the ones being updated. Tokens that have been deleted from the wallet
1240
+ are excluded from the count.
1241
+ tokenAuthentication:
1242
+ type: string
1243
+ description: Indicates the given tokens have been authenticated.
1244
+ enum:
1245
+ - AUTHENTICATED
1246
+ - NOT AUTHENTICATED
1247
+ - NOT PROVIDED
1248
+ tokenAssuranceLevel:
1249
+ type: number
1250
+ description: |
1251
+ A number that allows the token issuer to indicate the confidence level of the token on whether it belongs
1252
+ to the cardholder it claims to be associated with.
1253
+
1254
+ Will only be present if tokenAuthentication = AUTHENTICATED
1255
+ suspiciousEvent:
1256
+ description: The event for why the notification is being sent.
1257
+ required:
1258
+ - reason
1259
+ properties:
1260
+ reason:
1261
+ type: string
1262
+ description: |
1263
+ The reason why a suspiciousEvent is provided.
1264
+
1265
+ REPLENISH - There were suspicious ATC values reporting during Replenish.
1266
+ enum:
1267
+ - REPLENISH
1268
+ - OTHER
1269
+ example: 'REPLENISH'
1270
+
1271
+ ActivationTextPhoneNumber:
1272
+ required:
1273
+ - type
1274
+ - value
1275
+ description: Denotes an activation method using the cardholder's mobile phone number. Value is masked.
1276
+ properties:
1277
+ type:
1278
+ type: string
1279
+ enum:
1280
+ - TEXT
1281
+ value:
1282
+ type: string
1283
+
1284
+ ActivationEmailAccountHolder:
1285
+ required:
1286
+ - type
1287
+ - value
1288
+ description: Denotes an activation method using the cardholder's email address. Value is masked.
1289
+ properties:
1290
+ type:
1291
+ type: string
1292
+ enum:
1293
+ - EMAIL
1294
+ value:
1295
+ type: string
1296
+ minLength: 1
1297
+ maxLength: 64
1298
+
1299
+ ActivationCallAutomatedNumber:
1300
+ required:
1301
+ - type
1302
+ - value
1303
+ description: |
1304
+ Denotes an activation method requiring the cardholder to call to an automated call center phone number.
1305
+ Value will be the phone number for the cardholder to call.
1306
+ properties:
1307
+ type:
1308
+ type: string
1309
+ enum:
1310
+ - AUTOMATED NUMBER
1311
+ value:
1312
+ type: string
1313
+
1314
+ ActivationCallCustomerSupport:
1315
+ required:
1316
+ - type
1317
+ - value
1318
+ description: |
1319
+ Denotes an activation method requiring the cardholder to call to a customer support call center phone number.
1320
+ Value will be the phone number for the cardholder to call.
1321
+ properties:
1322
+ type:
1323
+ type: string
1324
+ enum:
1325
+ - SUPPORT NUMBER
1326
+ value:
1327
+ type: string
1328
+
1329
+ ActivationVisitWebsite:
1330
+ required:
1331
+ - type
1332
+ - value
1333
+ description: |
1334
+ Denotes an activation method requiring the cardholder to visit a website.
1335
+ Value will be a URL.
1336
+ properties:
1337
+ type:
1338
+ type: string
1339
+ enum:
1340
+ - WEBSITE
1341
+ value:
1342
+ type: string
1343
+ maxLength: 64
1344
+
1345
+ ActivationVisitMobileApp:
1346
+ required:
1347
+ - type
1348
+ - value
1349
+ description: |
1350
+ Denotes an activation method requiring the cardholder to use a specific mobile app to activate token.
1351
+ Value will be replaced by a formatted string.
1352
+ properties:
1353
+ type:
1354
+ type: string
1355
+ enum:
1356
+ - APP
1357
+ value:
1358
+ type: string
1359
+ maxLength: 64
1360
+
1361
+ ActivationCallCardHolderNumber:
1362
+ required:
1363
+ - type
1364
+ - value
1365
+ description: |
1366
+ Denotes an activation method using an issuer-initiated voice call to the cardholder's phone.
1367
+ Value will be the cardholder's masked phone number used for voice calls.
1368
+ properties:
1369
+ type:
1370
+ type: string
1371
+ enum:
1372
+ - CARDHOLDER NUMBER
1373
+ value:
1374
+ type: string
1375
+
1376
+ ActivationMethod:
1377
+ oneOf:
1378
+ - $ref: '#/components/schemas/ActivationTextPhoneNumber'
1379
+ - $ref: '#/components/schemas/ActivationEmailAccountHolder'
1380
+ - $ref: '#/components/schemas/ActivationCallAutomatedNumber'
1381
+ - $ref: '#/components/schemas/ActivationCallCustomerSupport'
1382
+ - $ref: '#/components/schemas/ActivationVisitWebsite'
1383
+ - $ref: '#/components/schemas/ActivationVisitMobileApp'
1384
+ - $ref: '#/components/schemas/ActivationCallCardHolderNumber'
1385
+
1386
+ RecommendationReason:
1387
+ type: string
1388
+ description: The reason for the Wallet Provider's recommended decision.
1389
+ enum:
1390
+ - ACCOUNT TOO NEW SINCE LAUNCH
1391
+ - ACCOUNT TOO NEW
1392
+ - ACCOUNT CARD TOO NEW
1393
+ - ACCOUNT RECENTLY CHANGED
1394
+ - SUSPICIOUS ACTIVITY
1395
+ - INACTIVE ACCOUNT
1396
+ - HAS SUSPENDED TOKENS
1397
+ - DEVICE RECENTLY LOST
1398
+ - TOO MANY RECENT ATTEMPTS
1399
+ - TOO MANY RECENT TOKENS
1400
+ - TOO MANY DIFFERENT CARDHOLDERS
1401
+ - LOW DEVICE SCORE
1402
+ - LOW ACCOUNT SCORE
1403
+ - OUTSIDE HOME TERRITORY
1404
+ - UNABLE TO ASSESS
1405
+ - HIGH RISK
1406
+ - LOW PHONE NUMBER SCORE
1407
+ - LONG ACCOUNT TENURE
1408
+ - GOOD ACTIVITY HISTORY
1409
+ - ADDITIONAL DEVICE
1410
+ - SOFTWARE UPDATE
1411
+ - OTHER
1412
+ example: 'ACCOUNT TOO NEW'
1413
+
1414
+ RecommendedDecision:
1415
+ type: string
1416
+ description: The decision recommended by the Wallet Provider.
1417
+ enum:
1418
+ - APPROVED
1419
+ - DECLINED
1420
+ - REQUIRE ADDITIONAL AUTHENTICATION
1421
+ example: 'APPROVED'
1422
+
1423
+ WalletProviderScore:
1424
+ type: string
1425
+ description: |
1426
+ Score given by the Wallet Provider on their confidence level of a particular property.
1427
+ enum:
1428
+ - SCORE 1
1429
+ - SCORE 2
1430
+ - SCORE 3
1431
+ - SCORE 4
1432
+ - SCORE 5
1433
+ - NOT PROVIDED
1434
+ example: SCORE 4
1435
+
1436
+ WalletProviderDecisioning:
1437
+ type: object
1438
+ description: |
1439
+ The scores and reasons leading to the recommended decision.
1440
+ required:
1441
+ - recommendedDecision
1442
+ - deviceScore
1443
+ - accountScore
1444
+ - phoneNumberScore
1445
+ - recommendationReasons
1446
+ properties:
1447
+ recommendedDecision:
1448
+ $ref: '#/components/schemas/RecommendedDecision'
1449
+ deviceScore:
1450
+ $ref: '#/components/schemas/WalletProviderScore'
1451
+ accountScore:
1452
+ $ref: '#/components/schemas/WalletProviderScore'
1453
+ phoneNumberScore:
1454
+ $ref: '#/components/schemas/WalletProviderScore'
1455
+ recommendationReasons:
1456
+ type: array
1457
+ description: Reasons provided to the Wallet Provider on how the recommended decision was reached.
1458
+ minLength: 0
1459
+ items:
1460
+ $ref: '#/components/schemas/RecommendationReason'
1461
+
1462
+ TokenizationData:
1463
+ description: Data relevant to the process of a tokenization.
1464
+ properties:
1465
+ activationCode:
1466
+ type: string
1467
+ minLength: 1
1468
+ maxLength: 32
1469
+ description: The Activation Code to be distributed for tokenization.
1470
+ tokenId:
1471
+ type: string
1472
+ maxLength: 64
1473
+ description: A unique id assigned by the party that initiated the tokenization.
1474
+ tokenType:
1475
+ type: string
1476
+ description: The type of token requested for this tokenization.
1477
+ enum:
1478
+ - EMBEDDED SECURE ELEMENT
1479
+ - CLOUD
1480
+ - STATIC
1481
+ tokenRequestorId:
1482
+ type: string
1483
+ minLength: 11
1484
+ maxLength: 11
1485
+ description: Identifier for the party that requested the tokenization.
1486
+ activationMethod:
1487
+ $ref: '#/components/schemas/ActivationMethod'
1488
+ walletProviderDecisioning:
1489
+ $ref: '#/components/schemas/WalletProviderDecisioning'
1490
+
1491
+ EMVChipData:
1492
+ type: object
1493
+ description: Data generated between the card's EMV chip and the terminal used in the transaction.
1494
+ additionalProperties: false
1495
+ required:
1496
+ - applicationId
1497
+ - applicationTransactionCounter
1498
+ - amountAuthorized
1499
+ - amountOther
1500
+ properties:
1501
+ applicationId:
1502
+ description: Identifier for the application used between the terminal and chip for generating chip data.
1503
+ type: string
1504
+ applicationTransactionCounter:
1505
+ description: Application Transaction Counter (ATC) generated by the chip.
1506
+ type: string
1507
+ amountAuthorized:
1508
+ $ref: '#/components/schemas/Amount'
1509
+ amountOther:
1510
+ $ref: '#/components/schemas/Amount'
1511
+
1512
+ FeeType:
1513
+ type: string
1514
+ description: The type of fee being applied to the transaction.
1515
+ enum:
1516
+ - CONVENIENCE
1517
+ - TRANSACTION
1518
+ - CURRENCY CONVERSION ASSESSMENT
1519
+ - ISSUER CURRENCY CONVERSION ASSESSMENT
1520
+ - SURCHARGE
1521
+ - OPTIONAL ISSUER
1522
+ - PROCESSING
1523
+ - FOREIGN EXCHANGE
1524
+
1525
+ FeeApplication:
1526
+ type: string
1527
+ description: |
1528
+ Indicates whether the fee should be applied to a cardholder's account (SETTLE) or recorded for information
1529
+ purposes only (MEMO). Examples of MEMO fees are currency conversion fees (already in the settlement amount) and
1530
+ interchange fees.
1531
+ enum:
1532
+ - MEMO
1533
+ - SETTLE
1534
+
1535
+ Fee:
1536
+ type: object
1537
+ description: Details about the fees applied to the transaction and settlement amounts.
1538
+ additionalProperties: false
1539
+ required:
1540
+ - type
1541
+ - application
1542
+ - transaction
1543
+ - settlement
1544
+ properties:
1545
+ type:
1546
+ $ref: '#/components/schemas/FeeType'
1547
+ application:
1548
+ $ref: '#/components/schemas/FeeApplication'
1549
+ transaction:
1550
+ $ref: '#/components/schemas/Amount'
1551
+ settlement:
1552
+ $ref: '#/components/schemas/Amount'
1553
+
1554
+ File:
1555
+ type: object
1556
+ description: |
1557
+ Information about the file in which the message exists.
1558
+
1559
+ This may be used to change the status of a card.
1560
+ additionalProperties: false
1561
+ required:
1562
+ - fileIdentifier
1563
+ - fileDescription
1564
+ - recordIdentifier
1565
+ - fileDateTime
1566
+ properties:
1567
+ fileIdentifier:
1568
+ type: string
1569
+ description: A unique identifier for the file in which this message exists. Often will be the name of the file.
1570
+ fileDescription:
1571
+ type: string
1572
+ description: A description of the file whose usage depends on the type of file that was processed.
1573
+ recordIdentifier:
1574
+ type: string
1575
+ description: A unique identifier for this message in the processed file. Often this will be the record number.
1576
+ fileDateTime:
1577
+ type: string
1578
+ format: date-time
1579
+ description: A timestamp associated with the whole file not the individual message.
1580
+
1581
+ TransmissionDateTime:
1582
+ type: string
1583
+ format: date-time
1584
+ description: |
1585
+ The UTC datetime the original ISO8583 message entered into the network's system.
1586
+ Time is set by the initiator of the message.
1587
+
1588
+ SystemTraceAuditNumber:
1589
+ type: string
1590
+ description: |
1591
+ A numeric identifier assigned by the system that initiated the message to help identify the transaction.
1592
+ This is usually set by the merchant's Point of Sale (POS) or acquiring bank's system and so is useful for
1593
+ relating messages within a batch or session. It is not globally unique.
1594
+
1595
+ TransactionId:
1596
+ type: string
1597
+ description: |
1598
+ A unique identifier that relates messages to a single transaction as defined by the network.
1599
+
1600
+ Note: A return is considered a distinct transaction from the original purchase.
1601
+
1602
+ TransactionGroupId:
1603
+ type: string
1604
+ description: |
1605
+ A unique identifier that relates transactions together. For example, a purchase and a return may
1606
+ be grouped by this identifier.
1607
+
1608
+ NewRequest:
1609
+ type: object
1610
+ additionalProperties: false
1611
+ required:
1612
+ - messageId
1613
+ - transactionId
1614
+ - transactionGroupId
1615
+ - cardId
1616
+ - receivedDateTime
1617
+ - categorization
1618
+ - accounts
1619
+ - transactionAmount
1620
+ - transactionFeeAmount
1621
+ - settlementAmount
1622
+ - settlementFeeAmount
1623
+ - settlementConversion
1624
+ - cashBackAmount
1625
+ - feeDetails
1626
+ - transmissionDateTime
1627
+ - systemTraceAuditNumber
1628
+ - retrievalReferenceNumber
1629
+ - settlementDate
1630
+ - captureDate
1631
+ - encryptedKeys
1632
+ - merchant
1633
+ - acquirer
1634
+ - network
1635
+ - acquirerNetwork
1636
+ - incremental
1637
+ - lastClearing
1638
+ - recurring
1639
+ - minimumTolerance
1640
+ - suppliedCardExpirationDate
1641
+ - track1ValidationResult
1642
+ - track2ValidationResult
1643
+ - pinValidationResult
1644
+ - verificationValueValidationResult
1645
+ - verificationValue2ValidationResult
1646
+ - verificationValue3ValidationResult
1647
+ - dynamicVerificationValueValidationResult
1648
+ - arqcValidationResult
1649
+ - emv3DSecureAuthenticationResult
1650
+ description: The incoming message request data received from the network to be processed.
1651
+ properties:
1652
+ messageId:
1653
+ $ref: '#/components/schemas/MessageId'
1654
+ cardId:
1655
+ $ref: '#/components/schemas/CardId'
1656
+ tokenId:
1657
+ $ref: '#/components/schemas/TokenId'
1658
+ transactionId:
1659
+ $ref: '#/components/schemas/TransactionId'
1660
+ transactionGroupId:
1661
+ $ref: '#/components/schemas/TransactionGroupId'
1662
+ matchedMessageId:
1663
+ $ref: '#/components/schemas/MatchedMessageId'
1664
+ receivedDateTime:
1665
+ $ref: '#/components/schemas/ReceivedDateTime'
1666
+ categorization:
1667
+ $ref: '#/components/schemas/Categorization'
1668
+ accounts:
1669
+ $ref: '#/components/schemas/Accounts'
1670
+ transactionAmount:
1671
+ $ref: '#/components/schemas/Amount'
1672
+ transactionFeeAmount:
1673
+ description: |
1674
+ Fee amount applied by the network or acquirer in the merchant's currency.
1675
+ allOf:
1676
+ - $ref: '#/components/schemas/Amount'
1677
+ settlementAmount:
1678
+ $ref: '#/components/schemas/Amount'
1679
+ settlementFeeAmount:
1680
+ description: |
1681
+ Fee amount applied by the network or acquirer in the BIN currency.
1682
+ allOf:
1683
+ - $ref: '#/components/schemas/Amount'
1684
+ cashBackAmount:
1685
+ $ref: '#/components/schemas/Amount'
1686
+ feeDetails:
1687
+ type: array
1688
+ description: Details about the fees that went into the transaction and settlement fee amounts
1689
+ items:
1690
+ $ref: '#/components/schemas/Fee'
1691
+ settlementConversion:
1692
+ $ref: '#/components/schemas/SettlementConversion'
1693
+ transmissionDateTime:
1694
+ $ref: '#/components/schemas/TransmissionDateTime'
1695
+ systemTraceAuditNumber:
1696
+ $ref: '#/components/schemas/SystemTraceAuditNumber'
1697
+ acquirerLifecycleId:
1698
+ description: |
1699
+ This value is defined by the acquirer to uniquely identify a transaction through its lifecycle.
1700
+ type: string
1701
+ retrievalReferenceNumber:
1702
+ type: string
1703
+ acquirerReferenceData:
1704
+ description: |
1705
+ This value is a numeric string of data supplied by the acquirer in an acquirer-originated message.
1706
+ type: string
1707
+ settlementDate:
1708
+ type: string
1709
+ description: |
1710
+ The date the funds are expected to be transferred between issuer and acquirer.
1711
+
1712
+ This is not guaranteed.
1713
+ format: date
1714
+ example: '2020-01-01'
1715
+ captureDate:
1716
+ type: string
1717
+ description: |
1718
+ The date the transaction was processed by the acquirer.
1719
+ format: date
1720
+ example: '2020-01-01'
1721
+ encryptedKeys:
1722
+ description: |
1723
+ A list of encrypted data encryption keys.
1724
+
1725
+ All encrypted data in MessageRequest will be encrypted with same AES generated key.
1726
+ The key will be encrypted with multiple public keys, one for each of the RSA key pairs that can decrypt it.
1727
+ minLength: 0
1728
+ type: array
1729
+ items:
1730
+ $ref: '#/components/schemas/EncryptedKey'
1731
+ merchant:
1732
+ $ref: '#/components/schemas/Merchant'
1733
+ acquirer:
1734
+ $ref: '#/components/schemas/Acquirer'
1735
+ authorizationLifeCycle:
1736
+ $ref: '#/components/schemas/AuthorizationLifeCycle'
1737
+ replacementAmounts:
1738
+ $ref: '#/components/schemas/ReplacementAmounts'
1739
+ network:
1740
+ $ref: '#/components/schemas/IssuerNetwork'
1741
+ acquirerNetwork:
1742
+ $ref: '#/components/schemas/AcquirerNetwork'
1743
+ file:
1744
+ $ref: '#/components/schemas/File'
1745
+ addressVerificationData:
1746
+ $ref: '#/components/schemas/AddressVerificationData'
1747
+ incremental:
1748
+ description: |
1749
+ Indicator whether this has been identified by the acquirer as an
1750
+ incremental authorization or not.
1751
+ type: boolean
1752
+ lastClearing:
1753
+ description: |
1754
+ Indicator whether this has been identified by the acquirer as
1755
+ the last clearing in a sequence or not.
1756
+ type: boolean
1757
+ recurring:
1758
+ description: |
1759
+ Indicator whether this has been identified by the acquirer as a
1760
+ recurring transaction or not.
1761
+ type: boolean
1762
+ iiasData:
1763
+ $ref: '#/components/schemas/IIASData'
1764
+ minimumTolerance:
1765
+ $ref: '#/components/schemas/Tolerance'
1766
+ tokenization:
1767
+ $ref: '#/components/schemas/TokenizationData'
1768
+ tokenNotification:
1769
+ $ref: '#/components/schemas/TokenNotificationData'
1770
+ emvChipData:
1771
+ $ref: '#/components/schemas/EMVChipData'
1772
+ emv3DSecureData:
1773
+ $ref: '#/components/schemas/EMV3DSecureData'
1774
+ adviceResponse:
1775
+ $ref: '#/components/schemas/AdviceResponse'
1776
+ suppliedCardExpirationDate:
1777
+ $ref: '#/components/schemas/SuppliedCardExpirationDate'
1778
+ track1ValidationResult:
1779
+ $ref: '#/components/schemas/TrackValidationResult'
1780
+ track2ValidationResult:
1781
+ $ref: '#/components/schemas/TrackValidationResult'
1782
+ pinValidationResult:
1783
+ $ref: '#/components/schemas/PINValidationResult'
1784
+ verificationValueValidationResult:
1785
+ description: |
1786
+ Corresponds to the CVC (Mastercard), CVV (Visa), or 5CSC (Amex) found in the track data and only supplied
1787
+ in card swipe transactions.
1788
+ allOf:
1789
+ - $ref: '#/components/schemas/VerificationValueResult'
1790
+ verificationValue2ValidationResult:
1791
+ description: |
1792
+ Corresponds to the CVC2 (Mastercard), CVV2 (Visa), or 4CSC (Amex) found on the back of the card for
1793
+ Mastercard and Visa, and on the front of the card for Amex.
1794
+ It is most often supplied in online transactions.
1795
+ allOf:
1796
+ - $ref: '#/components/schemas/VerificationValueResult'
1797
+ verificationValue3ValidationResult:
1798
+ description: |
1799
+ Corresponds to the 3CSC (Amex) found on the back of the card and is only used for Amex transactions.
1800
+ allOf:
1801
+ - $ref: '#/components/schemas/VerificationValueResult'
1802
+ dynamicVerificationValueValidationResult:
1803
+ $ref: '#/components/schemas/VerificationValueResult'
1804
+ arqcValidationResult:
1805
+ $ref: '#/components/schemas/ARQCValidationResult'
1806
+ emv3DSecureAuthenticationResult:
1807
+ $ref: '#/components/schemas/EMV3DSecureAuthenticationResult'
1808
+
1809
+ EMV3DSecureData:
1810
+ description: |
1811
+ EMV 3-D Secure is a messaging protocol that enables consumers to authenticate themselves with their card issuer
1812
+ when making card-not-present (CNP) e-commerce purchases. The additional security layer helps prevent unauthorized CNP
1813
+ transactions and protects the merchant from exposure to CNP fraud.
1814
+ oneOf:
1815
+ - $ref: '#/components/schemas/EMV3DSecureMastercard'
1816
+
1817
+ EMV3DSecureMastercard:
1818
+ type: object
1819
+ required:
1820
+ - network
1821
+ - securityProtocol
1822
+ - cardholderAuthentication
1823
+ - ucafCollectionIndicator
1824
+ - programProtocolIndicator
1825
+ - cardholderAuthenticationFormat
1826
+ properties:
1827
+ network:
1828
+ type: string
1829
+ description: |
1830
+ This value indicates the network used for the transaction. This value also serves as the discriminator
1831
+ for the EMV3DSecureData object.
1832
+ enum:
1833
+ - MASTERCARD
1834
+ securityProtocol:
1835
+ type: string
1836
+ enum:
1837
+ - CHANNEL
1838
+ - UNKNOWN
1839
+ - NOT PROVIDED
1840
+ cardholderAuthentication:
1841
+ type: string
1842
+ enum:
1843
+ - CARDHOLDER CERTIFICATE NOT USED
1844
+ - MASTERPASS
1845
+ - TOKENIZED
1846
+ - UNKNOWN
1847
+ - NOT PROVIDED
1848
+ ucafCollectionIndicator:
1849
+ type: string
1850
+ description: |
1851
+ This data describes the merchant support and issuer expectations
1852
+ regarding the Universal Cardholder Authentication Field (UCAF) and
1853
+ whether Account Holder Authentication Value (AAV) data is present and authenticated.
1854
+
1855
+ - NOT SUPPORTED may either indicate the merchant is not an Identity Check merchant, or the merchant is not
1856
+ an Identity Check merchant but UCAF data is present within the authorization. Chargeback rights
1857
+ exist in both cases.
1858
+ - UCAF MUST BE PRESENT indicates the merchant participates in Identity Check, but authentication was not
1859
+ completed. No chargeback rights exist for fraud.
1860
+ - UCAF MUST BE PRESENT AND AAV AUTHENTICATED indicates the merchant participates in Identity Check and was
1861
+ properly authenticated. No chargeback rights exist for fraud.
1862
+ - AAV PRESENT indicates the merchant participates in a program that exempts the merchant from using
1863
+ Identity Check for certain low-risk transactions. Chargeback rights exist.
1864
+ - ISSUER RISK BASED DECISIONING indicates the issuer has their own risk-based decisioning enabled to
1865
+ determine whether to authorize payment. No chargeback rights exist for fraud.
1866
+ - MERCHANT RISK BASED DECISIONING indicates the merchant has their own risk-based decisioning enabled to
1867
+ determine whether to accept payment. Chargeback rights exist.
1868
+ - PARTIAL SHIPMENT OR RECURRING PAYMENT indicates the merchant participates in Identity Check and was
1869
+ properly authenticated for a partial shipment or recurring payment. Refer to the UCAF or the
1870
+ original authorization to determine whether chargeback rights exist.
1871
+
1872
+ enum:
1873
+ - NOT SUPPORTED
1874
+ - UCAF MUST BE PRESENT
1875
+ - UCAF MUST BE PRESENT AND AAV AUTHENTICATED
1876
+ - AAV PRESENT
1877
+ - ISSUER RISK BASED DECISIONING
1878
+ - MERCHANT RISK BASED DECISIONING
1879
+ - PARTIAL SHIPMENT OR RECURRING PAYMENT
1880
+ - UNKNOWN
1881
+ - NOT PROVIDED
1882
+ programProtocolIndicator:
1883
+ type: string
1884
+ enum:
1885
+ - EMV 3-D SECURE VERSION 2.1
1886
+ - EMV 3-D SECURE VERSION 2.2
1887
+ - EMV 3-D SECURE VERSION 2.3
1888
+ - EMV 3-D SECURE VERSION 2.4
1889
+ - EMV 3-D SECURE VERSION 2.5
1890
+ - EMV 3-D SECURE VERSION 2.6
1891
+ - EMV 3-D SECURE VERSION 2.7
1892
+ - EMV 3-D SECURE VERSION 2.8
1893
+ - EMV 3-D SECURE VERSION 2.9
1894
+ - UNKNOWN
1895
+ - NOT PROVIDED
1896
+ cardholderAuthenticationFormat:
1897
+ type: string
1898
+ enum:
1899
+ - SECURE CODE
1900
+ - SECURE CODE FOR AAV
1901
+ - UNKNOWN
1902
+ - NOT PROVIDED
1903
+ universalCardholderAuthenticationField:
1904
+ type: string
1905
+ description: |
1906
+ The Universal Cardholder Authentication Field (UCAF) is a data element that is used to convey
1907
+ cardholder authentication data from the merchant to the issuer.
1908
+
1909
+ MessageId:
1910
+ description: |
1911
+ Uniquely identifies a message stored in the platform.
1912
+
1913
+ A message's request and response are stored and retrieved separately using this identifier.
1914
+ type: string
1915
+
1916
+ MatchedMessageId:
1917
+ description: |
1918
+ A previously processed message possibly related to this message as determined by the matching algorithm.
1919
+ allOf:
1920
+ - $ref: '#/components/schemas/MessageId'
1921
+
1922
+ CardId:
1923
+ description: |
1924
+ Uniquely identifies a payment card stored in the platform.
1925
+ type: string
1926
+
1927
+ TokenId:
1928
+ description: |
1929
+ Uniquely identifies a token stored in the platform.
1930
+
1931
+ A token is a unique, secure replacement for a primary account number (PAN) used in digital payment transactions (e.g. transactions made using Apple Pay).
1932
+ type: string
1933
+
1934
+ ReceivedDateTime:
1935
+ type: string
1936
+ format: date-time
1937
+ description: The UTC datetime the message was received from the network by the platform.
1938
+
1939
+ CreatedOn:
1940
+ type: string
1941
+ format: date-time
1942
+ description: The UTC datetime the message was created in the platform.
1943
+
1944
+ Request:
1945
+ type: object
1946
+ additionalProperties: false
1947
+ required:
1948
+ - messageId
1949
+ - cardId
1950
+ - transactionId
1951
+ - transactionGroupId
1952
+ - receivedDateTime
1953
+ - categorization
1954
+ - accounts
1955
+ - transactionAmount
1956
+ - transactionFeeAmount
1957
+ - settlementAmount
1958
+ - settlementFeeAmount
1959
+ - settlementConversion
1960
+ - cashBackAmount
1961
+ - feeDetails
1962
+ - transmissionDateTime
1963
+ - systemTraceAuditNumber
1964
+ - retrievalReferenceNumber
1965
+ - settlementDate
1966
+ - captureDate
1967
+ - encryptedKeys
1968
+ - merchant
1969
+ - acquirer
1970
+ - network
1971
+ - acquirerNetwork
1972
+ - incremental
1973
+ - lastClearing
1974
+ - recurring
1975
+ - minimumTolerance
1976
+ - track1ValidationResult
1977
+ - track2ValidationResult
1978
+ - pinValidationResult
1979
+ - suppliedCardExpirationDate
1980
+ - verificationValueValidationResult
1981
+ - verificationValue2ValidationResult
1982
+ - verificationValue3ValidationResult
1983
+ - dynamicVerificationValueValidationResult
1984
+ - arqcValidationResult
1985
+ - emv3DSecureAuthenticationResult
1986
+ - createdOn
1987
+ description: The stored request data received from the network to be processed.
1988
+ properties:
1989
+ messageId:
1990
+ $ref: '#/components/schemas/MessageId'
1991
+ cardId:
1992
+ $ref: '#/components/schemas/CardId'
1993
+ tokenId:
1994
+ $ref: '#/components/schemas/TokenId'
1995
+ transactionId:
1996
+ $ref: '#/components/schemas/TransactionId'
1997
+ transactionGroupId:
1998
+ $ref: '#/components/schemas/TransactionGroupId'
1999
+ matchedMessageId:
2000
+ $ref: '#/components/schemas/MatchedMessageId'
2001
+ receivedDateTime:
2002
+ $ref: '#/components/schemas/ReceivedDateTime'
2003
+ categorization:
2004
+ $ref: '#/components/schemas/Categorization'
2005
+ accounts:
2006
+ $ref: '#/components/schemas/Accounts'
2007
+ transactionAmount:
2008
+ $ref: '#/components/schemas/Amount'
2009
+ transactionFeeAmount:
2010
+ description: |
2011
+ Fee amount applied by the network or acquirer in the merchant's currency.
2012
+ allOf:
2013
+ - $ref: '#/components/schemas/Amount'
2014
+ settlementAmount:
2015
+ $ref: '#/components/schemas/Amount'
2016
+ settlementFeeAmount:
2017
+ description: |
2018
+ Fee amount applied by the network or acquirer in the BIN currency.
2019
+ allOf:
2020
+ - $ref: '#/components/schemas/Amount'
2021
+ cashBackAmount:
2022
+ $ref: '#/components/schemas/Amount'
2023
+ feeDetails:
2024
+ type: array
2025
+ description: Details about the fees that went into the transaction and settlement fee amounts
2026
+ items:
2027
+ $ref: '#/components/schemas/Fee'
2028
+ settlementConversion:
2029
+ $ref: '#/components/schemas/SettlementConversion'
2030
+ transmissionDateTime:
2031
+ $ref: '#/components/schemas/TransmissionDateTime'
2032
+ systemTraceAuditNumber:
2033
+ $ref: '#/components/schemas/SystemTraceAuditNumber'
2034
+ acquirerLifecycleId:
2035
+ description: |
2036
+ Defined by the acquirer to identify a transaction through its lifecycle.
2037
+ type: string
2038
+ retrievalReferenceNumber:
2039
+ type: string
2040
+ description: |
2041
+ A numeric identifier typically generated by the acquirer to uniquely identify a transaction on a given day.
2042
+ acquirerReferenceData:
2043
+ description: |
2044
+ This value is a numeric string of data supplied by the acquirer in an acquirer-originated message.
2045
+ type: string
2046
+ settlementDate:
2047
+ type: string
2048
+ description: |
2049
+ The date the funds are expected to be transferred between issuer and acquirer.
2050
+
2051
+ This is not guaranteed.
2052
+ format: date
2053
+ example: '2020-01-01'
2054
+ captureDate:
2055
+ type: string
2056
+ description: |
2057
+ The date the transaction was processed by the acquirer.
2058
+ format: date
2059
+ example: '2020-01-01'
2060
+ encryptedKeys:
2061
+ description: An array of encrypted AES keys that can be decrypted using the appropriate private key.
2062
+ minLength: 0
2063
+ type: array
2064
+ items:
2065
+ $ref: '#/components/schemas/EncryptedKey'
2066
+ merchant:
2067
+ $ref: '#/components/schemas/Merchant'
2068
+ acquirer:
2069
+ $ref: '#/components/schemas/Acquirer'
2070
+ authorizationLifeCycle:
2071
+ $ref: '#/components/schemas/AuthorizationLifeCycle'
2072
+ replacementAmounts:
2073
+ $ref: '#/components/schemas/ReplacementAmounts'
2074
+ network:
2075
+ $ref: '#/components/schemas/IssuerNetwork'
2076
+ acquirerNetwork:
2077
+ $ref: '#/components/schemas/AcquirerNetwork'
2078
+ file:
2079
+ $ref: '#/components/schemas/File'
2080
+ addressVerificationData:
2081
+ $ref: '#/components/schemas/AddressVerificationData'
2082
+ incremental:
2083
+ description: |
2084
+ Has the value 'true' if the acquirer identified the authorization as an incremental, otherwise the value
2085
+ is 'false'.
2086
+ type: boolean
2087
+ lastClearing:
2088
+ description: |
2089
+ Has the value 'true' if the acquirer identified the message as the last clearing in a sequence, otherwise
2090
+ the value is 'false'.
2091
+ type: boolean
2092
+ recurring:
2093
+ description: |
2094
+ Has the value 'true' if the acquirer identified the message as part of a recurring transaction, otherwise
2095
+ the value is 'false'.
2096
+ type: boolean
2097
+ iiasData:
2098
+ $ref: '#/components/schemas/IIASData'
2099
+ minimumTolerance:
2100
+ $ref: '#/components/schemas/Tolerance'
2101
+ tokenization:
2102
+ $ref: '#/components/schemas/TokenizationData'
2103
+ tokenNotification:
2104
+ $ref: '#/components/schemas/TokenNotificationData'
2105
+ emvChipData:
2106
+ $ref: '#/components/schemas/EMVChipData'
2107
+ emv3DSecureData:
2108
+ $ref: '#/components/schemas/EMV3DSecureData'
2109
+ adviceResponse:
2110
+ $ref: '#/components/schemas/AdviceResponse'
2111
+ suppliedCardExpirationDate:
2112
+ $ref: '#/components/schemas/SuppliedCardExpirationDate'
2113
+ track1ValidationResult:
2114
+ $ref: '#/components/schemas/TrackValidationResult'
2115
+ track2ValidationResult:
2116
+ $ref: '#/components/schemas/TrackValidationResult'
2117
+ pinValidationResult:
2118
+ $ref: '#/components/schemas/PINValidationResult'
2119
+ verificationValueValidationResult:
2120
+ $ref: '#/components/schemas/VerificationValueResult'
2121
+ verificationValue2ValidationResult:
2122
+ $ref: '#/components/schemas/VerificationValueResult'
2123
+ verificationValue3ValidationResult:
2124
+ $ref: '#/components/schemas/VerificationValueResult'
2125
+ dynamicVerificationValueValidationResult:
2126
+ $ref: '#/components/schemas/VerificationValueResult'
2127
+ arqcValidationResult:
2128
+ $ref: '#/components/schemas/ARQCValidationResult'
2129
+ emv3DSecureAuthenticationResult:
2130
+ $ref: '#/components/schemas/EMV3DSecureAuthenticationResult'
2131
+ createdOn:
2132
+ $ref: '#/components/schemas/CreatedOn'
2133
+
2134
+ PickedRequest:
2135
+ type: object
2136
+ additionalProperties: false
2137
+ description: |
2138
+ A PickedRequest object contains a subset of fields from a Request object.
2139
+
2140
+ A PickedRequest object may be preferred to minimize the amount of data retrieved and the time taken to
2141
+ transmit and process the response.
2142
+ required:
2143
+ - createdOn
2144
+ properties:
2145
+ cardId:
2146
+ $ref: '#/components/schemas/CardId'
2147
+ messageId:
2148
+ $ref: '#/components/schemas/MessageId'
2149
+ matchedMessageId:
2150
+ $ref: '#/components/schemas/MatchedMessageId'
2151
+ receivedDateTime:
2152
+ $ref: '#/components/schemas/ReceivedDateTime'
2153
+ categorization:
2154
+ $ref: '#/components/schemas/Categorization'
2155
+ settlementAmount:
2156
+ $ref: '#/components/schemas/Amount'
2157
+ adviceResponse:
2158
+ $ref: '#/components/schemas/AdviceResponse'
2159
+ createdOn:
2160
+ $ref: '#/components/schemas/CreatedOn'
2161
+
2162
+ Tag:
2163
+ type: object
2164
+ additionalProperties: false
2165
+ description: |
2166
+ A Tag object contains categorizing information that can be used to classify a transaction and determine max
2167
+ spend amounts for a given tag.
2168
+ required:
2169
+ - tag
2170
+ - maxAmount
2171
+ properties:
2172
+ tag:
2173
+ type: string
2174
+ description: The tag name.
2175
+ maxAmount:
2176
+ type: string
2177
+ description: Maximum amount that can be approved for the tag.
2178
+
2179
+ DeclineReasonsEnum:
2180
+ type: string
2181
+ description: The reason for the decline.
2182
+ enum:
2183
+ - TRANSACTION CATEGORY NOT ALLOWED
2184
+ - INTERNATIONAL TRANSACTIONS NOT ALLOWED
2185
+ - RESTRICTED COUNTRY
2186
+ - RESTRICTED MERCHANT TYPE
2187
+ - RESTRICTED MERCHANT
2188
+ - INVALID PIN
2189
+ - PIN BLOCK ERROR
2190
+ - PIN VALIDATION UNAVAILABLE
2191
+ - INVALID VERIFICATION VALUE
2192
+ - INVALID VERIFICATION VALUE2
2193
+ - INVALID VERIFICATION VALUE3
2194
+ - INVALID DYNAMIC VERIFICATION VALUE
2195
+ - INVALID ATC
2196
+ - INVALID ARQC
2197
+ - NO CVN SUPPLIED
2198
+ - VERIFICATION VALUE VALIDATION UNAVAILABLE
2199
+ - VERIFICATION VALUE2 VALIDATION UNAVAILABLE
2200
+ - VERIFICATION VALUE3 VALIDATION UNAVAILABLE
2201
+ - DYNAMIC VERIFICATION VALUE VALIDATION UNAVAILABLE
2202
+ - ARQC VALIDATION UNAVAILABLE
2203
+ - CARD NOT FOUND
2204
+ - CARD NOT CURRENT
2205
+ - EXPIRED CARD
2206
+ - BLOCKED CARD
2207
+ - LOCKED CARD
2208
+ - INACTIVE CARD
2209
+ - INVALID CARD DATA
2210
+ - UNSUPPORTED OPERATION
2211
+ - INSUFFICIENT FUNDS
2212
+ - AMOUNT LIMIT EXCEEDED
2213
+ - COUNT LIMIT EXCEEDED
2214
+ - MINIMUM AMOUNT REQUIRED
2215
+ - PIN RETRY LIMIT EXCEEDED
2216
+ - BUSINESS RULES
2217
+ - SUSPECTED FRAUD
2218
+ - INVALID ACCOUNT SELECTED
2219
+ - INVALID MESSAGE DATA
2220
+ - STOP RECURRING
2221
+ - GENERAL DECLINE
2222
+ - INCORRECT ACTIVATION CODE
2223
+ - INCORRECT ACTIVATION CODE RETRIES EXCEEDED
2224
+ - EXPIRED ACTIVATION CODE
2225
+ - REQUIRE ADDITIONAL AUTHENTICATION
2226
+ - WALLET RECOMMENDED DECLINE
2227
+ - INTERNAL SERVICE ERROR
2228
+ - TRANSIENT RETRYABLE ERROR
2229
+ - CONFIGURATION LOCK
2230
+
2231
+ HoldExpirationDateTime:
2232
+ type: string
2233
+ description: The UTC datetime the hold on funds will expire.
2234
+ format: date-time
2235
+
2236
+ ProprietaryAuxiliaryData:
2237
+ type: object
2238
+ description: An object containing client specific data.
2239
+
2240
+ AccountUsage:
2241
+ type: object
2242
+ additionalProperties: false
2243
+ required:
2244
+ - accountId
2245
+ - debitCredit
2246
+ - amount
2247
+ properties:
2248
+ accountId:
2249
+ type: string
2250
+ description: Uniquely identifies the account to which the amount and debit or credit were applied.
2251
+ debitCredit:
2252
+ $ref: '#/components/schemas/DebitCredit'
2253
+ amount:
2254
+ type: string
2255
+
2256
+ CurrencyAlphabeticCode:
2257
+ type: string
2258
+ description: |
2259
+ The alphabetic code that represents the currency.
2260
+ enum:
2261
+ - AED
2262
+ - AFN
2263
+ - ALL
2264
+ - AMD
2265
+ - ANG
2266
+ - AOA
2267
+ - ARS
2268
+ - AUD
2269
+ - AWG
2270
+ - AZN
2271
+ - BAM
2272
+ - BBD
2273
+ - BDT
2274
+ - BGN
2275
+ - BHD
2276
+ - BIF
2277
+ - BMD
2278
+ - BND
2279
+ - BOB
2280
+ - BOV
2281
+ - BRL
2282
+ - BSD
2283
+ - BTN
2284
+ - BWP
2285
+ - BYN
2286
+ - BZD
2287
+ - CAD
2288
+ - CDF
2289
+ - CHE
2290
+ - CHF
2291
+ - CHW
2292
+ - CLF
2293
+ - CLP
2294
+ - CNY
2295
+ - COP
2296
+ - COU
2297
+ - CRC
2298
+ - CUC
2299
+ - CUP
2300
+ - CVE
2301
+ - CZK
2302
+ - DJF
2303
+ - DKK
2304
+ - DOP
2305
+ - DZD
2306
+ - EGP
2307
+ - ERN
2308
+ - ETB
2309
+ - EUR
2310
+ - FJD
2311
+ - FKP
2312
+ - GBP
2313
+ - GEL
2314
+ - GHS
2315
+ - GIP
2316
+ - GMD
2317
+ - GNF
2318
+ - GTQ
2319
+ - GYD
2320
+ - HKD
2321
+ - HNL
2322
+ - HRK
2323
+ - HTG
2324
+ - HUF
2325
+ - IDR
2326
+ - ILS
2327
+ - INR
2328
+ - IQD
2329
+ - IRR
2330
+ - ISK
2331
+ - JMD
2332
+ - JOD
2333
+ - JPY
2334
+ - KES
2335
+ - KGS
2336
+ - KHR
2337
+ - KMF
2338
+ - KPW
2339
+ - KRW
2340
+ - KWD
2341
+ - KYD
2342
+ - KZT
2343
+ - LAK
2344
+ - LBP
2345
+ - LKR
2346
+ - LRD
2347
+ - LSL
2348
+ - LYD
2349
+ - MAD
2350
+ - MDL
2351
+ - MGA
2352
+ - MKD
2353
+ - MMK
2354
+ - MNT
2355
+ - MOP
2356
+ - MRU
2357
+ - MUR
2358
+ - MVR
2359
+ - MWK
2360
+ - MXN
2361
+ - MXV
2362
+ - MYR
2363
+ - MZN
2364
+ - NAD
2365
+ - NGN
2366
+ - NIO
2367
+ - NOK
2368
+ - NPR
2369
+ - NZD
2370
+ - OMR
2371
+ - PAB
2372
+ - PEN
2373
+ - PGK
2374
+ - PHP
2375
+ - PKR
2376
+ - PLN
2377
+ - PYG
2378
+ - QAR
2379
+ - RON
2380
+ - RSD
2381
+ - RUB
2382
+ - RWF
2383
+ - SAR
2384
+ - SBD
2385
+ - SCR
2386
+ - SDG
2387
+ - SEK
2388
+ - SGD
2389
+ - SHP
2390
+ - SLL
2391
+ - SOS
2392
+ - SRD
2393
+ - SSP
2394
+ - STN
2395
+ - SVC
2396
+ - SYP
2397
+ - SZL
2398
+ - THB
2399
+ - TJS
2400
+ - TMT
2401
+ - TND
2402
+ - TOP
2403
+ - TRY
2404
+ - TTD
2405
+ - TWD
2406
+ - TZS
2407
+ - UAH
2408
+ - UGX
2409
+ - USD
2410
+ - USN
2411
+ - UYI
2412
+ - UYU
2413
+ - UYW
2414
+ - UZS
2415
+ - VES
2416
+ - VND
2417
+ - VUV
2418
+ - WST
2419
+ - XAF
2420
+ - XAG
2421
+ - XAU
2422
+ - XBA
2423
+ - XBB
2424
+ - XBC
2425
+ - XBD
2426
+ - XCD
2427
+ - XDR
2428
+ - XOF
2429
+ - XPD
2430
+ - XPF
2431
+ - XPT
2432
+ - XSU
2433
+ - XTS
2434
+ - XUA
2435
+ - XXX
2436
+ - YER
2437
+ - ZAR
2438
+ - ZMW
2439
+ - ZWL
2440
+
2441
+ Rate:
2442
+ type: object
2443
+ description: |
2444
+ The currency conversion rate information.
2445
+
2446
+ To calculate the conversion rate, use the following formula:
2447
+
2448
+ conversion rate = factor / (10 ^ factorDecimalPosition)
2449
+ additionalProperties: false
2450
+ required:
2451
+ - factor
2452
+ - factorDecimalPosition
2453
+ - effectiveOn
2454
+ properties:
2455
+ factor:
2456
+ description: |
2457
+ The multiplying factor used to convert the transaction amount to the settlement
2458
+ amount.
2459
+ type: string
2460
+ factorDecimalPosition:
2461
+ description: |
2462
+ The position the decimal point should be placed, starting from the right.
2463
+ type: number
2464
+ minimum: 0
2465
+ maximum: 15
2466
+ effectiveOn:
2467
+ type: string
2468
+ description: The UTC datetime the conversion rate went into effect.
2469
+ format: date-time
2470
+
2471
+ AdditionalCurrencyConversionRate:
2472
+ type: object
2473
+ description: |
2474
+ Contains the conversion rate from the settlement currency to a target currency that was in effect when processing this message.
2475
+ The value can be obtained in one of four ways and will be represented by the conversionSource field.
2476
+ additionalProperties: false
2477
+ required:
2478
+ - rate
2479
+ - conversionSource
2480
+ - targetCurrency
2481
+ properties:
2482
+ rate:
2483
+ $ref: '#/components/schemas/Rate'
2484
+ conversionSource:
2485
+ type: string
2486
+ description: |
2487
+ - NONE
2488
+ - The target currency matches the settlement currency.
2489
+ - The rate will be 1.0
2490
+ - example scenario: Settlement Currency = USD, Target Currency = USD, Transaction Currency = EUR
2491
+ - NETWORK
2492
+ - The target currency matches the message's transaction currency.
2493
+ - The rate will be the inverse of the settlementConversion data provided by the network.
2494
+ - example scenario: Settlement Currency = USD, Target Currency = EUR, Transaction Currency = EUR
2495
+ - INTERNAL
2496
+ - The target currency does not match the settlement or transaction currency and a settlement to target currency conversion rate is defined within the Rate service at the time of the transaction.
2497
+ - The rate will be the settlement to target currency rate retrieved from the rate service at the time of the transaction.
2498
+ - example scenario: Settlement Currency = USD, Target Currency = EUR, Transaction Currency = GBP, Rate from USD -> EUR is defined within the Rate service at the time of the transaction
2499
+ - NOT FOUND
2500
+ - The target currency does not match the settlement or transaction currency and no settlement to target currency rate is defined within the Rate service at the time of the transaction.
2501
+ - The rate will be 0.0
2502
+ - example scenario: Settlement Currency = USD, Target Currency = EUR, Transaction Currency = GBP, Rate from USD -> EUR is NOT defined within the Rate service at the time of the transaction
2503
+ - NOT APPLICABLE
2504
+ - The incoming message's settlement amount is 0
2505
+ - The rate will be 0.0
2506
+ - example scenarios: tokenization messages, balance inquiries, 0 value transactions
2507
+ enum:
2508
+ - NONE
2509
+ - NETWORK
2510
+ - INTERNAL
2511
+ - NOT FOUND
2512
+ - NOT APPLICABLE
2513
+ targetCurrency:
2514
+ $ref: '#/components/schemas/CurrencyAlphabeticCode'
2515
+
2516
+ DeclineReasons:
2517
+ type: array
2518
+ description: |
2519
+ Reason the authorization was declined. These are internal reasons that are more detailed than what is
2520
+ provided to the network.
2521
+
2522
+ items:
2523
+ $ref: '#/components/schemas/DeclineReasonsEnum'
2524
+
2525
+ NewResponse:
2526
+ type: object
2527
+ description: The outgoing message response data to be sent back to the network.
2528
+ additionalProperties: false
2529
+ required:
2530
+ - messageId
2531
+ - cardId
2532
+ - responseCode
2533
+ - declineReasons
2534
+ - capture
2535
+ - requestedAmount
2536
+ - requestedTolerance
2537
+ - requestedFee
2538
+ - requestedTotal
2539
+ - requestedCashBack
2540
+ - messageApprovedAmount
2541
+ - messageApprovedTolerance
2542
+ - messageApprovedFee
2543
+ - messageApprovedTotal
2544
+ - approvedAmount
2545
+ - approvedTolerance
2546
+ - approvedFee
2547
+ - approvedTotal
2548
+ - approvedCashBack
2549
+ - pendingAmount
2550
+ - pendingTolerance
2551
+ - pendingFee
2552
+ - pendingTotal
2553
+ - completedAmount
2554
+ - completedTolerance
2555
+ - completedFee
2556
+ - completedTotal
2557
+ - pendingAccounts
2558
+ - completedAccounts
2559
+ - tags
2560
+ - addressVerificationResult
2561
+ - applicationTransactionCounterValidationResult
2562
+ - processedBy
2563
+ properties:
2564
+ messageId:
2565
+ $ref: '#/components/schemas/MessageId'
2566
+ cardId:
2567
+ $ref: '#/components/schemas/CardId'
2568
+ authorizationIdResponse:
2569
+ type: string
2570
+ description: |
2571
+ An identifier generated by the authorizing party used to help identify
2572
+ the authorization. This is often provided to the cardholder on their transaction receipt.
2573
+ responseCode:
2574
+ $ref: '#/components/schemas/ResponseCode'
2575
+ declineReasons:
2576
+ $ref: '#/components/schemas/DeclineReasons'
2577
+ capture:
2578
+ type: boolean
2579
+ description: |
2580
+ Has the value 'true' if the card should be captured by the merchant and the merchant states they are
2581
+ capable of capturing the card. Otherwise, the value is false.
2582
+ requestedAmount:
2583
+ $ref: '#/components/schemas/Amount'
2584
+ requestedTolerance:
2585
+ $ref: '#/components/schemas/Amount'
2586
+ requestedFee:
2587
+ description: |
2588
+ Fee amount applied by the processor. This value does not include fees applied by
2589
+ the network or acquirer. Those fees are included in requestedAmount and approvedAmount.
2590
+ allOf:
2591
+ - $ref: '#/components/schemas/Amount'
2592
+ requestedTotal:
2593
+ $ref: '#/components/schemas/Amount'
2594
+ requestedCashBack:
2595
+ $ref: '#/components/schemas/Amount'
2596
+ messageApprovedAmount:
2597
+ $ref: '#/components/schemas/Amount'
2598
+ messageApprovedTolerance:
2599
+ $ref: '#/components/schemas/Amount'
2600
+ messageApprovedFee:
2601
+ $ref: '#/components/schemas/Amount'
2602
+ messageApprovedTotal:
2603
+ $ref: '#/components/schemas/Amount'
2604
+ approvedAmount:
2605
+ $ref: '#/components/schemas/Amount'
2606
+ approvedTolerance:
2607
+ $ref: '#/components/schemas/Amount'
2608
+ approvedFee:
2609
+ description: |
2610
+ Fee amount applied by the processor. This value does not include fees applied by
2611
+ the network or acquirer. Those fees are included in requestedAmount and approvedAmount.
2612
+ allOf:
2613
+ - $ref: '#/components/schemas/Amount'
2614
+ approvedTotal:
2615
+ $ref: '#/components/schemas/Amount'
2616
+ approvedCashBack:
2617
+ $ref: '#/components/schemas/Amount'
2618
+ pendingAmount:
2619
+ $ref: '#/components/schemas/Amount'
2620
+ pendingTolerance:
2621
+ $ref: '#/components/schemas/Amount'
2622
+ pendingFee:
2623
+ $ref: '#/components/schemas/Amount'
2624
+ pendingTotal:
2625
+ $ref: '#/components/schemas/Amount'
2626
+ completedAmount:
2627
+ $ref: '#/components/schemas/Amount'
2628
+ completedTolerance:
2629
+ $ref: '#/components/schemas/Amount'
2630
+ completedFee:
2631
+ $ref: '#/components/schemas/Amount'
2632
+ completedTotal:
2633
+ $ref: '#/components/schemas/Amount'
2634
+ availableBalance:
2635
+ $ref: '#/components/schemas/Amount'
2636
+ addressVerificationResult:
2637
+ $ref: '#/components/schemas/AddressVerificationResult'
2638
+ applicationTransactionCounterValidationResult:
2639
+ $ref: '#/components/schemas/ApplicationTransactionCounterValidationResult'
2640
+ entryId:
2641
+ type: string
2642
+ minLength: 1
2643
+ pendingAccounts:
2644
+ type: array
2645
+ description: Accounts where there are still funds pending
2646
+ items:
2647
+ $ref: '#/components/schemas/AccountUsage'
2648
+ completedAccounts:
2649
+ type: array
2650
+ description: Accounts where the funds have completed
2651
+ items:
2652
+ $ref: '#/components/schemas/AccountUsage'
2653
+ holdExpirationDateTime:
2654
+ $ref: '#/components/schemas/HoldExpirationDateTime'
2655
+ tags:
2656
+ type: array
2657
+ description: A list of Tag objects.
2658
+ items:
2659
+ $ref: '#/components/schemas/Tag'
2660
+ tokenization:
2661
+ type: object
2662
+ properties:
2663
+ activationMethods:
2664
+ type: array
2665
+ minLength: 0
2666
+ description: |
2667
+ The activation methods to be used for this tokenization. Returning an empty array will mean
2668
+ that no additional activation methods are required to tokenize, with the except of any pre-configured
2669
+ with the party responsible for initializing the tokenization.
2670
+ items:
2671
+ $ref: '#/components/schemas/ActivationMethod'
2672
+ processedBy:
2673
+ type: string
2674
+ description: The name of the service that provided the approval or decline.
2675
+ proprietaryAuxiliaryData:
2676
+ $ref: '#/components/schemas/ProprietaryAuxiliaryData'
2677
+ additionalCurrencyConversionRates:
2678
+ type: array
2679
+ minLength: 0
2680
+ description: Additional currency conversion rates used to convert the settlement currency to another currency.
2681
+ items:
2682
+ $ref: '#/components/schemas/AdditionalCurrencyConversionRate'
2683
+
2684
+ Response:
2685
+ type: object
2686
+ description: The stored response data to be sent back to the network.
2687
+ additionalProperties: false
2688
+ required:
2689
+ - messageId
2690
+ - cardId
2691
+ - responseCode
2692
+ - declineReasons
2693
+ - capture
2694
+ - requestedAmount
2695
+ - requestedTolerance
2696
+ - requestedFee
2697
+ - requestedTotal
2698
+ - requestedCashBack
2699
+ - messageApprovedAmount
2700
+ - messageApprovedTolerance
2701
+ - messageApprovedFee
2702
+ - messageApprovedTotal
2703
+ - approvedAmount
2704
+ - approvedTolerance
2705
+ - approvedFee
2706
+ - approvedTotal
2707
+ - approvedCashBack
2708
+ - pendingAmount
2709
+ - pendingTolerance
2710
+ - pendingFee
2711
+ - pendingTotal
2712
+ - completedAmount
2713
+ - completedTolerance
2714
+ - completedFee
2715
+ - completedTotal
2716
+ - pendingAccounts
2717
+ - completedAccounts
2718
+ - tags
2719
+ - addressVerificationResult
2720
+ - applicationTransactionCounterValidationResult
2721
+ - processedBy
2722
+ - createdOn
2723
+ properties:
2724
+ messageId:
2725
+ $ref: '#/components/schemas/MessageId'
2726
+ cardId:
2727
+ $ref: '#/components/schemas/CardId'
2728
+ authorizationIdResponse:
2729
+ type: string
2730
+ description: |
2731
+ An identifier generated by the authorizing party - i.e. the Check Digit platform - used to help identify
2732
+ the authorization.
2733
+ responseCode:
2734
+ $ref: '#/components/schemas/ResponseCode'
2735
+ declineReasons:
2736
+ $ref: '#/components/schemas/DeclineReasons'
2737
+ capture:
2738
+ type: boolean
2739
+ description: |
2740
+ Has the value 'true' if the card should be captured by the merchant. Otherwise, the value is false.
2741
+ requestedAmount:
2742
+ $ref: '#/components/schemas/Amount'
2743
+ requestedTolerance:
2744
+ $ref: '#/components/schemas/Amount'
2745
+ requestedFee:
2746
+ description: |
2747
+ Fee amount applied by the processor. This value does not include fees applied by
2748
+ the network or acquirer. Those fees are included in requestedAmount and approvedAmount.
2749
+ allOf:
2750
+ - $ref: '#/components/schemas/Amount'
2751
+ requestedTotal:
2752
+ $ref: '#/components/schemas/Amount'
2753
+ requestedCashBack:
2754
+ $ref: '#/components/schemas/Amount'
2755
+ messageApprovedAmount:
2756
+ $ref: '#/components/schemas/Amount'
2757
+ messageApprovedTolerance:
2758
+ $ref: '#/components/schemas/Amount'
2759
+ messageApprovedFee:
2760
+ $ref: '#/components/schemas/Amount'
2761
+ messageApprovedTotal:
2762
+ $ref: '#/components/schemas/Amount'
2763
+ approvedAmount:
2764
+ $ref: '#/components/schemas/Amount'
2765
+ approvedTolerance:
2766
+ $ref: '#/components/schemas/Amount'
2767
+ approvedFee:
2768
+ description: |
2769
+ Fee amount applied by the processor. This value does not include fees applied by
2770
+ the network or acquirer. Those fees are included in requestedAmount and approvedAmount.
2771
+ allOf:
2772
+ - $ref: '#/components/schemas/Amount'
2773
+ approvedTotal:
2774
+ $ref: '#/components/schemas/Amount'
2775
+ approvedCashBack:
2776
+ $ref: '#/components/schemas/Amount'
2777
+ pendingAmount:
2778
+ $ref: '#/components/schemas/Amount'
2779
+ pendingTolerance:
2780
+ $ref: '#/components/schemas/Amount'
2781
+ pendingFee:
2782
+ $ref: '#/components/schemas/Amount'
2783
+ pendingTotal:
2784
+ $ref: '#/components/schemas/Amount'
2785
+ completedAmount:
2786
+ $ref: '#/components/schemas/Amount'
2787
+ completedTolerance:
2788
+ $ref: '#/components/schemas/Amount'
2789
+ completedFee:
2790
+ $ref: '#/components/schemas/Amount'
2791
+ completedTotal:
2792
+ $ref: '#/components/schemas/Amount'
2793
+ availableBalance:
2794
+ $ref: '#/components/schemas/Amount'
2795
+ addressVerificationResult:
2796
+ $ref: '#/components/schemas/AddressVerificationResult'
2797
+ applicationTransactionCounterValidationResult:
2798
+ $ref: '#/components/schemas/ApplicationTransactionCounterValidationResult'
2799
+ entryId:
2800
+ type: string
2801
+ description: |
2802
+ The unique identifier for the ledger entry created during processing.
2803
+ pendingAccounts:
2804
+ type: array
2805
+ description: A list of AccountUsage objects for accounts where funds are pending.
2806
+ items:
2807
+ $ref: '#/components/schemas/AccountUsage'
2808
+ completedAccounts:
2809
+ type: array
2810
+ description: A list of AccountUsage objects for accounts where funds have completed.
2811
+ items:
2812
+ $ref: '#/components/schemas/AccountUsage'
2813
+ holdExpirationDateTime:
2814
+ $ref: '#/components/schemas/HoldExpirationDateTime'
2815
+ tags:
2816
+ type: array
2817
+ description: A list of Tag objects.
2818
+ items:
2819
+ $ref: '#/components/schemas/Tag'
2820
+ tokenization:
2821
+ type: object
2822
+ properties:
2823
+ activationMethods:
2824
+ type: array
2825
+ minLength: 0
2826
+ description: |
2827
+ The activation methods to be used for this tokenization.
2828
+
2829
+ Returning an empty array will mean that no additional activation methods are required to tokenize, with
2830
+ the exception of any pre-configured methods with the party responsible for initializing the
2831
+ tokenization.
2832
+ items:
2833
+ $ref: '#/components/schemas/ActivationMethod'
2834
+ processedBy:
2835
+ type: string
2836
+ description: The name of the service that provided the approval or decline.
2837
+ createdOn:
2838
+ $ref: '#/components/schemas/CreatedOn'
2839
+ proprietaryAuxiliaryData:
2840
+ $ref: '#/components/schemas/ProprietaryAuxiliaryData'
2841
+ additionalCurrencyConversionRates:
2842
+ type: array
2843
+ minLength: 0
2844
+ description: Additional currency conversion rates used to convert the settlement currency to another currency.
2845
+ items:
2846
+ $ref: '#/components/schemas/AdditionalCurrencyConversionRate'
2847
+
2848
+ PickedResponse:
2849
+ type: object
2850
+ additionalProperties: false
2851
+ description: |
2852
+ A PickedResponse object contains a subset of fields from a Response object.
2853
+ A PickedResponse object may be preferred to minimize the amount of data retrieved and the time taken to
2854
+ transmit and process the response.
2855
+ required:
2856
+ - createdOn
2857
+ properties:
2858
+ messageId:
2859
+ $ref: '#/components/schemas/MessageId'
2860
+ declineReasons:
2861
+ $ref: '#/components/schemas/DeclineReasons'
2862
+ approvedTotal:
2863
+ $ref: '#/components/schemas/Amount'
2864
+ holdExpirationDateTime:
2865
+ $ref: '#/components/schemas/HoldExpirationDateTime'
2866
+ createdOn:
2867
+ $ref: '#/components/schemas/CreatedOn'
2868
+ proprietaryAuxiliaryData:
2869
+ $ref: '#/components/schemas/ProprietaryAuxiliaryData'
2870
+ additionalCurrencyConversionRates:
2871
+ type: array
2872
+ minLength: 0
2873
+ description: Additional currency conversion rates used to convert the settlement currency to another currency.
2874
+ items:
2875
+ $ref: '#/components/schemas/AdditionalCurrencyConversionRate'
2876
+
2877
+ RequestField:
2878
+ type: string
2879
+ description: The message request fields to return.
2880
+ enum:
2881
+ - CARD_ID
2882
+ - ADVICE_RESPONSE
2883
+ - CATEGORIZATION
2884
+ - MATCHED_MESSAGE_ID
2885
+ - MESSAGE_ID
2886
+ - RECEIVED_DATE_TIME
2887
+ - SETTLEMENT_AMOUNT
2888
+
2889
+ ResponseField:
2890
+ type: string
2891
+ description: The message response fields to return.
2892
+ enum:
2893
+ - APPROVED_TOTAL
2894
+ - DECLINE_REASONS
2895
+ - HOLD_EXPIRATION_DATE_TIME
2896
+ - MESSAGE_ID
2897
+ - PROPRIETARY_AUXILIARY_DATA
2898
+ - ADDITIONAL_CURRENCY_CONVERSION_RATES
2899
+
2900
+ parameters:
2901
+ messageId:
2902
+ in: path
2903
+ name: messageId
2904
+ required: true
2905
+ schema:
2906
+ $ref: '#/components/schemas/MessageId'
2907
+
2908
+ at:
2909
+ in: query
2910
+ name: at
2911
+ description: |
2912
+ Identifies at what point in time the data should be returned. Must not
2913
+ be in the future.
2914
+ required: true
2915
+ schema:
2916
+ type: string
2917
+ format: date-time
2918
+
2919
+ cardIds:
2920
+ in: query
2921
+ name: cardIds
2922
+ description: Returns messages created by these cardIds.
2923
+ required: true
2924
+ schema:
2925
+ type: array
2926
+ minItems: 1
2927
+ items:
2928
+ $ref: '#/components/schemas/CardId'
2929
+
2930
+ toDate:
2931
+ in: query
2932
+ name: toDate
2933
+ description: |
2934
+ Returns entries created before this time. Must be at least 1 second in
2935
+ the past.
2936
+ required: true
2937
+ schema:
2938
+ type: string
2939
+ format: date-time
2940
+
2941
+ fromDate:
2942
+ in: query
2943
+ name: fromDate
2944
+ description: |
2945
+ Returns entries created at or after this time. Must be at least 1 second
2946
+ in the past.
2947
+ schema:
2948
+ type: string
2949
+ format: date-time
2950
+
2951
+ createdOn:
2952
+ name: Created-On
2953
+ in: header
2954
+ description: Sets the created-on timestamp for the newly created record.
2955
+ required: true
2956
+ schema:
2957
+ type: string
2958
+ format: date-time
2959
+
2960
+ responseFields:
2961
+ in: query
2962
+ name: fields
2963
+ description: Returns the requested fields in the PickedResponse object.
2964
+ required: true
2965
+ schema:
2966
+ type: array
2967
+ minItems: 1
2968
+ items:
2969
+ $ref: '#/components/schemas/ResponseField'
2970
+
2971
+ requestFields:
2972
+ in: query
2973
+ name: fields
2974
+ description: Returns the requested fields in the PickedRequest object.
2975
+ required: true
2976
+ schema:
2977
+ type: array
2978
+ minItems: 1
2979
+ items:
2980
+ $ref: '#/components/schemas/RequestField'
2981
+
2982
+ responses:
2983
+ Ping:
2984
+ description: Operation successful.
2985
+ content:
2986
+ application/json:
2987
+ schema:
2988
+ $ref: '#/components/schemas/Ping'
2989
+
2990
+ ServerError:
2991
+ description: Operation unsuccessful.
2992
+ content:
2993
+ application/json:
2994
+ schema:
2995
+ $ref: '#/components/schemas/Error'
2996
+ headers:
2997
+ Created-On:
2998
+ description: The created-on timestamp for the record.
2999
+ required: true
3000
+ schema:
3001
+ type: string
3002
+ format: date-time
3003
+
3004
+ Updated-On:
3005
+ description: The updated-on timestamp for the existing record.
3006
+ required: true
3007
+ schema:
3008
+ type: string
3009
+ format: date-time