# Retrieve the state of an order

Use this query to get the current state of an existing order.

# 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}": {
      "get": {
        "tags": [
          "Order"
        ],
        "security": [
          {
            "Api-Key": []
          }
        ],
        "x-proxy-name": "Order Inquiry",
        "summary": "Retrieve the state of an order",
        "description": "Use this query to get the current state of an existing order.",
        "operationId": "orderInquiry",
        "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"
          },
          {
            "$ref": "#/components/parameters/StoreIdParam"
          }
        ],
        "responses": {
          "200": {
            "description": "Success response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthenticated"
          },
          "403": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "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."
      },
      "StoreIdParam": {
        "name": "storeId",
        "schema": {
          "type": "string"
        },
        "in": "query",
        "required": false,
        "description": "An optional outlet ID for clients that support multiple stores in the same developer app."
      }
    },
    "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"
            }
          }
        }
      }
    },
    "schemas": {
      "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"
              }
            }
          }
        ]
      },
      "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"
              }
            ]
          }
        }
      },
      "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
          }
        }
      },
      "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"
      },
      "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"
        }
      },
      "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"
          }
        }
      },
      "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"
          }
        }
      },
      "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": "--------------------------------"
        }
      },
      "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"
      },
      "RecurringPaymentState": {
        "description": "State of the recurring payment.",
        "type": "string",
        "enum": [
          "Installed",
          "Inactivated",
          "Cancelled"
        ],
        "example": "Installed"
      },
      "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
    }
  }
}
```