# Perform return or postAuth secondary transactions

Use this to perform a subsequent transaction, e.g. postAuth or return using an order ID as a reference.

# OpenAPI definition

```json
{
  "openapi": "3.0.2",
  "info": {
    "version": "23.2.0",
    "title": "Payments API Reference",
    "description": "The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://natwestpayments-api-docs.readme.io/docs/overview.",
    "termsOfService": "https://www.tylbynatwest.com/website-terms"
  },
  "servers": [
    {
      "url": "https://prod.emea.api.fiservapps.com/sandbox/ipp/payments-gateway/v2",
      "description": "Sandbox Environment"
    },
    {
      "url": "https://prod.emea.api.fiservapps.com/ipp/payments-gateway/v2",
      "description": "Production Environment"
    }
  ],
  "tags": [
    {
      "name": "Order",
      "description": "Order"
    }
  ],
  "paths": {
    "/orders/{order-id}": {
      "post": {
        "tags": [
          "Order"
        ],
        "security": [
          {
            "Api-Key": []
          }
        ],
        "x-proxy-name": "Order-Based Secondary Transactions",
        "summary": "Perform return or postAuth secondary transactions",
        "description": "Use this to perform a subsequent transaction, e.g. postAuth or return using an order ID as a reference.",
        "operationId": "submitSecondaryTransactionFromOrder",
        "parameters": [
          {
            "$ref": "#/components/parameters/ContentTypeParam"
          },
          {
            "$ref": "#/components/parameters/ClientRequestIdParam"
          },
          {
            "$ref": "#/components/parameters/ApiKeyParam"
          },
          {
            "$ref": "#/components/parameters/TimestampParam"
          },
          {
            "$ref": "#/components/parameters/MessageSignatureParam"
          },
          {
            "$ref": "#/components/parameters/OrderIdParam"
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/SecondaryTransaction"
        },
        "responses": {
          "200": {
            "description": "Success response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TransactionResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthenticated"
          },
          "403": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/TransactionGatewayDeclined"
          },
          "422": {
            "$ref": "#/components/responses/TransactionEndpointDeclined"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          },
          "502": {
            "$ref": "#/components/responses/EndpointCommunicationError"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "Api-Key": {
        "name": "Api-Key",
        "type": "apiKey",
        "in": "header",
        "description": "Authorization value in header (obtain from developer portal)"
      }
    },
    "parameters": {
      "ContentTypeParam": {
        "name": "Content-Type",
        "schema": {
          "type": "string",
          "enum": [
            "application/json"
          ],
          "default": "application/json"
        },
        "in": "header",
        "required": true,
        "description": "Content type."
      },
      "ClientRequestIdParam": {
        "name": "Client-Request-Id",
        "schema": {
          "type": "string"
        },
        "in": "header",
        "required": true,
        "description": "A client-generated ID for request tracking and signature creation, unique per request.  This is also used for idempotency control. We recommend 128-bit UUID format."
      },
      "ApiKeyParam": {
        "name": "Api-Key",
        "schema": {
          "type": "string"
        },
        "in": "header",
        "required": true,
        "description": "Key given to merchant after boarding associating their requests with the appropriate app in Apigee."
      },
      "TimestampParam": {
        "name": "Timestamp",
        "schema": {
          "type": "integer",
          "format": "int64"
        },
        "in": "header",
        "required": true,
        "description": "Epoch timestamp in milliseconds in the request from a client system. Used for Message Signature generation and time limit (5 mins)."
      },
      "MessageSignatureParam": {
        "name": "Message-Signature",
        "schema": {
          "type": "string"
        },
        "in": "header",
        "required": true,
        "description": "Used to ensure the request has not been tampered with during transmission. The Message-Signature is the Base64 encoded HMAC hash (SHA256 algorithm with the API Secret as the key.) For more information, refer to the supporting documentation on the Developer Portal.",
        "x-link": {
          "name": "How to Create Message Signature",
          "link": "https://natwestpayments-api-docs.readme.io/docs/generate-a-message-signature"
        }
      },
      "OrderIdParam": {
        "name": "order-id",
        "schema": {
          "type": "string"
        },
        "in": "path",
        "required": true,
        "description": "Gateway order identifier as returned in the parameter orderId."
      }
    },
    "responses": {
      "BadRequest": {
        "description": "The request cannot be validated.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        }
      },
      "Unauthenticated": {
        "description": "The request cannot be authenticated or was submitted with the wrong credentials.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        }
      },
      "Unauthorized": {
        "description": "The request was unauthorized.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        }
      },
      "NotFound": {
        "description": "The requested resource doesn't exist.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        }
      },
      "ServerError": {
        "description": "An unexpected internal server error occurred.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        }
      },
      "EndpointCommunicationError": {
        "description": "There was a problem communicating with the endpoint.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        }
      },
      "TransactionGatewayDeclined": {
        "description": "The attempted action is not valid according to gateway rules. For example, the merchant is not set-up or the order already exists.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/TransactionErrorResponse"
            }
          }
        }
      },
      "TransactionEndpointDeclined": {
        "description": "The processor declined the transaction.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/TransactionErrorResponse"
            }
          }
        }
      }
    },
    "requestBodies": {
      "SecondaryTransaction": {
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/SecondaryTransactionGroup"
            }
          }
        },
        "required": true,
        "description": "Accepted request types: PostAuthTransaction, VoidTransaction, VoidPreAuthTransactions, ReturnTransaction and PreAuthSecondaryTransaction."
      }
    },
    "schemas": {
      "SecondaryTransactionGroup": {
        "x-hide-model": true,
        "type": "object",
        "oneOf": [
          {
            "$ref": "#/components/schemas/PostAuthTransaction"
          },
          {
            "$ref": "#/components/schemas/VoidTransaction"
          },
          {
            "$ref": "#/components/schemas/VoidPreAuthTransactions"
          },
          {
            "$ref": "#/components/schemas/ReturnTransaction"
          },
          {
            "$ref": "#/components/schemas/PreAuthSecondaryTransaction"
          }
        ],
        "discriminator": {
          "propertyName": "requestType",
          "mapping": {
            "PostAuthTransaction": "#/components/schemas/PostAuthTransaction",
            "VoidTransaction": "#/components/schemas/VoidTransaction",
            "VoidPreAuthTransactions": "#/components/schemas/VoidPreAuthTransactions",
            "ReturnTransaction": "#/components/schemas/ReturnTransaction",
            "PreAuthSecondaryTransaction": "#/components/schemas/PreAuthSecondaryTransaction"
          }
        }
      },
      "BasicResponse": {
        "description": "Contains apiTraceId and clientRequestId shared in all response types.",
        "properties": {
          "clientRequestId": {
            "description": "Echoes back the value in the request header for tracking.",
            "type": "string",
            "example": "30dd879c-ee2f-11db-8314-0800200c9a66"
          },
          "apiTraceId": {
            "description": "Request identifier in API, can be used to request logs from the support team.",
            "type": "string",
            "example": "rrt-0bd552c12342d3448-b-ea-1142-12938318-7"
          },
          "responseType": {
            "$ref": "#/components/schemas/ResponseType"
          },
          "type": {
            "description": "Request object name, used to discriminate which object the request body is resolved to.",
            "type": "string"
          }
        },
        "discriminator": {
          "propertyName": "type",
          "mapping": {
            "errorResponse": "#/components/schemas/ErrorResponse",
            "orderResponse": "#/components/schemas/OrderResponse",
            "paymentTokenUpdateResponse": "#/components/schemas/PaymentTokenUpdateResponse",
            "paymentTokenizationResponse": "#/components/schemas/PaymentTokenizationResponse",
            "paymentSchedulesResponse": "#/components/schemas/PaymentSchedulesResponse",
            "transactionResponse": "#/components/schemas/TransactionResponse",
            "cardInfoLookupResponse": "#/components/schemas/CardInfoLookupResponse",
            "paymentBrandResponse": "#/components/schemas/PaymentBrandResponse",
            "availableIsoCountriesResponse": "#/components/schemas/AvailableIsoCountriesResponse",
            "managedRedirectResponse": "#/components/schemas/ManagedRedirectResponse",
            "getGuestCheckoutTokenCryptogramResponse": "#/components/schemas/GetGuestCheckoutTokenCryptogramResponse",
            "getNetworkTokenCryptogramResponse": "#/components/schemas/GetNetworkTokenCryptogramResponse"
          }
        }
      },
      "ErrorResponse": {
        "description": "Response containing an error object.",
        "allOf": [
          {
            "$ref": "#/components/schemas/BasicResponse"
          },
          {
            "properties": {
              "error": {
                "$ref": "#/components/schemas/Error"
              }
            }
          }
        ]
      },
      "TransactionErrorResponse": {
        "description": "Transaction response with error field included.",
        "allOf": [
          {
            "$ref": "#/components/schemas/TransactionResponse"
          },
          {
            "properties": {
              "error": {
                "$ref": "#/components/schemas/Error"
              }
            }
          }
        ]
      },
      "OrderResponse": {
        "description": "Common object for primary and secondary payment request responses.",
        "allOf": [
          {
            "$ref": "#/components/schemas/BasicResponse"
          },
          {
            "properties": {
              "orderId": {
                "description": "Note - Client Order ID if supplied by client. If not supplied by client, the gateway will generate. The first 12 alphanumeric digits are passed down to the reporting tool, Clientline and Data File Manager (DFM).",
                "type": "string",
                "example": "123456"
              },
              "numberOfInstallments": {
                "description": "Number of instalments for a sale transaction if the customer pays the total amount in multiple transactions.",
                "type": "integer",
                "format": "int32",
                "minimum": 1,
                "maximum": 99,
                "example": 3
              },
              "billing": {
                "$ref": "#/components/schemas/Billing"
              },
              "shipping": {
                "$ref": "#/components/schemas/Shipping"
              },
              "transactions": {
                "description": "Required for some payment methods.",
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/TransactionResponse"
                },
                "example": [
                  {
                    "transactionState": "AUTHORIZED",
                    "ipgTransactionId": "838916029301",
                    "transactionType": "SALE",
                    "transactionAmount": {
                      "total": 10.24,
                      "currency": "GBP"
                    },
                    "storeId": "1109959991"
                  }
                ]
              },
              "additionalDetails": {
                "$ref": "#/components/schemas/AdditionalDetails"
              }
            },
            "example": {
              "orderId": "123456",
              "billing": {
                "name": "John Doe",
                "customerId": "1234567890",
                "address": {
                  "address1": "123 Main St.",
                  "city": "Sandy Springs",
                  "region": "Georgia",
                  "postalCode": "30303",
                  "country": "USA"
                }
              },
              "shipping": {
                "name": "John Doe",
                "contact": {
                  "phone": "5555555555",
                  "mobilePhone": "5555555555",
                  "email": "john@test.com"
                },
                "address": {
                  "address1": "123 Main St.",
                  "city": "Sandy Springs",
                  "region": "Georgia",
                  "postalCode": "30303",
                  "country": "USA"
                }
              },
              "mandate": {
                "reference": "3RBQVEE",
                "url": "https://www.google.com",
                "signatureDate": "2017-07-15",
                "type": "SINGLE"
              }
            }
          }
        ]
      },
      "PaymentTokenUpdateResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BasicResponse"
          },
          {
            "properties": {
              "requestStatus": {
                "description": "The status of the request.",
                "type": "string",
                "enum": [
                  "FAILED",
                  "SUCCESS",
                  "PARTIAL_SUCCESS"
                ],
                "example": "SUCCESS"
              },
              "requestTime": {
                "description": "Time of the request.",
                "type": "integer",
                "format": "int64",
                "example": 1554308829345
              },
              "errors": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "example": {
              "requestStatus": "PARTIAL_SUCCESS",
              "requestTime": 1554308829345,
              "errors": [
                {
                  "message": "HOSTED_DATA_ID4773410890807324. Invalid credit card number: CreditCard [cardNumber=4773410...7324, expirationMonth=12, expirationYear=2026"
                },
                {
                  "message": "HOSTED_DATA_ID4773410888998888. Invalid credit card number: CreditCard [cardNumber=4773410...8888, expirationMonth=12, expirationYear=2026"
                }
              ]
            }
          }
        ]
      },
      "PaymentTokenizationResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BasicResponse"
          },
          {
            "properties": {
              "requestStatus": {
                "description": "The status of the request.",
                "type": "string",
                "enum": [
                  "DELETED",
                  "FAILED",
                  "SUCCESS",
                  "APPROVED",
                  "WAITING",
                  "VALIDATION_FAILED",
                  "DECLINED"
                ],
                "example": "DELETED"
              },
              "requestTime": {
                "description": "Time of the request.",
                "type": "integer",
                "format": "int64",
                "example": 1554308829345
              },
              "brand": {
                "description": "Card brand.",
                "type": "string",
                "example": "VISA"
              },
              "country": {
                "description": "Country of the card issued.",
                "type": "string",
                "example": "Germany"
              },
              "paymentToken": {
                "$ref": "#/components/schemas/PaymentTokenDetails"
              },
              "paymentCard": {
                "$ref": "#/components/schemas/PaymentCard"
              },
              "networkToken": {
                "$ref": "#/components/schemas/NetworkToken"
              },
              "processor": {
                "$ref": "#/components/schemas/ProcessorData"
              },
              "tokenAlias": {
                "$ref": "#/components/schemas/TokenAlias"
              },
              "orderId": {
                "description": "Note - Client Order ID if supplied by client. If not supplied by client, the gateway will generate. The first 12 alphanumeric digits are passed down to the reporting tool, Clientline and Data File Manager (DFM).",
                "type": "string",
                "example": "R-44df6542-ae0b-4415-88e8-7f3e62cc9e5d"
              },
              "ipgTransactionId": {
                "description": "The response transaction ID.",
                "type": "string",
                "maxLength": 14,
                "example": "838916029301"
              },
              "merchantTransactionId": {
                "description": "The unique merchant transaction ID from the request header, if supplied.",
                "type": "string",
                "maxLength": 40,
                "example": "lsk23532djljff3"
              },
              "additionalResponseData": {
                "$ref": "#/components/schemas/AdditionalResponseData"
              }
            },
            "example": {
              "requestStatus": "DELETED",
              "requestTime": 1554308829345,
              "brand": "VISA",
              "country": "Germany",
              "paymentToken": {
                "value": "234ljl124l12",
                "reusable": true,
                "declineDuplicates": false,
                "last4": "4997",
                "brand": "VISA",
                "accountVerification": true,
                "type": "PAYMENT_CARD",
                "networkTokenProvisionStatus": "QUEUED"
              },
              "paymentCard": {
                "number": "5424180279791732",
                "expiryDate": {
                  "month": "03",
                  "year": "21"
                },
                "securityCode": "977"
              },
              "networkToken": {
                "value": "2343446334644554",
                "expiryMonth": "12",
                "expiryYear": "24"
              },
              "processor": {
                "referenceNumber": "117011573",
                "authorizationCode": "OK1852",
                "responseCode": "00",
                "network": "DISC",
                "associationResponseCode": "000",
                "associationResponseMessage": "Requested function not supported",
                "responseMessage": "APPROVAL",
                "avsResponse": {
                  "streetMatch": "NO_INPUT_DATA",
                  "postalCodeMatch": "NO_INPUT_DATA",
                  "associationAvsResponse": "Y"
                },
                "securityCodeResponse": "MATCHED"
              },
              "orderId": "R-44df6542-ae0b-4415-88e8-7f3e62cc9e5d",
              "ipgTransactionId": "838916029301",
              "merchantTransactionId": "lsk23532djljff3"
            }
          }
        ]
      },
      "PaymentSchedulesResponse": {
        "description": "Response from the gateway scheduler creation call.",
        "allOf": [
          {
            "$ref": "#/components/schemas/BasicResponse"
          },
          {
            "properties": {
              "requestStatus": {
                "description": "Result of requested operation. If it's anything other than 'SUCCESS', please refer to 400s HTTP error codes or decline. See Error object for details.",
                "type": "string",
                "enum": [
                  "SUCCESS",
                  "VALIDATION_FAILED",
                  "PROCESSING_FAILED",
                  "FAILURE",
                  "DECLINED"
                ],
                "example": "SUCCESS"
              },
              "orderId": {
                "description": "Note - Client Order ID if supplied by client. If not supplied by client, the gateway will generate. The first 12 alphanumeric digits are passed down to the reporting tool, Clientline and Data File Manager (DFM).",
                "type": "string",
                "example": "123456"
              },
              "userId": {
                "type": "string",
                "description": "This is the store's userID (not store-id) from where the product was purchased.",
                "maxLength": 128,
                "example": "1001"
              },
              "state": {
                "$ref": "#/components/schemas/RecurringPaymentState"
              },
              "transactionResponse": {
                "$ref": "#/components/schemas/TransactionResponse"
              }
            }
          }
        ],
        "example": {
          "clientRequestId": "30dd879c-ee2f-11db-8314-0800200c9a66",
          "apiTraceId": "rrt-0bd552c12342d3448-b-ea-1142-12938318-7",
          "requestStatus": "SUCCESS",
          "orderId": "ABC12345"
        }
      },
      "TransactionResponse": {
        "description": "Common object for primary and secondary payment request responses.",
        "allOf": [
          {
            "$ref": "#/components/schemas/BasicResponse"
          },
          {
            "properties": {
              "ipgTransactionId": {
                "description": "The response transaction ID.",
                "type": "string",
                "example": "838916029301"
              },
              "orderId": {
                "description": "Note - Client Order ID if supplied by client. If not supplied by client, the gateway will generate. The first 12 alphanumeric digits are passed down to the reporting tool, Clientline and Data File Manager (DFM).",
                "type": "string",
                "example": "123456"
              },
              "userId": {
                "type": "string",
                "description": "This is the store's userID (not store-id) from where the product was purchased.",
                "maxLength": 128,
                "example": "1001"
              },
              "transactionType": {
                "$ref": "#/components/schemas/TransactionType"
              },
              "paymentToken": {
                "$ref": "#/components/schemas/PaymentTokenDetails"
              },
              "transactionOrigin": {
                "$ref": "#/components/schemas/TransactionOrigin"
              },
              "paymentMethodDetails": {
                "$ref": "#/components/schemas/PaymentMethodDetails"
              },
              "accountVerificationResponse": {
                "$ref": "#/components/schemas/AccountVerificationResponse"
              },
              "country": {
                "description": "Country of the card issuer.",
                "type": "string",
                "example": "USA"
              },
              "terminalId": {
                "description": "The terminal that is processing the transaction.",
                "type": "string",
                "example": "123456"
              },
              "merchantId": {
                "description": "The unique (on Acquirer level) mechant ID. Usually this value has been chosen from the merchant itself and will be used in communication with the endpoint.",
                "type": "string",
                "maxLength": 30,
                "example": "199950008"
              },
              "merchantTransactionId": {
                "description": "The unique merchant transaction ID from the request header, if supplied.",
                "type": "string",
                "maxLength": 40,
                "example": "lsk23532djljff3"
              },
              "transactionTime": {
                "description": "The transaction time in seconds since epoch.",
                "type": "integer",
                "format": "int64",
                "example": 1518811817
              },
              "approvedAmount": {
                "$ref": "#/components/schemas/TransactionAmount"
              },
              "transactionAmount": {
                "$ref": "#/components/schemas/TransactionAmount"
              },
              "transactionStatus": {
                "description": "This field is Deprecated. Point to 'transactionResult'.",
                "type": "string",
                "enum": [
                  "APPROVED",
                  "WAITING",
                  "PARTIAL",
                  "VALIDATION_FAILED",
                  "PROCESSING_FAILED",
                  "DECLINED"
                ],
                "example": "APPROVED"
              },
              "transactionResult": {
                "description": "This is the result of the operation, unless transaction status that represent financial status of the transaction, this fields helps us to understand if the operation is successfully executed",
                "type": "string",
                "enum": [
                  "APPROVED",
                  "DECLINED",
                  "FAILED",
                  "WAITING",
                  "PARTIAL",
                  "FRAUD"
                ],
                "example": "APPROVED"
              },
              "approvalCode": {
                "description": "Shows the transaction approvalcode.",
                "type": "string",
                "example": "N:-30031:No terminal setup"
              },
              "schemeResponseCode": {
                "description": "Shows the Scheme Response Code.",
                "type": "string",
                "example": "33"
              },
              "errorMessage": {
                "description": "Shows the transaction errorMessage.",
                "type": "string",
                "example": "000100: Tx was processed but response was not stored correctly"
              },
              "transactionState": {
                "description": "Shows the state of the current transaction.",
                "type": "string",
                "enum": [
                  "AUTHORIZED",
                  "CAPTURED",
                  "DECLINED",
                  "CHECKED",
                  "COMPLETED_GET",
                  "INITIALIZED",
                  "PENDING",
                  "READY",
                  "TEMPLATE",
                  "SETTLED",
                  "VOIDED",
                  "WAITING"
                ],
                "example": "AUTHORIZED"
              },
              "paymentAccountReferenceNumber": {
                "description": "Payment Account Reference Number from response, if supplied.",
                "type": "string",
                "maxLength": 30,
                "example": "1234001AB101112131415161718CV"
              },
              "secure3dResponse": {
                "$ref": "#/components/schemas/Secure3dResponse"
              },
              "standinResponseDetails": {
                "$ref": "#/components/schemas/StandinResponseDetails"
              },
              "redirectURL": {
                "description": "The endpoint redirection URL.",
                "type": "string",
                "example": "http://pay.issuer-bank.com/sessionID=123&sharedKey=456"
              },
              "authenticationResponse": {
                "$ref": "#/components/schemas/Secure3DAuthenticationResponse"
              },
              "schemeTransactionId": {
                "description": "The transaction ID received from schemes for the initial transaction of card on file flows.",
                "type": "string",
                "maxLength": 40,
                "example": "019078743804756"
              },
              "transactionLinkIdentifier": {
                "description": "The unique Identifier sent from scheme to link all transactions for single order.",
                "type": "string",
                "maxLength": 36,
                "example": "01236548543965"
              },
              "processor": {
                "$ref": "#/components/schemas/ProcessorData"
              },
              "additionalDetails": {
                "$ref": "#/components/schemas/AdditionalTransactionDetails"
              },
              "requiredActions": {
                "$ref": "#/components/schemas/RequiredActions"
              },
              "networkToken": {
                "$ref": "#/components/schemas/NetworkToken"
              },
              "emvData": {
                "description": "It includes the EMV data from the issuer response and it is Base64 encoded.",
                "type": "string",
                "maxLength": 10000
              },
              "selectedInstallmentPlan": {
                "$ref": "#/components/schemas/InstallmentPlan"
              }
            }
          }
        ],
        "example": {
          "clientRequestId": "30dd879c-ee2f-11db-8314-0800200c9a66",
          "apiTraceId": "rrt-0c80a3403e2c2def0-d-ea-28805-6810951-2",
          "ipgTransactionId": "838916029301",
          "transactionType": "SALE",
          "transactionTime": 1518811817,
          "approvedAmount": {
            "total": 10.24,
            "currency": "GBP"
          },
          "transactionAmount": {
            "total": 10.24,
            "currency": "GBP",
            "components": {
              "subtotal": 8,
              "localTax": 1,
              "shipping": 1.24
            }
          },
          "transactionStatus": "APPROVED",
          "transactionResult": "APPROVED",
          "schemeTransactionId": "019078743804756",
          "processor": {
            "responseCode": "00",
            "responseMessage": "APPROVED",
            "authorizationCode": "OK7118"
          },
          "plannedDueDate": "2022-03-03",
          "requiredActions": {
            "requiredRedirectionData": {
              "url": "https://payment.thirdparty.com",
              "headerParameters": {
                "headerParam1": "value1",
                "headerParam2": "value2"
              },
              "method": "GET"
            },
            "requiredConsumerData": [
              {
                "hint": "Your 6-digit Code will be provided in your mobile application",
                "validationExpression": "^\\\\d{6}$",
                "key": "BLIK_CODE"
              }
            ],
            "requiredIntegrationData": [
              {
                "hint": "Payment requires the user agent information on the browser/device.",
                "key": "USER_AGENT"
              }
            ]
          }
        }
      },
      "RecurringPaymentDetails": {
        "description": "Details about existing gateway schedule.",
        "properties": {
          "storeId": {
            "description": "Store ID number.",
            "type": "string",
            "maxLength": 20,
            "example": "1109959991"
          },
          "purchaseOrderNumber": {
            "description": "Purchase order number.",
            "type": "string",
            "example": "123055342"
          },
          "invoiceNumber": {
            "description": "Invoice number.",
            "type": "string",
            "example": "96126098"
          },
          "additionalDetails": {
            "$ref": "#/components/schemas/AdditionalDetails"
          },
          "creationDate": {
            "description": "This field should contain the date when recurring payment was created. The date can either the format Tue Jul 14 13:40:26 IST 2020 or YYYY/MM/DD.",
            "type": "string",
            "example": "Tue Jul 14 13:40:26 IST 2020"
          },
          "startDate": {
            "description": "In this field, the date of signature of the mandate must be in either the format Tue Jul 14 13:40:26 IST 2020 or YYYY/MM/DD.",
            "type": "string",
            "example": "Tue Jul 14 13:40:26 IST 2020"
          },
          "nextAttemptDate": {
            "description": "Next transaction process attempt date should be in either the format Tue Jul 14 13:40:26 IST 2020 or YYYY/MM/DD.",
            "type": "string",
            "example": "Tue Jul 14 13:40:26 IST 2020"
          },
          "transactionAmount": {
            "$ref": "#/components/schemas/Amount"
          },
          "paymentMethodDetails": {
            "$ref": "#/components/schemas/PaymentMethodDetails"
          },
          "frequency": {
            "$ref": "#/components/schemas/Frequency"
          },
          "numberOfPayments": {
            "description": "Number of times the recurring payment will process.",
            "type": "integer",
            "format": "int32",
            "minimum": 1,
            "maximum": 999,
            "example": 10
          },
          "runCount": {
            "description": "Times the recurring payment has already run.",
            "type": "integer",
            "format": "int32",
            "minimum": 0,
            "maximum": 999,
            "example": 10
          },
          "state": {
            "$ref": "#/components/schemas/RecurringPaymentState"
          },
          "additionalRecurringData": {
            "$ref": "#/components/schemas/AdditionalRecurringData"
          },
          "comments": {
            "description": "User supplied comments.",
            "type": "string",
            "example": "This scheduled payment series is to pay for the thing."
          }
        },
        "example": {
          "storeId": "1109959991",
          "invoiceNumber": "96126098",
          "creationDate": "2018-10-25",
          "startDate": "2018-10-25",
          "transactionAmount": {
            "total": 10.24,
            "currency": "GBP"
          },
          "frequency": {
            "every": 3,
            "unit": "DAY"
          },
          "numberOfPayments": 10,
          "runCount": 3,
          "state": "Installed",
          "comments": "This scheduled payment series is to pay for the thing."
        }
      },
      "Frequency": {
        "description": "How often payments are sent.",
        "required": [
          "every",
          "unit"
        ],
        "properties": {
          "every": {
            "description": "Rate of frequency.",
            "type": "integer",
            "format": "int32",
            "minimum": 1,
            "maximum": 1000,
            "example": 10
          },
          "unit": {
            "description": "Unit which defines the frequency.",
            "type": "string",
            "enum": [
              "DAY",
              "WEEK",
              "MONTH",
              "YEAR"
            ],
            "example": "MONTH"
          }
        },
        "example": {
          "every": 3,
          "unit": "DAY"
        }
      },
      "ClientLocale": {
        "description": "Country and language of client.",
        "required": [
          "language",
          "country"
        ],
        "properties": {
          "language": {
            "description": "Language used by client.",
            "type": "string",
            "pattern": "^(?!\\s*$).+",
            "example": "en"
          },
          "country": {
            "description": "Country of the client.",
            "type": "string",
            "pattern": "^(?!\\s*$).+",
            "example": "GB"
          }
        },
        "example": {
          "language": "en",
          "country": "GB"
        }
      },
      "PaymentTokenDetails": {
        "description": "Response details for payment token creation.",
        "allOf": [
          {
            "$ref": "#/components/schemas/CreatePaymentToken"
          },
          {
            "type": "object",
            "properties": {
              "last4": {
                "description": "The last 4 numbers of a payment card.",
                "type": "string",
                "example": "4997"
              },
              "brand": {
                "description": "Card brand, only for tokenization with payment.",
                "type": "string",
                "example": "VISA"
              },
              "accountVerification": {
                "description": "If the account the token was created from has been verified.",
                "type": "boolean",
                "example": true
              },
              "type": {
                "description": "Indicates the type of tokenization source.",
                "type": "string",
                "example": "PAYMENT_CARD"
              },
              "networkTokenProvisionStatus": {
                "$ref": "#/components/schemas/NetworkTokenProvisionStatus"
              },
              "error": {
                "$ref": "#/components/schemas/Error"
              }
            }
          }
        ],
        "example": {
          "value": "234ljl124l12",
          "reusable": true,
          "declineDuplicates": false,
          "last4": "4997",
          "brand": "VISA",
          "accountVerification": true,
          "type": "PAYMENT_CARD",
          "networkTokenProvisionStatus": "QUEUED"
        }
      },
      "CreatePaymentToken": {
        "description": "Use this model to create a payment token.",
        "properties": {
          "value": {
            "description": "Client-supplied payment token value. Only applicable for DataVault tokenization scheme.",
            "type": "string",
            "example": "234ljl124l12"
          },
          "reusable": {
            "description": "If the token is reusable.",
            "type": "boolean",
            "default": true,
            "example": true
          },
          "declineDuplicates": {
            "description": "Decline duplicate payment info if client token is supplied.",
            "type": "boolean",
            "default": false,
            "example": false
          },
          "customWalletRegistration": {
            "$ref": "#/components/schemas/CustomWalletRegistration"
          }
        },
        "example": {
          "value": "234ljl124l12",
          "reusable": true,
          "declineDuplicates": false,
          "customWalletRegistration": {
            "walletType": "BANCONTACT_WALLET",
            "authenticationMethods": [
              "USERNAME_PASSWORD_PIN"
            ]
          }
        }
      },
      "CardFunction": {
        "description": "Card function. This field is required when performing transactions for Brazil merchants.",
        "type": "string",
        "enum": [
          "CREDIT",
          "DEBIT",
          "PREPAID",
          "VOUCHER",
          "UNDEFINED"
        ],
        "example": "DEBIT"
      },
      "EncryptionType": {
        "description": "This field provides information about encryption type which has been used by merchant to encrypt original card data.",
        "type": "string",
        "enum": [
          "JWE"
        ],
        "example": "JWE"
      },
      "NetworkTokenProvisionStatus": {
        "description": "This field provides the status of the NetworkToken being provisioned for the supplied PAN.",
        "type": "string",
        "enum": [
          "REQUESTED",
          "PROVISIONED",
          "QUEUED"
        ],
        "example": "QUEUED"
      },
      "ResponseType": {
        "description": "The type of the response.",
        "type": "string",
        "enum": [
          "BadRequest",
          "Unauthenticated",
          "Unauthorized",
          "NotFound",
          "GatewayDeclined",
          "EndpointDeclined",
          "ServerError",
          "EndpointCommunicationError",
          "UnsupportedMediaType"
        ],
        "example": "Unauthenticated"
      },
      "ProcessorData": {
        "description": "Model for processor data.",
        "properties": {
          "referenceNumber": {
            "description": "Reference transaction ID.",
            "type": "string",
            "example": "811720726601"
          },
          "authorizationCode": {
            "description": "Code returned to confirm transaction.",
            "type": "string",
            "example": "OK7118"
          },
          "responseCode": {
            "description": "Response code from endpoints.",
            "type": "string",
            "example": "00"
          },
          "network": {
            "description": "Network used for transaction.",
            "type": "string",
            "example": "NYCE"
          },
          "associationResponseCode": {
            "description": "Raw response code from issuer.",
            "type": "string",
            "example": "000"
          },
          "associationResponseMessage": {
            "description": "Indicates the processor association message.",
            "type": "string",
            "example": "Requested function not supported"
          },
          "responseMessage": {
            "description": "Message returned from endpoints.",
            "type": "string",
            "example": "Amount specified exceeds allowable limit."
          },
          "avsResponse": {
            "$ref": "#/components/schemas/AVSResponse"
          },
          "cardholderInfoResponse": {
            "$ref": "#/components/schemas/CardholderInfoResponse"
          },
          "securityCodeResponse": {
            "description": "Code returned for CVV.",
            "type": "string",
            "enum": [
              "MATCHED",
              "NOT_MATCHED",
              "NOT_PROCESSED",
              "NOT_PRESENT",
              "NOT_CERTIFIED",
              "NOT_CHECKED"
            ],
            "example": "NOT_MATCHED"
          },
          "merchantAdviceCodeIndicator": {
            "description": "Code to map merchant advice code to ISO specification.",
            "type": "string",
            "pattern": "[0-9]{2}",
            "example": "01"
          },
          "merchantAdviceMessage": {
            "description": "Information about the merchant advice code.",
            "type": "string",
            "example": "The issuer recognizes the product as a consumer non-reloadable prepaid card"
          },
          "paymentAccountReferenceNumber": {
            "description": "Information about the payment account Reference number.",
            "type": "string",
            "example": "0846343434"
          },
          "responseIndicator": {
            "description": "Indicates whether the transaction was routed through the payment card's own network or through a different network.",
            "type": "string",
            "example": "0100"
          },
          "debitReceiptNumber": {
            "description": "Receipt number from debit network provider.",
            "type": "string",
            "example": "123456"
          },
          "transactionIntegrityClass": {
            "description": "MasterCard provided Transaction Integrity Class for Point of Sale (POS) Purchase and Purchase with Cash Back transactions initiated on the Authorization Platform.",
            "type": "string",
            "example": "A1"
          },
          "taxRefundData": {
            "$ref": "#/components/schemas/TaxRefundData"
          }
        },
        "example": {
          "responseCode": "00",
          "responseMessage": "APPROVED",
          "authorizationCode": "OK7118",
          "network": "NYCE"
        }
      },
      "Error": {
        "description": "Error information.",
        "properties": {
          "code": {
            "description": "Uniquely identifies an error condition. Client applications need to read and handle errors based on this.",
            "type": "string",
            "example": "2303"
          },
          "message": {
            "description": "A generic description of the error condition.",
            "type": "string",
            "example": "Invalid credit card number"
          },
          "details": {
            "description": "Detailed information about message format errors.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErrorDetails"
            }
          },
          "declineReasonCode": {
            "description": "Information about the decline reason.",
            "type": "string",
            "example": "Do not try again"
          }
        },
        "example": {
          "code": "2303",
          "message": "Invalid credit card number"
        }
      },
      "ErrorDetails": {
        "description": "Detailed information about message format errors.",
        "type": "object",
        "properties": {
          "field": {
            "description": "The property or attribute associated with the error.",
            "type": "string",
            "example": "PaymentCard.number"
          },
          "message": {
            "description": "Information specific to a property or attribute.",
            "type": "string",
            "example": "may not be null"
          }
        }
      },
      "AdditionalDetails": {
        "description": "Merchant supplied tracking numbers.",
        "properties": {
          "merchantParameters": {
            "$ref": "#/components/schemas/MerchantParameters"
          },
          "comments": {
            "description": "Comments for the payment.",
            "type": "string",
            "maxLength": 1024,
            "example": "This is a comment"
          },
          "invoiceNumber": {
            "description": "Invoice number.",
            "type": "string",
            "maxLength": 48,
            "example": "551294633441"
          },
          "invoicePeriod": {
            "description": "Invoice period in format month/year (MM/yy).",
            "type": "string",
            "maxLength": 5,
            "pattern": "(0[1-9]|1[0-2])[/][0-9][0-9]",
            "example": "12/21"
          },
          "purchaseOrderNumber": {
            "description": "Purchase order number.",
            "type": "string",
            "maxLength": 128,
            "example": "1223456"
          },
          "mrchntRefData": {
            "description": "Merchant Reference Data 2.",
            "type": "string",
            "maxLength": 30,
            "example": "1223456"
          },
          "emiAccountInformation": {
            "$ref": "#/components/schemas/EmiAccountInformation"
          },
          "operatorId": {
            "description": "The operator ID.",
            "type": "string",
            "maxLength": 35,
            "pattern": "^\\S$|^\\S.*\\S$"
          },
          "salesSystemId": {
            "description": "The sales system ID.",
            "type": "string",
            "maxLength": 50,
            "pattern": "^\\S$|^\\S.*\\S$"
          },
          "ipgDeferredAuth": {
            "description": "Indicates if the particular transaction is a deferred authorization.",
            "type": "boolean",
            "example": true
          },
          "highRiskPurchaseIndicator": {
            "description": "this is highRiskPurchaseIndicator.",
            "type": "boolean",
            "example": true
          },
          "receipts": {
            "description": "Provides request information that is necessary to generate receipts.",
            "type": "array",
            "minItems": 1,
            "maxItems": 2,
            "items": {
              "$ref": "#/components/schemas/ReceiptRequestInfo"
            },
            "example": [
              {
                "type": "cardholder",
                "locale": "de-DE"
              },
              {
                "type": "merchant",
                "locale": "en",
                "linewidth": 32
              }
            ]
          },
          "scaExemptionType": {
            "description": "Strong customer authentication exemption type indicator.",
            "type": "string",
            "enum": [
              "Low Value Exemption",
              "TRA Exemption",
              "Trusted Merchant Exemption",
              "SCP Exemption",
              "Delegated Authentication",
              "Authentication Outage Exception"
            ],
            "example": "TRA Exemption"
          },
          "scaVisaMerchantID": {
            "description": "Eight-character Visa merchant identifier (VMID) assigned by Visa, required for trusted merchant and delegated authentication.",
            "type": "string",
            "maxLength": 8,
            "example": "12312311"
          },
          "businessApplicationIdentifier": {
            "description": "Indicates the indended use of the Account Funding Transaction. For Visa Only.",
            "type": "string",
            "enum": [
              "ACCOUNT_TO_ACCOUNT",
              "BANK_INITIATED_TRANSFER",
              "BUSINESS_TO_BUSINESS",
              "CARD_BILL_PAYMENT",
              "CASH_DEPOSIT",
              "CUSTOMER_BILL_PAYMENT",
              "FAST_REFUND",
              "FUNDS_DISBURSEMENT",
              "FUND_TRANSFER",
              "GAMBLING_PAYOUT",
              "GENERAL_FUNDS_DISBURSEMENT",
              "GOVERNMENT_DISBURSEMENT",
              "LIQUID_ASSETS",
              "LOYALTY_PAYMENTS",
              "MERCHANT_DISBURSEMENT",
              "MERCHANT_PAYMENT",
              "NON_CARD_BILL_PAYMENT",
              "ONLINE_GAMBLING_PAYOUT",
              "PAYROLL_OR_PENSION_DISBURSEMENT",
              "PERSON_TO_PERSON",
              "REQUEST_TO_PAY_SERVICE",
              "TOPUP_FOR_ENHANCED_PREPAID_LOADS",
              "WALLET_TRANSFER"
            ],
            "example": "ACCOUNT_TO_ACCOUNT"
          },
          "transactionTypeIdentifier": {
            "description": "Indicates the indended use of the Account Funding Transaction. For Mastercard Only.",
            "type": "string",
            "enum": [
              "AGENTS_CASH_OUT_MONEY_SEND",
              "AGENTS_CASH_OUT_MONEY_TRANSFER",
              "BUSINESS_DISBURSEMENT_MONEY_SEND",
              "BUSINESS_DISBURSEMENT_MONEY_TRANSFER",
              "BUSINESS_TO_BUSINESS_MONEY_SEND",
              "BUSINESS_TO_BUSINESS_MONEY_TRANSFER",
              "CARD_BILL_PAYMENT_MONEY_SEND",
              "CARD_BILL_PAYMENT_MONEY_TRANSFER",
              "CASH_IN_AT_ATM",
              "CASH_IN_AT_PO",
              "FAST_REFUND_TO_ORIGINAL_CARD",
              "GOVERNMENT_DISBURSEMENT_NONPROFIT",
              "OWN_ACCOUNT_MONEY_SEND",
              "OWN_ACCOUNT_MONEY_TRANSFER",
              "OWN_DEBIT_PREPAID_TRANSFER",
              "OWN_WALLET_TRANSFER",
              "OWN_WALLET_TRANSFER_MONEY_SEND",
              "PERSON_TO_PERSON_CARD_ACCOUNT",
              "PERSON_TO_PERSON_MONEY_SEND",
              "PERSON_TO_PERSON_MONEY_TRANSFER",
              "RAPID_MERCHANT_SETTLEMENT"
            ],
            "example": "BUSINESS_DISBURSEMENT_MONEY_SEND"
          },
          "marketplaceForeignRetailerIndicator": {
            "description": "set it to F if the retailer is located in a different country outside of the market place.",
            "type": "string",
            "maxLength": 1,
            "pattern": "(F|)",
            "example": "F"
          },
          "deviceIntelligence": {
            "$ref": "#/components/schemas/DeviceIntelligenceDetail"
          },
          "deferredPayment": {
            "description": "Indicates if the particular transaction is a deferred payment.",
            "type": "boolean",
            "example": true
          },
          "taxRefundRequestData": {
            "$ref": "#/components/schemas/TaxRefundRequestData"
          },
          "acceptorGeoCoordinates": {
            "description": "Geo Location of the Merchant Acquirer.",
            "$ref": "#/components/schemas/GeoLocation"
          }
        },
        "example": {
          "comments": "This is a comment",
          "invoiceNumber": "551294633441",
          "invoicePeriod": "12/19",
          "purchaseOrderNumber": "1223456",
          "operatorId": "OPERATOR_ID_123XXX",
          "salesSystemId": "W-EU-H3866-FLS2",
          "ipgDeferredAuth": true,
          "allowPartialApproval": true,
          "highRiskPurchaseIndicator": true,
          "receipts": [
            {
              "type": "cardholder",
              "locale": "fr"
            }
          ],
          "scaExemptionType": "Low Value Exemption",
          "scaVisaMerchantID": "12312311",
          "businessApplicationIdentifier": "ACCOUNT_TO_ACCOUNT",
          "transactionTypeIdentifier": "BUSINESS_DISBURSEMENT_MONEY_SEND",
          "marketplaceForeignRetailerIndicator": "F",
          "acceptorGeoCoordinates": {
            "latitude": 34.67676,
            "longitude": 34.67778
          }
        }
      },
      "EmiAccountInformation": {
        "description": "Account information required for EMI transactions",
        "properties": {
          "accountBin": {
            "description": "Account BIN information.",
            "type": "string",
            "example": "411111"
          },
          "accountLast4": {
            "description": "Last 4 digits of the account number",
            "type": "string",
            "maxLength": 4,
            "example": "4111"
          }
        }
      },
      "MerchantParameters": {
        "description": "To remain compliant the custom fields are not to be used to submit credit card detail or sensitive card holder information, please use the designated fields defined by the Gateway for this purpose.",
        "type": "string",
        "additionalProperties": {
          "type": "string"
        }
      },
      "DeviceIntelligenceDetail": {
        "description": "Device detail to be captured for fraud mitigation",
        "properties": {
          "vendor": {
            "description": "Vendor information of the device",
            "type": "string",
            "maxLength": 100
          },
          "sessionID": {
            "description": "Session id of the request",
            "type": "string",
            "maxLength": 100
          },
          "userAgent": {
            "description": "Device user agent",
            "type": "string",
            "maxLength": 100
          },
          "id": {
            "description": "Device ID that has been used",
            "type": "string",
            "maxLength": 100
          },
          "type": {
            "description": "Type of Device Used",
            "type": "string",
            "maxLength": 100
          },
          "operatingSystem": {
            "description": "OS of Device Used",
            "type": "string",
            "maxLength": 100
          },
          "model": {
            "description": "Model of Device Used",
            "type": "string",
            "maxLength": 100
          },
          "manufacturer": {
            "description": "Manufacturer of Device used",
            "type": "string",
            "maxLength": 100
          }
        }
      },
      "PostAuthTransaction": {
        "title": "PostAuthTransaction",
        "description": "Request to perform post auth transaction.",
        "allOf": [
          {
            "$ref": "#/components/schemas/SecondaryTransaction"
          },
          {
            "type": "object",
            "required": [
              "transactionAmount"
            ],
            "properties": {
              "transactionAmount": {
                "$ref": "#/components/schemas/Amount"
              },
              "transactionOrigin": {
                "$ref": "#/components/schemas/TransactionOrigin"
              },
              "splitShipment": {
                "$ref": "#/components/schemas/SplitShipment"
              },
              "softDescriptor": {
                "$ref": "#/components/schemas/SoftDescriptor"
              },
              "parDataRequested": {
                "$ref": "#/components/schemas/PaymentAccountReferenceFlag"
              }
            }
          }
        ],
        "example": {
          "requestType": "PostAuthTransaction",
          "transactionAmount": {
            "total": 12.04,
            "currency": "GBP"
          },
          "splitShipment": {
            "totalCount": 1,
            "finalShipment": true
          }
        }
      },
      "ReturnTransaction": {
        "title": "ReturnTransaction",
        "description": "Request to perform return transaction.",
        "allOf": [
          {
            "$ref": "#/components/schemas/SecondaryTransaction"
          },
          {
            "type": "object",
            "required": [
              "transactionAmount"
            ],
            "properties": {
              "transactionAmount": {
                "$ref": "#/components/schemas/Amount"
              },
              "softDescriptor": {
                "$ref": "#/components/schemas/SoftDescriptor"
              },
              "storedCredentials": {
                "$ref": "#/components/schemas/StoredCredential"
              }
            }
          }
        ],
        "example": {
          "requestType": "ReturnTransaction",
          "transactionAmount": {
            "total": 12.04,
            "currency": "GBP"
          }
        }
      },
      "VoidTransaction": {
        "title": "VoidTransaction",
        "description": "Request to perform void transaction.",
        "allOf": [
          {
            "$ref": "#/components/schemas/SecondaryTransaction"
          },
          {
            "type": "object",
            "properties": {
              "transactionAmount": {
                "$ref": "#/components/schemas/Amount"
              },
              "reversalReason": {
                "$ref": "#/components/schemas/ReversalReason"
              }
            }
          }
        ],
        "example": {
          "requestType": "VoidTransaction",
          "comments": "This is a comment"
        }
      },
      "VoidPreAuthTransactions": {
        "title": "VoidPreAuthTransactions",
        "description": "Request to perform a void of all authorizations associated with the current order. This request type is applicable for voiding preauth and incremental preauth transactions.",
        "allOf": [
          {
            "$ref": "#/components/schemas/SecondaryTransaction"
          },
          {
            "type": "object",
            "properties": {
              "reversalReason": {
                "$ref": "#/components/schemas/ReversalReason"
              }
            }
          }
        ],
        "example": {
          "requestType": "VoidPreAuthTransactions",
          "comments": "This is a comment"
        }
      },
      "PreAuthSecondaryTransaction": {
        "title": "PreAuthSecondaryTransaction",
        "description": "Request to perform pre-auth incremental secondary transaction without providing credit card information.",
        "allOf": [
          {
            "$ref": "#/components/schemas/SecondaryTransaction"
          },
          {
            "type": "object",
            "required": [
              "transactionAmount"
            ],
            "properties": {
              "transactionAmount": {
                "$ref": "#/components/schemas/Amount"
              },
              "decrementalFlag": {
                "$ref": "#/components/schemas/DecrementalPreAuthFlag"
              },
              "incrementalFlag": {
                "$ref": "#/components/schemas/IncrementalPreAuthFlag"
              }
            }
          }
        ],
        "example": {
          "requestType": "PreAuthSecondaryTransaction",
          "transactionAmount": {
            "total": "5.00",
            "currency": "GBP"
          },
          "decrementalFlag": false,
          "incrementalFlag": false
        }
      },
      "SecondaryTransaction": {
        "description": "Model for secondary financial transactions. Abstract class, do not use this class directly, use one of its children.",
        "required": [
          "requestType"
        ],
        "discriminator": {
          "propertyName": "requestType"
        },
        "properties": {
          "requestType": {
            "description": "Object name of the secondary transaction request.",
            "type": "string",
            "example": "PostAuthTransaction"
          },
          "storeId": {
            "description": "An optional outlet ID for clients that support multiple stores in the same developer app.",
            "type": "string",
            "maxLength": 20,
            "example": "12345500000"
          },
          "userId": {
            "type": "string",
            "description": "This is the store's userID (not store-id) from where the product was purchased.",
            "maxLength": 128,
            "example": "1001"
          },
          "merchantTransactionId": {
            "description": "The unique merchant transaction ID from the request, if supplied.",
            "type": "string",
            "maxLength": 40,
            "example": "lsk23532djljff3"
          },
          "comments": {
            "description": "Comment for the secondary transaction.",
            "type": "string",
            "example": "This is a comment"
          },
          "order": {
            "$ref": "#/components/schemas/Order"
          },
          "terminalId": {
            "description": "Unique identifier for the payment terminal where the transaction takes place.",
            "type": "string",
            "minLength": 6,
            "maxLength": 32,
            "example": 123456
          },
          "merchantId": {
            "description": "Unique identifier for the merchant conducting the transaction.",
            "type": "string",
            "minLength": 6,
            "maxLength": 32,
            "example": 123456
          }
        },
        "example": {
          "requestType": "ReturnTransaction",
          "transactionAmount": {
            "total": 3,
            "currency": "GBP"
          }
        }
      },
      "SplitShipment": {
        "description": "Split-shipment related information, in order to reuse the same authorization.",
        "properties": {
          "totalCount": {
            "description": "Total count of the shipment, can be set at preauth or the first postauth.",
            "type": "integer",
            "format": "int32",
            "example": 5
          },
          "finalShipment": {
            "description": "Indicates whether the transaction is the final shipment.",
            "type": "boolean",
            "default": false
          }
        },
        "example": {
          "totalCount": 1,
          "finalShipment": true
        }
      },
      "AdditionalTransactionDetails": {
        "description": "Additional transaction details for transaction response.",
        "properties": {
          "comments": {
            "description": "Comment for the payment.",
            "type": "string",
            "maxLength": 1024,
            "example": "This is a comment"
          },
          "invoiceNumber": {
            "description": "Invoice number.",
            "type": "string",
            "maxLength": 48,
            "example": "551294633441"
          },
          "purchaseOrderNumber": {
            "description": "Purchase order number.",
            "type": "string",
            "maxLength": 128,
            "example": "1223456"
          },
          "disbursementTransType": {
            "description": "The type of debit disbursement transaction.",
            "type": "string",
            "enum": [
              "FUNDING",
              "DISBURSEMENT"
            ],
            "example": "FUNDING"
          },
          "walletProvider": {
            "description": "The wallet provider type.",
            "type": "string",
            "enum": [
              "GOOGLE_PAY",
              "APPLE_PAY",
              "CLICK_TO_PAY"
            ],
            "example": "APPLE_PAY"
          },
          "receipts": {
            "description": "Provides receipt response data, if it has been requested.",
            "type": "array",
            "minItems": 1,
            "maxItems": 2,
            "items": {
              "$ref": "#/components/schemas/Receipt"
            },
            "example": [
              {
                "type": "cardholder",
                "data": [
                  {
                    "endOfLine": true,
                    "text": "--------------------------------"
                  },
                  {
                    "endOfLine": true,
                    "text": "              SALE              "
                  }
                ]
              },
              {
                "type": "merchant",
                "data": [
                  {
                    "endOfLine": true,
                    "text": "        Example Merchant        "
                  },
                  {
                    "endOfLine": true,
                    "text": "--------------------------------"
                  }
                ]
              }
            ]
          },
          "additionalResponseData": {
            "$ref": "#/components/schemas/AdditionalResponseData"
          }
        },
        "example": {
          "comments": "This is a comment",
          "invoiceNumber": "551294633441",
          "purchaseOrderNumber": "1223456"
        }
      },
      "AdditionalResponseData": {
        "description": "Additional Response Data.",
        "properties": {
          "issuingBankName": {
            "description": "Issuing Bank Name.",
            "type": "string",
            "maxLength": 18,
            "example": "USA Bank"
          },
          "countryOfIssuance": {
            "description": "Country of Issuance.",
            "type": "string",
            "maxLength": 3,
            "example": "USA"
          },
          "cardProductID": {
            "description": "Card Product ID.",
            "type": "string",
            "maxLength": 1,
            "example": "H"
          },
          "detailedProductID": {
            "description": "Detailed Product ID.",
            "type": "string",
            "maxLength": 3,
            "example": "C"
          },
          "associationResponseCodeAdtl": {
            "description": "Association Response Code.",
            "type": "string",
            "maxLength": 3,
            "example": "00"
          },
          "cardBrand": {
            "description": "Card Brand.",
            "type": "string",
            "maxLength": 1,
            "example": "M"
          },
          "deferredAuthTransactionID": {
            "description": "Deferred Auth Transaction ID for re-authorized (Optimized) transaction",
            "type": "string",
            "maxLength": 16,
            "example": "3561032059730219"
          }
        }
      },
      "TransactionType": {
        "description": "Type of transaction to perform. Primary transaction types in requests include 'SALE', 'PREAUTH', 'CREDIT' and 'FORCED_TICKET'.",
        "type": "string",
        "enum": [
          "SALE",
          "PREAUTH",
          "VOID",
          "RETURN",
          "POSTAUTH",
          "PAYER_AUTH"
        ],
        "example": "SALE"
      },
      "TransactionOrigin": {
        "description": "The source of the transaction. The possible values are ECOM (if the order was received via email or Internet), MOTO (mail order, telephone order), MAIL, PHONE and RETAIL (face to face).",
        "type": "string",
        "enum": [
          "ECOM",
          "MOTO"
        ],
        "example": "ECOM"
      },
      "DecrementalPreAuthFlag": {
        "description": "This flag can only be used in a preAuth transaction that updates the amount of a previous preAuth transaction to either increase the preAuth amount (DecrementalPreAuthFlag = false) or decrease the preAuth amount (DecrementalPreAuthFlag = true).",
        "type": "boolean",
        "default": false,
        "example": false
      },
      "IncrementalPreAuthFlag": {
        "description": "This flag can only be used in a preAuth transaction that updates the amount of a previous preAuth transaction to increase the preAuth amount (IncrementalPreAuthFlag = true).",
        "type": "boolean",
        "default": false,
        "example": false
      },
      "PaymentAccountReferenceFlag": {
        "description": "Indicates if the merchant wants payment account reference number from the network token using endpoint(PaymentAccountReferenceFlag = true).",
        "type": "boolean",
        "default": false,
        "example": false
      },
      "Amount": {
        "description": "Amount of the transaction.",
        "required": [
          "total",
          "currency"
        ],
        "properties": {
          "total": {
            "description": "Sub component values must add up to total amount.",
            "type": "number",
            "minimum": 0,
            "example": 10.24
          },
          "currency": {
            "description": "ISO 4217 currency code. Note: Only 'GBP' is supported currently.",
            "type": "string",
            "pattern": "([A-Z]{3})|([0-9]{3})",
            "example": "GBP"
          },
          "components": {
            "$ref": "#/components/schemas/AmountComponents"
          }
        },
        "example": {
          "total": 10.24,
          "currency": "GBP",
          "components": {
            "subtotal": 8,
            "localTax": 1,
            "shipping": 1.24
          }
        }
      },
      "TransactionAmount": {
        "description": "Amount of the transaction.",
        "properties": {
          "total": {
            "description": "Sub component values must add up to total amount.",
            "type": "number",
            "minimum": 0,
            "example": 10.24
          },
          "currency": {
            "description": "ISO 4217 currency code. Note: Only 'GBP' is supported currently.",
            "type": "string",
            "pattern": "([A-Z]{3})|([0-9]{3})",
            "example": "GBP"
          },
          "components": {
            "$ref": "#/components/schemas/ResponseAmountComponents"
          }
        },
        "example": {
          "total": 10.24,
          "currency": "GBP",
          "components": {
            "subtotal": 8,
            "localTax": 1,
            "shipping": 1.24
          }
        }
      },
      "AmountComponents": {
        "description": "Transaction amounts with multiple components.",
        "properties": {
          "subtotal": {
            "description": "Subtotal amount.",
            "type": "number",
            "example": 8
          },
          "vatAmount": {
            "description": "Value-added tax amount.",
            "type": "number",
            "example": 0
          },
          "localTax": {
            "description": "Local tax amount.",
            "type": "number",
            "example": 1
          },
          "shipping": {
            "description": "Shipping amount.",
            "type": "number",
            "example": 1.24
          },
          "cashback": {
            "description": "Cashback amount.",
            "type": "number",
            "example": 2
          },
          "tip": {
            "description": "Tip amount.",
            "type": "number",
            "example": 6
          },
          "surcharge": {
            "description": "Surcharge amount.",
            "type": "number",
            "example": 2.5
          },
          "nonTaxableAmount": {
            "description": "nontaxable amount.",
            "type": "number",
            "example": 10
          },
          "discount": {
            "type": "object",
            "nullable": true,
            "description": "Additional discount amount and coupon code",
            "properties": {
              "amount": {
                "type": "number",
                "minimum": 0,
                "description": "Additional discount amount",
                "example": 1.23
              },
              "code": {
                "type": "string",
                "description": "Discount coupon code",
                "example": "coupon10"
              }
            },
            "required": [
              "amount"
            ]
          }
        },
        "example": {
          "subtotal": 8,
          "vatAmount": 0,
          "localTax": 1,
          "shipping": 1.24,
          "cashback": 2,
          "tip": 6,
          "surcharge": 2.5,
          "discount": {
            "amount": 1.23,
            "code": "coupone10"
          }
        }
      },
      "ResponseAmountComponents": {
        "description": "Amount component details, used in responses.",
        "allOf": [
          {
            "type": "object",
            "properties": {
              "convenienceFee": {
                "description": "Amount added for proccessing or handling fees.",
                "type": "number",
                "example": 2
              }
            }
          },
          {
            "$ref": "#/components/schemas/AmountComponents"
          }
        ],
        "example": {
          "subtotal": 8,
          "vatAmount": 0,
          "localTax": 1.3,
          "convenienceFee": 2
        }
      },
      "RequiredActions": {
        "description": "Provides details which actions need to be performed to fulfill requirements of integration data.",
        "properties": {
          "requiredConsumerData": {
            "description": "Consumer data details which need to be provided by the payer.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RequiredConsumerData"
            }
          },
          "requiredIntegrationData": {
            "description": "Provides details for data requested from the application.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RequiredIntegrationData"
            }
          },
          "requiredRedirectionData": {
            "$ref": "#/components/schemas/RequiredRedirectionData"
          }
        }
      },
      "RequiredConsumerData": {
        "description": "Provides details for data requested from the payer.",
        "type": "object",
        "properties": {
          "hint": {
            "description": "Description of required data that need to be provided.",
            "type": "string",
            "maxLength": 2048
          },
          "validationExpression": {
            "description": "Regexp validation expression for requested data.",
            "type": "string",
            "maxLength": 2048
          },
          "key": {
            "description": "Key for required data item.",
            "type": "string",
            "maxLength": 2048
          },
          "options": {
            "description": "Provides for the consumer data possible options to select a value from.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ApmOption"
            }
          }
        },
        "example": {
          "hint": "Your 6-digit Code will be provided in your mobile application",
          "validationExpression": "^\\\\d{6}$",
          "key": "BLIK_CODE"
        }
      },
      "RequiredIntegrationData": {
        "description": "Provides details for data requested from the application.",
        "type": "object",
        "properties": {
          "hint": {
            "description": "Description of required integration data that need to be provided.",
            "type": "string",
            "maxLength": 2048
          },
          "key": {
            "description": "Key for required data item.",
            "type": "string",
            "maxLength": 2048
          }
        },
        "example": {
          "hint": "Payment requires the user agent information on the browser/device.",
          "key": "USER_AGENT"
        }
      },
      "ApmOption": {
        "description": "Provide details for a consumer data option.",
        "type": "object",
        "properties": {
          "displayName": {
            "description": "Name of the option.",
            "type": "string",
            "pattern": "[A-Za-z0-9\\s]{1,50}",
            "example": "First National Bank"
          },
          "iconUrl": {
            "description": "URL to the logo used for the option",
            "type": "string",
            "format": "uri",
            "example": "https://www.ipg-online.com/connect/bankLogo.png"
          },
          "id": {
            "description": "Unique identifier to be sent back in the response, if this option has been chosen.",
            "type": "string",
            "pattern": "[A-Za-z0-9]{1,50}",
            "example": "fnsTknBFirstNationalBank"
          },
          "groupName": {
            "description": "Options can be grouped via this name.",
            "type": "string",
            "pattern": "[A-Za-z0-9]{1,50}",
            "example": "TokenBanking"
          }
        },
        "example": {
          "displayName": "First National Bank",
          "iconUrl": "https://www.ipg-online.com/connect/bankLogo.png",
          "value": "fnsTknBFirstNationalBank",
          "groupName": "TokenBanking"
        }
      },
      "RequiredRedirectionData": {
        "description": "Redirection details provided to the payer e.g. an external URL to complete processing on the web page of the authorisation system.",
        "type": "object",
        "required": [
          "target"
        ],
        "properties": {
          "target": {
            "description": "Redirection URL or just \"SDK\".",
            "type": "string",
            "maxLength": 2048
          },
          "parameters": {
            "description": "Redirection header parameters details.",
            "$ref": "#/components/schemas/AdditionalParameters"
          },
          "method": {
            "description": "HTTP method type.",
            "type": "string",
            "enum": [
              "GET",
              "POST"
            ],
            "example": "GET"
          }
        }
      },
      "AdditionalParameters": {
        "description": "Map representation for additional parameters.",
        "type": "object",
        "additionalProperties": {
          "type": "string",
          "maxLength": 2048
        }
      },
      "PaymentMethodDetails": {
        "description": "Provides details of the payment method used.",
        "properties": {
          "paymentCard": {
            "$ref": "#/components/schemas/PaymentCard"
          },
          "paymentCardEncrypted": {
            "$ref": "#/components/schemas/PaymentCardEncrypted"
          },
          "paymentMethodType": {
            "$ref": "#/components/schemas/PaymentMethodType"
          },
          "paymentMethodBrand": {
            "$ref": "#/components/schemas/PaymentMethodBrand"
          }
        },
        "example": {
          "paymentCard": {
            "number": "5424180279791732",
            "expiryDate": {
              "month": "12",
              "year": "25"
            },
            "securityCode": "977"
          },
          "paymentCardEncrypted": {
            "encryptionType": "JWE",
            "encryptedData": "eyJlbmMiOiJBMTI4R0NNIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.WlOGAYWRcmpPsaKRQI5IEsWpLT4C1jCa59QfJhJsXw7wvlIXCMAFBa5IWwqsUzKBO85uTGZGcMCoKV6CMnqBTcfoceDaoBWDotmWBIl4nLiky97kc0gnM2FMbLlDzI6r9CVLlsINBz7ziTuyiDX-4B64Ux9z7fE_kvcN0iJ3alwDQKfa1fotX8b-HHjovclDMC53EZHDUtynQNQboqyUnUpy1VDXzyksBxAD9M8ubPdNCBXQR0TMchg2700X8zRmw7uz0Rlo16z56R7khCpL3j8pbo87rMKzAB6poWLyCBiC0it8Rkx8o3eJRJl3S_6l6mEtF0rwX9jNh21EpJk28w",
            "keyId": "20240807-card-enc"
          },
          "paymentMethodType": "PAYMENT_CARD",
          "paymentMethodBrand": "APPLEPAY"
        }
      },
      "PaymentMethodType": {
        "description": "Type of payment method.",
        "type": "string",
        "enum": [
          "APM",
          "NATWEST_PAYIT",
          "PAYMENT_CARD",
          "PAYMENT_TOKEN",
          "WALLET",
          "VISA_MOBILE"
        ],
        "example": "PAYMENT_CARD"
      },
      "PaymentMethodBrand": {
        "description": "A list of all Payment Method Brands.",
        "type": "string",
        "enum": [
          "AMEX",
          "APPLEPAY",
          "BANKTRANSFER",
          "CARD",
          "DINERSCLUB",
          "GOOGLEPAY",
          "MAESTRO",
          "MASTERCARD",
          "MOBILE_PAY",
          "NATWEST_PAYIT",
          "VISA"
        ],
        "example": "GOOGLEPAY"
      },
      "PaymentCardEncrypted": {
        "description": "This object encapsulates sensitive card data in an encrypted format, ensuring that it's encrypted during transmission.\n",
        "required": [
          "encryptionType",
          "encryptedData",
          "keyId"
        ],
        "properties": {
          "encryptionType": {
            "$ref": "#/components/schemas/EncryptionType"
          },
          "encryptedData": {
            "description": "Payment card is encrypted using public key with RSA encryption algorithm RSA-OAEP-256 with encryption method A128GCM.",
            "type": "string",
            "maxLength": 1024,
            "example": "eyJlbmMiOiJBMTI4R0NNIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.WlOGAYWRcmpPsaKRQI5IEsWpLT4C1jCa59QfJhJsXw7wvlIXCMAFBa5IWwqsUzKBO85uTGZGcMCoKV6CMnqBTcfoceDaoBWDotmWBIl4nLiky97kc0gnM2FMbLlDzI6r9CVLlsINBz7ziTuyiDX-4B64Ux9z7fE_kvcN0iJ3alwDQKfa1fotX8b-HHjovclDMC53EZHDUtynQNQboqyUnUpy1VDXzyksBxAD9M8ubPdNCBXQR0TMchg2700X8zRmw7uz0Rlo16z56R7khCpL3j8pbo87rMKzAB6poWLyCBiC0it8Rkx8o3eJRJl3S_6l6mEtF0rwX9jNh21EpJk28w"
          },
          "keyId": {
            "description": "Key id of public key which is used for encryption.",
            "type": "string",
            "maxLength": 50,
            "example": "20240807-card-enc"
          }
        },
        "example": {
          "encryptionType": "JWE",
          "encryptedData": "eyJlbmMiOiJBMTI4R0NNIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.WlOGAYWRcmpPsaKRQI5IEsWpLT4C1jCa59QfJhJsXw7wvlIXCMAFBa5IWwqsUzKBO85uTGZGcMCoKV6CMnqBTcfoceDaoBWDotmWBIl4nLiky97kc0gnM2FMbLlDzI6r9CVLlsINBz7ziTuyiDX-4B64Ux9z7fE_kvcN0iJ3alwDQKfa1fotX8b-HHjovclDMC53EZHDUtynQNQboqyUnUpy1VDXzyksBxAD9M8ubPdNCBXQR0TMchg2700X8zRmw7uz0Rlo16z56R7khCpL3j8pbo87rMKzAB6poWLyCBiC0it8Rkx8o3eJRJl3S_6l6mEtF0rwX9jNh21EpJk28w",
          "keyId": "20240807-card-enc"
        }
      },
      "PaymentCard": {
        "description": "Payment card model.",
        "required": [
          "number"
        ],
        "properties": {
          "number": {
            "description": "Payment card number. It can also be an IBAN (e.g NL91ABNA0417164300) for Sepa Direct Debit transactions.",
            "type": "string",
            "minLength": 13,
            "maxLength": 34,
            "example": "5424180279791732"
          },
          "expiryDate": {
            "$ref": "#/components/schemas/Expiration"
          },
          "fundingCardNumber": {
            "$ref": "#/components/schemas/fundingCardNumber"
          },
          "securityCode": {
            "description": "Card verification value/number.",
            "type": "string",
            "minLength": 3,
            "maxLength": 4,
            "example": "977"
          },
          "cardFunction": {
            "$ref": "#/components/schemas/CardFunction"
          },
          "cardholderName": {
            "description": "Name of the cardholder. Note - Only supported with request payload.",
            "type": "string",
            "maxLength": 96,
            "example": "John Doe"
          },
          "bin": {
            "description": "The payment card BIN.",
            "type": "string",
            "example": "403587"
          },
          "last4": {
            "description": "The last 4 numbers of a payment card.",
            "type": "string",
            "example": "4977"
          },
          "brand": {
            "type": "string",
            "example": "VISA",
            "description": "Required only if using dual branded card."
          }
        },
        "example": {
          "number": "5424180279791732",
          "expiryDate": {
            "month": "12",
            "year": "25"
          },
          "securityCode": "977"
        }
      },
      "NetworkToken": {
        "description": "Network Token Model",
        "required": [
          "value",
          "expiryMonth",
          "expiryYear"
        ],
        "properties": {
          "value": {
            "description": "Token value",
            "type": "string",
            "pattern": "[0-9]{13,19}",
            "example": "2343446334644554"
          },
          "expiryMonth": {
            "description": "Month of the token expiration date in MM format.",
            "type": "string",
            "pattern": "^(0[1-9]|1[012])$",
            "example": "03"
          },
          "expiryYear": {
            "description": "Year of the card expiration date in YY format.",
            "type": "string",
            "pattern": "^([0-9]{2})$",
            "example": "24"
          },
          "cardLast4": {
            "description": "Last four digits of Card number.",
            "maxLength": 4,
            "type": "string",
            "example": "1234"
          },
          "brand": {
            "description": "Card brand.",
            "type": "string",
            "enum": [
              "AMEX",
              "DINERS/DISCOVER",
              "MAESTRO",
              "MASTERCARD",
              "VISA"
            ],
            "example": "VISA"
          },
          "cryptogram": {
            "description": "Cryptogram value.",
            "type": "string",
            "example": "AgAAAAADo8FZTI0AmJbMgyUAAAA="
          },
          "authIndicator": {
            "description": "Authorization Indicator.",
            "type": "string",
            "enum": [
              "P",
              "T"
            ],
            "example": "P"
          },
          "tokenEligible": {
            "description": "Token Assurance Method Value determines the confidence level of the payment token to PAN/cardholder binding and it will be provided by the token service provider.",
            "type": "string",
            "example": "AY"
          }
        }
      },
      "TokenAlias": {
        "description": "Token alias related information.",
        "required": [
          "expiryDate",
          "paramAlias"
        ],
        "properties": {
          "expiryDate": {
            "description": "Date and time of alias expiration.",
            "type": "string",
            "format": "date-time",
            "example": "2025-01-30T08:30:50Z"
          },
          "paramAlias": {
            "description": "List of params related to the given alias.",
            "type": "array",
            "maxItems": 50,
            "items": {
              "$ref": "#/components/schemas/AliasParam"
            },
            "example": [
              {
                "key": "appLabel_1",
                "value": "APP Label 095"
              },
              {
                "key": "tasAliasKey_1",
                "value": "675495"
              }
            ]
          }
        },
        "example": {
          "expiryDate": "2025-01-30T08:30:50Z",
          "paramAlias": [
            {
              "key": "appLabel_1",
              "value": "APP Label 095"
            },
            {
              "key": "tasAliasKey_1",
              "value": "675495"
            }
          ]
        }
      },
      "AliasParam": {
        "description": "Alias param information.",
        "required": [
          "key",
          "value"
        ],
        "properties": {
          "key": {
            "description": "Alias param key.",
            "type": "string",
            "maxLength": 20,
            "example": "appLabel_1"
          },
          "value": {
            "description": "Alias param value.",
            "type": "string",
            "maxLength": 50,
            "example": "APP Label 095"
          }
        },
        "example": {
          "key": "appLabel_1",
          "value": "APP Label 095"
        }
      },
      "AccountOwner": {
        "description": "Used for PaymentCard or PaymentToken Account Verification.",
        "properties": {
          "firstName": {
            "description": "Account Holder First Name.",
            "type": "string",
            "maxLength": 35,
            "example": "John"
          },
          "middleName": {
            "description": "Account Holder Middle Name.",
            "type": "string",
            "maxLength": 35,
            "example": "Doe"
          },
          "lastName": {
            "description": "Account Holder Last Name.",
            "type": "string",
            "maxLength": 35,
            "example": "Doe"
          },
          "ownerType": {
            "description": "These values are used for account name inquiries. Primary Account Owner means the person that is considered to be the main owner of the account. Secondary Account Owner means the person with limited access to the account.",
            "type": "string",
            "enum": [
              "PRIMARY",
              "SECONDARY"
            ],
            "example": "PRIMARY"
          }
        },
        "example": {
          "firstName": "Pete",
          "middleName": "Maverick",
          "lastName": "Mitchell"
        }
      },
      "Secure3DAuthenticationResponse": {
        "description": "Encapsulates 3DS authentication details in transaction responses.",
        "properties": {
          "type": {
            "description": "The type of authentication.",
            "type": "string",
            "enum": [
              "3D_SECURE"
            ],
            "example": "3D_SECURE"
          },
          "version": {
            "description": "The version of 3DS used to authenticate.",
            "type": "string",
            "enum": [
              "1.0",
              "2.1",
              "2.2"
            ],
            "example": "2.1"
          },
          "otpVerificationResponse": {
            "$ref": "#/components/schemas/OtpVerificationResponse"
          },
          "params": {
            "description": "Additional parameters for authentication redirect.",
            "type": "object",
            "properties": {
              "payerAuthenticationRequest": {
                "description": "Message sent from merchant server to authenticate the cardholder.",
                "type": "string",
                "example": "c7fb83b8ag...73t4a827t4af8738a"
              },
              "termURL": {
                "description": "Terminal URL for processing request.",
                "type": "string",
                "maxLength": 2048,
                "example": "https://api.example.com/redirectToAcs"
              },
              "merchantData": {
                "description": "Formatted string encoding transaction time, order ID, and return URL data.",
                "type": "string",
                "example": "MD123...sdfk"
              },
              "acsURL": {
                "description": "The URL for the authentication redirect for the merchant.",
                "type": "string",
                "example": "https://3ds-acs.test.modirum.com/mdpayacs/pareq"
              },
              "cReq": {
                "description": "The CReq message initiates cardholder interaction in a 3DS 2.x challenge flow and carries authentication data from the cardholder.",
                "type": "string",
                "example": "ewogICAiYWNzVHJhbnNJRCIgOiAiMDAwMDAwMDAtMDAwNS01YTVhLTgwMDAtMDE2ZmE1NTYzODMyIiwKICAgImNoYWxsZW5nZVdpbmRvd1NpemUiIDogIjAzIiwKICAgIm1lc3NhZ2VUeXBlIiA6ICJDUmVxIiwKICAgIm1lc3NhZ2VWZXJzaW9uIiA6ICIyLjEuMCIsCiAgICJ0aHJlZURTU2VydmVyVHJhbnNJRCIgOiAiZGVmOWZiZDgtZjkzNS01YzcyLTgwMDAtMDAwMDAwMDgyOWVkIgp9"
              },
              "sessionData": {
                "description": "Customer web browser session data.",
                "type": "string",
                "example": "50F2156E03083CA665BCB4.."
              }
            }
          },
          "secure3dMethod": {
            "description": "Encapsulates the 3DS method form and unique transaction identifier.",
            "type": "object",
            "properties": {
              "methodForm": {
                "description": "An iframe to be hidden in the browser used to collect browser data for the issuers. This information adds to the overall consumer profile and helps in identifying potentially fraudulent transactions.",
                "type": "string",
                "example": "&lt;!DOCTYPE iframe SYSTEM \"about:legacy-compat\"&gt; &lt;iframe id=\"tdsMmethodTgtFrame\" name=\"tdsMmethodTgtFrame\"\n         style=\"width: 1px; height: 1px; display: none;\" src=\"javascript:false;\" xmlns=\"http://www.w3.org/1999/xhtml\"&gt;\n&lt;!--.--&gt; &lt;/iframe&gt;&lt;form id=\"tdsMmethodForm\" name=\"tdsMmethodForm\"\n         action=\"https://localhost.modirum.com:8543/dstests/ACSEmu2\" method=\"post\"\n         target=\"tdsMmethodTgtFrame\" xmlns=\"http://www.w3.org/1999/xhtml\"&gt; &lt;input type=\"hidden\" name=\"3DSMethodData\"\n         value=\"eyAidGhyZWVEU1NlcnZlclRyYW5zSUQiIDogIjAwMDAwMDAwLTU2NzYtNTY2My04MDAwLTAwMDAw\n&amp;#10;MDAwNDFhOSIsICJ0aHJlZURTTWV0aG9kTm90aWZpY2F0aW9uVVJMIiA6ICJodHRwczovL2xvY\n         2Fs&amp;#10;aG9zdC5tb2RpcnVtLmNvbTo4NTQzL21kcGF5bXBpL01lcmNoYW50U2VydmVyP21uPVkmdHhpZD0x\n&amp;#10;NjgwOSZkaWdlc3Q9aSUyQnhhUEF5NWFOcVJRbllqNmozbWFDZlFJbTdFdjJYTmkwNn\n         h6YmZNJTJG&amp;#10;R3MlM0QiIH0\"/&gt; &lt;input type=\"hidden\" name=\"threeDSMethodData\"\n         value=\"eyAidGhyZWVEU1NlcnZlclRyYW5zSUQiIDogIjAwMDAwMDAwLTU2NzYtNTY2My04MDAwLTAwMDA\n         w&amp;#10;MDAwNDFhOSIsICJ0aHJlZURTTWV0aG9kTm90aWZpY2F0aW9uVVJMIiA6ICJodHRwczovL2xvY\n         2Fs&amp;#10;aG9zdC5tb2RpcnVtLmNvbTo4NTQzL21kcGF5bXBpL01lcmNoYW50U2VydmVyP21uPVkmd\n         HhpZD0x&amp;#10;NjgwOSZkaWdlc3Q9aSUyQnhhUEF5NWFOcVJRbllqNmozbWFDZlFJbTdFdjJYTmkwNn\n         h6YmZNJTJG&amp;#10;R3MlM0QiIH0\"/&gt;\n&lt;/form&gt;&lt;script type=\"text/javascript\" xmlns=\"http://www.w3.org/1999/xhtml\"&gt;\n         document.getElementById(\"tdsMmethodForm\").submit(); &lt;/script&gt;"
              },
              "secure3dTransId": {
                "description": "A unique transaction identifier supplied by the ACS.",
                "type": "string",
                "example": "3ac7caa7-aa42-2663-791b-2ac05a542c4a"
              }
            }
          }
        },
        "example": {
          "type": "3D_SECURE",
          "version": "2.1",
          "redirectURL": "http://pay.issuer-bank.com/sessionID=123&sharedKey=456",
          "secure3dMethod": {
            "methodForm": "&lt;!DOCTYPE iframe SYSTEM \"about:legacy-compat\"&gt; &lt;iframe id=\"tdsMmethodTgtFrame\" name=\"tdsMmethodTgtFrame\"\n                         style=\"width: 1px; height: 1px; display: none;\" src=\"javascript:false;\" xmlns=\"http://www.w3.org/1999/xhtml\"&gt;\n                &lt;!--.--&gt; &lt;/iframe&gt;&lt;form id=\"tdsMmethodForm\" name=\"tdsMmethodForm\"\n                         action=\"https://localhost.modirum.com:8543/dstests/ACSEmu2\" method=\"post\"\n                         target=\"tdsMmethodTgtFrame\" xmlns=\"http://www.w3.org/1999/xhtml\"&gt; &lt;input type=\"hidden\" name=\"3DSMethodData\"\n                         value=\"eyAidGhyZWVEU1NlcnZlclRyYW5zSUQiIDogIjAwMDAwMDAwLTU2NzYtNTY2My04MDAwLTAwMDAw\n                &amp;#10;MDAwNDFhOSIsICJ0aHJlZURTTWV0aG9kTm90aWZpY2F0aW9uVVJMIiA6ICJodHRwczovL2xvY\n                         2Fs&amp;#10;aG9zdC5tb2RpcnVtLmNvbTo4NTQzL21kcGF5bXBpL01lcmNoYW50U2VydmVyP21uPVkmdHhpZD0x\n                &amp;#10;NjgwOSZkaWdlc3Q9aSUyQnhhUEF5NWFOcVJRbllqNmozbWFDZlFJbTdFdjJYTmkwNn\n                         h6YmZNJTJG&amp;#10;R3MlM0QiIH0\"/&gt; &lt;input type=\"hidden\" name=\"threeDSMethodData\"\n                         value=\"eyAidGhyZWVEU1NlcnZlclRyYW5zSUQiIDogIjAwMDAwMDAwLTU2NzYtNTY2My04MDAwLTAwMDA\n                         w&amp;#10;MDAwNDFhOSIsICJ0aHJlZURTTWV0aG9kTm90aWZpY2F0aW9uVVJMIiA6ICJodHRwczovL2xvY\n                         2Fs&amp;#10;aG9zdC5tb2RpcnVtLmNvbTo4NTQzL21kcGF5bXBpL01lcmNoYW50U2VydmVyP21uPVkmd\n                         HhpZD0x&amp;#10;NjgwOSZkaWdlc3Q9aSUyQnhhUEF5NWFOcVJRbllqNmozbWFDZlFJbTdFdjJYTmkwNn\n                         h6YmZNJTJG&amp;#10;R3MlM0QiIH0\"/&gt;\n                &lt;/form&gt;&lt;script type=\"text/javascript\" xmlns=\"http://www.w3.org/1999/xhtml\"&gt;\n                         document.getElementById(\"tdsMmethodForm\").submit(); &lt;/script&gt;"
          },
          "secure3dTransId": "3ac7caa7-aa42-2663-791b-2ac05a542c4a"
        }
      },
      "Expiration": {
        "description": "Required for normal transactions except for payment with 'RECURRING' flags.",
        "required": [
          "month",
          "year"
        ],
        "properties": {
          "month": {
            "description": "Month of the card expiration date in MM format.",
            "type": "string",
            "pattern": "^(0[1-9]|1[012])$",
            "example": "03"
          },
          "year": {
            "description": "Year of the card expiration date in YY format.",
            "type": "string",
            "pattern": "^([0-9]{2})$",
            "example": "21"
          }
        },
        "example": {
          "month": "03",
          "year": "22"
        }
      },
      "fundingCardNumber": {
        "description": "Required for tokenied pan transactions.",
        "required": [
          "bin",
          "last4"
        ],
        "properties": {
          "bin": {
            "description": "Bin of the card number.",
            "type": "string",
            "pattern": "^([0-9]{6})$",
            "example": "543987",
            "maxLength": 8
          },
          "last4": {
            "description": "Last 4 digit of Card number.",
            "type": "string",
            "pattern": "^([0-9]{4})$",
            "example": "2451"
          }
        },
        "example": {
          "bin": "543987",
          "last4": "2451"
        }
      },
      "AVSResponse": {
        "description": "The processor address validation response for compliance.",
        "properties": {
          "streetMatch": {
            "description": "Response if street matches that on file.",
            "type": "string",
            "enum": [
              "Y",
              "N",
              "NO_INPUT_DATA",
              "NOT_CHECKED"
            ],
            "example": "Y"
          },
          "postalCodeMatch": {
            "description": "Response if postal code matches that on file.",
            "type": "string",
            "enum": [
              "Y",
              "N",
              "NO_INPUT_DATA",
              "NOT_CHECKED"
            ],
            "example": "N"
          },
          "associationAvsResponse": {
            "description": "The raw address verification response code returned by issuer. Please refer to response codes section in developer portal for more info.",
            "type": "string",
            "example": "Y"
          }
        },
        "example": {
          "streetMatch": "Y",
          "postalCodeMatch": "N",
          "associationAvsResponse": "Y"
        }
      },
      "TaxRefundData": {
        "description": "Local tax refund related information.",
        "properties": {
          "indicator": {
            "description": "It is the tax refund indicator.",
            "type": "string",
            "example": "NOT_APPLIED"
          },
          "amount": {
            "description": "It is the tax refund amount.",
            "type": "number",
            "example": 0.21
          },
          "lawNumber": {
            "description": "It is the tax refund law number.",
            "type": "string",
            "example": "019540"
          },
          "cardOriginType": {
            "description": "It is the tax refund card origin type.",
            "type": "string",
            "example": "NATIONAL"
          }
        },
        "example": {
          "indicator": "NOT_APPLIED",
          "amount": 0.21,
          "lawNumber": "019540",
          "cardOriginType": "NATIONAL"
        }
      },
      "TaxRefundRequestData": {
        "description": "Local tax refund related information.",
        "properties": {
          "legalFramework": {
            "description": "It is used to send law information in request.",
            "type": "string",
            "example": "URY_RETURNS_IVA_LAW_19210"
          }
        },
        "example": {
          "legalFramework": "URY_RETURNS_IVA_LAW_19210"
        }
      },
      "AccountVerificationResponse": {
        "description": "Account Verification Response.",
        "properties": {
          "firstNameMatch": {
            "$ref": "#/components/schemas/AccountNameMatch"
          },
          "middleNameMatch": {
            "$ref": "#/components/schemas/AccountNameMatch"
          },
          "lastNameMatch": {
            "$ref": "#/components/schemas/AccountNameMatch"
          },
          "fullNameMatch": {
            "$ref": "#/components/schemas/AccountNameMatch"
          },
          "nameMatchIndicator": {
            "description": "Name Matching Indicator.",
            "type": "string",
            "enum": [
              "PERFORMED",
              "NOT_SUPPORTED",
              "NOT_PERFORMED"
            ],
            "example": "NOT_SUPPORTED"
          }
        }
      },
      "AccountNameMatch": {
        "type": "string",
        "description": "Reason set by the terminal to cancel the referenced transaction.",
        "enum": [
          "MATCH",
          "PARTIAL_MATCH",
          "NO_MATCH"
        ],
        "example": "MATCH"
      },
      "CardholderInfoResponse": {
        "description": "The processor Cardholder Info Response.",
        "properties": {
          "postalCodeOrZipMatch": {
            "description": "Response if card holder postal code matches that on file.",
            "type": "string",
            "example": "Y"
          },
          "addressMatch": {
            "description": "Response if card holder address matches that on file.",
            "type": "string",
            "example": "RETRY"
          },
          "nameMatch": {
            "description": "Response if card holder name matches that on file.",
            "type": "string",
            "example": "SERVICE_NOT_ALLOWED"
          },
          "telephoneMatch": {
            "description": "Response if card holder telephone matches that on file.",
            "type": "string",
            "example": "NOT_CHECKED"
          },
          "emailMatch": {
            "description": "Response if card holder email matches that on file.",
            "type": "string",
            "example": "N"
          },
          "associationCardholderInfoResponse": {
            "description": "Raw cardholder info response from AMEX with no mapping.",
            "type": "string",
            "example": "YNUSR"
          }
        }
      },
      "Order": {
        "description": "Use this model to provide order related details.",
        "properties": {
          "orderId": {
            "description": "Note - Client Order ID if supplied by client. If not supplied by client, the gateway will generate. The first 12 alphanumeric digits are passed down to the reporting tool, Clientline and Data File Manager (DFM).",
            "type": "string",
            "maxLength": 100,
            "example": "ABC12345"
          },
          "purposeOfPaymentCode": {
            "description": "Merchants accepting cards issued in India, Bangladesh, Argentina and/or Egypt require it for VISA Original Credit Transfer Transactions.",
            "type": "string",
            "maxLength": 12,
            "example": "ABC12345"
          },
          "billing": {
            "$ref": "#/components/schemas/Billing"
          },
          "shipping": {
            "$ref": "#/components/schemas/Shipping"
          },
          "serviceLocation": {
            "$ref": "#/components/schemas/ServiceLocation"
          },
          "industrySpecificExtensions": {
            "$ref": "#/components/schemas/IndustrySpecificExtensions"
          },
          "purchaseCard": {
            "$ref": "#/components/schemas/PurchaseCards"
          },
          "ip": {
            "$ref": "#/components/schemas/IPAddress"
          },
          "installmentOptions": {
            "$ref": "#/components/schemas/InstallmentOptions"
          },
          "revolvingOptions": {
            "$ref": "#/components/schemas/RevolvingOptions"
          },
          "standInDetails": {
            "$ref": "#/components/schemas/StandInDetails"
          },
          "tokenCryptogram": {
            "$ref": "#/components/schemas/TokenCryptogram"
          },
          "softDescriptor": {
            "$ref": "#/components/schemas/SoftDescriptor"
          },
          "additionalDetails": {
            "$ref": "#/components/schemas/AdditionalDetails"
          },
          "clientLocale": {
            "$ref": "#/components/schemas/ClientLocale"
          },
          "basket": {
            "$ref": "#/components/schemas/Basket"
          },
          "recurringPaymentDetails": {
            "$ref": "#/components/schemas/RecurringPaymentDetails"
          },
          "accountOwner": {
            "$ref": "#/components/schemas/AccountOwner"
          },
          "deliveryDetails": {
            "$ref": "#/components/schemas/DeliveryDetails"
          },
          "selectedInstallmentPlan": {
            "$ref": "#/components/schemas/InstallmentPlan"
          },
          "tokenRequestorID": {
            "description": "ID of the agent that requested Token on behalf of merchant. This will be passed to merchant by the agent at the time of Cryptogram request.",
            "type": "string",
            "maxLength": 11,
            "example": 12345678912
          },
          "tokenECI": {
            "description": "Electronic Commerce Type Indicator.",
            "type": "string",
            "maxLength": 2,
            "example": 5
          }
        },
        "example": {
          "orderId": "ABC12345",
          "billing": {
            "name": "John Doe",
            "customerId": "1234567890"
          },
          "shipping": {
            "name": "John Doe",
            "address": {
              "address1": "123 Main St.",
              "city": "Sandy Springs",
              "region": "Georgia",
              "postalCode": "30303",
              "country": "USA"
            }
          }
        }
      },
      "DeliveryDetails": {
        "description": "Merchant service location details.",
        "properties": {
          "provider": {
            "description": "Delivery service provider.",
            "type": "string",
            "maxLength": 50,
            "example": "NatWest"
          },
          "method": {
            "description": "Delivery service method.",
            "type": "string",
            "maxLength": 50,
            "example": "Delivery"
          },
          "providerId": {
            "description": "Delivery service provider identifier.",
            "type": "string",
            "maxLength": 50,
            "example": "IPG_FD"
          }
        },
        "example": {
          "provider": "NatWest",
          "method": "Delivery",
          "providerId": "IPG_FD"
        }
      },
      "Billing": {
        "description": "Customer billing information.",
        "properties": {
          "name": {
            "description": "Billing name.",
            "type": "string",
            "maxLength": 96,
            "example": "John Doe"
          },
          "firstName": {
            "description": "Billing first name. Note - Only supported for AMEX.",
            "type": "string",
            "maxLength": 48,
            "example": "John"
          },
          "lastName": {
            "description": "Billing last name. Note - Only supported for AMEX.",
            "type": "string",
            "maxLength": 48,
            "example": "Doe"
          },
          "customerId": {
            "description": "Customer ID for billing purpose.",
            "type": "string",
            "maxLength": 32,
            "example": "1234567890"
          },
          "birthDate": {
            "description": "Customer birth date.",
            "type": "string",
            "format": "date",
            "example": "1980-01-31"
          },
          "contact": {
            "$ref": "#/components/schemas/Contact"
          },
          "address": {
            "$ref": "#/components/schemas/Address"
          }
        },
        "example": {
          "name": "John Doe",
          "firstName": "John",
          "lastName": "Doe",
          "customerId": "1234567890",
          "address": {
            "address1": "123 Main St.",
            "city": "Sandy Springs",
            "region": "Georgia",
            "postalCode": "30303",
            "country": "USA"
          }
        }
      },
      "Contact": {
        "description": "Customer contact information.",
        "properties": {
          "phone": {
            "description": "Primary phone number.",
            "type": "string",
            "maxLength": 32,
            "example": "5555555555"
          },
          "mobilePhone": {
            "description": "Mobile phone number.",
            "type": "string",
            "maxLength": 32,
            "example": "5555555555"
          },
          "fax": {
            "description": "Fax number.",
            "type": "string",
            "maxLength": 32,
            "example": "5555555555"
          },
          "email": {
            "description": "Email address.",
            "type": "string",
            "maxLength": 254,
            "example": "john@test.com"
          }
        },
        "example": {
          "phone": "5555555555",
          "mobilePhone": "5555555555",
          "fax": "5555555555",
          "email": "john@test.com"
        }
      },
      "Shipping": {
        "description": "Shipping information.",
        "properties": {
          "name": {
            "description": "Name of customer for shipping.",
            "type": "string",
            "example": "John Doe",
            "maxLength": 96
          },
          "contact": {
            "$ref": "#/components/schemas/Contact"
          },
          "address": {
            "$ref": "#/components/schemas/Address"
          }
        },
        "example": {
          "name": "John Doe",
          "contact": {
            "phone": "5555555555",
            "mobilePhone": "5555555555",
            "email": "john@test.com"
          },
          "address": {
            "address1": "123 Main St.",
            "city": "Sandy Springs",
            "region": "Georgia",
            "postalCode": "30303",
            "country": "USA"
          }
        }
      },
      "ServiceLocation": {
        "description": "Merchant service location details.",
        "properties": {
          "city": {
            "description": "City or locality.",
            "type": "string",
            "maxLength": 50,
            "example": "Sandy Springs"
          },
          "state": {
            "description": "2 or 3 chars ISO state code, like NA is ISO Code for New Hampshire state in USA. For UK sub country code with value ENG, NIR, SCT or WLS is expected.",
            "type": "string",
            "maxLength": 3,
            "example": "NH"
          },
          "zip": {
            "description": "ZIP code or postal code.",
            "type": "string",
            "maxLength": 12,
            "example": "30303"
          },
          "country": {
            "description": "ISO-3166-1  ALPHA-2, ALPHA-3, numeric or full country name.",
            "type": "string",
            "maxLength": 32,
            "example": "USA"
          },
          "serviceLocationGeoCoordinates": {
            "description": "Geo Location.",
            "$ref": "#/components/schemas/GeoLocation"
          }
        },
        "example": {
          "city": "Sandy Springs",
          "state": "NH",
          "zip": "30303",
          "country": "USA",
          "serviceLocationGeoCoordinates": {
            "latitude": -90.12345,
            "longitude": -180.12345
          }
        }
      },
      "GeoLocation": {
        "description": "Real-World geographical location of an entity identified via a set of geographic coordinates (latitude and longitude) through GPS.",
        "required": [
          "latitude",
          "longitude"
        ],
        "properties": {
          "latitude": {
            "$ref": "#/components/schemas/LatitudeValue"
          },
          "longitude": {
            "$ref": "#/components/schemas/LongitudeValue"
          }
        },
        "example": {
          "latitude": -90.12345,
          "longitude": -180.12345
        }
      },
      "LatitudeValue": {
        "description": "Latitude from equator. -90 (South) to +90 (North).",
        "type": "number",
        "minimum": -90,
        "maximum": 90,
        "x-extra-annotation": "@javax.validation.constraints.Digits(integer = 2, fraction = 5)"
      },
      "LongitudeValue": {
        "description": "Longitude from Greenwich Meridian. -180 (West) to +180 (East).",
        "type": "number",
        "minimum": -180,
        "maximum": 180,
        "x-extra-annotation": "@javax.validation.constraints.Digits(integer = 3, fraction = 5)"
      },
      "Address": {
        "description": "Address information that is passed to the issuer (it may appear on the cardholder’s statement) or if merchant wants to pass information that differs from the information stored on our master file.",
        "properties": {
          "company": {
            "description": "Company name associated with the address.",
            "type": "string",
            "maxLength": 96,
            "example": "Test Company"
          },
          "address1": {
            "description": "First line of the street address.",
            "type": "string",
            "maxLength": 96,
            "example": "123 Main St."
          },
          "address2": {
            "description": "Second line of the street address.",
            "type": "string",
            "maxLength": 96,
            "example": "Suite 123"
          },
          "city": {
            "description": "City or locality.",
            "type": "string",
            "maxLength": 96,
            "example": "Sandy Springs"
          },
          "region": {
            "description": "State or province.",
            "type": "string",
            "maxLength": 96,
            "example": "Georgia"
          },
          "postalCode": {
            "description": "ZIP code or postal code.",
            "type": "string",
            "maxLength": 24,
            "example": "30303"
          },
          "country": {
            "description": "ISO-3166-1  ALPHA-2, ALPHA-3, numeric or full country name. In the case of PaySecure endpoints, pass the country code in an ISO format.\nNOTE: Country required for following listed SEPA transactions:\n - SEPA DD transaction done with Local Payments (aka PPRO).\n - SEPA DD transaction done via POSEIDON and the IBAN belongs to the 'SE' country group.",
            "type": "string",
            "maxLength": 32,
            "example": "USA"
          }
        },
        "example": {
          "address1": "123 Main St.",
          "city": "Sandy Springs",
          "region": "Georgia",
          "postalCode": "30303",
          "country": "USA"
        }
      },
      "ReceiptRequestInfo": {
        "description": "Defines receipt related parameters that are necessary to generate a receipt.",
        "type": "object",
        "required": [
          "type"
        ],
        "properties": {
          "type": {
            "description": "Defines the consumer of the receipt (e.g. cardholder, merchant).",
            "type": "string",
            "enum": [
              "cardholder",
              "merchant"
            ],
            "example": "merchant"
          },
          "locale": {
            "description": "The locale of the receipt. The format has to be a well-formed BCP 47 language tag.",
            "type": "string",
            "example": "en-GB"
          },
          "linewidth": {
            "description": "The line width of the receipt. Default will be 32 characters.",
            "type": "integer",
            "example": 32
          }
        },
        "example": {
          "type": "merchant",
          "locale": "de"
        }
      },
      "Receipt": {
        "description": "Provides POS receipt data.",
        "type": "object",
        "required": [
          "type",
          "data"
        ],
        "properties": {
          "type": {
            "description": "Defines the consumer of the receipt (e.g. cardholder, merchant).",
            "type": "string",
            "enum": [
              "cardholder",
              "merchant"
            ],
            "example": "merchant"
          },
          "data": {
            "description": "Array of formatted lines that represents the actual receipt data, that can be printed out.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReceiptLine"
            },
            "example": [
              {
                "endOfLine": true,
                "text": "          MerchantName          "
              },
              {
                "endOfLine": true,
                "text": "--------------------------------"
              }
            ]
          }
        },
        "example": {
          "type": "cardholder",
          "data": [
            {
              "endOfLine": true,
              "text": "        Example Merchant        "
            },
            {
              "endOfLine": true,
              "text": "--------------------------------"
            },
            {
              "endOfLine": true,
              "text": "       Amount: 45.00 EURO       "
            }
          ]
        }
      },
      "ReceiptLine": {
        "description": "Represents a line in the receipt response.",
        "type": "object",
        "required": [
          "text"
        ],
        "properties": {
          "endOfLine": {
            "description": "Flag to indicate if the text ends at the end of this receipt line.",
            "type": "boolean",
            "default": true,
            "example": true
          },
          "text": {
            "description": "Text that represents a line of the actual receipt data, that can be printed out.",
            "type": "string",
            "example": "          MerchantName          "
          }
        },
        "example": {
          "endOfLine": true,
          "text": "--------------------------------"
        }
      },
      "IndustrySpecificExtensions": {
        "description": "Industry-specific information.",
        "properties": {
          "airline": {
            "$ref": "#/components/schemas/Airline"
          },
          "lodging": {
            "$ref": "#/components/schemas/Lodging"
          },
          "carRental": {
            "$ref": "#/components/schemas/CarRental"
          },
          "mcc6012": {
            "$ref": "#/components/schemas/Mcc6012"
          }
        },
        "example": {
          "airline": {
            "passengerName": "John Doe",
            "ticketNumber": "PCLAN123",
            "carrierName": "Quatar Airline",
            "reservationSystem": "START",
            "travelRoute": [
              {
                "departureDate": "2018-10-15",
                "origin": "ATL",
                "destination": "DOH"
              }
            ]
          },
          "lodging": {
            "arrivalDate": "2010-05-15",
            "departureDate": "2018-01-28",
            "folioNumber": "12200054891",
            "extraCharges": [
              {
                "chargeItem": "MINI_BAR"
              },
              {
                "chargeItem": "OTHER"
              }
            ],
            "noShowIndicator": false
          },
          "carRental": {
            "agreementNumber": "AGR 123",
            "renterName": "John Doe",
            "returnCity": "ATL",
            "returnDare": "2018-10-25",
            "pickupDate": "2018-10-15"
          },
          "mcc6012": {
            "dateOfBirth": "20200505",
            "accountFirst6": "411111",
            "accountLast4": "2343",
            "accountNum": "546789900034567",
            "postCode": "30101",
            "surname": "Walker"
          }
        }
      },
      "StoredCredential": {
        "description": "Object for sending stored credentials.",
        "required": [
          "sequence",
          "scheduled"
        ],
        "properties": {
          "sequence": {
            "description": "Indicates if the transaction is first or subsequent. Valid values are First and 'SUBSEQUENT'.",
            "type": "string",
            "enum": [
              "FIRST",
              "SUBSEQUENT"
            ],
            "example": "FIRST"
          },
          "scheduled": {
            "description": "Indicates if the transaction is scheduled or part of an installment.",
            "type": "boolean",
            "example": true
          },
          "referencedSchemeTransactionId": {
            "description": "The transaction ID received from schemes for the initial transaction. May be required if sequence is 'SUBSEQUENT'.",
            "type": "string",
            "maxLength": 50,
            "example": "019087868716215"
          },
          "initiator": {
            "description": "Indicates whether it is a merchant-initiated or explicitly consented to by card holder. Valid values are 'MERCHANT' and 'CARDHOLDER'.",
            "type": "string",
            "enum": [
              "MERCHANT",
              "CARDHOLDER"
            ],
            "example": "MERCHANT"
          },
          "indicatorSubcategory": {
            "description": "For initiator as CARDHOLDER- CREDENTIAL_ON_FILE_FIRST, CREDENTIAL_ON_FILE_SUBSEQUENT, STANDING_ORDER, SUBSCRIPTION, INSTALLMENT are the valid values of indicatorSubcatogory. |For initiator as MERCHANT- UNSCHEDULED_CREDENTIAL_ON_FILE, STANDING_ORDER, SUBSCRIPTION, INSTALLMENT, PARTIAL_SHIPMENT, DELAYED_CHARGE, NO_SHOW_CHARGE, RESUBMISSION are the valid values as indicatorSubcategory. |Not valid values will be ignored.",
            "type": "string",
            "enum": [
              "CREDENTIAL_ON_FILE_FIRST",
              "CREDENTIAL_ON_FILE_SUBSEQUENT",
              "UNSCHEDULED_CREDENTIAL_ON_FILE",
              "STANDING_ORDER",
              "SUBSCRIPTION",
              "INSTALLMENT",
              "PARTIAL_SHIPMENT",
              "DELAYED_CHARGE",
              "NO_SHOW_CHARGE",
              "RESUBMISSION"
            ],
            "example": "CREDENTIAL_ON_FILE_FIRST"
          }
        },
        "example": {
          "sequence": "SUBSEQUENT",
          "scheduled": false,
          "referencedSchemeTransactionId": "019087868716215",
          "initiator": "CARDHOLDER"
        }
      },
      "Airline": {
        "description": "Additional data specific to the airline industry.",
        "properties": {
          "passengerName": {
            "description": "The passenger name associated with the transaction.",
            "type": "string",
            "maxLength": 30,
            "example": "Jeff Yabuki"
          },
          "ticketNumber": {
            "description": "The airline ticket number associated with the transaction.",
            "type": "string",
            "maxLength": 20,
            "example": "52300448"
          },
          "issuingCarrier": {
            "description": "The carrier that issued the ticket.",
            "type": "string",
            "maxLength": 20,
            "example": "Frontier Airlines"
          },
          "carrierName": {
            "description": "The carrier associated with the transaction.",
            "type": "string",
            "maxLength": 20,
            "example": "Delta Air Lines"
          },
          "travelAgencyIataCode": {
            "description": "The IATA code associated with the travel agency.",
            "type": "string",
            "maxLength": 20,
            "example": "10584410"
          },
          "travelAgencyName": {
            "description": "The business name of the travel agency.",
            "type": "string",
            "maxLength": 30,
            "example": "A Travis Gent LLC"
          },
          "airlinePlanNumber": {
            "description": "The airline plan number associated with the transaction.",
            "type": "string",
            "maxLength": 2,
            "example": "11"
          },
          "airlineInvoiceNumber": {
            "description": "The invoice number used by the airline.",
            "type": "string",
            "maxLength": 6,
            "example": "664422"
          },
          "reservationSystem": {
            "description": "The reservation system used to create the ticket.",
            "type": "string",
            "enum": [
              "START",
              "TWA",
              "DELTA",
              "SABRE",
              "COVIA_APOLLO",
              "DR_BLANK",
              "DER",
              "TUI"
            ],
            "example": "DELTA"
          },
          "restricted": {
            "description": "If the transaction is associated with a restricted class fare.",
            "type": "boolean",
            "example": true
          },
          "travelRoute": {
            "description": "Array containing up to 4 items that describe the route associated with the transaction.",
            "type": "array",
            "maxItems": 4,
            "items": {
              "$ref": "#/components/schemas/AirlineTravelRoute"
            }
          },
          "relatedTicketNumber": {
            "description": "The number of any other tickets associated with the transaction ticket.",
            "type": "string",
            "maxLength": 20,
            "example": "11223344556"
          },
          "ancillaryServiceCategory": {
            "description": "Identify the purchase of ancillary goods or services with a false value. If this element is not provided, the transaction is assumed to be a purchase of an airline ticket.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AirlineAncillaryServiceCategory"
            }
          },
          "ticketPurchase": {
            "description": "Identifies if the transaction is a ticket purchase.",
            "type": "boolean",
            "example": true
          }
        },
        "example": {
          "passengerName": "Jeff Yabuki",
          "ticketNumber": "52300448",
          "issuingCarrier": "Frontier Airlines",
          "carrierName": "Delta Air Lines",
          "travelAgencyIataCode": "10584410",
          "travelAgencyName": "A Travis Gent LLC",
          "airlinePlanNumber": "11",
          "airlineInvoiceNumber": "664422",
          "reservationSystem": "DELTA",
          "restricted": true,
          "travelRoute": [
            {
              "departureDate": "2018-01-28",
              "origin": "MIA",
              "destination": "ATL",
              "carrierCode": "DL",
              "serviceClass": "J",
              "stopoverType": "DIRECT",
              "fareBasisCode": "F",
              "departureTax": 75,
              "flightNumber": "765599"
            }
          ],
          "relatedTicketNumber": "11223344556",
          "ancillaryServiceCategory": [
            {
              "serviceCategory": "BAGGAGE_FEE"
            },
            {
              "serviceCategory": "CARBON_OFFSET"
            }
          ],
          "ticketPurchase": true
        }
      },
      "AirlineAncillaryServiceCategory": {
        "description": "Identify the purchase of ancillary goods or services with a false value. If this element is not provided, the transaction is assumed to be a purchase of an airline ticket.",
        "type": "object",
        "required": [
          "serviceCategory"
        ],
        "properties": {
          "serviceCategory": {
            "description": "Identifies the service purchased in the transaction if not a base ticket",
            "type": "string",
            "enum": [
              "BUNDLED_SERVICE",
              "BAGGAGE_FEE",
              "CHANGE_FEE",
              "CARGO",
              "CARBON_OFFSET",
              "FREQUENT_FLYER",
              "GIFT_CARD",
              "GROUND_TRANSPORT",
              "IN_FLIGHT_ENTERTAINMENT",
              "LOUNGE",
              "MEDICAL",
              "MEAL_BEVERAGE",
              "OTHER",
              "PASSENGER_ASSIST_FEE",
              "PETS",
              "SEAT_FEES",
              "STANDBY",
              "SERVICE_FEE",
              "STORE",
              "TRAVEL_SERVICE",
              "UNACCOMPANIED_TRAVEL",
              "UPGRADES",
              "WI_FI"
            ],
            "example": "BAGGAGE_FEE"
          }
        },
        "example": [
          {
            "serviceCategory": "BAGGAGE_FEE"
          },
          {
            "serviceCategory": "CARBON_OFFSET"
          }
        ]
      },
      "AirlineTravelRoute": {
        "description": "Additional information about the route.",
        "type": "object",
        "properties": {
          "departureDate": {
            "type": "string",
            "format": "date",
            "description": "Date of departure.",
            "example": "2018-01-28"
          },
          "origin": {
            "description": "The IATA code for the departure airport.",
            "type": "string",
            "maxLength": 3,
            "example": "MIA"
          },
          "destination": {
            "description": "The IATA code for the destination. airport.",
            "type": "string",
            "maxLength": 3,
            "example": "ATL"
          },
          "carrierCode": {
            "description": "The IATA code for the carrier.",
            "type": "string",
            "maxLength": 2,
            "example": "DL"
          },
          "serviceClass": {
            "description": "The airline code for the service class of the ticket.",
            "type": "string",
            "maxLength": 2,
            "example": "J"
          },
          "stopoverType": {
            "description": "Indicates whether the route is direct.",
            "type": "string",
            "enum": [
              "DIRECT",
              "STOPOVER"
            ],
            "example": "DIRECT"
          },
          "fareBasisCode": {
            "description": "The airline fare basis code.",
            "type": "string",
            "maxLength": 15,
            "example": "F"
          },
          "departureTax": {
            "description": "Fee charged by a country when a person leaves the country.",
            "type": "number",
            "maximum": 999999999999,
            "example": 75
          },
          "flightNumber": {
            "description": "The airline flight number associated with the ticket.",
            "type": "string",
            "maxLength": 10,
            "example": "765599"
          }
        },
        "example": [
          {
            "departureDate": "2018-01-28",
            "origin": "MIA",
            "destination": "ATL",
            "carrierCode": "DL",
            "serviceClass": "J",
            "stopoverType": "DIRECT",
            "fareBasisCode": "F",
            "departureTax": 75,
            "flightNumber": "765599"
          }
        ]
      },
      "Lodging": {
        "description": "Additional data specific to the lodging/hotel industry.",
        "properties": {
          "arrivalDate": {
            "description": "Date of arrival.",
            "type": "string",
            "format": "date",
            "example": "2010-05-15"
          },
          "departureDate": {
            "description": "Date of departure.",
            "type": "string",
            "format": "date",
            "example": "2018-01-28"
          },
          "folioNumber": {
            "description": "Portfolio number.",
            "type": "string",
            "maxLength": 20,
            "example": "12200054891"
          },
          "extraCharges": {
            "description": "Information about charges other than base lodging.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LodgingExtraCharges"
            },
            "example": [
              {
                "chargeItem": "MINI_BAR"
              },
              {
                "chargeItem": "OTHER"
              }
            ]
          },
          "noShowIndicator": {
            "description": "Indicates if the transaction is associated with a delayed or no-show penalty.",
            "type": "boolean",
            "example": false
          }
        },
        "example": {
          "arrivalDate": "2010-05-15",
          "departureDate": "2018-01-28",
          "folioNumber": "12200054891",
          "extraCharges": [
            {
              "chargeItem": "MINI_BAR"
            },
            {
              "chargeItem": "OTHER"
            }
          ],
          "noShowIndicator": false
        }
      },
      "LodgingExtraCharges": {
        "description": "Information about charges other than base lodging.",
        "type": "object",
        "properties": {
          "chargeItem": {
            "type": "string",
            "enum": [
              "GIFT_SHOP",
              "LAUNDRY",
              "MINI_BAR",
              "RESTAURANT",
              "TELEPHONE",
              "OTHER"
            ],
            "example": "LAUNDRY"
          }
        }
      },
      "CarRental": {
        "description": "Additional data specific to the car rental industry.",
        "properties": {
          "agreementNumber": {
            "description": "The car rental agreement number.",
            "type": "string",
            "maxLength": 20,
            "example": "100001145699"
          },
          "renterName": {
            "description": "The name of the person renting the car.",
            "type": "string",
            "maxLength": 20,
            "example": "Frank Bisignano"
          },
          "returnCity": {
            "description": "The city where the rental ends and the car is returned.",
            "type": "string",
            "maxLength": 20,
            "example": "Atlanta"
          },
          "returnDate": {
            "description": "The date the car rental ends and the car is returned.",
            "type": "string",
            "format": "date",
            "example": "2020-10-25"
          },
          "pickupDate": {
            "description": "The date the car rental begins.",
            "type": "string",
            "format": "date",
            "example": "2020-10-15"
          },
          "rentalClassId": {
            "description": "The classification of the rental car.",
            "type": "string",
            "maxLength": 6,
            "example": "ABCDEF"
          },
          "extraCharges": {
            "description": "Array containing information about charges other than the rental rate.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CarRentalExtraCharges"
            },
            "example": [
              {
                "chargeItem": "GAS"
              },
              {
                "chargeItem": "EXTRA_MILEAGE"
              }
            ]
          },
          "noShowIndicator": {
            "description": "Indicates if the transaction is related to a no-show charge.",
            "type": "boolean",
            "example": false
          }
        },
        "example": {
          "agreementNumber": "100001145699",
          "renterName": "Frank Bisignano",
          "returnCity": "Atlanta",
          "returnDate": "2020-10-25",
          "pickupDate": "2020-10-15",
          "rentalClassId": "ABCDEF",
          "extraCharges": [
            {
              "chargeItem": "GAS"
            },
            {
              "chargeItem": "EXTRA_MILEAGE"
            }
          ],
          "noShowIndicator": false
        }
      },
      "CarRentalExtraCharges": {
        "description": "Array containing information about charges other than the rental rate.",
        "type": "object",
        "properties": {
          "chargeItem": {
            "description": "Additional charge item.",
            "type": "string",
            "enum": [
              "EXTRA_MILEAGE",
              "GAS",
              "LATE_RETURN",
              "ONE_WAY_SERVICE_FEE",
              "PARKING_VIOLATION"
            ],
            "example": "GAS"
          }
        },
        "example": [
          {
            "chargeItem": "GAS"
          },
          {
            "chargeItem": "EXTRA_MILEAGE"
          }
        ]
      },
      "Mcc6012": {
        "description": "The group MCC (Merchant Category Code) 6012",
        "properties": {
          "dateOfBirth": {
            "description": "The date of birth of the cardholder (YYYYMMDD).",
            "type": "string",
            "maxLength": 8,
            "example": "20200505"
          },
          "accountFirst6": {
            "description": "The first six digits of the primary account number.",
            "type": "string",
            "maxLength": 6,
            "example": "411111"
          },
          "accountLast4": {
            "description": "The last four digits of the primary account number.",
            "maxLength": 4,
            "type": "string",
            "example": "2343"
          },
          "accountNum": {
            "description": "The account number where the primary account number is not a card.",
            "type": "string",
            "maxLength": 50,
            "example": "146789900034567"
          },
          "postCode": {
            "description": "The postal code of the cardholder.",
            "type": "string",
            "maxLength": 50,
            "example": "30101"
          },
          "surname": {
            "description": "Surname or last name of the card holder.",
            "type": "string",
            "maxLength": 100,
            "example": "Walker"
          }
        },
        "example": {
          "dateOfBirth": "20200505",
          "accountFirst6": "411111",
          "accountLast4": "2343",
          "accountNum": "546789900034567",
          "postCode": "30101",
          "surname": "Walker"
        }
      },
      "InstallmentOptions": {
        "description": "Indicates that the total sum payable is divided for payment at successive fixed times.",
        "properties": {
          "numberOfInstallments": {
            "description": "Number of instalments for a sale transaction if the customer pays the total amount in multiple transactions.",
            "type": "integer",
            "format": "int32",
            "minimum": 1,
            "maximum": 99,
            "example": 5
          },
          "installmentsInterest": {
            "description": "Indicates whether the installment interest amount has been applied.",
            "type": "boolean",
            "example": true
          },
          "installmentDelayMonths": {
            "description": "The number of months the first installment payment will be delayed.",
            "type": "integer",
            "format": "int32",
            "minimum": 1,
            "maximum": 99,
            "example": 5
          },
          "recurringType": {
            "description": "The type of recurring payment.",
            "type": "string",
            "enum": [
              "FIRST",
              "REPEAT",
              "STANDING_INSTRUCTION"
            ],
            "example": "FIRST"
          },
          "merchantAdviceCodeSupported": {
            "description": "Indicates if the merchant supports merchant advice code (MAC) in order to receive table 55 code for a declined recurring transaction.",
            "type": "boolean",
            "example": true
          }
        },
        "example": {
          "numberOfInstallments": 5,
          "installmentsInterest": true,
          "installmentDelayMonths": 5,
          "recurringType": "FIRST",
          "merchantAdviceCodeSupported": true
        }
      },
      "RevolvingOptions": {
        "description": "Indicates the options for revolving payment.",
        "properties": {
          "revolvingPayment": {
            "description": "Indicates whether the payment has been chosen as revolving type.",
            "type": "boolean",
            "example": true
          }
        }
      },
      "StandInDetails": {
        "description": "Indicates standin transaction.",
        "required": [
          "standInType",
          "numberOfDebits",
          "siValidated",
          "maximumTransactionAmount",
          "siHubId",
          "frequency"
        ],
        "properties": {
          "standInType": {
            "description": "Indicates standin instruction type.",
            "type": "string",
            "enum": [
              "FIXED_AMOUNT",
              "MAXIMUM_AMOUNT"
            ],
            "example": "FIXED_AMOUNT"
          },
          "numberOfDebits": {
            "description": "Indicates number of standin instruction debits.Possible values can be two digit number or UN (Until it is cancelled) or ND (Not defined).",
            "type": "string",
            "pattern": "(UN)|(ND)|([0-9]{2})",
            "example": "12"
          },
          "siValidated": {
            "description": "Indicates standin instruction validation flag, it can be true or false. \"false\" - Not validated, \"true\" - Validated.",
            "type": "boolean",
            "example": true
          },
          "maximumTransactionAmount": {
            "description": "Maximum debit amount per standin instruction transaction.",
            "type": "number",
            "example": 1800
          },
          "siHubId": {
            "description": "Unique identifier for standin instruction.",
            "type": "string",
            "maxLength": 10,
            "example": "Y3PCO6QGHT"
          },
          "frequency": {
            "description": "Indicates frequency of the standin instruction debit.",
            "type": "string",
            "enum": [
              "DAILY",
              "TWICEWEEKLY",
              "WEEKLY",
              "TENDAYS",
              "FORTNIGHTLY",
              "MONTHLY",
              "EVERYTWOMONTHS",
              "TRIMESTER",
              "QUARTERLY",
              "HALFYEARLY",
              "YEARLY",
              "UNSCHEDULED"
            ],
            "example": "MONTHLY"
          }
        },
        "example": {
          "standInType": "FIXED_AMOUNT",
          "numberOfDebits": "12",
          "siValidated": true,
          "maximumTransactionAmount": 1800,
          "siHubId": "Y3PCO6QGHT",
          "frequency": "MONTHLY"
        }
      },
      "TokenCryptogram": {
        "description": "Network token cryptogram value.",
        "type": "string",
        "minLength": 20,
        "maxLength": 256,
        "example": "gfgF92JHDJFjxcJHCQ23IbI12D"
      },
      "PurchaseCards": {
        "description": "Purchase card details.",
        "properties": {
          "Level2": {
            "description": "Level 2 data for monitoring and controlling corporate expenditures.",
            "type": "object",
            "properties": {
              "customerReferenceID": {
                "type": "string",
                "description": "Customer code/customer reference ID. The max length supported for Visa is 12 and MasterCard is 17.",
                "maxLength": 17,
                "example": "abcdef123xyz"
              },
              "supplierInvoiceNumber": {
                "type": "string",
                "description": "Purchase identifier/merchant-related data.",
                "maxLength": 30,
                "example": "0000000065348"
              },
              "supplierVATRegistrationNumber": {
                "description": "Merchant VAT registration/single business reference number/merchant tax ID or corporation VAT number.",
                "type": "string",
                "maxLength": 30,
                "example": "10001174242"
              },
              "vatDocumentationIndicator": {
                "description": "VAT documentation indicator.",
                "type": "string",
                "enum": [
                  "1",
                  "2"
                ],
                "example": "1"
              },
              "totalDiscountAmountAndRate": {
                "$ref": "#/components/schemas/AdditionalAmountRate"
              },
              "vatShippingAmountAndRate": {
                "$ref": "#/components/schemas/AdditionalAmountRate"
              },
              "dutyAmountAndRate": {
                "$ref": "#/components/schemas/AdditionalAmountRate"
              }
            },
            "example": {
              "customerReferenceID": "abcdef123xyz",
              "supplierInvoiceNumber": "0000000065348",
              "supplierVATRegistrationNumber": "10001174242",
              "vatDocumentationIndicator": "1",
              "totalDiscountAmountAndRate": {
                "amount": 5.145,
                "rate": 1.175
              },
              "vatShippingAmountAndRate": {
                "amount": 6.03,
                "rate": 1.175
              },
              "dutyAmountAndRate": {
                "amount": 7.03,
                "rate": 1.175
              }
            }
          },
          "Level3": {
            "description": "Level 3 data for monitoring and controlling corporate expenditures.",
            "type": "object",
            "required": [
              "lineItems"
            ],
            "properties": {
              "lineItems": {
                "description": "Line items of monitoring and controlling corporate expenditures data.",
                "maxItems": 100,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/PurchaseCardsLevel3LineItems"
                }
              }
            },
            "example": {
              "lineItems": [
                {
                  "commodityCode": "ab12",
                  "productCode": "0001212120888",
                  "description": "Dinner and movie",
                  "quantity": 5,
                  "unitMeasure": "25",
                  "unitPrice": 30.075,
                  "vatAmountAndRate": {
                    "amount": 5.145,
                    "rate": 1.175
                  },
                  "discountAmountAndRate": {
                    "amount": 6.03,
                    "rate": 1.175
                  },
                  "lineItemTotal": 39.075
                }
              ]
            }
          }
        },
        "example": {
          "Level2": {
            "customerReferenceID": "abcdef123xyz",
            "supplierInvoiceNumber": "0000000065348",
            "supplierVATRegistrationNumber": "10001174242",
            "vatDocumentationIndicator": "2",
            "totalDiscountAmountAndRate": {
              "amount": 5.145,
              "rate": 1.175
            },
            "vatShippingAmountAndRate": {
              "amount": 6.03,
              "rate": 1.175
            },
            "dutyAmountAndRate": {
              "amount": 7.03,
              "rate": 1.175
            }
          },
          "Level3": {
            "lineItems": [
              {
                "commodityCode": "ab12",
                "productCode": "0001212120888",
                "description": "Dinner and movie",
                "quantity": 5,
                "unitMeasure": "25",
                "unitPrice": 30.075,
                "vatAmountAndRate": {
                  "amount": 5.145,
                  "rate": 1.175
                },
                "discountAmountAndRate": {
                  "amount": 6.03,
                  "rate": 1.175
                },
                "lineItemTotal": 39.075
              }
            ]
          }
        }
      },
      "PurchaseCardsLevel3LineItems": {
        "description": "Line items of monitoring and controlling corporate expenditures data.",
        "type": "object",
        "properties": {
          "commodityCode": {
            "description": "The commodity code used to classify the item purchased.",
            "type": "string",
            "maxLength": 4,
            "example": "ab12"
          },
          "productCode": {
            "description": "Merchant product identifier/the Universal Product Code (UPC) of the item purchased.",
            "type": "string",
            "maxLength": 20,
            "example": "0001212120888"
          },
          "description": {
            "description": "The description.",
            "type": "string",
            "maxLength": 30,
            "example": "Dinner and movie"
          },
          "quantity": {
            "description": "The quantity.",
            "type": "integer",
            "minimum": 1,
            "example": 5
          },
          "unitMeasure": {
            "description": "The unit of measure.",
            "type": "string",
            "maxLength": 3,
            "example": "25"
          },
          "unitPrice": {
            "description": "Rate amount in 3 decimal 12 bytes total digit.",
            "type": "number",
            "example": 30.075
          },
          "vatAmountAndRate": {
            "$ref": "#/components/schemas/AdditionalAmountRate"
          },
          "discountAmountAndRate": {
            "$ref": "#/components/schemas/AdditionalAmountRate"
          },
          "lineItemTotal": {
            "description": "Rate amount in 3 decimal 12 bytes total digit.",
            "type": "number",
            "example": 39.075
          }
        },
        "example": {
          "commodityCode": "ab12",
          "productCode": "0001212120888",
          "description": "Dinner and movie",
          "quantity": 5,
          "unitMeasure": "25",
          "unitPrice": 30.075,
          "vatAmountAndRate": {
            "amount": 5.145,
            "rate": 1.175
          },
          "discountAmountAndRate": {
            "amount": 6.03,
            "rate": 1.175
          },
          "lineItemTotal": 39.075
        }
      },
      "AdditionalAmountRate": {
        "description": "Rate and corresponding amount being applied to purchase cards, for instance in the form of taxes, discounts, or duty.",
        "required": [
          "amount",
          "rate"
        ],
        "properties": {
          "amount": {
            "description": "Amount in 3 decimal 12 bytes total digit.",
            "type": "number",
            "example": 5.145
          },
          "rate": {
            "description": "Rate in 3 decimal 12 bytes total digit.",
            "type": "number",
            "example": 1.175
          }
        },
        "example": {
          "amount": 5.145,
          "rate": 1.175
        }
      },
      "Basket": {
        "description": "Indicates basket of items.",
        "properties": {
          "productStock": {
            "description": "Product stock.",
            "type": "string",
            "enum": [
              "check"
            ],
            "example": "check"
          },
          "items": {
            "description": "The list of items included in the order.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BasketItem"
            }
          }
        }
      },
      "BasketItem": {
        "description": "Item details.",
        "properties": {
          "id": {
            "description": "A unique ID associated with the product.",
            "type": "string"
          },
          "description": {
            "description": "A name or short description of the product.",
            "type": "string",
            "example": "The Art of Computer Programming"
          },
          "subTotal": {
            "description": "Subtotal amount.",
            "type": "number",
            "example": 8
          },
          "valueAddedTax": {
            "description": "Value added tax amount.",
            "type": "number",
            "example": 0
          },
          "localTax": {
            "description": "Local tax amount.",
            "type": "number",
            "example": 1
          },
          "deliveryAmount": {
            "description": "Delivery amount.",
            "type": "number",
            "example": 1
          },
          "chargeTotal": {
            "description": "Charge Total amount.",
            "type": "number",
            "example": 1
          },
          "currency": {
            "description": "The currency of the original transaction. Note: Only 'GBP' is supported.",
            "type": "string",
            "pattern": "([A-Z]{3})|([0-9]{3})",
            "example": "GBP"
          },
          "quantity": {
            "description": "The unit in which the product is sold (e.g. litre, kilogram, etc). Leave empty if the product is sold as a complete unit.",
            "type": "number",
            "example": 1
          },
          "unitPrice": {
            "description": "The unit price is number with  3 decimal precision.",
            "type": "number",
            "example": 1.719
          },
          "category": {
            "description": "Category of the product.",
            "type": "string"
          },
          "detailedCategory": {
            "description": "Detailed Category of the product.",
            "type": "string"
          },
          "options": {
            "description": "Option details",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Option"
            }
          }
        }
      },
      "Option": {
        "description": "Basket option.",
        "properties": {
          "name": {
            "description": "name",
            "type": "string"
          },
          "choice": {
            "description": "choice",
            "type": "string"
          }
        }
      },
      "SoftDescriptor": {
        "description": "Identifying information about a merchant which appears on buyer's credit/debit card statements.",
        "required": [
          "dynamicMerchantName"
        ],
        "properties": {
          "dynamicMerchantName": {
            "type": "string",
            "description": "Store \"doing-business-as\" name.",
            "pattern": "^(?!\\s*$).+",
            "example": "Merchant XYZ"
          },
          "customerServiceNumber": {
            "type": "string",
            "description": "Customer service phone number information that is passed to the issuer (it may appear on the cardholder’s statement) or if merchant wants to pass information that differs from the information stored on our master File.",
            "maxLength": 10,
            "pattern": "^[0-9]+$",
            "example": "9973322990"
          },
          "mcc": {
            "description": "The 4-digit merchant category code (MCC). The merchant might be associated with multiple MCCs. In that case the MCC provided here will be the one that better describes the current transaction.",
            "type": "string",
            "maxLength": 4,
            "example": "7311"
          },
          "dynamicAddress": {
            "$ref": "#/components/schemas/Address"
          }
        },
        "example": {
          "dynamicMerchantName": "Merchant XYZ",
          "customerServiceNumber": "8045018787",
          "mcc": "7311",
          "dynamicAddress": {
            "company": "XYZ Company",
            "address1": "5565 Glenridge Conn",
            "address2": "Dundwoody Area",
            "city": "Atlanta",
            "region": "Georgia",
            "postalCode": "30342",
            "country": "USA"
          }
        }
      },
      "Secure3dResponse": {
        "description": "Contains 3DSecure response code.",
        "properties": {
          "responseCode3dSecure": {
            "description": "Code received after successful payer-auth verification.",
            "type": "string",
            "example": "3"
          },
          "authenticationValue": {
            "description": "Secure 3D Authentication Value.",
            "type": "string",
            "example": "AAAAAAAAAAAAAAAAAAAAAAAAAAA="
          },
          "cardholderInfo": {
            "description": "The cardholder's information supplied by the ACS.",
            "type": "string",
            "example": "molestie nunc non blandit massa",
            "maxLength": 128
          },
          "otpVerificationResponse": {
            "$ref": "#/components/schemas/OtpVerificationResponse"
          }
        },
        "example": {
          "responseCode3dSecure": "3"
        }
      },
      "StandinResponseDetails": {
        "description": "Contains Standin response details.",
        "properties": {
          "secure3DEnrolmentStatus": {
            "description": "Secure 3D Enrolment Status.",
            "type": "string",
            "example": "Y"
          },
          "secure3DECI": {
            "description": "Secure 3D ECI.",
            "type": "string",
            "example": "05"
          },
          "secure3DAuthenticationResponse": {
            "description": "Secure 3D Authentication Response.",
            "type": "string",
            "example": "Y"
          },
          "authenticationValue": {
            "description": "Secure 3D Authentication Value.",
            "type": "string",
            "example": "AAABBgFWUQAAAAEzZ1ZRAAAAAAA="
          },
          "xid": {
            "description": "Secure 3D XID.",
            "type": "string",
            "example": "cb8QZ9mmkTUqreE89RjjjAtpJpg"
          },
          "authenticationAlgorithm": {
            "description": "Secure 3D Authentication Algorithm.",
            "type": "string",
            "example": "2"
          }
        },
        "example": {
          "secure3DEnrolmentStatus": "Y",
          "secure3DECI": "05",
          "secure3DAuthenticationResponse": "Y",
          "authenticationValue": "AAABBgFWUQAAAAEzZ1ZRAAAAAAA=",
          "xID": "cb8QZ9mmkTUqreE89RjjjAtpJpg",
          "authenticationAlgorithm": "2"
        }
      },
      "CardInfoLookupResponse": {
        "description": "Response from card info lookup request.",
        "allOf": [
          {
            "$ref": "#/components/schemas/BasicResponse"
          },
          {
            "properties": {
              "cardDetails": {
                "description": "One or more card information retrieved based on BIN.",
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CardInfo"
                },
                "example": [
                  {
                    "brand": "VISA",
                    "brandProductId": "VISA BUSINESS",
                    "cardFunction": "CREDIT",
                    "commercialCard": "CORPORATE",
                    "issuerCountry": "DE",
                    "issuerName": "First National Bank of Omaha"
                  }
                ]
              },
              "requestStatus": {
                "type": "string",
                "enum": [
                  "SUCCESS",
                  "LIST_EMPTY"
                ],
                "description": "Request status.",
                "example": "SUCCESS"
              }
            }
          }
        ],
        "example": {
          "cardDetails": [
            {
              "brand": "VISA",
              "brandProductId": "VISA BUSINESS",
              "cardFunction": "CREDIT",
              "commercialCard": "CORPORATE",
              "issuerCountry": "DE",
              "issuerName": "First National Bank of Omaha"
            }
          ],
          "requestStatus": "SUCCESS"
        }
      },
      "CardInfo": {
        "description": "Card information.",
        "properties": {
          "brand": {
            "type": "string",
            "description": "The card brand.",
            "example": "VISA"
          },
          "brandProductId": {
            "type": "string",
            "description": "The product ID of the brand.",
            "example": "VISA BUSINESS"
          },
          "cardFunction": {
            "$ref": "#/components/schemas/CardFunction"
          },
          "commercialCard": {
            "type": "string",
            "enum": [
              "CORPORATE",
              "NON_CORPORATE"
            ],
            "description": "Indicates whether it is a corporate or non-corporate card.",
            "example": "CORPORATE"
          },
          "issuerCountry": {
            "type": "string",
            "description": "The country of the issuer.",
            "example": "DE"
          },
          "issuerName": {
            "type": "string",
            "description": "The name of the issuer.",
            "example": "First National Bank of Omaha"
          }
        },
        "example": {
          "brand": "VISA",
          "brandProductId": "VISA BUSINESS",
          "cardFunction": "CREDIT",
          "commercialCard": "CORPORATE",
          "issuerCountry": "DE",
          "issuerName": "First National Bank of Omaha"
        }
      },
      "PaymentBrandResponse": {
        "description": "List of available brands of a store.",
        "allOf": [
          {
            "$ref": "#/components/schemas/BasicResponse"
          },
          {
            "properties": {
              "brands": {
                "type": "array",
                "items": {
                  "description": "This field contains the brand ID.",
                  "type": "string"
                }
              }
            }
          }
        ],
        "example": {
          "clientRequestId": "30dd879c-ee2f-11db-8314-0800200c9a66",
          "apiTraceId": "rrt-0bd552c12342d3448-b-ea-1142-12938318-7",
          "brands": [
            "MASTERCARD",
            "VISA",
            "MAESTRO"
          ]
        }
      },
      "AvailableIsoCountriesResponse": {
        "description": "Full list of available ISO countries.",
        "allOf": [
          {
            "$ref": "#/components/schemas/BasicResponse"
          },
          {
            "properties": {
              "defaultCountry": {
                "$ref": "#/components/schemas/StoreCountry"
              },
              "countries": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/StoreCountry"
                }
              }
            }
          }
        ],
        "example": {
          "clientRequestId": "30dd879c-ee2f-11db-8314-0800200c9a66",
          "apiTraceId": "rrt-0bd552c12342d3448-b-ea-1142-12938318-7",
          "defaultStoreCountry": {
            "iso31661Alpha2": "US",
            "iso31661Alpha3": "USA",
            "iso31661Numeric": "840",
            "defaultCountry": true
          },
          "countries": [
            {
              "iso31661Alpha2": "US",
              "iso31661Alpha3": "USA",
              "iso31661Numeric": "840",
              "defaultCountry": true
            },
            {
              "iso31661Alpha2": "DM",
              "iso31661Alpha3": "DMA",
              "iso31661Numeric": "212",
              "defaultCountry": false
            }
          ]
        }
      },
      "ManagedRedirectResponse": {
        "description": "Response for Managed redirect transaction request",
        "allOf": [
          {
            "$ref": "#/components/schemas/BasicResponse"
          },
          {
            "properties": {
              "requestStatus": {
                "description": "The status of the request.",
                "type": "string",
                "enum": [
                  "SUCCESS",
                  "VALIDATION_FAILED",
                  "PROCESSING_FAILED",
                  "FAILURE"
                ],
                "example": "SUCCESS"
              },
              "orderId": {
                "description": "Note - Client Order ID if supplied by client. If not supplied by client, the gateway will generate. The first 12 alphanumeric digits are passed down to the reporting tool, Clientline and Data File Manager (DFM).",
                "type": "string",
                "example": "123456"
              },
              "redirectURL": {
                "description": "URL for embedded payment link.",
                "type": "string",
                "example": "https://api.firstdata.com/connect/gateway/processing?storename=123456789&oid=R-96cdbaa4-c22e-4598-a2f1-c2b5fed79ef1&redirectRequestId=d3eb74fe-cf63-47e1-b89f-52ba0cc7965c"
              },
              "transactionId": {
                "type": "string",
                "description": "ID code from the transaction.",
                "example": "123978432"
              }
            }
          }
        ]
      },
      "OtpVerificationResponse": {
        "description": "Contains Rupay OTP verification response.",
        "properties": {
          "otpValidityInMinutes": {
            "description": "OTP Validity in minutes.",
            "type": "integer",
            "example": "5"
          },
          "responseCode": {
            "description": "Code received from Rupay after OTP verification",
            "type": "string",
            "example": "ACU00"
          },
          "responseDescription": {
            "description": "Description of the error code.",
            "type": "string",
            "example": "Authenticated"
          }
        }
      },
      "InstallmentPlan": {
        "description": "Installment Plan Model",
        "properties": {
          "installmentPlanId": {
            "description": "Installment Plan Id",
            "type": "string",
            "maxLength": 36,
            "example": "1200001"
          },
          "installmentPlanInquiryId": {
            "description": "Installment Plan Inquiry Id",
            "type": "integer",
            "format": "int64",
            "example": 1200002
          },
          "islamicPlan": {
            "description": "Indicates if the plan is Islamic",
            "type": "boolean",
            "example": true
          },
          "installmentPlanIdReference": {
            "description": "Installment Plan Id Reference",
            "type": "string",
            "maxLength": 36,
            "example": "1200003"
          },
          "provider": {
            "description": "Provider",
            "type": "string",
            "maxLength": 60,
            "example": "VIS"
          },
          "tenure": {
            "description": "Tenure",
            "type": "integer",
            "format": "int32",
            "minimum": 1,
            "example": 5
          },
          "installmentFrequency": {
            "description": "Installment Frequency",
            "type": "string",
            "maxLength": 9,
            "example": "MONTHLY"
          },
          "interestRate": {
            "description": "InterestRate",
            "type": "number",
            "example": 1.175
          },
          "currency": {
            "description": "ISO 4217 currency code.",
            "type": "string",
            "pattern": "([A-Z]{3})|([0-9]{3})",
            "example": "GBP"
          },
          "interestAmount": {
            "description": "Interest Amount",
            "type": "number",
            "minimum": 0,
            "example": 10.24
          },
          "installmentFee": {
            "description": "Installment Fee",
            "type": "number",
            "minimum": 0,
            "example": 10.24
          },
          "totalFee": {
            "description": "Total Fee",
            "type": "number",
            "minimum": 0,
            "example": 10.24
          },
          "amountPerInstallment": {
            "description": "Amount Per Installment",
            "type": "number",
            "minimum": 0,
            "example": 10.24
          },
          "totalAmount": {
            "description": "Total Amount",
            "type": "number",
            "minimum": 0,
            "example": 10.24
          },
          "termsAndConditionText": {
            "description": "Terms And Condition Text",
            "type": "string",
            "maxLength": 2048,
            "example": "I Agree"
          },
          "termsAndConditionVersion": {
            "description": "Terms And Condition Version",
            "type": "string",
            "maxLength": 20,
            "example": "2"
          },
          "additionalTermsAndConditionsURL": {
            "description": "Additional Terms And Condition url",
            "type": "string",
            "maxLength": 1024,
            "example": "https://visa.com"
          },
          "productCode": {
            "description": "Product Code",
            "type": "string",
            "maxLength": 20,
            "example": "PROD1"
          },
          "programCode": {
            "description": "Program Code",
            "type": "string",
            "maxLength": 20,
            "example": "PROG1"
          },
          "languageCode": {
            "description": "Language Code",
            "type": "string",
            "maxLength": 20,
            "example": "ES"
          },
          "bankName": {
            "description": "Bank Name",
            "type": "string",
            "maxLength": 50,
            "example": "SCB Bank"
          },
          "bankCode": {
            "description": "Bank Code",
            "type": "string",
            "maxLength": 20,
            "example": "SCB01"
          },
          "installmentMerchantId": {
            "description": "MID for Installment tenure",
            "type": "string",
            "maxLength": 15,
            "example": "4558458845656"
          },
          "installmentTerminalId": {
            "description": "TID for Installment tenure",
            "type": "string",
            "maxLength": 16,
            "example": "48895212541"
          }
        }
      },
      "GetGuestCheckoutTokenCryptogramResponse": {
        "description": "Response for Guest Checkout Token Cryptogram Request",
        "allOf": [
          {
            "$ref": "#/components/schemas/BasicResponse"
          },
          {
            "properties": {
              "requestStatus": {
                "description": "The status of the request.",
                "type": "string",
                "enum": [
                  "FAILED",
                  "SUCCESS"
                ],
                "example": "SUCCESS"
              },
              "requestTime": {
                "description": "Time of the request.",
                "type": "integer",
                "format": "int64",
                "example": 1554308829345
              },
              "guestCheckoutToken": {
                "$ref": "#/components/schemas/GuestCheckoutToken"
              }
            }
          }
        ]
      },
      "GuestCheckoutToken": {
        "description": "Guest Checkout Token Model",
        "required": [
          "value",
          "expiryMonth",
          "expiryYear"
        ],
        "properties": {
          "value": {
            "description": "Token value",
            "type": "string",
            "pattern": "[0-9]{13,19}",
            "example": "2343446334644554"
          },
          "expiryMonth": {
            "description": "Month of the token expiration date in MM format.",
            "type": "string",
            "pattern": "^(0[1-9]|1[012])$",
            "example": "03"
          },
          "expiryYear": {
            "description": "Year of the card expiration date in YY format.",
            "type": "string",
            "pattern": "^([0-9]{2})$",
            "example": "24"
          },
          "cardLast4": {
            "description": "Last four digits of Card number.",
            "maxLength": 4,
            "type": "string",
            "example": "1234"
          },
          "brand": {
            "description": "Card brand.",
            "type": "string",
            "enum": [
              "AMEX",
              "MAESTRO",
              "MASTERCARD",
              "VISA"
            ],
            "example": "VISA"
          },
          "guestCheckoutcryptogram": {
            "description": "Cryptogram value.",
            "maxLength": 256,
            "type": "string",
            "example": "AgAAAAADo8FZTI0AmJbMgyUAAAA="
          }
        }
      },
      "GetNetworkTokenCryptogramResponse": {
        "description": "Response for Get Network Token Cryptogram Request",
        "allOf": [
          {
            "$ref": "#/components/schemas/BasicResponse"
          },
          {
            "properties": {
              "requestStatus": {
                "description": "The status of the request.",
                "type": "string",
                "enum": [
                  "FAILED",
                  "SUCCESS"
                ],
                "example": "SUCCESS"
              },
              "requestTime": {
                "description": "Time of the request.",
                "type": "integer",
                "format": "int64",
                "example": 1554308829345
              },
              "networkToken": {
                "$ref": "#/components/schemas/NetworkToken"
              }
            }
          }
        ]
      },
      "StoreCountry": {
        "description": "Country details associated with a store.",
        "type": "object",
        "properties": {
          "iso31661Alpha2": {
            "$ref": "#/components/schemas/iso31661Alpha2Codes"
          },
          "iso31661Alpha3": {
            "$ref": "#/components/schemas/iso31661Alpha3Codes"
          },
          "iso31661Numeric": {
            "$ref": "#/components/schemas/iso31661NumericCodes"
          },
          "defaultCountry": {
            "description": "This field indicates if this country is the default country for queried store.",
            "type": "boolean",
            "example": true
          }
        },
        "example": {
          "iso31661Alpha2": "US",
          "iso31661Alpha3": "USA",
          "iso31661Numeric": "840",
          "defaultCountry": true
        }
      },
      "iso31661Alpha2Codes": {
        "description": "This field contains the two letter ISO alpha country code.",
        "type": "string",
        "enum": [
          "AX",
          "BQ",
          "CW",
          "GH",
          "GI",
          "GN",
          "GP",
          "GM",
          "GW",
          "GQ",
          "GR",
          "GD",
          "GL",
          "GT",
          "GG",
          "GF",
          "GU",
          "GY",
          "HK",
          "HM",
          "HN",
          "HR",
          "HT",
          "HU",
          "ID",
          "IN",
          "IO",
          "IE",
          "IR",
          "IQ",
          "IS",
          "IM",
          "IL",
          "IT",
          "JM",
          "JE",
          "JO",
          "JP",
          "KZ",
          "KE",
          "KG",
          "KH",
          "KI",
          "KN",
          "KR",
          "KW",
          "LA",
          "LB",
          "LR",
          "LY",
          "LC",
          "LI",
          "LK",
          "LS",
          "LT",
          "LU",
          "LV",
          "MO",
          "MA",
          "MC",
          "MD",
          "MG",
          "MV",
          "MX",
          "MH",
          "MK",
          "ML",
          "MT",
          "MM",
          "ME",
          "MN",
          "MP",
          "MZ",
          "MR",
          "MS",
          "MQ",
          "MU",
          "MW",
          "MY",
          "YT",
          "NA",
          "NC",
          "NE",
          "NF",
          "NG",
          "NI",
          "NU",
          "NL",
          "NO",
          "NP",
          "NR",
          "NZ",
          "OM",
          "PK",
          "PA",
          "PN",
          "PE",
          "PH",
          "PW",
          "PG",
          "PL",
          "PR",
          "KP",
          "PT",
          "PY",
          "PS",
          "PF",
          "QA",
          "RE",
          "RU",
          "RW",
          "BL",
          "MF",
          "SA",
          "SD",
          "SN",
          "SG",
          "GS",
          "SH",
          "SJ",
          "SB",
          "SL",
          "SV",
          "SM",
          "SO",
          "PM",
          "RS",
          "ST",
          "SR",
          "SK",
          "SI",
          "SE",
          "SZ",
          "SC",
          "SY",
          "TC",
          "TD",
          "TG",
          "TH",
          "TJ",
          "TK",
          "TM",
          "TL",
          "TO",
          "TT",
          "TN",
          "TR",
          "TV",
          "TW",
          "TZ",
          "UG",
          "UA",
          "UM",
          "UY",
          "US",
          "UZ",
          "VA",
          "VC",
          "VE",
          "VG",
          "AW",
          "AF",
          "AO",
          "AI",
          "AL",
          "AD",
          "AN",
          "AE",
          "AR",
          "AM",
          "AS",
          "AQ",
          "AG",
          "AU",
          "AT",
          "AZ",
          "BI",
          "BE",
          "BJ",
          "BF",
          "BD",
          "BG",
          "BH",
          "BS",
          "BA",
          "BY",
          "BZ",
          "BM",
          "BO",
          "BR",
          "BB",
          "BN",
          "BT",
          "BV",
          "BW",
          "CF",
          "CA",
          "CC",
          "CH",
          "CL",
          "CN",
          "CI",
          "CM",
          "CG",
          "CK",
          "CO",
          "KM",
          "CV",
          "CR",
          "CU",
          "CX",
          "KY",
          "CY",
          "CZ",
          "DE",
          "DJ",
          "DM",
          "DK",
          "DO",
          "DZ",
          "EC",
          "EG",
          "ER",
          "ES",
          "EE",
          "ET",
          "FI",
          "FJ",
          "FK",
          "FR",
          "FX",
          "FO",
          "FM",
          "GA",
          "GB",
          "GE",
          "VI",
          "VN",
          "VU",
          "WF",
          "WS",
          "YE",
          "ZA",
          "CD",
          "ZM",
          "ZW",
          "RO",
          "CS",
          "SS",
          "EH",
          "FQ",
          "SX",
          "QZ",
          "XK"
        ],
        "example": "US"
      },
      "iso31661Alpha3Codes": {
        "description": "This field contains the three letter ISO alpha country code.",
        "type": "string",
        "enum": [
          "ALA",
          "BES",
          "CUW",
          "GHA",
          "GIB",
          "GIN",
          "GLP",
          "GMB",
          "GNB",
          "GNQ",
          "GRC",
          "GRD",
          "GRL",
          "GTM",
          "GGY",
          "GUF",
          "GUM",
          "GUY",
          "HKG",
          "HMD",
          "HND",
          "HRV",
          "HTI",
          "HUN",
          "IDN",
          "IND",
          "IOT",
          "IRL",
          "IRN",
          "IRQ",
          "ISL",
          "IMN",
          "ISR",
          "ITA",
          "JAM",
          "JEY",
          "JOR",
          "JPN",
          "KAZ",
          "KEN",
          "KGZ",
          "KHM",
          "KIR",
          "KNA",
          "KOR",
          "KWT",
          "LAO",
          "LBN",
          "LBR",
          "LBY",
          "LCA",
          "LIE",
          "LKA",
          "LSO",
          "LTU",
          "LUX",
          "LVA",
          "MAC",
          "MAR",
          "MCO",
          "MDA",
          "MDG",
          "MDV",
          "MEX",
          "MHL",
          "MKD",
          "MLI",
          "MLT",
          "MMR",
          "MNE",
          "MNG",
          "MNP",
          "MOZ",
          "MRT",
          "MSR",
          "MTQ",
          "MUS",
          "MWI",
          "MYS",
          "MYT",
          "NAM",
          "NCL",
          "NER",
          "NFK",
          "NGA",
          "NIC",
          "NIU",
          "NLD",
          "NOR",
          "NPL",
          "NRU",
          "NZL",
          "OMN",
          "PAK",
          "PAN",
          "PCN",
          "PER",
          "PHL",
          "PLW",
          "PNG",
          "POL",
          "PRI",
          "PRK",
          "PRT",
          "PRY",
          "PSE",
          "PYF",
          "QAT",
          "REU",
          "RUS",
          "RWA",
          "BLM",
          "MAF",
          "SAU",
          "SDN",
          "SEN",
          "SGP",
          "SGS",
          "SHN",
          "SJM",
          "SLB",
          "SLE",
          "SLV",
          "SMR",
          "SOM",
          "SPM",
          "SRB",
          "STP",
          "SUR",
          "SVK",
          "SVN",
          "SWE",
          "SWZ",
          "SYC",
          "SYR",
          "TCA",
          "TCD",
          "TGO",
          "THA",
          "TJK",
          "TKL",
          "TKM",
          "TLS",
          "TON",
          "TTO",
          "TUN",
          "TUR",
          "TUV",
          "TWN",
          "TZA",
          "UGA",
          "UKR",
          "UMI",
          "URY",
          "USA",
          "UZB",
          "VAT",
          "VCT",
          "VEN",
          "VGB",
          "ABW",
          "AFG",
          "AGO",
          "AIA",
          "ALB",
          "AND",
          "ANT",
          "ARE",
          "ARG",
          "ARM",
          "ASM",
          "ATA",
          "ATG",
          "AUS",
          "AUT",
          "AZE",
          "BDI",
          "BEL",
          "BEN",
          "BFA",
          "BGD",
          "BGR",
          "BHR",
          "BHS",
          "BIH",
          "BLR",
          "BLZ",
          "BMU",
          "BOL",
          "BRA",
          "BRB",
          "BRN",
          "BTN",
          "BVT",
          "BWA",
          "CAF",
          "CAN",
          "CCK",
          "CHE",
          "CHL",
          "CHN",
          "CIV",
          "CMR",
          "COG",
          "COK",
          "COL",
          "COM",
          "CPV",
          "CRI",
          "CUB",
          "CXR",
          "CYM",
          "CYP",
          "CZE",
          "DEU",
          "DJI",
          "DMA",
          "DNK",
          "DOM",
          "DZA",
          "ECU",
          "EGY",
          "ERI",
          "ESP",
          "EST",
          "ETH",
          "FIN",
          "FJI",
          "FLK",
          "FRA",
          "FXX",
          "FRO",
          "FSM",
          "GAB",
          "GBR",
          "GEO",
          "VIR",
          "VNM",
          "VUT",
          "WLF",
          "WSM",
          "YEM",
          "ZAF",
          "COD",
          "ZMB",
          "ZWE",
          "ROU",
          "SCG",
          "SSD",
          "ESH",
          "ATF",
          "SXM",
          "QZZ",
          "XKX"
        ],
        "example": "USA"
      },
      "iso31661NumericCodes": {
        "description": "This field contains the three letter ISO numeric country code.",
        "type": "string",
        "enum": [
          "248",
          "535",
          "531",
          "288",
          "292",
          "324",
          "312",
          "270",
          "624",
          "226",
          "300",
          "308",
          "304",
          "320",
          "831",
          "254",
          "316",
          "328",
          "344",
          "334",
          "340",
          "191",
          "332",
          "348",
          "360",
          "356",
          "086",
          "372",
          "364",
          "368",
          "352",
          "833",
          "376",
          "380",
          "388",
          "832",
          "400",
          "392",
          "398",
          "404",
          "417",
          "116",
          "296",
          "659",
          "410",
          "414",
          "418",
          "422",
          "430",
          "434",
          "662",
          "438",
          "144",
          "426",
          "440",
          "442",
          "428",
          "446",
          "504",
          "492",
          "498",
          "450",
          "462",
          "484",
          "584",
          "807",
          "466",
          "470",
          "104",
          "499",
          "496",
          "580",
          "508",
          "478",
          "500",
          "474",
          "480",
          "454",
          "458",
          "175",
          "516",
          "540",
          "562",
          "574",
          "566",
          "558",
          "570",
          "528",
          "578",
          "524",
          "520",
          "554",
          "512",
          "586",
          "591",
          "612",
          "604",
          "608",
          "585",
          "598",
          "616",
          "630",
          "408",
          "620",
          "600",
          "275",
          "258",
          "634",
          "638",
          "643",
          "646",
          "652",
          "663",
          "682",
          "736",
          "686",
          "702",
          "239",
          "654",
          "744",
          "090",
          "694",
          "222",
          "674",
          "706",
          "666",
          "688",
          "678",
          "740",
          "703",
          "705",
          "752",
          "748",
          "690",
          "760",
          "796",
          "148",
          "768",
          "764",
          "762",
          "772",
          "795",
          "626",
          "776",
          "780",
          "788",
          "792",
          "798",
          "158",
          "834",
          "800",
          "804",
          "581",
          "858",
          "840",
          "860",
          "336",
          "670",
          "862",
          "092",
          "533",
          "004",
          "024",
          "660",
          "008",
          "020",
          "530",
          "784",
          "032",
          "051",
          "016",
          "010",
          "028",
          "036",
          "040",
          "031",
          "108",
          "056",
          "204",
          "854",
          "050",
          "100",
          "048",
          "044",
          "070",
          "112",
          "084",
          "060",
          "068",
          "076",
          "052",
          "096",
          "064",
          "074",
          "072",
          "140",
          "124",
          "166",
          "756",
          "152",
          "156",
          "384",
          "120",
          "178",
          "184",
          "170",
          "174",
          "132",
          "188",
          "192",
          "162",
          "136",
          "196",
          "203",
          "276",
          "262",
          "212",
          "208",
          "214",
          "012",
          "218",
          "818",
          "232",
          "724",
          "233",
          "231",
          "246",
          "242",
          "238",
          "250",
          "249",
          "234",
          "583",
          "266",
          "826",
          "268",
          "850",
          "704",
          "548",
          "876",
          "882",
          "886",
          "710",
          "180",
          "894",
          "716",
          "642",
          "728",
          "732",
          "260",
          "534",
          "900",
          "891"
        ],
        "example": "840"
      },
      "IPAddress": {
        "description": "IPv4 or IPv6 network address.",
        "type": "string",
        "example": "264.31.73.24"
      },
      "RecurringPaymentState": {
        "description": "State of the recurring payment.",
        "type": "string",
        "enum": [
          "Installed",
          "Inactivated",
          "Cancelled"
        ],
        "example": "Installed"
      },
      "AdditionalRecurringData": {
        "description": "Additional Recurring Details for Merchant Initiated Recurring transaction",
        "type": "object",
        "properties": {
          "amountIndicator": {
            "type": "string",
            "enum": [
              "VARIABLE_AMOUNT"
            ],
            "example": "VARIABLE_AMOUNT"
          },
          "maxAmount": {
            "description": "Maximum amount to be sent by merchant when Amount Indicator is VARIABLE_AMOUNT",
            "type": "number",
            "minimum": 0,
            "example": 10.24
          },
          "validationIndicator": {
            "description": "If validation is performed by merchant",
            "type": "boolean",
            "default": false,
            "example": false
          }
        }
      },
      "ReversalReason": {
        "type": "string",
        "description": "Reason set by the terminal to cancel the referenced transaction.",
        "enum": [
          "CARD_DECLINED",
          "CUSTOMER_CANCEL",
          "MALFUNCTION",
          "OFFLINE_DECLINED",
          "ONLINE_DECLINED",
          "PARTIAL",
          "SUSPECTED_FRAUD",
          "TIME_OUT",
          "TOO_LATE_RESPONSE",
          "UNABLE_TO_COMPLETE"
        ]
      },
      "CustomWalletRegistration": {
        "description": "Container for wallet registration details.",
        "type": "object",
        "required": [
          "walletType"
        ],
        "properties": {
          "walletType": {
            "description": "This field specifies the type of wallet being registered.",
            "type": "string",
            "enum": [
              "BANCONTACT_WALLET"
            ]
          },
          "authenticationMethods": {
            "description": "Indicating how the Cardholder was authenticated by the Merchant Wallet for transaction initiation.",
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "USERNAME_PASSWORD_PIN",
                "SECRET_KEY_HARDWARE",
                "SECRET_KEY_SOFTWARE",
                "LOCATION_BASED_AUTHENTICATION",
                "ENVIRONMENTAL_AUTHENTICATION",
                "BEHAVIORAL_AUTHENTICATION",
                "BIOMETRICS_AUTHENTICATION",
                "OUT_OF_BAND_USER_AUTHENTICATION"
              ]
            },
            "minItems": 1
          }
        },
        "example": {
          "walletType": "BANCONTACT_WALLET",
          "authenticationMethods": [
            "USERNAME_PASSWORD_PIN"
          ]
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 104,
      "1": 93,
      "2": 91,
      "3": 211,
      "4": 45,
      "5": 6,
      "6": 197,
      "7": 0,
      "8": 82,
      "9": 14,
      "10": 86,
      "11": 215
    }
  }
}
```