---
updatedAt: 2025-09-17T23:32:59.000Z
agentTools:
  projectIndex: https://docs.nexiopay.com/llms.txt
---

# Create APM one-time-use token

A token from this endpoint is necessary prior to loading any of the Alternative Payment Method (APM) iframes or running a transaction using an APM.

Any data (amount, currency, and so forth) that you want to be sent to the alternate payment method must be included in the body of this request. For details about each APM, as well as test cards and accounts, see [Payment methods](doc:payment-methods).

For a tutorial about how to make use of this endpoint, see the [Run a sale transaction](doc:run-a-sale-transaction) topic.

<!-- theme: info -->
> 📘 Note
> 
> After a token has been used to submit an iframe it cannot be used to load another. You must request a new APM one-time-use token prior to submitting each iframe.

<!-- theme: warning -->
> ⚠️ Try It
> 
> To use the Try It feature for this endpoint, you can use the credentials for your [Sandbox API user](doc:sandbox-environments).<br/><br/>You can also use the following test account (that is connected with [PayPal](doc:paypal-integration-guide)). Copy the value and paste it into the appropriate space in the Try It section to the right.
> username: `docs@nexiopay.com`
> password: `JZdzoXpdDeH6VA`<br/><br/>Include any other parameters that you need for the body of the request, depending on what you are using the one-time-use token for, and which payment method you want to use. For details about each one, as well as test cards and accounts, see [Payment methods](doc:payment-methods).

<div style="display:none;">

## Request parameters
- isAuthOnly
- data
- data.amount
- data.currency
- data.customer
- data.customer.email
- data.customer.firstName
- data.customer.lastName
- data.customer.customerRef
- data.customer.orderNumber
- data.customer.billToAddressOne
- data.customer.billToAddressTwo
- data.customer.billToCity
- data.customer.billToCountry
- data.customer.billToPhone
- data.customer.billToPostal
- data.customer.billToState
- data.customer.birthDate
- data.customer.invoice
- data.customer.shipToAddressOne
- data.customer.shipToAddressTwo
- data.customer.shipToCity
- data.customer.shipToCountry
- data.customer.shipToPhone
- data.customer.shipToPostal
- data.customer.shipToState
- data.cart
- data.cart.items
- data.cart.items.item
- data.cart.items.description
- data.cart.items.quantity
- data.cart.items.price
- data.cart.items.type
- data.cart.items.imageUrl
- data.cart.items.productUrl
- data.customFields
- data.customFields.exampleKey
- data.description
- data.descriptor
- data.descriptor.name
- data.descriptor.address
- data.descriptor.city
- data.descriptor.state
- data.descriptor.postal
- data.descriptor.country
- data.descriptor.phone
- data.descriptor.url
- data.descriptor.merchantId
- data.descriptor.mcc
- data.dueDate
- data.locale
- data.paymentMethod
- customerRedirectUrl
- processingOptions
- processingOptions.merchantId
- processingOptions.doNotProcessPayment
- processingOptions.paymentOptionTag
- processingOptions.saveRecurringToken
- uiOptions
- uiOptions.displaySubmitButton
- uiOptions.css

## Response parameters
- expiration
- token
- asyncTraceId
- expressIFrameUrl
- redirectUrls
- redirectUrls.paymentMethod
- redirectUrls.url
- buttonIFrameUrls
- buttonIFrameUrls.paymentMethod
- buttonIFrameUrls.url
</div>

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Payments API Reference",
    "version": "3.0.0",
    "description": "Payments are how you interact with customers for all kinds of payment methods and types. \n\nUse the `pay` endpoints to generate one-time-use tokens and to accept web-based payments from cards and echecks (ACH) as well as retail payments from terminals or online forms. For more information about these workflows, see the [Getting started with ecommerce](doc:getting-started-with-ecommerce) and [Getting started with retail](doc:getting-started-with-retail) topics in Guides.\n\nAccess the `auth` endpoint to create a simple login that allows trusted users to proceed directly to the retail/MOTO iframe. For a tutorial, see [Using simple login for authentication](using-simple-login-for-authentication) in Guides.\n\nWork with payment billing for subscriptions and payment plans with the `subscriptions` endpoint. For additional information on using these endpoints, see the [Getting started with subscriptions](doc:getting-started-with-subscriptions) and [Getting started with pay plans](doc:getting-started-with-pay-plans) topics in Guides.\n\nThe `apm` endpoint allows you to generate one-time-use tokens and perform the various payment tasks for alternative payment methods. For workflows, integration guides, and tutorials, see the [Payment Methods](doc:payment-methods) documentation.",
    "contact": {
      "name": "Integrations Support",
      "email": "integrations@nexiopay.com",
      "url": "https://nexiointegrations.slack.com/"
    },
    "license": {
      "name": "ISC",
      "url": "https://docs.nexiopay.com/page/license"
    }
  },
  "security": [
    {
      "Basic_Authentication": []
    },
    {
      "One-time-use_Token": []
    }
  ],
  "servers": [
    {
      "description": "Sandbox",
      "url": "https://api.nexiopaysandbox.com",
      "variables": {}
    }
  ],
  "components": {
    "securitySchemes": {
      "Basic_Authentication": {
        "type": "http",
        "scheme": "basic",
        "description": "Basic authentication is a simple authentication scheme built into the HTTP protocol. \n\nFor the \"Try It\" feature, type your API username and password in the appropriate fields. The system then automatically creates the Authorization header that contains the word `Basic` followed by a space and a base64-encoded string `username:password`. \n\nFor example: `Authorization: Basic ZGVtbzpwQDU1dzByZA==` \n\nFor your own requests, learn how to do the conversion in the [Authentication](doc:authentication#basic-authentication) guide. \n\nFor more information about this security protocol, see https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#basic-authentication-sample"
      },
      "One-time-use_Token": {
        "type": "apiKey",
        "name": "token",
        "in": "query",
        "description": "The one-time-use token authentication scheme requires a token supplied in the named query parameter that can only be used to submit a single API request and that expires after one hour. \n\nFor the \"Try It\" feature, first generate the one-time-use token through either the [Create one-time-use token](ref:createonetimeusetoken) or the [Create APM one-time-use token](ref:createapmonetimeusetoken) endpoint. Copy the resulting token and then paste it in the appropriate field for the current endpoint. \n\nFor your own requests, learn how to generate the one-time-use token in the [Authentication](doc:authentication#one-time-use-tokens) guide. Then, use it as normal for this endpoint. \n\nFor more information about the \"apiKeys\" security protocol, see https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#security-scheme-object"
      }
    },
    "responses": {
      "401": {
        "description": "Unauthorized.\n\nFor help with this error and other error codes, see [Common errors](doc:common-errors) in the Guides area.",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "error": {
                  "type": "integer",
                  "example": 440,
                  "description": "Indicates the Nexio error code, if applicable."
                },
                "message": {
                  "type": "string",
                  "description": "A message from Nexio about the state of the request.",
                  "example": "Unauthorized"
                }
              }
            }
          }
        }
      }
    }
  },
  "tags": [
    {
      "name": "Ecommerce",
      "description": "APIs for ecommerce payments"
    },
    {
      "name": "Alternative Payment Methods",
      "description": "APIs for APM payments"
    }
  ],
  "paths": {
    "/pay/v3/token": {
      "post": {
        "description": "Use this endpoint to generate a temporary token prior to loading an ecommerce iframe. The available and required parameters differ based on the iframe to be loaded. See the dropdown below to determinee which parameters are available and required for each iframe. All processing options and UI options for your iframes must be sent in the body of this request. \n\nIf you want to have the system pre-fill an iframe form, you must include that data (for example, card or customer information) in the request for this endpoint. <b>Any parameter included here will be overwritten if the same parameter is included in the iframe’s event body.</b>\n\nFor more information about the parameters that continue from the one-time-use token to the saved card token and beyond, see [What data is saved with tokens?](doc:what-data-is-saved-with-tokens) in Guides.\n\n<!-- theme: info -->\n> 📘 Note\n> \n> Once a token has been used to submit an iframe it cannot be used to load another. You must request a new one-time-use token prior to submitting each iframe.\n\n<!-- theme: warning -->\n> ⚠️ Try It\n> \n> To use the Try It feature for this endpoint, you can use the credentials for your [Sandbox API user](doc:sandbox-environments).<br/><br/>You can also use the following test account. Copy the value and paste it into the appropriate space in the Try It section to the right.\n> username: `docs@nexiopay.com`\n> password: `JZdzoXpdDeH6VA`<br/><br/>Include any other parameters that you need for the body of the request, depending on what you are using the one-time-use token for.\n\n\n<div style=\"display:none;\">\n\n## Request parameters\n- bank\n- bank.accountHolderName\n- bank.routingNumber\n- card\n- card.businessNumber\n- card.cardHolderName\n- card.cardType\n- card.classification\n- card.expirationMonth\n- card.expirationYear\n- card.password\n- data\n- data.allowedCardTypes\n- data.amount\n- data.currency\n- data.customer\n- data.customer.customerRef\n- data.customer.orderNumber\n- data.customer.orderDate\n- data.customer.invoice\n- data.customer.firstName\n- data.customer.lastName\n- data.customer.birthDate\n- data.customer.nationalIdentificationNumber\n- data.customer.billToAddressOne\n- data.customer.billToAddressTwo\n- data.customer.billToCity\n- data.customer.billToCountry\n- data.customer.billToPhone\n- data.customer.billToPostal\n- data.customer.billToState\n- data.customer.birthDate\n- data.customer.createdAtDate\n- data.customer.email\n- data.customer.phone\n- data.customer.shipToAddressOne\n- data.customer.shipToAddressTwo\n- data.customer.shipToCity\n- data.customer.shipToCountry\n- data.customer.shipToPhone\n- data.customer.shipToPostal\n- data.customer.shipToState\n- data.customFields\n- data.customFields.exampleKey\n- data.description\n- data.descriptor\n- data.descriptor.name\n- data.descriptor.address\n- data.descriptor.city\n- data.descriptor.state\n- data.descriptor.postal\n- data.descriptor.country\n- data.descriptor.phone\n- data.descriptor.url\n- data.descriptor.merchantId\n- data.descriptor.mcc\n- data.lodging\n- data.lodging.advanceDeposit\n- data.lodging.checkInDate\n- data.lodging.checkOutDate\n- data.lodging.noShow\n- data.lodging.roomNumber\n- data.lodging.roomRate\n- data.surcharge\n- installment\n- installment.period\n- isAuthOnly\n- processingOptions\n- processingOptions.checkFraud\n- processingOptions.verboseResponse\n- processingOptions.verifyAvs\n- processingOptions.verifyCvc\n- processingOptions.customerRedirectUrl\n- processingOptions.merchantId\n- processingOptions.paymentOptionTag\n- processingOptions.saveCardToken\n- processingOptions.shouldUseFingerprint\n- shouldUpdateCard\n- uiOptions\n- uiOptions.css\n- uiOptions.customTextUrl\n- uiOptions.displaySubmitButton\n- uiOptions.hideBilling\n- uiOptions.hideBilling.hideAddressOne\n- uiOptions.hideBilling.hideAddressTwo\n- uiOptions.hideBilling.hideCity\n- uiOptions.hideBilling.hideCountry\n- uiOptions.hideBilling.hidePostal\n- uiOptions.hideBilling.hidePhone\n- uiOptions.hideBilling.hideState\n- uiOptions.hideCvc\n- uiOptions.limitCountriesTo\n- uiOptions.requireCvc\n- uiOptions.forceExpirationSelection\n\n\n## Response parameters\n- expiration\n- fraudUrlc\n- token\n\n</div>",
        "operationId": "CreateOneTimeUseToken",
        "tags": [
          "Ecommerce"
        ],
        "security": [
          {
            "Basic_Authentication": []
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "oneOf": [
                  {
                    "title": "Save card token iframe",
                    "type": "object",
                    "description": "Save card token iframe.",
                    "x-tags": [
                      "object"
                    ],
                    "properties": {
                      "card": {
                        "title": "card",
                        "type": "object",
                        "description": "Card information. Typically, you only include the `cardHolderName`, `expirationMonth`, and `expirationYear`.\n\nThe other possible parameters are only required for certain gateways or connections.",
                        "x-tags": [
                          "object"
                        ],
                        "properties": {
                          "cardHolderName": {
                            "$ref": "#/paths/~1pay~1v3~1saveCard/post/responses/200/content/application~1json/schema/properties/card/properties/cardHolderName"
                          },
                          "expirationMonth": {
                            "$ref": "#/paths/~1pay~1v3~1saveCard/post/responses/200/content/application~1json/schema/properties/card/properties/expirationMonth"
                          },
                          "expirationYear": {
                            "$ref": "#/paths/~1pay~1v3~1saveCard/post/responses/200/content/application~1json/schema/properties/card/properties/expirationYear"
                          },
                          "classification": {
                            "type": "string",
                            "title": "classification",
                            "description": "The card classification. This field is required by certain gateways. For information on gateway-specific required fields, see the [Connections](doc:connections) documentation. This value is cached in the one-time-use token.\n\nWhen the value for this field is `business`, include values for `businessNumber` and  `password`.",
                            "example": "business",
                            "x-tags": [
                              "component"
                            ],
                            "enum": [
                              "business",
                              "personal"
                            ]
                          },
                          "businessNumber": {
                            "title": "businessNumber",
                            "type": "string",
                            "description": "A string containing 10 digits. This field is required by certain gateways. For information on gateway-specific required fields, see the [Connections](doc:connections) documentation. This value is cached in the one-time-use token.<br/><br/> When the value for `classification` is `business`, include a value for this field.",
                            "example": "1234567890",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "password": {
                            "title": "password",
                            "type": "string",
                            "description": "A string containing two digits. This field is required by certain gateways. For information on gateway-specific required fields, see the [Connections](doc:connections) documentation. This value is cached in the one-time-use token.\n\nWhen the value for `classification` is `business`, include a value for this field.",
                            "example": "12",
                            "x-tags": [
                              "component"
                            ]
                          }
                        }
                      },
                      "data": {
                        "type": "object",
                        "description": "Additional optional data",
                        "properties": {
                          "allowedCardTypes": {
                            "title": "allowedCardTypes",
                            "type": "array",
                            "description": "If this array is nonempty, Card Number field will only accept the card types included in the array. This value is cached in the one-time-use token.",
                            "x-tags": [
                              "component"
                            ],
                            "items": {
                              "type": "string",
                              "example": "visa",
                              "enum": [
                                "amex",
                                "discover",
                                "jcb",
                                "mastercard",
                                "visa"
                              ]
                            }
                          },
                          "currency": {
                            "type": "string",
                            "title": "currency",
                            "description": "The [three-character ISO code](https://en.wikipedia.org/wiki/ISO_4217) for any currency supported by your merchant account. If you specify a currency that your account does not support, you will get an error response. If you do not include this parameter, the system uses the default of `USD`, but if your merchant account does not support USD, you will get an error response.\n\nThis value is cached in the one-time-use token, but it is only used for pre-filling the iframe in the [Save card token with iframe](ref:savecardtokeniframe) or [Run card transaction with iframe](ref:runcardtransactioniframe) endpoints.\n\nPlease note that the currency is not stored with the card token. Card tokens can be used to process through any MID on your account. They are not restricted to a specific merchant account or currency.",
                            "default": "USD",
                            "x-tags": [
                              "component"
                            ],
                            "example": "EUR"
                          },
                          "customer": {
                            "title": "customer",
                            "type": "object",
                            "description": "Customer information to be used in checking fraud or sent to the processing gateway, when applicable.",
                            "x-tags": [
                              "object"
                            ],
                            "properties": {
                              "orderNumber": {
                                "title": "orderNumber",
                                "type": "string",
                                "description": "The order number. This parameter is not required by the API (it is required for transactions where [decline recovery](doc:recover) is used). **However, Nexio strongly recommends that you include this for every transaction. Ideally, this value should be unique to the merchant.** This value is cached in the one-time-use token.\n\n<!-- theme: warning -->\n> 🛑 Important\n>\n> If you run 3DS transactions and you do not use a unique order number, there will be payment flows that you won't be able to reconcile.\n\nNexio recommends a format for the order number of a unique value that also includes an attempt number so that you can track attempts per order, such as when a payment attempt fails. For example, something like `[order_number]-[attempt_number]`.\n",
                                "example": "210058A-1",
                                "x-tags": [
                                  "component"
                                ]
                              },
                              "customerRef": {
                                "$ref": "#/paths/~1subscription~1v3~1%7Bid%7D/put/responses/200/content/application~1json/schema/properties/customerRef"
                              },
                              "orderDate": {
                                "title": "orderDate",
                                "type": "string",
                                "description": "The date of the customer's order. This field is required by certain gateways. For information on gateway-specific required fields, see the [Connections](doc:connections) documentation. This value is cached in the one-time-use token.\n\nUse any of the following formats for the date:\n- Four-digit year, two-digit month and day, separated with hyphens: YYYY-MM-DD.<br>For example, `2021-08-26`.\n- [ISO-8601](https://www.iso.org/iso-8601-date-and-time-format.html) date expressed in UTC. It must include the 3 decimal places for milliseconds.<br>For example, `2001-08-26T13:35:00.978Z` or `1990-12-05T00:00:00.000Z`.\n- UNIX date (as an integer representing seconds).<br>For example, `1630006518`.\n\n<!-- theme:info -->\n> #### Note\n> This is NOT a quick way to schedule a transaction. Specifying a date in the future does not cause the order to be run automatically at the indicated date or time.",
                                "example": "2021-08-26",
                                "x-tags": [
                                  "component"
                                ]
                              },
                              "invoice": {
                                "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/invoice"
                              },
                              "firstName": {
                                "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/firstName"
                              },
                              "lastName": {
                                "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/lastName"
                              },
                              "birthDate": {
                                "type": "string",
                                "title": "birthDate",
                                "description": "The customer's date of birth. This value is cached in the one-time-use token.\n\nUse any of the following formats for the date:\n- Four-digit year, two-digit month and day, separated with hyphens: YYYY-MM-DD.<br>For example, `2001-08-26`.\n- [ISO-8601](https://www.iso.org/iso-8601-date-and-time-format.html) date expressed in UTC. It must include the 3 decimal places for milliseconds.<br>For example, `2001-08-26T13:35:00.978Z` or `1990-12-05T00:00:00.000Z`.\n- UNIX date (as an integer representing seconds).<br>For example, `998854500`.",
                                "example": "1990-12-05",
                                "x-tags": [
                                  "component"
                                ]
                              },
                              "nationalIdentificationNumber": {
                                "type": "string",
                                "title": "nationalIdentificationNumber",
                                "description": "The identification number issued by a national authority to the individual person, such as social security number. This value is cached in the one-time-use token.\n\nThis field is required by certain gateways. For information on gateway-specific required fields, see the [Connections](doc:connections) documentation.\n\nThe following list provides information about potential identification sources:\n- **Brazil:** CPF or CNPJ. \n - **Chile:** RUN for individual users and RUT for companies \n - **Colombia:** For individual users CC (Cédula de ciudadanía), CE (Cédula de Extranjería) and TI (Targeta de Identidad) and for companies NIT \n - **Mexico:** RFC and CURP (individual user) and RFC (legal entity/company)",
                                "x-tags": [
                                  "component"
                                ],
                                "example": "5471300000000003"
                              },
                              "email": {
                                "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/email"
                              },
                              "phone": {
                                "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/phone"
                              },
                              "billToAddressOne": {
                                "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/billToAddressOne"
                              },
                              "billToAddressTwo": {
                                "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/billToAddressTwo"
                              },
                              "billToCity": {
                                "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/billToCity"
                              },
                              "billToState": {
                                "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/billToState"
                              },
                              "billToPostal": {
                                "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/billToPostal"
                              },
                              "billToCountry": {
                                "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/billToCountry"
                              },
                              "billToPhone": {
                                "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/billToPhone"
                              },
                              "shipToAddressOne": {
                                "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/shipToAddressOne"
                              },
                              "shipToAddressTwo": {
                                "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/shipToAddressTwo"
                              },
                              "shipToCity": {
                                "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/shipToCity"
                              },
                              "shipToState": {
                                "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/shipToState"
                              },
                              "shipToPostal": {
                                "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/shipToPostal"
                              },
                              "shipToCountry": {
                                "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/shipToCountry"
                              },
                              "shipToPhone": {
                                "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/shipToPhone"
                              },
                              "createdAtDate": {
                                "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/createdAtDate"
                              }
                            }
                          },
                          "customFields": {
                            "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customFields"
                          }
                        }
                      },
                      "shouldUpdateCard": {
                        "$ref": "#/paths/~1pay~1v3~1vault~1card~1%7BcardToken%7D/put/requestBody/content/application~1json/schema/properties/shouldUpdateCard"
                      },
                      "processingOptions": {
                        "title": "processingOptions",
                        "type": "object",
                        "description": "Processing options for the request.\n\n<!-- [JJJ This is used in Run echeck transaction iframe, Save card token iframe, & Save card token API] -->",
                        "x-tags": [
                          "object"
                        ],
                        "properties": {
                          "checkFraud": {
                            "title": "checkFraud",
                            "type": "boolean",
                            "description": "Set to `false` to opt out of sending a request to Kount. This value is cached in the one-time-use token.\n\n<b>Note:</b> During testing you may trigger specific Kount responses by including any of the values shown in the [verification](doc:testing-kount-verification#test-kount-verification-table) table.",
                            "default": true,
                            "x-tags": [
                              "component"
                            ]
                          },
                          "verifyAvs": {
                            "title": "verifyAvs",
                            "type": "integer",
                            "description": "Specifies the setting to use with the Address Verification Service (AVS). See the [Settings for AVS](doc:enabling-the-address-verification-service#settings-for-avs) table for a complete list of options. This value is cached in the one-time-use token.\n\n<!-- theme:info -->\n> #### Note\n> This parameter only applies to the [Save card token](ref:savecardtoken) endpoint.",
                            "default": 0,
                            "example": 2,
                            "x-tags": [
                              "component"
                            ]
                          },
                          "verifyCvc": {
                            "title": "verifyCvc",
                            "type": "boolean",
                            "description": "When `true`, an invalid security code will prevent the card from being saved. This value is cached in the one-time-use token.\n\n<!-- theme:info -->\n> #### Note\n> This parameter only applies to the [Save card](ref:savecardtoken) endpoint.",
                            "default": false,
                            "x-tags": [
                              "component"
                            ]
                          },
                          "verboseResponse": {
                            "$ref": "#/paths/~1pay~1v3~1processECheck/post/requestBody/content/application~1json/schema/properties/processingOptions/properties/verboseResponse"
                          }
                        }
                      },
                      "uiOptions": {
                        "title": "uiOptions",
                        "type": "object",
                        "description": "Used to customize the iframe's user interface.",
                        "x-tags": [
                          "object"
                        ],
                        "properties": {
                          "css": {
                            "$ref": "#/paths/~1apm~1v3~1token/post/requestBody/content/application~1json/schema/properties/uiOptions/properties/css"
                          },
                          "customTextUrl": {
                            "type": "string",
                            "title": "customTextUrl",
                            "description": "The URL where your custom text JSON file is hosted. For more information, see the [Displaying translated or customized labels](displaying-translated-or-customized-labels) tutorial in Guides. This value is cached in the one-time-use token.",
                            "example": "https://customerassets.nexiopay.com/CMSLabels_es.json",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "displaySubmitButton": {
                            "$ref": "#/paths/~1apm~1v3~1token/post/requestBody/content/application~1json/schema/properties/uiOptions/properties/displaySubmitButton"
                          },
                          "hideBilling": {
                            "title": "hideBilling",
                            "type": "object",
                            "description": "An object that allows you to hide one or more specific billing fields. Alternatively, pass a boolean value for `hideBilling` to hide or display all billing fields (the default is `false`, meaning to display all). This value is cached in the one-time-use token.",
                            "x-tags": [
                              "object"
                            ],
                            "properties": {
                              "hideAddressOne": {
                                "title": "hideAddressOne",
                                "type": "boolean",
                                "description": "Set to `true` to hide the first address field. This value is cached in the one-time-use token.",
                                "default": false,
                                "x-tags": [
                                  "component"
                                ]
                              },
                              "hideAddressTwo": {
                                "title": "hideAddressTwo",
                                "type": "boolean",
                                "description": "Set to `true` to hide the second address field. This value is cached in the one-time-use token.",
                                "default": false,
                                "x-tags": [
                                  "component"
                                ]
                              },
                              "hideCity": {
                                "title": "hideCity",
                                "type": "boolean",
                                "description": "Set to `true` to hide the city field. This value is cached in the one-time-use token.",
                                "default": false,
                                "x-tags": [
                                  "component"
                                ]
                              },
                              "hideState": {
                                "title": "hideState",
                                "type": "boolean",
                                "description": "Set to `true` to hide the state field. This value is cached in the one-time-use token.",
                                "default": false,
                                "x-tags": [
                                  "component"
                                ]
                              },
                              "hidePostal": {
                                "title": "hidePostal",
                                "type": "boolean",
                                "description": "Set to `true` to hide the postal code field. This value is cached in the one-time-use token.",
                                "default": false,
                                "x-tags": [
                                  "component"
                                ]
                              },
                              "hideCountry": {
                                "title": "hideCountry",
                                "type": "boolean",
                                "description": "Set to `true` to hide the country field. This value is cached in the one-time-use token.",
                                "default": false,
                                "x-tags": [
                                  "component"
                                ]
                              },
                              "hidePhone": {
                                "type": "boolean",
                                "title": "hidePhone",
                                "description": "Set to `false` to include a Billing Phone Number field to the iframe form. Any information provided by the user will be sent to the gateway. This value is cached in the one-time-use token.\n\n<!-- theme:info -->\n> #### Note\n> A billing phone number provided by the user will take precedence over the `data.customer.billToPhone` payload field.",
                                "default": true,
                                "example": false,
                                "x-tags": [
                                  "component"
                                ]
                              }
                            }
                          },
                          "hideCvc": {
                            "title": "hideCvc",
                            "type": "boolean",
                            "description": "Set to `true` to hide the security code field. This value is cached in the one-time-use token.",
                            "default": false,
                            "example": true,
                            "x-tags": [
                              "component"
                            ]
                          },
                          "requireCvc": {
                            "title": "requireCvc",
                            "type": "boolean",
                            "description": "Set to false to allow form submission without requiring the security code. This value is cached in the one-time-use token.",
                            "default": true,
                            "example": false,
                            "x-tags": [
                              "component"
                            ]
                          },
                          "forceExpirationSelection": {
                            "type": "boolean",
                            "title": "forceExpirationSelection",
                            "description": "Specifies whether to have any default selections for the `expirationMonth` and `expirationYear` in the iframe, in order to potentially force the customer to make a specific selection for the card expiration date. This value is cached in the one-time-use token.\n\nThe default behavior of `true` is to not have anything selected by default.\n\nChanging this parameter to `false` then uses any values sent in the request for the month and year as the default selection or, if no values are sent in the request, the selections default to the current month and year.",
                            "x-tags": [
                              "component"
                            ],
                            "example": false,
                            "default": true
                          },
                          "limitCountriesTo": {
                            "title": "limitCountriesTo",
                            "type": "array",
                            "description": "If this array is nonempty, the Country Dropdown field will be limited to the countries on the list. This value is cached in the one-time-use token.\n\n<!-- theme:info -->\n> #### Note\n> These must be the [two-character (Alpha-2) ISO country codes](https://www.iso.org/obp/ui/#search/code/).",
                            "items": {
                              "type": "string"
                            },
                            "example": [
                              "US",
                              "JO",
                              "SA"
                            ],
                            "x-tags": [
                              "component"
                            ]
                          }
                        }
                      }
                    }
                  },
                  {
                    "title": "Save echeck token iframe",
                    "type": "object",
                    "description": "Save echeck token iframe.",
                    "x-tags": [
                      "object"
                    ],
                    "properties": {
                      "bank": {
                        "type": "object",
                        "description": "Bank account information",
                        "properties": {
                          "accountHolderName": {
                            "$ref": "#/paths/~1pay~1v3~1saveECheck/post/requestBody/content/application~1json/schema/properties/bank/properties/accountHolderName"
                          },
                          "routingNumber": {
                            "$ref": "#/paths/~1pay~1v3~1processECheck/post/requestBody/content/application~1json/schema/properties/bank/properties/routingNumber"
                          }
                        }
                      },
                      "paymentMethod": {
                        "type": "string",
                        "title": "paymentMethod",
                        "description": "Specifies the payment method to use. Set to `card` to run card transactions or `echeck` to run echeck transactions.",
                        "x-tags": [
                          "component"
                        ],
                        "default": "echeck",
                        "enum": [
                          "card",
                          "echeck"
                        ]
                      },
                      "data": {
                        "title": "data",
                        "type": "object",
                        "description": "Transaction and customer data.",
                        "x-tags": [
                          "object"
                        ],
                        "properties": {
                          "currency": {
                            "$ref": "#/paths/~1pay~1v3~1capture/post/responses/200/content/application~1json/schema/properties/currency"
                          },
                          "settlementCurrency": {
                            "$ref": "#/paths/~1pay~1v3~1processECheck/post/requestBody/content/application~1json/schema/properties/data/properties/settlementCurrency"
                          },
                          "secCode": {
                            "$ref": "#/paths/~1pay~1v3~1processECheck/post/requestBody/content/application~1json/schema/properties/data/properties/secCode"
                          },
                          "customer": {
                            "$ref": "#/paths/~1pay~1v3~1saveECheck/post/requestBody/content/application~1json/schema/properties/data/properties/customer"
                          },
                          "cart": {
                            "$ref": "#/paths/~1pay~1v3~1processECheck/post/requestBody/content/application~1json/schema/properties/data/properties/cart"
                          },
                          "customFields": {
                            "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customFields"
                          },
                          "description": {
                            "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/description"
                          },
                          "lodging": {
                            "$ref": "#/paths/~1pay~1v3~1processECheck/post/requestBody/content/application~1json/schema/properties/data/properties/lodging"
                          }
                        }
                      },
                      "processingOptions": {
                        "title": "processingOptions",
                        "type": "object",
                        "description": "Processing options to use for the request.\n\n<!-- [JJJ This is used in Save echeck token API & Save echeck token iframe] -->",
                        "x-tags": [
                          "object"
                        ],
                        "properties": {
                          "paymentOptionTag": {
                            "$ref": "#/paths/~1apm~1v3~1token/post/requestBody/content/application~1json/schema/properties/processingOptions/properties/paymentOptionTag"
                          },
                          "merchantId": {
                            "$ref": "#/paths/~1pay~1v3~1saveCard/post/responses/400/content/application~1json/schema/properties/merchantId"
                          },
                          "verboseResponse": {
                            "$ref": "#/paths/~1pay~1v3~1processECheck/post/requestBody/content/application~1json/schema/properties/processingOptions/properties/verboseResponse"
                          }
                        }
                      },
                      "uiOptions": {
                        "title": "uiOptions",
                        "type": "object",
                        "description": "Used to customize the iframe's user interface.",
                        "x-tags": [
                          "object"
                        ],
                        "properties": {
                          "css": {
                            "$ref": "#/paths/~1apm~1v3~1token/post/requestBody/content/application~1json/schema/properties/uiOptions/properties/css"
                          },
                          "customTextUrl": {
                            "$ref": "#/paths/~1pay~1v3~1token/post/requestBody/content/application~1json/schema/oneOf/0/properties/uiOptions/properties/customTextUrl"
                          },
                          "displaySubmitButton": {
                            "$ref": "#/paths/~1apm~1v3~1token/post/requestBody/content/application~1json/schema/properties/uiOptions/properties/displaySubmitButton"
                          },
                          "hideBilling": {
                            "$ref": "#/paths/~1pay~1v3~1token/post/requestBody/content/application~1json/schema/oneOf/0/properties/uiOptions/properties/hideBilling"
                          },
                          "limitCountriesTo": {
                            "$ref": "#/paths/~1pay~1v3~1token/post/requestBody/content/application~1json/schema/oneOf/0/properties/uiOptions/properties/limitCountriesTo"
                          }
                        }
                      }
                    }
                  },
                  {
                    "title": "Run card transaction iframe",
                    "type": "object",
                    "description": "Run card transaction iframe.",
                    "x-tags": [
                      "object"
                    ],
                    "required": [
                      "data",
                      "processingOptions"
                    ],
                    "properties": {
                      "data": {
                        "type": "object",
                        "description": "Transaction data",
                        "required": [
                          "amount",
                          "currency"
                        ],
                        "properties": {
                          "amount": {
                            "$ref": "#/paths/~1pay~1v3~1processECheck/post/responses/200/content/application~1json/schema/properties/amount"
                          },
                          "currency": {
                            "$ref": "#/paths/~1pay~1v3~1capture/post/responses/200/content/application~1json/schema/properties/currency"
                          },
                          "surcharge": {
                            "$ref": "#/paths/~1pay~1v3~1process/post/responses/200/content/application~1json/schema/oneOf/0/properties/surcharge"
                          },
                          "allowedCardTypes": {
                            "$ref": "#/paths/~1pay~1v3~1token/post/requestBody/content/application~1json/schema/oneOf/0/properties/data/properties/allowedCardTypes"
                          },
                          "customer": {
                            "$ref": "#/paths/~1pay~1v3~1token/post/requestBody/content/application~1json/schema/oneOf/0/properties/data/properties/customer"
                          },
                          "cart": {
                            "$ref": "#/paths/~1pay~1v3~1processECheck/post/requestBody/content/application~1json/schema/properties/data/properties/cart"
                          },
                          "customFields": {
                            "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customFields"
                          },
                          "description": {
                            "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/description"
                          },
                          "descriptor": {
                            "$ref": "#/paths/~1apm~1v3~1token/post/requestBody/content/application~1json/schema/properties/data/properties/descriptor"
                          },
                          "lodging": {
                            "$ref": "#/paths/~1pay~1v3~1processECheck/post/requestBody/content/application~1json/schema/properties/data/properties/lodging"
                          }
                        }
                      },
                      "processingOptions": {
                        "title": "processingOptions",
                        "type": "object",
                        "description": "Processing options.",
                        "x-tags": [
                          "object"
                        ],
                        "required": [
                          "paymentType"
                        ],
                        "properties": {
                          "paymentType": {
                            "type": "string",
                            "title": "paymentType",
                            "description": "The type of transaction being processed using stored payment credentials. Use this parameter to properly flag initial and subsequent transactions. This value is cached in the one-time-use token. \n\nFor more information about this parameter and when to use each option, see the [Payment type (paymentType) reference table](doc:constant-transaction-values#payment-type-paymenttype) in Guides.\n\n**Note:** Cardholder authentication (3D Secure) may be required depending on card issuer requirements. For more information, see [3D Secure overview](doc:3d-secure-1) in Guides.",
                            "example": "initialScheduled",
                            "x-tags": [
                              "component"
                            ],
                            "enum": [
                              "initialScheduled",
                              "initialUnscheduled",
                              "scheduled",
                              "unscheduledCit",
                              "unscheduledMit",
                              "initialMoto"
                            ]
                          },
                          "paymentOptionTag": {
                            "$ref": "#/paths/~1apm~1v3~1token/post/requestBody/content/application~1json/schema/properties/processingOptions/properties/paymentOptionTag"
                          },
                          "saveCardToken": {
                            "title": "saveCardToken",
                            "type": "boolean",
                            "description": "Set to `false` if you do not need to use the card token in the future. This value is cached in the one-time-use token.",
                            "default": true,
                            "x-tags": [
                              "component"
                            ]
                          },
                          "retryOnSoftDecline": {
                            "type": "boolean",
                            "title": "retryOnSoftDecline",
                            "x-tags": [
                              "component"
                            ],
                            "description": "Specifies whether to enable the transaction for [decline recovery](doc:recover). Set to `true` to flag the transaction as enabled for decline recovery. Eligible declined transactions are automatically scheduled for retry according to the recommendation engine. This value is cached in the one-time-use token.",
                            "default": false
                          },
                          "checkFraud": {
                            "$ref": "#/paths/~1pay~1v3~1token/post/requestBody/content/application~1json/schema/oneOf/0/properties/processingOptions/properties/checkFraud"
                          },
                          "shouldUseFingerprint": {
                            "title": "shouldUseFingerprint",
                            "type": "boolean",
                            "description": "This parameter applies when a [device fingerprint](doc:device-fingerprinting) was created while saving a card token. The card's stored fingerprint will be used by default, but you may choose not to use it by setting this parameter to false. This value is cached in the one-time-use token.\n\n<!-- theme: info -->\n> #### Note\n> To change your merchant's default setting, contact [Integrations Support](page:contact-us).",
                            "default": true,
                            "x-tags": [
                              "component"
                            ]
                          },
                          "check3ds": {
                            "type": "boolean",
                            "title": "check3ds",
                            "description": "Integrations Support sets this flag to `true` for merchants by default on the backend when the merchant will be handling transactions in 3DS-mandated regions. If needed, you can override this value. When set to `true`, this indicates that your system is equipped to handle a 3DS (three-domain secure) redirect flow being returned from the request. This value is cached in the one-time-use token.\n\nWhen this value is set to `true`, the system returns a redirect response first. This response object includes a `redirectUrl` parameter for running the 3DS workflow and a `asyncTraceId` parameter for tracking progress and status of the workflow with the [View transaction async status](ref:viewtransactionasyncstatus) endpoint.",
                            "example": true,
                            "x-tags": [
                              "component"
                            ],
                            "default": false
                          },
                          "customerRedirectUrl": {
                            "type": "string",
                            "title": "customerRedirectUrl",
                            "description": "The URL to which the customer will be redirected after completing a [3D Secure](doc:using-3ds-to-run-transactions) authentication. The customer will be sent here whether the transaction succeeds or fails. This URL must use the HTTPS protocol. This value is cached in the one-time-use token.",
                            "example": "https://[your-ecommerce-website]",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "merchantId": {
                            "$ref": "#/paths/~1pay~1v3~1saveCard/post/responses/400/content/application~1json/schema/properties/merchantId"
                          },
                          "verboseResponse": {
                            "$ref": "#/paths/~1pay~1v3~1processECheck/post/requestBody/content/application~1json/schema/properties/processingOptions/properties/verboseResponse"
                          }
                        }
                      },
                      "card": {
                        "$ref": "#/paths/~1pay~1v3~1token/post/requestBody/content/application~1json/schema/oneOf/0/properties/card"
                      },
                      "installment": {
                        "title": "installment",
                        "type": "object",
                        "description": "Creates an installment associated with the transaction. This is used with the `data.amount` and `data.currency` of the transaction by the gateway or connection to determine how much to charge per transaction.\n\nNexio supports installments for the following gateways:\n- [Cybersource](doc:cybersource-integration-guide)\n- [Openpay](doc:openpay-integration-guide)\n\nFor additional instruction, see [Setting up installments for a bank to handle the payment plan](doc:setting-up-installments-for-a-bank-to-handle-the-payment-plan) or [Setting up installments for a bank to handle the subscription](doc:setting-up-installments-for-a-bank-to-handle-the-subscription) in Guides.",
                        "x-tags": [
                          "object"
                        ],
                        "properties": {
                          "period": {
                            "type": "integer",
                            "title": "period",
                            "description": "Indicates the number of payments. The value to use depends on the gateway being used. This value is cached in the one-time-use token.\n\nThe following values are possible for each gateway or connection:\n- [Cybersource](doc:cybersource-integration-guide) - `period` can be 1-100, depending on the processor being used. Accepted values may depend on the currency, country, and processor used for the transaction. Contact [Integrations Support](page:contact-us) for more information about possible options for your situation.\n- [Openpay](doc:openpay-integration-guide) - `period` can be 3, 6, 9, 12, or 18. By default, the amount must be 300 and the currency must be MXN. The minimum amount can be changed by Openpay.",
                            "example": 12,
                            "x-tags": [
                              "component"
                            ]
                          }
                        }
                      },
                      "isAuthOnly": {
                        "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/isAuthOnly"
                      },
                      "uiOptions": {
                        "$ref": "#/paths/~1pay~1v3~1token/post/requestBody/content/application~1json/schema/oneOf/0/properties/uiOptions"
                      }
                    }
                  },
                  {
                    "title": "Run echeck transaction iframe",
                    "type": "object",
                    "description": "Run echeck transaction iframe.",
                    "x-tags": [
                      "object"
                    ],
                    "required": [
                      "data"
                    ],
                    "properties": {
                      "data": {
                        "title": "data",
                        "type": "object",
                        "description": "Transaction and customer data.",
                        "x-tags": [
                          "object"
                        ],
                        "properties": {
                          "amount": {
                            "$ref": "#/paths/~1pay~1v3~1processECheck/post/responses/200/content/application~1json/schema/properties/amount"
                          },
                          "currency": {
                            "$ref": "#/paths/~1pay~1v3~1capture/post/responses/200/content/application~1json/schema/properties/currency"
                          },
                          "settlementCurrency": {
                            "$ref": "#/paths/~1pay~1v3~1processECheck/post/requestBody/content/application~1json/schema/properties/data/properties/settlementCurrency"
                          },
                          "secCode": {
                            "$ref": "#/paths/~1pay~1v3~1processECheck/post/requestBody/content/application~1json/schema/properties/data/properties/secCode"
                          },
                          "customer": {
                            "$ref": "#/paths/~1pay~1v3~1saveECheck/post/requestBody/content/application~1json/schema/properties/data/properties/customer"
                          },
                          "cart": {
                            "$ref": "#/paths/~1pay~1v3~1processECheck/post/requestBody/content/application~1json/schema/properties/data/properties/cart"
                          },
                          "customFields": {
                            "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customFields"
                          },
                          "description": {
                            "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/description"
                          },
                          "lodging": {
                            "$ref": "#/paths/~1pay~1v3~1processECheck/post/requestBody/content/application~1json/schema/properties/data/properties/lodging"
                          }
                        },
                        "required": [
                          "amount",
                          "currency"
                        ]
                      },
                      "bank": {
                        "type": "object",
                        "description": "Bank account information",
                        "properties": {
                          "accountHolderName": {
                            "$ref": "#/paths/~1pay~1v3~1processECheck/post/requestBody/content/application~1json/schema/properties/bank/properties/accountHolderName"
                          },
                          "routingNumber": {
                            "$ref": "#/paths/~1pay~1v3~1processECheck/post/requestBody/content/application~1json/schema/properties/bank/properties/routingNumber"
                          }
                        }
                      },
                      "paymentMethod": {
                        "$ref": "#/paths/~1pay~1v3~1token/post/requestBody/content/application~1json/schema/oneOf/1/properties/paymentMethod"
                      },
                      "processingOptions": {
                        "$ref": "#/paths/~1pay~1v3~1token/post/requestBody/content/application~1json/schema/oneOf/1/properties/processingOptions"
                      },
                      "uiOptions": {
                        "$ref": "#/paths/~1pay~1v3~1token/post/requestBody/content/application~1json/schema/oneOf/1/properties/uiOptions"
                      }
                    }
                  },
                  {
                    "title": "Save card token API request",
                    "type": "object",
                    "description": "Save card token API request.",
                    "x-tags": [
                      "object"
                    ],
                    "properties": {
                      "data": {
                        "type": "object",
                        "description": "Additional data.",
                        "properties": {
                          "currency": {
                            "$ref": "#/paths/~1pay~1v3~1token/post/requestBody/content/application~1json/schema/oneOf/0/properties/data/properties/currency"
                          }
                        }
                      },
                      "processingOptions": {
                        "$ref": "#/paths/~1pay~1v3~1token/post/requestBody/content/application~1json/schema/oneOf/0/properties/processingOptions"
                      }
                    }
                  },
                  {
                    "title": "Save echeck token API request",
                    "type": "object",
                    "description": "Save echeck token API request.",
                    "x-tags": [
                      "object"
                    ],
                    "properties": {
                      "data": {
                        "type": "object",
                        "description": "Additional optional data",
                        "properties": {
                          "currency": {
                            "$ref": "#/paths/~1pay~1v3~1token/post/requestBody/content/application~1json/schema/oneOf/0/properties/data/properties/currency"
                          }
                        }
                      },
                      "processingOptions": {
                        "$ref": "#/paths/~1pay~1v3~1token/post/requestBody/content/application~1json/schema/oneOf/1/properties/processingOptions"
                      }
                    }
                  }
                ]
              },
              "examples": {
                "Save card token iframe - All parameters": {
                  "value": {
                    "card": {
                      "businessNumber": "1234567890",
                      "cardHolderName": "John H Doe",
                      "classification": "business",
                      "expirationMonth": "12",
                      "expirationYear": "28",
                      "password": "12"
                    },
                    "data": {
                      "allowedCardTypes": [
                        "visa"
                      ],
                      "currency": "EUR",
                      "customer": {
                        "billToAddressOne": "2147 West Silverlake Drive",
                        "billToAddressTwo": "Apt 42",
                        "billToCity": "Scranton",
                        "billToCountry": "US",
                        "billToPhone": "1555555555",
                        "billToPostal": "18503",
                        "billToState": "PA",
                        "birthDate": "1990-12-05",
                        "createdAtDate": "2005-03-01",
                        "customerRef": "RP006",
                        "email": "jdoe@example.com",
                        "firstName": "John",
                        "invoice": "IN0001",
                        "lastName": "Doe",
                        "orderDate": "2021-08-26",
                        "orderNumber": "210058A",
                        "phone": "1555555555",
                        "shipToAddressOne": "1725 Slough Avenue",
                        "shipToAddressTwo": "Suite 200",
                        "shipToCity": "Scranton",
                        "shipToCountry": "US",
                        "shipToPhone": "1555555555",
                        "shipToPostal": "18505",
                        "shipToState": "PA"
                      },
                      "customFields": {
                        "exampleKey": "Example string"
                      }
                    },
                    "processingOptions": {
                      "checkFraud": false,
                      "verboseResponse": true,
                      "verifyAvs": 2,
                      "verifyCvc": false
                    },
                    "shouldUpdateCard": true,
                    "uiOptions": {
                      "css": "https://tester.nexiopaysandbox.com/example1.css",
                      "customTextUrl": "https://customerassets.nexiopay.com/CMSLabels_es.json",
                      "displaySubmitButton": true,
                      "hideBilling": {
                        "hideAddressOne": false,
                        "hideAddressTwo": false,
                        "hideCity": false,
                        "hideCountry": false,
                        "hidePostal": false,
                        "hidePhone": false,
                        "hideState": false
                      },
                      "hideCvc": true,
                      "limitCountriesTo": [
                        "US",
                        "JO",
                        "SA"
                      ],
                      "requireCvc": false
                    }
                  }
                },
                "Save card token API - All parameters": {
                  "value": {
                    "data": {
                      "currency": "EUR"
                    },
                    "processingOptions": {
                      "checkFraud": false,
                      "verboseResponse": true,
                      "verifyAvs": 2,
                      "verifyCvc": false
                    }
                  }
                },
                "Save echeck token iframe - All parameters": {
                  "value": {
                    "bank": {
                      "accountHolderName": "John Doe",
                      "routingNumber": "231375151"
                    },
                    "paymentMethod": "echeck",
                    "data": {
                      "currency": "USD",
                      "secCode": "IAT",
                      "customer": {
                        "orderNumber": "210058A-1",
                        "orderDate": "2021-08-26",
                        "customerRef": "RP006",
                        "invoice": "IN0001",
                        "firstName": "John",
                        "lastName": "Doe",
                        "email": "jdoe@example.com",
                        "phone": "1555555555",
                        "birthDate": "1990-12-05",
                        "companyName": "Green Thumb Lawn Care",
                        "createdAtDate": "2005-03-01",
                        "billToAddressOne": "2147 West Silverlake Drive",
                        "billToAddressTwo": "Apt 42",
                        "billToCity": "Scranton",
                        "billToState": "PA",
                        "billToPostal": "18503",
                        "billToCountry": "US",
                        "billToPhone": "1555555555",
                        "shipToAddressOne": "1725 Slough Avenue",
                        "shipToAddressTwo": "Suite 200",
                        "shipToCity": "Scranton",
                        "shipToState": "PA",
                        "shipToPostal": "18505",
                        "shipToCountry": "US",
                        "shipToPhone": "1555555555"
                      },
                      "cart": {
                        "items": [
                          {
                            "item": "913261",
                            "description": "Hammermill Premium 8.5 x 11 Color Copy Paper, 28 lbs. 500/Ream",
                            "quantity": 8,
                            "price": 16.49,
                            "type": "sale"
                          }
                        ]
                      },
                      "customFields": {
                        "exampleKey": "Example string",
                        "exampleRefNumber": "094785"
                      },
                      "description": "[Description of the transaction]",
                      "lodging": {
                        "advanceDeposit": true,
                        "checkInDate": "2026-01-05",
                        "checkOutDate": "2026-01-08",
                        "noShow": true,
                        "roomNumber": 14,
                        "roomRate": 143.99
                      },
                      "settlementCurrency": "CAD"
                    },
                    "processingOptions": {
                      "verboseResponse": false,
                      "merchantId": "000999",
                      "paymentOptionTag": "nmi"
                    },
                    "uiOptions": {
                      "css": "https://tester.nexiopaysandbox.com/example1.css",
                      "customTextUrl": "https://customerassets.nexiopay.com/CMSLabels_es.json",
                      "displaySubmitButton": true,
                      "hideBilling": {
                        "hideAddressOne": false,
                        "hideAddressTwo": false,
                        "hideCity": false,
                        "hideCountry": false,
                        "hidePostal": false,
                        "hidePhone": false,
                        "hideState": false
                      },
                      "limitCountriesTo": [
                        "US",
                        "JO",
                        "SA"
                      ]
                    }
                  }
                },
                "Save echeck token API - All parameters": {
                  "value": {
                    "data": {
                      "currency": "USD"
                    },
                    "processingOptions": {
                      "verboseResponse": false,
                      "merchantId": "000999",
                      "paymentOptionTag": "nmi"
                    }
                  }
                },
                "Run card transaction iframe - All parameters": {
                  "value": {
                    "data": {
                      "amount": 29.99,
                      "surcharge": 1.25,
                      "currency": "USD",
                      "allowedCardTypes": [
                        "visa"
                      ],
                      "cart": {
                        "items": [
                          {
                            "item": "913261",
                            "description": "Hammermill Premium 8.5 x 11 Color Copy Paper, 28 lbs. 500/Ream",
                            "quantity": 8,
                            "price": 16.49,
                            "type": "sale"
                          }
                        ]
                      },
                      "customer": {
                        "billToAddressOne": "2147 West Silverlake Drive",
                        "billToAddressTwo": "Apt 42",
                        "billToCity": "Scranton",
                        "billToCountry": "US",
                        "billToPhone": "1555555555",
                        "billToPostal": "18503",
                        "billToState": "PA",
                        "birthDate": "1990-12-05",
                        "createdAtDate": "2005-03-01",
                        "customerRef": "RP006",
                        "email": "jdoe@example.com",
                        "firstName": "John",
                        "invoice": "IN0001",
                        "lastName": "Doe",
                        "orderDate": "2021-08-26",
                        "orderNumber": "210058A",
                        "phone": "1555555555",
                        "shipToAddressOne": "1725 Slough Avenue",
                        "shipToAddressTwo": "Suite 200",
                        "shipToCity": "Scranton",
                        "shipToCountry": "US",
                        "shipToPhone": "1555555555",
                        "shipToPostal": "18505",
                        "shipToState": "PA"
                      },
                      "customFields": {
                        "exampleKey": "Example string"
                      },
                      "description": "test purchase",
                      "descriptor": "",
                      "lodging": {
                        "advanceDeposit": true,
                        "checkInDate": "2018-12-31",
                        "checkOutDate": "2019-01-05",
                        "noShow": false,
                        "roomNumber": 14,
                        "roomRate": 143.99
                      }
                    },
                    "card": {
                      "businessNumber": "1234567890",
                      "cardHolderName": "John H Doe",
                      "classification": "business",
                      "expirationMonth": "12",
                      "expirationYear": "28",
                      "password": "12"
                    },
                    "installment": {
                      "period": 10
                    },
                    "isAuthOnly": false,
                    "processingOptions": {
                      "paymentType": "initialUnscheduled",
                      "checkFraud": false,
                      "customerRedirectUrl": "https://[your-ecommerce-website]",
                      "merchantId": "000999",
                      "paymentOptionTag": "nmi",
                      "saveCardToken": true,
                      "shouldUseFingerprint": true,
                      "verboseResponse": true,
                      "allowZeroAmount": false,
                      "allowMultipleRefunds": true
                    },
                    "uiOptions": {
                      "css": "https://tester.nexiopaysandbox.com/example1.css",
                      "customTextUrl": "https://customerassets.nexiopay.com/CMSLabels_es.json",
                      "displaySubmitButton": true,
                      "hideBilling": {
                        "hideAddressOne": false,
                        "hideAddressTwo": false,
                        "hideCity": false,
                        "hideCountry": false,
                        "hidePostal": false,
                        "hidePhone": false,
                        "hideState": false
                      },
                      "hideCvc": true,
                      "limitCountriesTo": [
                        "US",
                        "JO",
                        "SA"
                      ],
                      "requireCvc": false
                    }
                  }
                },
                "Run echeck transaction iframe - All parameters": {
                  "value": {
                    "data": {
                      "amount": 29.99,
                      "currency": "USD",
                      "secCode": "IAT",
                      "customer": {
                        "orderNumber": "210058A-1",
                        "orderDate": "2021-08-26",
                        "customerRef": "RP006",
                        "invoice": "IN0001",
                        "firstName": "John",
                        "lastName": "Doe",
                        "email": "jdoe@example.com",
                        "phone": "1555555555",
                        "birthDate": "1990-12-05",
                        "companyName": "Green Thumb Lawn Care",
                        "createdAtDate": "2005-03-01",
                        "billToAddressOne": "2147 West Silverlake Drive",
                        "billToAddressTwo": "Apt 42",
                        "billToCity": "Scranton",
                        "billToState": "PA",
                        "billToPostal": "18503",
                        "billToCountry": "US",
                        "billToPhone": "1555555555",
                        "shipToAddressOne": "1725 Slough Avenue",
                        "shipToAddressTwo": "Suite 200",
                        "shipToCity": "Scranton",
                        "shipToState": "PA",
                        "shipToPostal": "18505",
                        "shipToCountry": "US",
                        "shipToPhone": "1555555555"
                      },
                      "cart": {
                        "items": [
                          {
                            "item": "913261",
                            "description": "Hammermill Premium 8.5 x 11 Color Copy Paper, 28 lbs. 500/Ream",
                            "quantity": 8,
                            "price": 16.49,
                            "type": "sale"
                          }
                        ]
                      },
                      "customFields": {
                        "exampleKey": "Example string",
                        "exampleRefNumber": "094785"
                      },
                      "description": "[Description of the transaction]",
                      "lodging": {
                        "advanceDeposit": true,
                        "checkInDate": "2026-01-05",
                        "checkOutDate": "2026-01-08",
                        "noShow": true,
                        "roomNumber": 14,
                        "roomRate": 143.99
                      },
                      "settlementCurrency": "CAD"
                    },
                    "bank": {
                      "accountHolderName": "John Doe",
                      "routingNumber": "231375151"
                    },
                    "paymentMethod": "echeck",
                    "processingOptions": {
                      "verboseResponse": false,
                      "merchantId": "000999",
                      "paymentOptionTag": "nmi"
                    },
                    "uiOptions": {
                      "css": "https://tester.nexiopaysandbox.com/example1.css",
                      "customTextUrl": "https://customerassets.nexiopay.com/CMSLabels_es.json",
                      "displaySubmitButton": true,
                      "hideBilling": {
                        "hideAddressOne": false,
                        "hideAddressTwo": false,
                        "hideCity": false,
                        "hideCountry": false,
                        "hidePostal": false,
                        "hidePhone": false,
                        "hideState": false
                      },
                      "limitCountriesTo": [
                        "US",
                        "JO",
                        "SA"
                      ]
                    }
                  }
                },
                "Run card/echeck transaction iframe - Required parameters": {
                  "value": {
                    "data": {
                      "amount": 29.99,
                      "currency": "USD"
                    },
                    "processingOptions": {
                      "paymentType": "initialUnscheduled"
                    }
                  }
                },
                "Save card/echeck token API request - No parameters": {
                  "value": {}
                }
              }
            }
          },
          "description": ""
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "The one-time-use token",
                  "properties": {
                    "expiration": {
                      "type": "string",
                      "title": "expiration",
                      "description": "The date and time at which the one-time-use token will expire, in [ISO-8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
                      "example": "2028-09-18T15:43:05.664Z",
                      "x-tags": [
                        "component"
                      ]
                    },
                    "fraudUrl": {
                      "type": "string",
                      "title": "fraudUrl",
                      "description": "The URL to be used for device fingerprinting.",
                      "x-tags": [
                        "component"
                      ],
                      "example": "https://api.nexiopaysandbox.com/pay/v3/fingerprint?token=830d36f6-a5e3-4455-9600-3a55b63e2fc2"
                    },
                    "token": {
                      "title": "token",
                      "type": "string",
                      "description": "Your [one-time-use token](ref:createonetimeusetoken).",
                      "example": "830d36f6-a5e3-4455-9600-3a55b63e2fc2",
                      "x-tags": [
                        "component"
                      ]
                    }
                  }
                },
                "examples": {
                  "Example response": {
                    "value": {
                      "expiration": "2028-09-18T15:43:05.664Z",
                      "fraudUrl": "https://api.nexiopaysandbox.com/pay/v3/fingerprint?token=830d36f6-a5e3-4455-9600-3a55b63e2fc2",
                      "token": "830d36f6-a5e3-4455-9600-3a55b63e2fc2"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        },
        "summary": "Create one-time-use token"
      }
    },
    "/pay/v3/saveCard": {
      "post": {
        "description": "Allows you to securely save a card token [using your own form](doc:creating-a-save-card-page-with-your-own-form) or [using the API directly](doc:saving-a-card-token-with-the-api) (potentially without a web browser). You can use this endpoint to save a new card token or add pre-existing TokenEx tokens that you would like to start using through Nexio. \n\nYou can use this saved card token to run a card transaction using the [Run card transaction with iframe](ref:runcardtransactioniframe) or [Run card transaction](ref:runcardtransaction) endpoint. \n\nCard tokens can be used to process transactions through any MID on your account. They are not restricted to a specific merchant account or currency.\n\nFor instructions on how to implement this endpoint, see [Creating a save card page with your own form](doc:creating-a-save-card-page-with-your-own-form) or [Saving a card token with the API](doc:saving-a-card-token-with-the-api). \n\nFor a tutorial about running a transaction with the saved card token, see the [Creating a card checkout page with the iframe](doc:creating-a-card-checkout-page-with-the-iframe), [Creating a card checkout page with your own form](doc:creating-a-card-checkout-page-with-your-own-form), or [Running a card transaction with the API](doc:running-a-card-transaction-with-the-api) topic.\n\n<!-- theme: info -->\n> 📘 Note \n> \n> Processing options must be sent in the request for a [one-time-use token](ref:createonetimeusetoken). For more information, see [What data is saved with tokens?](doc:what-data-is-saved-with-tokens) in Guides.\n\n<!-- theme: warning -->\n> ⚠️ Try It\n> \n> To use the Try It feature for this endpoint, include at least the following in the body of the request:\n> - A [one-time-use token](ref:createonetimeusetoken) - this replaces the standard username/password and authentication header\n> - `card.cardHolderName`\n> - `card.expirationMonth`\n> - `card.expirationYear`\n> - Either `card.encryptedNumber` or `tokenex.token` (an existing TokenEx card token)\n> For information about test card numbers and values you can use, see the documentation for the specific [gateway/connection integration guide](doc:connections) or, if you are testing Account Updater, see the [Test cards for account updater](doc:checking-a-cards-enrollment-tag#test-cards-for-account-updater) section of the \"Checking a card's enrollment tag\" topic.\n\n\n<div style=\"display:none;\">\n\n## Request parameters\n- card\n- card.cardHolderName\n- card.encryptedNumber\n- card.expirationMonth\n- card.expirationYear\n- card.cardType\n- card.securityCode\n- card.firstSix\n- card.lastFour\n- token\n- data\n- data.customer\n- data.customer.billToAddressOne\n- data.customer.billToAddressTwo\n- data.customer.billToCity\n- data.customer.billToCountry\n- data.customer.billToPhone\n- data.customer.billToPostal\n- data.customer.billToState\n- data.customer.birthDate\n- data.customer.createdAtDate\n- data.customer.email\n- data.customer.firstName\n- data.customer.invoice\n- data.customer.lastName\n- data.customer.phone\n- data.customer.shipToAddressOne\n- data.customer.shipToAddressTwo\n- data.customer.shipToCity\n- data.customer.shipToCountry\n- data.customer.shipToPhone\n- data.customer.shipToPostal\n- data.customer.shipToState\n- shouldUpdateCard\n- tokenex\n- tokenex.token\n- tokenex.firstSix\n- tokenex.lastFour\n- merchantId\n\n## Response parameters\n- card\n- card.cardHolderName\n- card.expirationMonth\n- card.expirationYear\n- card.cardType\n- data\n- data.customer\n- data.customer.billToAddressOne\n- data.customer.billToAddressTwo\n- data.customer.billToCity\n- data.customer.billToCountry\n- data.customer.billToPhone\n- data.customer.billToPostal\n- data.customer.billToState\n- data.customer.birthDate\n- data.customer.email\n- data.customer.firstName\n- data.customer.lastName\n- data.customer.phone\n- data.customer.shipToAddressOne\n- data.customer.shipToAddressTwo\n- data.customer.shipToCity\n- data.customer.shipToCountry\n- data.customer.shipToPhone\n- data.customer.shipToPostal\n- data.customer.shipToState\n- kountResponse\n- kountResponse.status\n- kountResponse.rules\n- merchantId\n- shouldUpdateCard\n- token\n- token.token\n- token.firstSix\n- token.lastFour\n- token.cardType\n- cvcResults\n- cvcResults.matchCvv\n- cvcResults.error\n- cvcResults.gatewayMessage\n- cvcResults.gatewayMessage.cvvresponse\n- cvcResults.gatewayMessage.message\n- avsResults\n- avsResults.matchAddress\n- avsResults.matchPostal\n- avsResults.error\n- avsResults.gatewayMessage\n- avsResults.gatewayMessage.avsresponse\n- avsResults.gatewayMessage.message\n- cardType\n\n</div>",
        "operationId": "SaveCardToken",
        "security": [],
        "tags": [
          "Ecommerce"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "token",
                  "card"
                ],
                "properties": {
                  "token": {
                    "title": "token",
                    "type": "string",
                    "description": "A [one-time-use token](ref:createonetimeusetoken). This value is saved in the card/echeck token as `key`.",
                    "example": "eb50a022-d6de-4244-a1e6-dcb8522b2d19",
                    "x-tags": [
                      "component"
                    ]
                  },
                  "card": {
                    "title": "card",
                    "type": "object",
                    "description": "Card information.",
                    "x-tags": [
                      "object"
                    ],
                    "properties": {
                      "cardHolderName": {
                        "$ref": "#/paths/~1pay~1v3~1vault~1card~1%7BcardToken%7D/put/requestBody/content/application~1json/schema/properties/card/properties/cardHolderName"
                      },
                      "expirationMonth": {
                        "$ref": "#/paths/~1pay~1v3~1vault~1card~1%7BcardToken%7D/put/requestBody/content/application~1json/schema/properties/card/properties/expirationMonth"
                      },
                      "expirationYear": {
                        "$ref": "#/paths/~1pay~1v3~1vault~1card~1%7BcardToken%7D/put/requestBody/content/application~1json/schema/properties/card/properties/expirationYear"
                      },
                      "encryptedNumber": {
                        "type": "string",
                        "title": "encryptedNumber",
                        "description": "The encrypted card number. **Conditionally required**. Either this or the `tokenex.token` parameter is required. For instructions on encrypting the card number, see **step 6** in the [Creating a save card page with your own form](doc:creating-a-save-card-page-with-your-own-form) topic in Guides.\n\nFor information about test card numbers and values you can use, see the documentation for the specific [gateway/connection integration guide](doc:connections) or, if you are testing Account Updater, see the [Test cards for account updater](doc:checking-a-cards-enrollment-tag#test-cards-for-account-updater) section of the \"Checking a card's enrollment tag\" topic.",
                        "example": "cu3yRktaYFK2LUC6DpNK289tYDsGRCi7cO+GeG0hkeYFvT7Y8/oY5r53obMz6Q/BZ38gk2u2Ufwy8ojBcX2sfNjG5jplGTXA4NNlSIUjMFfiHe1sff1JFpThoiW/IIlifGlbWu+S1/9pqWPTzJ2+DcjwohbHzsDahhYewFhXgC8qsK0ypi/Shlp+CwRITyIvbVXESD0xz3YOTRHeZLlChvVqN8z4ZzN8nm0MXkmT1wcpYI73bH4KdnPwNU3s7XxvP/ernQP73SHHAOKSLlz4F6AEHFjJiCoXzeLF7LwEjRdxDJ0sKVXbRk3i9BGh+8Nle2VYgjpUWtk2763QkvZiQQ==",
                        "x-tags": [
                          "component"
                        ]
                      },
                      "cardType": {
                        "type": "string",
                        "title": "cardType",
                        "description": "The card type. **Conditionally required**. This information is required when [saving a card through your own form](doc:creating-a-save-card-page-with-your-own-form). This value is saved in the card token (in `card.cardType`, `cardType`, and `tokenex.cardType`).\n\nYou can specify any value for this parameter when saving to the card token, including the ones listed in this reference, but also other text such as \"American Express\" or \"americanExpress\" or \"Diners Club\". This information is saved to the card token. However, when using that saved card token to run a transaction, the system ignores the value and determines the type based on the card values used. When the card type is not one of the indicated options, the system returns unknown for the `cardType`, or returns `null` when using one of the View transaction endpoints.\n\nFor a list of card types enabled for the merchant account, see the [View card types](ref:viewcardtypes) endpoint.",
                        "example": "visa",
                        "x-tags": [
                          "component"
                        ],
                        "enum": [
                          "amex",
                          "discover",
                          "jcb",
                          "mastercard",
                          "visa"
                        ]
                      },
                      "securityCode": {
                        "title": "securityCode",
                        "type": "string",
                        "description": "The numeric code printed on the card for enhanced security. Because the code may start with a leading zero (0), you should send this as a string rather than an integer (even though both types are supported in the request).\n\n<!-- theme: warning -->\n> 🛑 Warning\n> \n> Storing this value on your servers is prohibited by the PCI-Data Security Standard.\n\nWhen included in the request, Nexio caches the value for up to 24 hours. Therefore, if you save the card token and then submit a transaction with that card token more than 24 hours later, you need to recapture the security code.",
                        "example": 927,
                        "x-tags": [
                          "component"
                        ]
                      },
                      "firstSix": {
                        "$ref": "#/paths/~1pay~1v3~1vault~1card~1%7BcardToken%7D/get/responses/200/content/application~1json/schema/properties/tokenex/properties/firstSix"
                      },
                      "lastFour": {
                        "$ref": "#/paths/~1pay~1v3~1vault~1card~1%7BcardToken%7D/get/responses/200/content/application~1json/schema/properties/tokenex/properties/lastFour"
                      }
                    },
                    "required": [
                      "cardHolderName",
                      "expirationMonth",
                      "expirationYear"
                    ]
                  },
                  "tokenex": {
                    "title": "token",
                    "type": "object",
                    "description": "TokenEx card token information.",
                    "x-tags": [
                      "object"
                    ],
                    "properties": {
                      "token": {
                        "type": "string",
                        "description": "A previously saved TokenEx card token. **Conditionally required.** Either this or the `card.encryptedNumber` parameter is required. This value is saved in the card token.\n\nUse this parameter if you have pre-existing TokenEx tokens you would like to start using through Nexio. **Note:** You will get an error if you try to use a card token generated through Nexio.\n\nCard tokens can be used to process through any MID on your account. They are not restricted to a specific merchant account or currency.",
                        "example": "6ee140a0-05d1-4958-8325-b38a690dbb9d"
                      },
                      "firstSix": {
                        "$ref": "#/paths/~1pay~1v3~1vault~1card~1%7BcardToken%7D/put/responses/200/content/application~1json/schema/properties/tokenex/properties/firstSix"
                      },
                      "lastFour": {
                        "$ref": "#/paths/~1pay~1v3~1vault~1card~1%7BcardToken%7D/put/responses/200/content/application~1json/schema/properties/tokenex/properties/lastFour"
                      }
                    }
                  },
                  "data": {
                    "type": "object",
                    "description": "Additional optional data",
                    "properties": {
                      "customer": {
                        "title": "customer",
                        "type": "object",
                        "description": "Customer information to be used in checking fraud or sent to the processing gateway, when applicable.",
                        "x-tags": [
                          "object"
                        ],
                        "properties": {
                          "invoice": {
                            "title": "invoice",
                            "type": "string",
                            "description": "The invoice number.",
                            "example": "IN0001",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "firstName": {
                            "title": "firstName",
                            "type": "string",
                            "description": "The customer's first name, as it appears on the card or account. This value is saved in the card/echeck token.",
                            "example": "John",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "lastName": {
                            "title": "lastName",
                            "type": "string",
                            "description": "The customer's last name, as it appears on the card or account. This value is saved in the card/echeck token.",
                            "example": "Doe",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "birthDate": {
                            "type": "string",
                            "title": "birthDate",
                            "description": "The customer's date of birth. This value is saved in the card/echeck token. \n\nUse any of the following formats for the date:\n- Four-digit year, two-digit month and day, separated with hyphens: YYYY-MM-DD.<br>For example, `2001-08-26`.\n- [ISO-8601](https://www.iso.org/iso-8601-date-and-time-format.html) date expressed in UTC. It must include the 3 decimal places for milliseconds.<br>For example, `2001-08-26T13:35:00.978Z` or `1990-12-05T00:00:00.000Z`.\n- UNIX date (as an integer representing seconds).<br>For example, `998854500`.",
                            "example": "1990-12-05",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "email": {
                            "type": "string",
                            "title": "email",
                            "description": "The customer's email address. This value is saved in the card/echeck token.",
                            "example": "jdoe@example.com",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "phone": {
                            "title": "phone",
                            "type": "string",
                            "description": "The customer's phone number. This value is saved in the card/echeck token.",
                            "example": "1555555555",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "billToAddressOne": {
                            "title": "billToAddressOne",
                            "type": "string",
                            "description": "The street address on file with the provider. This value is saved in the card/echeck token.",
                            "example": "2147 West Silverlake Drive",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "billToAddressTwo": {
                            "title": "billToAddressTwo",
                            "type": "string",
                            "description": "Additional street address information, if required. This value is saved in the card/echeck token.",
                            "example": "Apt 42",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "billToCity": {
                            "title": "billToCity",
                            "type": "string",
                            "description": "The city on file with the provider. This value is saved in the card/echeck token.",
                            "example": "Scranton",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "billToState": {
                            "type": "string",
                            "title": "billToState",
                            "description": "The state or province on file with the provider. (If in the US, this must be the [two-character state abbreviation](https://pe.usps.com/text/pub28/28apb.htm)). This value is saved in the card/echeck token.",
                            "example": "PA",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "billToPostal": {
                            "title": "billToPostal",
                            "type": "string",
                            "description": "The postal code on file with the provider. This value is saved in the card/echeck token.",
                            "example": "18503",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "billToCountry": {
                            "title": "billToCountry",
                            "type": "string",
                            "description": "The [two-character (Alpha-2) ISO country code](https://www.iso.org/obp/ui/#search/code/) for the address on file with the provider. This value is saved in the card/echeck token.",
                            "example": "US",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "billToPhone": {
                            "title": "billToPhone",
                            "type": "string",
                            "description": "The billing phone number. This value is saved in the card/echeck token.",
                            "example": "1555555555",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "shipToAddressOne": {
                            "title": "shipToAddressOne",
                            "type": "string",
                            "description": "The shipping address, if different from the billing address. This value is saved in the card/echeck token.",
                            "example": "1725 Slough Avenue",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "shipToAddressTwo": {
                            "title": "shipToAddressTwo",
                            "type": "string",
                            "description": "Additional shipping address information, if required. This value is saved in the card/echeck token.",
                            "example": "Suite 200",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "shipToCity": {
                            "title": "shipToCity",
                            "type": "string",
                            "description": "The shipping city. This value is saved in the card/echeck token.",
                            "example": "Scranton",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "shipToState": {
                            "title": "shipToState",
                            "type": "string",
                            "description": "The shipping state or province. (If in the US, this must be the [two-character state abbreviation](https://pe.usps.com/text/pub28/28apb.htm).) This value is saved in the card/echeck token.",
                            "example": "PA",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "shipToPostal": {
                            "title": "shipToPostal",
                            "type": "string",
                            "description": "The shipping postal code. This value is saved in the card/echeck token.",
                            "example": "18505",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "shipToCountry": {
                            "title": "shipToCountry",
                            "type": "string",
                            "description": "The [two-character (Alpha-2) ISO](https://www.iso.org/obp/ui/#search/code/) shipping country code. This value is saved in the card/echeck token.",
                            "example": "US",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "shipToPhone": {
                            "title": "shipToPhone",
                            "type": "string",
                            "description": "The shipping phone number. This value is saved in the card/echeck token.",
                            "example": "1555555555",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "createdAtDate": {
                            "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/createdAtDate"
                          }
                        }
                      }
                    }
                  },
                  "shouldUpdateCard": {
                    "title": "shouldUpdateCard",
                    "type": "boolean",
                    "description": "The card's account updater [enrollment tag](doc:checking-a-cards-enrollment-tag). This value is saved in the card token.\n\nWhen true, the card token is tagged for being sent to the account updater provider.\n\n<!-- theme:info -->\n> #### Note\n> The card will not be registered until the merchant account is enrolled. See the [Enrollment tag table](doc:checking-a-cards-enrollment-tag#enrollment-tag-table) for more information.",
                    "default": true,
                    "x-tags": [
                      "component"
                    ]
                  },
                  "merchantId": {
                    "title": "merchantId",
                    "type": "string",
                    "description": "The Nexio merchant ID (MID). Generally, you should avoid sending this value in the request because it may interfere with several Nexio features. The API user you use directs the transaction to the appropriate MID automatically. This value is saved in the card/echeck token.",
                    "example": "000999",
                    "x-tags": [
                      "component"
                    ]
                  }
                }
              },
              "examples": {
                "Required parameters with encryptedNumber": {
                  "value": {
                    "token": "eb50a022-d6de-4244-a1e6-dcb8522b2d19",
                    "card": {
                      "cardHolderName": "John H Doe",
                      "expirationMonth": "12",
                      "expirationYear": "28",
                      "encryptedNumber": "cu3yRktaYFK2LUC6DpNK289tYDsGRCi7cO+GeG0hkeYFvT7Y8/oY5r53obMz6Q/BZ38gk2u2Ufwy8ojBcX2sfNjG5jplGTXA4NNlSIUjMFfiHe1sff1JFpThoiW/IIlifGlbWu+S1/9pqWPTzJ2+DcjwohbHzsDahhYewFhXgC8qsK0ypi/Shlp+CwRITyIvbVXESD0xz3YOTRHeZLlChvVqN8z4ZzN8nm0MXkmT1wcpYI73bH4KdnPwNU3s7XxvP/ernQP73SHHAOKSLlz4F6AEHFjJiCoXzeLF7LwEjRdxDJ0sKVXbRk3i9BGh+8Nle2VYgjpUWtk2763QkvZiQQ=="
                    }
                  }
                },
                "Required parameters with pre-existing TokenEx token": {
                  "value": {
                    "token": "eb50a022-d6de-4244-a1e6-dcb8522b2d19",
                    "card": {
                      "cardHolderName": "John H Doe",
                      "expirationMonth": "12",
                      "expirationYear": "28"
                    },
                    "tokenex": {
                      "token": "6ee140a0-05d1-4958-8325-b38a690dbb9d"
                    }
                  }
                },
                "All parameters": {
                  "value": {
                    "token": "eb50a022-d6de-4244-a1e6-dcb8522b2d19",
                    "card": {
                      "cardHolderName": "John H Doe",
                      "expirationMonth": "12",
                      "expirationYear": "28",
                      "encryptedNumber": "cu3yRktaYFK2LUC6DpNK289tYDsGRCi7cO+GeG0hkeYFvT7Y8/oY5r53obMz6Q/BZ38gk2u2Ufwy8ojBcX2sfNjG5jplGTXA4NNlSIUjMFfiHe1sff1JFpThoiW/IIlifGlbWu+S1/9pqWPTzJ2+DcjwohbHzsDahhYewFhXgC8qsK0ypi/Shlp+CwRITyIvbVXESD0xz3YOTRHeZLlChvVqN8z4ZzN8nm0MXkmT1wcpYI73bH4KdnPwNU3s7XxvP/ernQP73SHHAOKSLlz4F6AEHFjJiCoXzeLF7LwEjRdxDJ0sKVXbRk3i9BGh+8Nle2VYgjpUWtk2763QkvZiQQ==",
                      "cardType": "visa",
                      "securityCode": 927,
                      "firstSix": "479300",
                      "lastFour": "3313"
                    },
                    "tokenex": {
                      "token": "6ee140a0-05d1-4958-8325-b38a690dbb9d",
                      "firstSix": "479300",
                      "lastFour": "3313"
                    },
                    "data": {
                      "currency": "EUR",
                      "customer": {
                        "email": "jdoe@example.com",
                        "birthDate": "1990-12-05",
                        "firstName": "John",
                        "lastName": "Doe",
                        "phone": "1555555555",
                        "invoice": "IN0001",
                        "orderNumber": "210058A-1",
                        "createdAtDate": "2005-03-01",
                        "billToAddressOne": "2147 West Silverlake Drive",
                        "billToAddressTwo": "Apt 42",
                        "billToCity": "Scranton",
                        "billToState": "PA",
                        "billToPostal": "18503",
                        "billToCountry": "US",
                        "billToPhone": "1555555555",
                        "shipToAddressOne": "1725 Slough Avenue",
                        "shipToAddressTwo": "Suite 200",
                        "shipToCity": "Scranton",
                        "shipToState": "PA",
                        "shipToPostal": "18505",
                        "shipToCountry": "US",
                        "shipToPhone": "1555555555"
                      }
                    },
                    "shouldUpdateCard": true,
                    "merchantId": "000999"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "token": {
                      "title": "token",
                      "type": "object",
                      "description": "Card token information",
                      "x-tags": [
                        "object"
                      ],
                      "properties": {
                        "token": {
                          "type": "string",
                          "description": "The saved card token.",
                          "example": "6ee140a0-05d1-4958-8325-b38a690dbb9d"
                        },
                        "firstSix": {
                          "$ref": "#/paths/~1card~1v3/get/responses/200/content/application~1json/schema/properties/rows/items/properties/firstSix"
                        },
                        "lastFour": {
                          "$ref": "#/paths/~1card~1v3/get/responses/200/content/application~1json/schema/properties/rows/items/properties/lastFour"
                        },
                        "cardType": {
                          "$ref": "#/paths/~1pay~1v3~1saveCard/post/responses/200/content/application~1json/schema/properties/cardType"
                        }
                      }
                    },
                    "card": {
                      "type": "object",
                      "description": "Card information",
                      "properties": {
                        "cardType": {
                          "$ref": "#/paths/~1pay~1v3~1saveCard/post/responses/200/content/application~1json/schema/properties/cardType"
                        },
                        "cardHolderName": {
                          "title": "cardHolderName",
                          "type": "string",
                          "description": "The cardholder's name as it appears on the card. This value is cached in the one-time-use token.",
                          "example": "John H Doe",
                          "x-tags": [
                            "component"
                          ]
                        },
                        "expirationMonth": {
                          "title": "expirationMonth",
                          "type": "string",
                          "description": "The one-digit or two-digit month in which the card expires. The system validates that the value is between 1 and 12. This value is cached in the one-time-use token.",
                          "example": "12",
                          "x-tags": [
                            "component"
                          ],
                          "maxLength": 2,
                          "minLength": 1,
                          "pattern": "^(0[1-9]|[1-9]|1[0-2])$"
                        },
                        "expirationYear": {
                          "type": "string",
                          "title": "expirationYear",
                          "description": "The two-digit year in which the card will expire. This value is cached in the one-time-use token.",
                          "example": "28",
                          "x-tags": [
                            "component"
                          ],
                          "pattern": "^\\d{2}(\\d{2})?$",
                          "minLength": 2,
                          "maxLength": 4
                        },
                        "classification": {
                          "type": "string",
                          "title": "classification",
                          "description": "The card classification. Only returned when it is saved in the card token.",
                          "example": "business",
                          "x-tags": [
                            "component"
                          ],
                          "enum": [
                            "business",
                            "personal"
                          ]
                        },
                        "businessNumber": {
                          "title": "businessNumber",
                          "type": "string",
                          "description": "A string containing 10 digits. Only returned when it is saved in the card token.",
                          "example": "1234567890",
                          "x-tags": [
                            "component"
                          ]
                        },
                        "password": {
                          "title": "password",
                          "type": "string",
                          "description": "A string containing two digits. Only returned when it is saved in the card token.",
                          "example": "12",
                          "x-tags": [
                            "component"
                          ]
                        }
                      }
                    },
                    "cardType": {
                      "type": "string",
                      "title": "cardType",
                      "description": "The card type.",
                      "example": "visa",
                      "x-tags": [
                        "component"
                      ],
                      "enum": [
                        "amex",
                        "discover",
                        "jcb",
                        "mastercard",
                        "visa"
                      ]
                    },
                    "data": {
                      "type": "object",
                      "description": "Additional data, if provided in the request",
                      "properties": {
                        "customer": {
                          "title": "customer",
                          "type": "object",
                          "description": "Customer information returned when checking fraud or from the processing gateway, when applicable.",
                          "x-tags": [
                            "object"
                          ],
                          "properties": {
                            "firstName": {
                              "title": "firstName",
                              "type": "string",
                              "description": "The customer's first name.",
                              "example": "John",
                              "x-tags": [
                                "component"
                              ]
                            },
                            "lastName": {
                              "title": "lastName",
                              "type": "string",
                              "description": "The customer's last name.",
                              "example": "Doe",
                              "x-tags": [
                                "component"
                              ]
                            },
                            "birthDate": {
                              "title": "birthDateViewCardTokenResponse",
                              "type": "string",
                              "description": "The customer's date of birth. The format returned matches the format used in the request that [created the card token](ref:savecardtoken).",
                              "example": "1990-12-05",
                              "x-tags": [
                                "component"
                              ]
                            },
                            "email": {
                              "type": "string",
                              "title": "email",
                              "description": "The customer's email address.",
                              "example": "jdoe@example.com",
                              "x-tags": [
                                "component"
                              ]
                            },
                            "phone": {
                              "title": "phone",
                              "type": "string",
                              "description": "The customer's phone number.",
                              "example": "1555555555",
                              "x-tags": [
                                "component"
                              ]
                            },
                            "billToAddressOne": {
                              "title": "billToAddressOne",
                              "type": "string",
                              "description": "The street address on file with the card provider.",
                              "example": "2147 West Silverlake Drive",
                              "x-tags": [
                                "component"
                              ]
                            },
                            "billToAddressTwo": {
                              "title": "billToAddressTwoResponse",
                              "type": "string",
                              "description": "Additional street address information.",
                              "example": "Apt 42",
                              "x-tags": [
                                "component"
                              ]
                            },
                            "billToCity": {
                              "title": "billToCity",
                              "type": "string",
                              "description": "The city on file with the card provider.",
                              "example": "Scranton",
                              "x-tags": [
                                "component"
                              ]
                            },
                            "billToState": {
                              "type": "string",
                              "title": "billToState",
                              "description": "The state or province on file with the card provider. (If in the US, this is the [two-character state abbreviation](https://pe.usps.com/text/pub28/28apb.htm)).",
                              "example": "PA",
                              "x-tags": [
                                "component"
                              ]
                            },
                            "billToPostal": {
                              "title": "billToPostal",
                              "type": "string",
                              "description": "The postal code on file with the card provider.",
                              "example": "18503",
                              "x-tags": [
                                "component"
                              ]
                            },
                            "billToCountry": {
                              "title": "billToCountry",
                              "type": "string",
                              "description": "The [two-character (Alpha-2) ISO country code](https://www.iso.org/obp/ui/#search/code/) for the address on file with the card provider.",
                              "example": "US",
                              "x-tags": [
                                "component"
                              ]
                            },
                            "billToPhone": {
                              "title": "billToPhone",
                              "type": "string",
                              "description": "The billing phone number.",
                              "example": "1555555555",
                              "x-tags": [
                                "component"
                              ]
                            },
                            "shipToAddressOne": {
                              "title": "shipToAddressOne",
                              "type": "string",
                              "description": "The shipping address.",
                              "example": "1725 Slough Avenue",
                              "x-tags": [
                                "component"
                              ]
                            },
                            "shipToAddressTwo": {
                              "title": "shipToAddressTwo",
                              "type": "string",
                              "description": "Additional shipping address information.",
                              "example": "Suite 200",
                              "x-tags": [
                                "component"
                              ]
                            },
                            "shipToCity": {
                              "title": "shipToCity",
                              "type": "string",
                              "description": "The shipping city.",
                              "example": "Scranton",
                              "x-tags": [
                                "component"
                              ]
                            },
                            "shipToState": {
                              "title": "shipToState",
                              "type": "string",
                              "description": "The shipping state or province. (If in the US, this is the [two-character state abbreviation](https://pe.usps.com/text/pub28/28apb.htm).)",
                              "example": "PA",
                              "x-tags": [
                                "component"
                              ]
                            },
                            "shipToPostal": {
                              "title": "shipToPostal",
                              "type": "string",
                              "description": "The shipping postal code.",
                              "example": "18505",
                              "x-tags": [
                                "component"
                              ]
                            },
                            "shipToCountry": {
                              "title": "shipToCountry",
                              "type": "string",
                              "description": "The [two-character (Alpha-2) ISO](https://www.iso.org/obp/ui/#search/code/) shipping country code.",
                              "example": "US",
                              "x-tags": [
                                "component"
                              ]
                            },
                            "shipToPhone": {
                              "title": "shipToPhone",
                              "type": "string",
                              "description": "The shipping phone number.",
                              "example": "1555555555",
                              "x-tags": [
                                "component"
                              ]
                            }
                          }
                        }
                      }
                    },
                    "merchantId": {
                      "title": "merchantIdCard",
                      "type": "string",
                      "description": "The merchant account under which the card token is saved.",
                      "example": "000999",
                      "x-tags": [
                        "component"
                      ]
                    },
                    "shouldUpdateCard": {
                      "title": "shouldUpdateCard",
                      "type": "boolean",
                      "description": "The card's account updater [enrollment tag](doc:checking-a-cards-enrollment-tag).\n\nWhen the value is `true`, the card token was tagged for being sent to the account updater provider.\n\n<!-- theme:info -->\n> #### Note\n> The card is not registered until the merchant account is enrolled. For more information, see the [Enrollment tag table](doc:checking-a-cards-enrollment-tag#enrollment-tag-table).",
                      "default": true,
                      "x-tags": [
                        "component"
                      ]
                    },
                    "kountResponse": {
                      "type": "object",
                      "description": "Fraud data and rules",
                      "properties": {
                        "status": {
                          "type": "string",
                          "title": "status",
                          "description": "Will be one of four possible statuses: `success`, `review`, `decline`, or `error`. See [Kount response status](doc:understanding-the-kount-response) in Guides for more information.",
                          "x-tags": [
                            "component"
                          ],
                          "example": "success"
                        },
                        "rules": {
                          "title": "rules",
                          "type": "string",
                          "description": "Kount-specific information, including rules triggered. See our [Fraud tutorial](doc:understanding-the-kount-response) in Guides for more information.",
                          "example": "{\"VERS\":\"0630\",\"MODE\":\"Q\",\"TRAN\":\"7V7D0V1BMKPX\",\"MERC\":\"717000\",\"SESS\":\"3bbb89edcd5742f18e2502ebb2bbb18b\",\"ORDR\":\"14233\",\"AUTO\":\"A\",\"SCOR\":\"29\",\"GEOX\":\"US\",\"BRND\":\"VISA\",\"REGN\":null,\"NETW\":\"N\",\"KAPT\":\"N\",\"CARDS\":\"1\",\"DEVICES\":\"1\",\"EMAILS\":\"1\",\"VELO\":\"0\",\"VMAX\":\"0\",\"SITE\":\"DEFAULT\",\"DEVICE_LAYERS\":\"....\",\"FINGERPRINT\":null,\"TIMEZONE\":null,\"LOCALTIME\":\" \",\"REGION\":null,\"COUNTRY\":null,\"PROXY\":null,\"JAVASCRIPT\":null,\"FLASH\":null,\"COOKIES\":null,\"HTTP_COUNTRY\":null,\"LANGUAGE\":null,\"MOBILE_DEVICE\":null,\"MOBILE_TYPE\":null,\"MOBILE_FORWARDER\":null,\"VOICE_DEVICE\":null,\"PC_REMOTE\":null,\"RULES_TRIGGERED\":0,\"COUNTERS_TRIGGERED\":0,\"REASON_CODE\":null,\"MASTERCARD\":\"\",\"DDFS\":null,\"DSR\":null,\"UAS\":null,\"BROWSER\":null,\"OS\":null,\"PIP_IPAD\":null,\"PIP_LAT\":null,\"PIP_LON\":null,\"PIP_COUNTRY\":null,\"PIP_REGION\":null,\"PIP_CITY\":null,\"PIP_ORG\":null,\"IP_IPAD\":null,\"IP_LAT\":null,\"IP_LON\":null,\"IP_COUNTRY\":null,\"IP_REGION\":null,\"IP_CITY\":null,\"IP_ORG\":null,\"WARNING_COUNT\":0}",
                          "x-tags": [
                            "component"
                          ]
                        }
                      }
                    },
                    "avsResults": {
                      "type": "object",
                      "description": "If a value for `verifyAvs` was specified in the request for a one-time use token, then the Save card token endpoint includes this object in the response. For information about interpreting the response, see the [Enabling the Address Verification Service](doc:enabling-the-address-verification-service) topic in Guides.",
                      "properties": {
                        "error": {
                          "type": "boolean",
                          "title": "error",
                          "description": "Specifies whether the `verifyAvs` check succeeded or failed. A value of `false` indicates that there was no error in processing the check (for either `matchAddress` or `matchPostal`). A value of `true` indicates that a problem occured when doing the check, but the card token was still saved.",
                          "x-tags": [
                            "component"
                          ],
                          "example": "false"
                        },
                        "matchAddress": {
                          "type": "boolean",
                          "title": "matchAddress",
                          "description": "The results of the US-based address check. The result is `true` when the address provided matches the address on file with the card issuer. \n\n(In this case, 'address' refers to the street address portion of the billing address. For example, if the address provided were `123 Sesame St. Manhattan, NY 10128`, matchAddress would compare `123 Sesame St.` with the address on file.)",
                          "x-tags": [
                            "component"
                          ],
                          "example": "true"
                        },
                        "matchPostal ": {
                          "type": "boolean",
                          "title": "matchPostal",
                          "description": "The results of the US-based postal code check. The result is `true` when the postal code provided matches the postal code on file with the card issuer.\n\n(For example, if the address provided were `123 Sesame St. Manhattan, NY 10128`, matchPostal would compare `10128` with the postal code on file.)",
                          "x-tags": [
                            "component"
                          ],
                          "example": "true"
                        },
                        "gatewayMessage": {
                          "type": "object",
                          "description": "Information from the verification provider about the `verifyAvs` request.",
                          "properties": {
                            "avsresponse": {
                              "type": "string",
                              "description": "The code provided by the verification provider. For more information about the response, see the [Understanding the AVS response](doc:understanding-the-avs-response) topic in Guides.",
                              "example": "[gateway response]"
                            },
                            "message": {
                              "type": "string",
                              "description": "The message received from the verification provider. For more information about this response, see the [Understanding the AVS response](doc:understanding-the-avs-response) topic in Guides.",
                              "example": "[gateway message]"
                            }
                          }
                        }
                      }
                    },
                    "cvcResults": {
                      "type": "object",
                      "description": "If `verifyCvc` was specified in the request for a one-time use token, then the Save card token endpoint includes this object in the response.",
                      "properties": {
                        "matchCvv": {
                          "type": "boolean",
                          "title": "matchCVV",
                          "description": "Specifies whether the security code verification check process completed. If the security code check was successful, the response is `true`. If this is `false` or this parameter is not returned, then there was a problem. A value of `false` indicates that the verification check failed and the card token was not saved.",
                          "x-tags": [
                            "component"
                          ],
                          "example": false
                        },
                        "error": {
                          "type": "boolean",
                          "title": "error",
                          "description": "Specifies whether the `verifyCvc` check succeeded or failed. A value of `false` indicates that there was no error in processing the check (whether the `matchCvv` was true or false). A value of `true` indicates that a problem occured when doing the check, but the card token was still saved.",
                          "x-tags": [
                            "component"
                          ],
                          "example": "false"
                        },
                        "gatewayMessage": {
                          "type": "object",
                          "description": "Information from the verification provider about the `verifyCvc` request.",
                          "properties": {
                            "cvvresponse": {
                              "type": "string",
                              "enum": [
                                "M",
                                "N",
                                "P",
                                "S",
                                "U",
                                "X"
                              ],
                              "description": "The code provided by the verification provider. This may be an M, N, P, S, U, or X. A response of `M` indicates that the check of the security code was successful and it is valid for the card. For more information about these values, see the [Handling security code verification failures](doc:handling-security-code-verification-failures) topic in Guides.",
                              "example": "S"
                            },
                            "message": {
                              "type": "string",
                              "description": "The message received from the verification provider. For more information about possible strings, see the [Handling security code verification failures](doc:handling-security-code-verification-failures) topic in Guides.",
                              "example": "Merchant has indicated that CVV2/CVC2 is not present on card"
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "Example response": {
                    "value": {
                      "token": {
                        "token": "6ee140a0-05d1-4958-8325-b38a690dbb9d",
                        "firstSix": "479300",
                        "lastFour": "3313",
                        "cardType": "visa"
                      },
                      "card": {
                        "cardType": "visa",
                        "cardHolderName": "John H Doe",
                        "expirationMonth": "12",
                        "expirationYear": "28",
                        "classification": "business",
                        "businessNumber": "1234567890",
                        "password": "12"
                      },
                      "cardType": "visa",
                      "data": {
                        "customer": {
                          "email": "jdoe@example.com",
                          "birthDate": "1990-12-05",
                          "firstName": "John",
                          "lastName": "Doe",
                          "phone": "1555555555",
                          "billToAddressOne": "2147 West Silverlake Drive",
                          "billToAddressTwo": "Apt 42",
                          "billToCity": "Scranton",
                          "billToState": "PA",
                          "billToPostal": "18503",
                          "billToCountry": "US",
                          "billToPhone": "1555555555",
                          "shipToAddressOne": "1725 Slough Avenue",
                          "shipToAddressTwo": "Suite 200",
                          "shipToCity": "Scranton",
                          "shipToState": "PA",
                          "shipToPostal": "18505",
                          "shipToCountry": "US",
                          "shipToPhone": "1555555555"
                        }
                      },
                      "merchantId": "000999",
                      "shouldUpdateCard": true,
                      "kountResponse": {
                        "status": "success",
                        "rules": "{\"VERS\":\"0630\",\"MODE\":\"Q\",\"TRAN\":\"7V7D0V1BMKPX\",\"MERC\":\"717000\",\"SESS\":\"3bbb89edcd5742f18e2502ebb2bbb18b\",\"ORDR\":\"14233\",\"AUTO\":\"A\",\"SCOR\":\"29\",\"GEOX\":\"US\",\"BRND\":\"VISA\",\"REGN\":null,\"NETW\":\"N\",\"KAPT\":\"N\",\"CARDS\":\"1\",\"DEVICES\":\"1\",\"EMAILS\":\"1\",\"VELO\":\"0\",\"VMAX\":\"0\",\"SITE\":\"DEFAULT\",\"DEVICE_LAYERS\":\"....\",\"FINGERPRINT\":null,\"TIMEZONE\":null,\"LOCALTIME\":\" \",\"REGION\":null,\"COUNTRY\":null,\"PROXY\":null,\"JAVASCRIPT\":null,\"FLASH\":null,\"COOKIES\":null,\"HTTP_COUNTRY\":null,\"LANGUAGE\":null,\"MOBILE_DEVICE\":null,\"MOBILE_TYPE\":null,\"MOBILE_FORWARDER\":null,\"VOICE_DEVICE\":null,\"PC_REMOTE\":null,\"RULES_TRIGGERED\":0,\"COUNTERS_TRIGGERED\":0,\"REASON_CODE\":null,\"MASTERCARD\":\"\",\"DDFS\":null,\"DSR\":null,\"UAS\":null,\"BROWSER\":null,\"OS\":null,\"PIP_IPAD\":null,\"PIP_LAT\":null,\"PIP_LON\":null,\"PIP_COUNTRY\":null,\"PIP_REGION\":null,\"PIP_CITY\":null,\"PIP_ORG\":null,\"IP_IPAD\":null,\"IP_LAT\":null,\"IP_LON\":null,\"IP_COUNTRY\":null,\"IP_REGION\":null,\"IP_CITY\":null,\"IP_ORG\":null,\"WARNING_COUNT\":0}"
                      },
                      "avsResults": {
                        "error": "false",
                        "matchAddress": "true",
                        "matchPostal ": "true",
                        "gatewayMessage": {
                          "avsresponse": "[gateway response]",
                          "message": "[gateway message]"
                        }
                      },
                      "cvcResults": {
                        "matchCvv": false,
                        "error": "false",
                        "gatewayMessage": {
                          "cvvresponse": "M",
                          "message": "Merchant has indicated that CVV2/CVC2 is not present on card"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "",
                  "properties": {
                    "error": {
                      "type": "number",
                      "description": "The Nexio error code. For an HTTP status code of 400, this value is 437."
                    },
                    "message": {
                      "type": "string",
                      "description": "The message associated with the error. For an HTTP status code of 400, this message will be \"CVV2/CVC2 no match\"."
                    },
                    "cvcResults": {
                      "type": "object",
                      "description": "The results of the verification of the card security code.",
                      "properties": {
                        "matchCvv": {
                          "type": "boolean",
                          "description": "Specifies whether the CVC verification check process completed. For an HTTP status code, this value will be false. A value of false indicates that the verification check failed and the card token was not saved."
                        },
                        "error": {
                          "type": "boolean",
                          "description": "Specifies whether the verifyCvc check succeeded or failed. A value of `false` indicates that there was no error in processing the verification check, but that the given security code was invalid for that card."
                        },
                        "gatewayMessage": {
                          "type": "object",
                          "description": "Error message from the verification provider.",
                          "properties": {
                            "cvvresponse": {
                              "type": "string",
                              "description": "The code provided by the verification provider that is associated with the error. For an HTTP status code of 400, this value will be `N`. For more information about these values, see the [Handling security code verification failures](doc:handling-security-code-verification-failures) topic in Guides."
                            },
                            "message": {
                              "type": "string",
                              "description": "The error message associated with the cvvresponse. For an HTTP status code of 400, this will be \"CVV2/CVC2 no match\"."
                            }
                          }
                        }
                      }
                    },
                    "merchantId": {
                      "title": "merchantId",
                      "type": "string",
                      "description": "The Nexio merchant ID (MID). Generally, you should avoid sending this value in the request because it may interfere with several Nexio features. The API user you use directs the transaction to the appropriate MID automatically. This value is cached in the one-time-use token.",
                      "example": "000999",
                      "x-tags": [
                        "component"
                      ]
                    }
                  }
                },
                "examples": {
                  "Example response": {
                    "value": {
                      "error": 0,
                      "message": "string",
                      "cvcResults": {
                        "matchCvv": true,
                        "error": true,
                        "gatewayMessage": {
                          "cvvresponse": "string",
                          "message": "string"
                        }
                      },
                      "merchantId": "000999"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        },
        "summary": "Save card token"
      }
    },
    "/pay/v3/processECheck": {
      "post": {
        "description": "Allows you to process an echeck transaction in any of the following situations:\n\n- An initial transaction that uses a saved echeck token.\n- A subsequent transaction that uses a saved echeck token.\n\nFor more information about how to implement this endpoint, see the [Creating an echeck checkout page with your own form](doc:creating-an-echeck-checkout-page-with-your-own-form) or [Running an echeck transaction with the API](doc:running-an-echeck-transaction-with-the-api) topic.\n\n\n<!-- theme: warning -->\n> ⚠️ Try It\n> \n> To use the Try It feature for this endpoint, you can use the credentials for your [Sandbox API user](doc:sandbox-environments).<br/><br/>You can also use the following test account. Copy the value and paste it into the appropriate space in the Try It section to the right.\n> username: `docs@nexiopay.com`\n> password: `JZdzoXpdDeH6VA`<br/><br/>Include at least an `amount`, `currency`, and `tokenex.token` (the saved echeck token) as body parameters.\n\n<div style=\"display:none;\">\n\n## Request parameters\n- data\n- data.amount\n- data.currency\n- data.cart\n- data.cart.items\n- data.cart.items.item\n- data.cart.items.description\n- data.cart.items.quantity\n- data.cart.items.price\n- data.cart.items.type\n- data.customer\n- data.customer.billToAddressOne\n- data.customer.billToAddressTwo\n- data.customer.billToCity\n- data.customer.billToCountry\n- data.customer.billToPhone\n- data.customer.billToPostal\n- data.customer.billToState\n- data.customer.companyName\n- data.customer.createdAtDate\n- data.customer.customerRef\n- data.customer.email\n- data.customer.firstName\n- data.customer.invoice\n- data.customer.lastName\n- data.customer.orderNumber\n- data.customer.phone\n- data.customer.shipToAddressOne\n- data.customer.shipToAddressTwo\n- data.customer.shipToCity\n- data.customer.shipToCountry\n- data.customer.shipToPhone\n- data.customer.shipToPostal\n- data.customer.shipToState\n- data.customFields\n- data.customFields.exampleKey\n- secCode\n- settlementCurrency\n- tokenex\n- tokenex.token\n- tokenex.customerRefNumber\n- tokenex.lastFour\n- bank\n- bank.accountHolderName\n- bank.routingNumber\n- processingOptions\n- processingOptions.verboseResponse\n- processingOptions.merchantId\n\n## Response parameters\n- amount\n- authCode\n- bank\n- bank.accountHolderName\n- bank.routingNumber\n- bank.accountNumber\n- currency\n- data\n- data.amount\n- data.cart\n- data.cart.items\n- data.cart.items.item\n- data.cart.items.description\n- data.cart.items.quantity\n- data.cart.items.price\n- data.cart.items.type\n- data.currency\n- data.customFields\n- data.customFields.exampleKey\n- data.customer\n- data.customer.billToAddressOne\n- data.customer.billToAddressTwo\n- data.customer.billToCity\n- data.customer.billToCountry\n- data.customer.billToPhone\n- data.customer.billToPostal\n- data.customer.billToState\n- data.customer.companyName\n- data.customer.createdAtDate\n- data.customer.customerRef\n- data.customer.email\n- data.customer.firstName\n- data.customer.invoice\n- data.customer.lastName\n- data.customer.orderNumber\n- data.customer.phone\n- data.customer.shipToAddressOne\n- data.customer.shipToAddressTwo\n- data.customer.shipToCity\n- data.customer.shipToCountry\n- data.customer.shipToPhone\n- data.customer.shipToPostal\n- data.customer.shipToState\n- data.lodging\n- data.lodging.advanceDeposit\n- data.lodging.checkInDate\n- data.lodging.checkOutDate\n- data.lodging.noShow\n- data.lodging.roomNumber\n- data.lodging.roomRate\n- data.settlementCurrency\n- gatewayResponse\n- gatewayResponse.gatewayName\n- gatewayResponse.refNumber\n- id\n- merchantId\n- transactionDate\n- transactionStatus\n- transactionType\n\n</div>",
        "operationId": "RunEcheckTransaction",
        "tags": [
          "Ecommerce"
        ],
        "security": [
          {
            "Basic_Authentication": []
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "data",
                  "tokenex"
                ],
                "properties": {
                  "data": {
                    "title": "data",
                    "type": "object",
                    "description": "Transaction and customer data.",
                    "x-tags": [
                      "object"
                    ],
                    "properties": {
                      "amount": {
                        "$ref": "#/paths/~1pay~1v3~1processECheck/post/responses/200/content/application~1json/schema/properties/amount"
                      },
                      "currency": {
                        "$ref": "#/paths/~1pay~1v3~1capture/post/responses/200/content/application~1json/schema/properties/currency"
                      },
                      "settlementCurrency": {
                        "title": "settlementCurrency",
                        "type": "string",
                        "description": "The [three-character ISO code](https://en.wikipedia.org/wiki/ISO_4217) for the currency in which the transaction will be settled.",
                        "example": "CAD",
                        "x-tags": [
                          "component"
                        ]
                      },
                      "secCode": {
                        "type": "string",
                        "title": "secCode",
                        "description": "The Standard Entry Class code for an ACH file format. This field only applies to e-check transactions. See the [Standard Entry Class code table](doc:constant-ach-transaction-values#standard-entry-class-code-seccode) in Guides for a list of possible values.",
                        "example": "IAT",
                        "x-tags": [
                          "component"
                        ]
                      },
                      "customer": {
                        "$ref": "#/paths/~1pay~1v3~1saveECheck/post/requestBody/content/application~1json/schema/properties/data/properties/customer"
                      },
                      "cart": {
                        "title": "cart",
                        "type": "object",
                        "description": "Items purchased in the transaction.",
                        "x-tags": [
                          "object"
                        ],
                        "properties": {
                          "items": {
                            "type": "array",
                            "description": "Details about items in the shopping cart.",
                            "items": {
                              "title": "item",
                              "type": "object",
                              "description": "A single item purchased during a transaction.",
                              "properties": {
                                "item": {
                                  "title": "itemItem",
                                  "type": "string",
                                  "description": "Item number or code. This value is cached in the one-time-use token.",
                                  "example": "913261",
                                  "x-tags": [
                                    "component"
                                  ]
                                },
                                "description": {
                                  "title": "descriptionItem",
                                  "type": "string",
                                  "description": "A description of the item. This value is cached in the one-time-use token.",
                                  "example": "Hammermill Premium 8.5 x 11 Color Copy Paper, 28 lbs. 500/Ream",
                                  "x-tags": [
                                    "component"
                                  ]
                                },
                                "quantity": {
                                  "title": "quantity",
                                  "type": "integer",
                                  "description": "The quantity sold. This value is cached in the one-time-use token.",
                                  "example": 8,
                                  "x-tags": [
                                    "component"
                                  ]
                                },
                                "price": {
                                  "title": "price",
                                  "type": "number",
                                  "description": "The price per item. This value is cached in the one-time-use token.",
                                  "example": 16.49,
                                  "x-tags": [
                                    "component"
                                  ]
                                },
                                "type": {
                                  "$ref": "#/paths/~1pay~1v3~1capture/post/responses/200/content/application~1json/schema/properties/transactionType"
                                }
                              },
                              "x-tags": [
                                "object"
                              ]
                            }
                          }
                        }
                      },
                      "customFields": {
                        "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customFields"
                      },
                      "description": {
                        "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/description"
                      },
                      "lodging": {
                        "title": "lodging",
                        "type": "object",
                        "description": "Lodging data (related to hotels, motels, inns, etc.). This value is cached in the one-time-use token.\n\nFor a tutorial on using lodging data, see [Getting started with hospitality](getting-started-with-hospitality) in Guides.",
                        "x-tags": [
                          "object"
                        ],
                        "properties": {
                          "advanceDeposit": {
                            "type": "boolean",
                            "title": "advanceDeposit",
                            "description": "Set to true if the customer paid a deposit in advance of their reservation. This value is cached in the one-time-use token.",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "checkInDate": {
                            "type": "string",
                            "title": "checkInDate",
                            "description": "The customer's check-in date. Format YYYY-MM-DD. This value is cached in the one-time-use token.",
                            "x-tags": [
                              "component"
                            ],
                            "example": "2026-01-05"
                          },
                          "checkOutDate": {
                            "type": "string",
                            "title": "checkOutDate",
                            "description": "The customer's check-out date. Format YYYY-MM-DD. This value is cached in the one-time-use token.",
                            "x-tags": [
                              "component"
                            ],
                            "example": "2026-01-08"
                          },
                          "noShow": {
                            "type": "boolean",
                            "title": "noShow",
                            "description": "Set to `true` if the customer failed to show up to their reservation. This value is cached in the one-time-use token.",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "roomNumber": {
                            "type": "number",
                            "title": "roomNumber",
                            "description": "The customer's room number. This value is cached in the one-time-use token.",
                            "example": 14,
                            "x-tags": [
                              "component"
                            ]
                          },
                          "roomRate": {
                            "type": "number",
                            "title": "roomRate",
                            "description": "The room's rate, per day. This value is cached in the one-time-use token.",
                            "example": 143.99,
                            "x-tags": [
                              "component"
                            ]
                          }
                        }
                      }
                    },
                    "required": [
                      "amount",
                      "currency"
                    ]
                  },
                  "tokenex": {
                    "title": "tokenex",
                    "type": "object",
                    "description": "The e-check token. Echeck tokens can be used to process through any MID on your account. They are not restricted to a specific merchant account or currency.",
                    "x-tags": [
                      "object"
                    ],
                    "properties": {
                      "token": {
                        "type": "string",
                        "title": "tokenExToken",
                        "description": "A previously saved echeck token. Echeck tokens can be used to process through any MID on your account. They are not restricted to a specific merchant account or currency.",
                        "example": "aafb1033-599a-4392-859e-f98033fc37f5",
                        "x-tags": [
                          "component"
                        ]
                      },
                      "customerRefNumber": {
                        "type": "string",
                        "title": "customerRefNumber",
                        "description": "The customer reference number.",
                        "example": "74771a19-3c28-4c27-83c6-9",
                        "x-tags": [
                          "component"
                        ]
                      },
                      "lastFour": {
                        "$ref": "#/paths/~1pay~1v3~1vault~1card~1%7BcardToken%7D/get/responses/200/content/application~1json/schema/properties/tokenex/properties/lastFour"
                      }
                    },
                    "required": [
                      "token"
                    ]
                  },
                  "bank": {
                    "type": "object",
                    "description": "Bank account information",
                    "properties": {
                      "accountHolderName": {
                        "type": "string",
                        "title": "accountHolderName",
                        "description": "The account holder's name. Use the value for whichever name is on the account. Therefore. if the account is under a business name, use that value.\n\nIf needed, you can specify the company name for the `data.customer.companyName` parameter. Or, if you use a business name here, and want to associate a specific person for the account, use the `data.customer.firstName` and `data.customer.lastName` parameters.",
                        "x-tags": [
                          "component"
                        ],
                        "example": "John Doe"
                      },
                      "routingNumber": {
                        "title": "routingNumber",
                        "type": "string",
                        "description": "The checking account's routing number. This value is cached in the one-time-use token.",
                        "example": "231375151",
                        "x-tags": [
                          "component"
                        ]
                      }
                    }
                  },
                  "processingOptions": {
                    "title": "processingOptions",
                    "type": "object",
                    "description": "Processing Options",
                    "x-tags": [
                      "object"
                    ],
                    "properties": {
                      "merchantId": {
                        "title": "merchantId",
                        "type": "string",
                        "description": "The Nexio merchant ID (MID). Generally, you should avoid sending this value in the request because it may interfere with several Nexio features. The API user you use directs the transaction to the appropriate MID automatically.",
                        "example": "000999",
                        "x-tags": [
                          "component"
                        ]
                      },
                      "verboseResponse": {
                        "title": "verboseResponse",
                        "type": "boolean",
                        "description": "Set to `true` to include additional information in the response. This value is cached in the one-time-use token.",
                        "default": false,
                        "x-tags": [
                          "component"
                        ]
                      }
                    }
                  }
                }
              },
              "examples": {
                "Required parameters": {
                  "value": {
                    "data": {
                      "amount": 29.99,
                      "currency": "EUR"
                    },
                    "tokenex": {
                      "token": "aafb1033-599a-4392-859e-f98033fc37f5"
                    }
                  }
                },
                "All parameters": {
                  "value": {
                    "data": {
                      "amount": 29.99,
                      "currency": "EUR",
                      "cart": {
                        "items": [
                          {
                            "item": "913261",
                            "description": "Hammermill Premium 8.5 x 11 Color Copy Paper, 28 lbs. 500/Ream",
                            "quantity": 8,
                            "price": 16.49,
                            "type": "sale"
                          }
                        ]
                      },
                      "customer": {
                        "billToAddressOne": "2147 West Silverlake Drive",
                        "billToAddressTwo": "Apt 42",
                        "billToCity": "Scranton",
                        "billToState": "PA",
                        "billToPostal": "18503",
                        "billToCountry": "US",
                        "billToPhone": "1555555555",
                        "companyName": "Green Thumb Lawn Care",
                        "createdAtDate": "2005-03-01",
                        "customerRef": "RP006",
                        "email": "jdoe@example.com",
                        "firstName": "John",
                        "invoice": "IN0001",
                        "lastName": "Doe",
                        "orderNumber": "210058A",
                        "phone": "1555555555",
                        "shipToAddressOne": "1725 Slough Avenue",
                        "shipToAddressTwo": "Suite 200",
                        "shipToCity": "Scranton",
                        "shipToState": "PA",
                        "shipToPostal": "18505",
                        "shipToCountry": "US",
                        "shipToPhone": "1555555555"
                      },
                      "customFields": {
                        "exampleKey": "Example string",
                        "exampleRefNumber": "094785"
                      },
                      "secCode": "IAT",
                      "settlementCurrency": "CAD"
                    },
                    "tokenex": {
                      "token": "aafb1033-599a-4392-859e-f98033fc37f5",
                      "customerRefNumber": "74771a19-3c28-4c27-83c6-9",
                      "lastFour": "3313"
                    },
                    "bank": {
                      "accountHolderName": "John Doe",
                      "routingNumber": "231375151"
                    },
                    "processingOptions": {
                      "verboseResponse": false,
                      "merchantId": 999
                    }
                  }
                }
              }
            }
          },
          "description": ""
        },
        "responses": {
          "200": {
            "description": "success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "The response from a successful payment",
                  "properties": {
                    "id": {
                      "$ref": "#/paths/~1apm~1v3~1void/post/requestBody/content/application~1json/schema/properties/id"
                    },
                    "merchantId": {
                      "$ref": "#/paths/~1pay~1v3~1saveCard/post/responses/400/content/application~1json/schema/properties/merchantId"
                    },
                    "authCode": {
                      "$ref": "#/paths/~1pay~1v3~1capture/post/responses/200/content/application~1json/schema/properties/authCode"
                    },
                    "transactionType": {
                      "$ref": "#/paths/~1pay~1v3~1capture/post/responses/200/content/application~1json/schema/properties/transactionType"
                    },
                    "transactionDate": {
                      "$ref": "#/paths/~1pay~1v3~1capture/post/responses/200/content/application~1json/schema/properties/transactionDate"
                    },
                    "transactionStatus": {
                      "$ref": "#/paths/~1pay~1v3~1refund/post/responses/200/content/application~1json/schema/properties/transactionStatus"
                    },
                    "gatewayResponse": {
                      "$ref": "#/paths/~1pay~1v3~1void/post/responses/200/content/application~1json/schema/properties/gatewayResponse"
                    },
                    "bank": {
                      "title": "bank",
                      "type": "object",
                      "description": "Bank account information.",
                      "properties": {
                        "accountHolderName": {
                          "$ref": "#/paths/~1pay~1v3~1saveECheck/post/responses/200/content/application~1json/schema/properties/bank/properties/accountHolderName"
                        },
                        "routingNumber": {
                          "type": "string",
                          "title": "routing",
                          "description": "The masked routing number for the bank record associated with an echeck payment used for the transaction.",
                          "example": "******2971",
                          "x-tags": [
                            "component"
                          ]
                        },
                        "accountNumber": {
                          "title": "account",
                          "type": "string",
                          "description": "The masked account number for the bank record associated with an echeck payment used for the transaction. Only the last four numbers of the account display.",
                          "example": "***********6789",
                          "x-tags": [
                            "component"
                          ]
                        }
                      },
                      "x-tags": [
                        "object"
                      ]
                    },
                    "currency": {
                      "$ref": "#/paths/~1pay~1v3~1capture/post/responses/200/content/application~1json/schema/properties/currency"
                    },
                    "amount": {
                      "type": "number",
                      "title": "amount",
                      "description": "The transaction amount. The maximum value has 16 digits total, including up to two of those digits after the decimal point.\n\nIf including a `surcharge`, this value needs to include the transaction amount plus the surcharge amount.\n\nWhen submitting a transaction for an installment period, This amount is the total amount to be paid rather than the amount per transaction. The following values are expected for each gateway or connection that supports this feature:\n- [Cybersource](doc:cybersource-integration-guide) - Accepted amount may depend on the currency or installment period used for the transaction. Contact Cybersource for more information.\n- [Openpay](doc:openpay-integration-guide) - By default, the amount must be 300 and the currency must be MXN. The minimum amount can be changed by Openpay.",
                      "example": 29.99,
                      "x-tags": [
                        "component"
                      ]
                    },
                    "data": {
                      "title": "data",
                      "type": "object",
                      "description": "Transaction and customer data.",
                      "properties": {
                        "amount": {
                          "$ref": "#/paths/~1pay~1v3~1processECheck/post/responses/200/content/application~1json/schema/properties/amount"
                        },
                        "cart": {
                          "$ref": "#/paths/~1pay~1v3~1processECheck/post/requestBody/content/application~1json/schema/properties/data/properties/cart"
                        },
                        "currency": {
                          "$ref": "#/paths/~1pay~1v3~1capture/post/responses/200/content/application~1json/schema/properties/currency"
                        },
                        "settlementCurrency": {
                          "$ref": "#/paths/~1pay~1v3~1processECheck/post/requestBody/content/application~1json/schema/properties/data/properties/settlementCurrency"
                        },
                        "customer": {
                          "$ref": "#/paths/~1pay~1v3~1saveECheck/post/responses/200/content/application~1json/schema/properties/data/properties/customer"
                        },
                        "customFields": {
                          "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customFields"
                        },
                        "lodging": {
                          "$ref": "#/paths/~1pay~1v3~1processECheck/post/requestBody/content/application~1json/schema/properties/data/properties/lodging"
                        }
                      },
                      "x-tags": [
                        "object"
                      ]
                    }
                  }
                },
                "examples": {
                  "Example response": {
                    "value": {
                      "amount": 29.99,
                      "authCode": "035410",
                      "bank": {
                        "accountHolderName": "John Doe",
                        "routingNumber": "******2971",
                        "accountNumber": "***********6789"
                      },
                      "currency": "EUR",
                      "data": {
                        "amount": 29.99,
                        "cart": {
                          "items": [
                            {
                              "item": "913261",
                              "description": "Hammermill Premium 8.5 x 11 Color Copy Paper, 28 lbs. 500/Ream",
                              "quantity": 8,
                              "price": 16.49,
                              "type": "sale"
                            }
                          ]
                        },
                        "currency": "EUR",
                        "customFields": {
                          "exampleKey": "Example string",
                          "exampleRefNumber": "094785"
                        },
                        "customer": {
                          "billToAddressOne": "2147 West Silverlake Drive",
                          "billToAddressTwo": "Apt 42",
                          "billToCity": "Scranton",
                          "billToCountry": "US",
                          "billToPhone": "1555555555",
                          "billToPostal": "18503",
                          "billToState": "PA",
                          "companyName": "Green Thumb Lawn Care",
                          "createdAtDate": "2005-03-01",
                          "customerRef": "RP006",
                          "email": "jdoe@example.com",
                          "firstName": "John",
                          "invoice": "IN0001",
                          "lastName": "Doe",
                          "orderNumber": "210058A",
                          "phone": "1555555555",
                          "shipToAddressOne": "1725 Slough Avenue",
                          "shipToAddressTwo": "Suite 200",
                          "shipToCity": "Scranton",
                          "shipToCountry": "US",
                          "shipToPhone": "1555555555",
                          "shipToPostal": "18505",
                          "shipToState": "PA"
                        },
                        "lodging": {
                          "advanceDeposit": true,
                          "checkInDate": "2026-01-05",
                          "checkOutDate": "2026-01-08",
                          "noShow": true,
                          "roomNumber": 14,
                          "roomRate": 143.99
                        },
                        "settlementCurrency": "CAD"
                      },
                      "gatewayResponse": {
                        "gatewayName": "[usaepay]",
                        "refNumber": "8E56222GD0701110"
                      },
                      "id": "eyJuYW1lIjoWJlciI6IjMxCJtZXJjaGFudElkIjoiMoiVVNEIn0=eyJuYW1lIjoib3BlbnBheSIsIm1lcmN",
                      "merchantId": "000999",
                      "transactionDate": "2019-01-15T13:19:39.329Z",
                      "transactionStatus": "settled",
                      "transactionType": "sale"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        },
        "summary": "Run echeck transaction"
      }
    },
    "/apm/v3/token": {
      "post": {
        "description": "A token from this endpoint is necessary prior to loading any of the Alternative Payment Method (APM) iframes or running a transaction using an APM.\n\nAny data (amount, currency, and so forth) that you want to be sent to the alternate payment method must be included in the body of this request. For details about each APM, as well as test cards and accounts, see [Payment methods](doc:payment-methods).\n\nFor a tutorial about how to make use of this endpoint, see the [Run a sale transaction](doc:run-a-sale-transaction) topic.\n\n<!-- theme: info -->\n> 📘 Note\n> \n> After a token has been used to submit an iframe it cannot be used to load another. You must request a new APM one-time-use token prior to submitting each iframe.\n\n<!-- theme: warning -->\n> ⚠️ Try It\n> \n> To use the Try It feature for this endpoint, you can use the credentials for your [Sandbox API user](doc:sandbox-environments).<br/><br/>You can also use the following test account (that is connected with [PayPal](doc:paypal-integration-guide)). Copy the value and paste it into the appropriate space in the Try It section to the right.\n> username: `docs@nexiopay.com`\n> password: `JZdzoXpdDeH6VA`<br/><br/>Include any other parameters that you need for the body of the request, depending on what you are using the one-time-use token for, and which payment method you want to use. For details about each one, as well as test cards and accounts, see [Payment methods](doc:payment-methods).\n\n<div style=\"display:none;\">\n\n## Request parameters\n- isAuthOnly\n- data\n- data.amount\n- data.currency\n- data.customer\n- data.customer.email\n- data.customer.firstName\n- data.customer.lastName\n- data.customer.customerRef\n- data.customer.orderNumber\n- data.customer.billToAddressOne\n- data.customer.billToAddressTwo\n- data.customer.billToCity\n- data.customer.billToCountry\n- data.customer.billToPhone\n- data.customer.billToPostal\n- data.customer.billToState\n- data.customer.birthDate\n- data.customer.invoice\n- data.customer.shipToAddressOne\n- data.customer.shipToAddressTwo\n- data.customer.shipToCity\n- data.customer.shipToCountry\n- data.customer.shipToPhone\n- data.customer.shipToPostal\n- data.customer.shipToState\n- data.cart\n- data.cart.items\n- data.cart.items.item\n- data.cart.items.description\n- data.cart.items.quantity\n- data.cart.items.price\n- data.cart.items.type\n- data.cart.items.imageUrl\n- data.cart.items.productUrl\n- data.customFields\n- data.customFields.exampleKey\n- data.description\n- data.descriptor\n- data.descriptor.name\n- data.descriptor.address\n- data.descriptor.city\n- data.descriptor.state\n- data.descriptor.postal\n- data.descriptor.country\n- data.descriptor.phone\n- data.descriptor.url\n- data.descriptor.merchantId\n- data.descriptor.mcc\n- data.dueDate\n- data.locale\n- data.paymentMethod\n- customerRedirectUrl\n- processingOptions\n- processingOptions.merchantId\n- processingOptions.doNotProcessPayment\n- processingOptions.paymentOptionTag\n- processingOptions.saveRecurringToken\n- uiOptions\n- uiOptions.displaySubmitButton\n- uiOptions.css\n\n## Response parameters\n- expiration\n- token\n- asyncTraceId\n- expressIFrameUrl\n- redirectUrls\n- redirectUrls.paymentMethod\n- redirectUrls.url\n- buttonIFrameUrls\n- buttonIFrameUrls.paymentMethod\n- buttonIFrameUrls.url\n</div>",
        "operationId": "CreateAPMOneTimeUseToken",
        "tags": [
          "Alternative Payment Methods"
        ],
        "security": [
          {
            "Basic_Authentication": []
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "data": {
                    "title": "data",
                    "type": "object",
                    "description": "Transaction data for the APM. For a list of other required and optional parameters, see the guide for the appropriate [payment method](doc:payment-methods).",
                    "x-tags": [
                      "object"
                    ],
                    "required": [
                      "amount",
                      "currency",
                      "customer"
                    ],
                    "properties": {
                      "amount": {
                        "$ref": "#/paths/~1pay~1v3~1processECheck/post/responses/200/content/application~1json/schema/properties/amount"
                      },
                      "currency": {
                        "type": "string",
                        "title": "currency",
                        "description": "The [three-character ISO code](https://en.wikipedia.org/wiki/ISO_4217) for the currency used in the transaction.\n\nFor [Klarna](doc:klarna-integration-guide) transactions (either `klarnaPayments` or `klarnaCheckout`), in order to display the payment popup page to the customer in a supported language, this currency value, the `data.locale`, and the `data.customer.billToCountry` must all match. For information about how they need to match, see the [Purchase country, locale, and currency](https://docs.klarna.com/klarna-payments/in-depth-knowledge/puchase-countries-currencies-locales/) page in the Klarna documentation.",
                        "default": "USD",
                        "x-tags": [
                          "component"
                        ],
                        "example": "EUR"
                      },
                      "customer": {
                        "title": "customer",
                        "type": "object",
                        "description": "Customer information to be passed along to the alternative payment method, when applicable. For a list of other required and optional parameters, see the integration guide for the [payment method](doc:payment-methods).",
                        "x-tags": [
                          "object"
                        ],
                        "properties": {
                          "orderNumber": {
                            "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/orderNumber"
                          },
                          "customerRef": {
                            "title": "customerRef",
                            "type": "string",
                            "description": "Customer identifier. You can use this field to pass a customer ID to the APM or to manage user subscriptions.",
                            "example": "RP006",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "invoice": {
                            "title": "invoice",
                            "type": "string",
                            "description": "The invoice number.",
                            "example": "IN0001",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "firstName": {
                            "type": "string",
                            "title": "firstNameAPM",
                            "description": "The customer's first name.",
                            "x-tags": [
                              "component"
                            ],
                            "example": "John"
                          },
                          "lastName": {
                            "title": "lastNameAPM",
                            "type": "string",
                            "description": "The customer's last name.",
                            "example": "Doe",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "birthDate": {
                            "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/birthDate"
                          },
                          "email": {
                            "type": "string",
                            "title": "email",
                            "description": "The customer's email address.",
                            "example": "jdoe@example.com",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "billToAddressOne": {
                            "title": "billingAddressOne",
                            "type": "string",
                            "description": "The street address for the customer.",
                            "example": "2147 West Silverlake Drive",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "billToAddressTwo": {
                            "title": "billToAddressTwo",
                            "type": "string",
                            "description": "Additional street address information, if required.",
                            "example": "Apt 42",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "billToCity": {
                            "title": "billingCity",
                            "type": "string",
                            "description": "The city for the address record.",
                            "example": "Scranton",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "billToState": {
                            "type": "string",
                            "title": "billToState",
                            "description": "The state or province on file with the alternative payment method. (If in the US, this must be the [two-character state abbreviation](https://pe.usps.com/text/pub28/28apb.htm)).",
                            "example": "PA",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "billToPostal": {
                            "title": "billingPostal",
                            "type": "string",
                            "description": "The postal code on file.",
                            "example": "18503",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "billToCountry": {
                            "title": "billToCountry",
                            "type": "string",
                            "description": "The [two-character (Alpha-2) ISO country code](https://www.iso.org/obp/ui/#search/code/) for the address on file with the alternative payment method.\n\nFor [Klarna](doc:klarna-integration-guide) transactions (either `klarnaPayments` or `klarnaCheckout`), in order to display the payment popup page to the customer in a supported language, this country value, the `data.locale`, and the `data.currency` must all match. For information about how they need to match, see the [Purchase country, locale, and currency](https://docs.klarna.com/klarna-payments/in-depth-knowledge/puchase-countries-currencies-locales/) page in the Klarna documentation.",
                            "example": "US",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "billToPhone": {
                            "title": "billToPhone",
                            "type": "string",
                            "description": "The billing phone number.",
                            "example": "1555555555",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "shipToAddressOne": {
                            "title": "shipToAddressOne",
                            "type": "string",
                            "description": "The shipping address, if different from the billing address.",
                            "example": "1725 Slough Avenue",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "shipToAddressTwo": {
                            "title": "shipToAddressTwo",
                            "type": "string",
                            "description": "Additional shipping address information, if required.",
                            "example": "Suite 200",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "shipToCity": {
                            "title": "shipToCity",
                            "type": "string",
                            "description": "The shipping city.",
                            "example": "Scranton",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "shipToState": {
                            "title": "shipToState",
                            "type": "string",
                            "description": "The shipping state or province. (If in the US, this must be the [two-character state abbreviation](https://pe.usps.com/text/pub28/28apb.htm).)",
                            "example": "PA",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "shipToPostal": {
                            "title": "shipToPostal",
                            "type": "string",
                            "description": "The shipping postal code.",
                            "example": "18505",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "shipToCountry": {
                            "title": "shipToCountry",
                            "type": "string",
                            "description": "The [two-character (Alpha-2) ISO](https://www.iso.org/obp/ui/#search/code/) shipping country code.",
                            "example": "US",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "shipToPhone": {
                            "title": "shipToPhone",
                            "type": "string",
                            "description": "The shipping phone number.",
                            "example": "1555555555",
                            "x-tags": [
                              "component"
                            ]
                          }
                        },
                        "required": [
                          "orderNumber"
                        ]
                      },
                      "applePayDomain": {
                        "title": "applePayDomain",
                        "type": "string",
                        "description": "Allows you to run a transaction through a verified domain other than the default.\n\n<!-- theme:info -->\n> #### Notes\n> - All domains must be [pre-verified through Apple Pay](doc:apple-pay-integration-guide#verify-your-domain)\n> - Do not include `https://`\n> - Include the URL exactly as verified through Apple Pay",
                        "x-tags": [
                          "component"
                        ],
                        "example": "[your-applepay-domain]"
                      },
                      "cart": {
                        "title": "cart",
                        "type": "object",
                        "description": "Items purchased in the transaction.",
                        "x-tags": [
                          "object"
                        ],
                        "properties": {
                          "items": {
                            "type": "array",
                            "description": "Details about items in the shopping cart.",
                            "items": {
                              "title": "item",
                              "type": "object",
                              "description": "A single item purchased during a transaction.",
                              "x-tags": [
                                "object"
                              ],
                              "properties": {
                                "item": {
                                  "title": "itemItem",
                                  "type": "string",
                                  "description": "Item number or code.",
                                  "example": "913261",
                                  "x-tags": [
                                    "component"
                                  ]
                                },
                                "description": {
                                  "title": "descriptionItem",
                                  "type": "string",
                                  "description": "A description of the item.",
                                  "example": "Hammermill Premium 8.5 x 11 Color Copy Paper, 28 lbs. 500/Ream",
                                  "x-tags": [
                                    "component"
                                  ]
                                },
                                "quantity": {
                                  "title": "quantity",
                                  "type": "integer",
                                  "description": "The quantity sold.",
                                  "example": 8,
                                  "x-tags": [
                                    "component"
                                  ]
                                },
                                "price": {
                                  "title": "price",
                                  "type": "number",
                                  "description": "The price per item.",
                                  "example": 16.49,
                                  "x-tags": [
                                    "component"
                                  ]
                                },
                                "type": {
                                  "title": "type",
                                  "type": "string",
                                  "description": "The type for the transaction. This should be either `sale` or `refund`. This value is cached in the one-time-use token.",
                                  "example": "sale",
                                  "x-tags": [
                                    "component"
                                  ]
                                },
                                "imageUrl": {
                                  "type": "string",
                                  "title": "imageUrl",
                                  "description": "The URL to an image for the item. This parameter can only be used with [Klarna](doc:klarna-integration-guide). The system sends the value to Klarna as part of the order lines. Klarna also uses this image for communications between the customer and Klarna. Klarna recommends that the resolution of the image be a minimum of 250x250 pixels (and ideally about 650x650 pixels or more) in order to look good in the Klarna application. If the resolution is less than 50x50 pixels, it will not even display. The image file size must not exceed 12MB. This value is cached in the one-time-use token.",
                                  "example": "http://[your-item-image-url]",
                                  "x-tags": [
                                    "component"
                                  ],
                                  "maxLength": 1024,
                                  "minLength": 0
                                },
                                "productUrl": {
                                  "type": "string",
                                  "title": "productUrl",
                                  "description": "The URL to the product on the merchant website. This parameter can only be used with [Klarna](doc:klarna-integration-guide). The system sends the value to Klarna as part of the order lines. This value is cached in the one-time-use token.",
                                  "example": "http://[your-website-url]",
                                  "x-tags": [
                                    "component"
                                  ],
                                  "maxLength": 1024,
                                  "minLength": 0
                                }
                              }
                            }
                          }
                        }
                      },
                      "description": {
                        "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/description"
                      },
                      "descriptor": {
                        "type": "string",
                        "title": "descriptor",
                        "description": "Include this parameter to dynamically change the descriptor on the customer's statement. If this parameter is not included, the default descriptor (as set up on the merchant account that is originating the transactions) will be used. When applicable, this information will be passed along to the gateway. This value is cached in the one-time-use token. \n\nFor some gateway connections, you can pass `descriptor` as an object with several potential parameters. For more information about these parameters, see the [NMI integration guide](doc:nmi-integration-guide) or the [USAePay integration guide](doc:usaepay-integration-guide).\n\nContact [Integrations Support](page:contact-us) if you have any questions about this parameter.",
                        "example": "[Descriptor text]",
                        "x-tags": [
                          "component"
                        ]
                      },
                      "dueDate": {
                        "type": "string",
                        "title": "dueDate",
                        "description": "The date by which the customer must complete the payment. If the transaction is not settled before this date, it will be voided. If you do not provide a value, the system automatically sets the date to be 30 days from the current date.\n\n<b>Note:</b> Date cannot be more than 30 days in the future.\n\nUse any of the following formats for the date:\n- Four-digit year, two-digit month and day, separated with hyphens: YYYY-MM-DD.<br>For example, `2001-08-26`.\n- [ISO-8601](https://www.iso.org/iso-8601-date-and-time-format.html) date expressed in UTC, with as much of the time part as wanted.<br>For example, `2001-08-26T13:35:00Z` or `1990-12-05T00:00Z`.\n- UNIX date (as an integer representing seconds).<br>For example, `998854500`.\n\nThis parameter only applies for the PayNet alternative payment method.",
                        "example": "2023-08-13T23:59:59.000Z",
                        "x-tags": [
                          "component"
                        ]
                      },
                      "locale": {
                        "title": "locale",
                        "type": "string",
                        "description": "The [two-character ISO 639-1 code](https://en.wikipedia.org/wiki/ISO_639-1) for the language locale for this transaction, a hyphen, and the [two-character (Alpha-2) ISO country code](https://www.iso.org/obp/ui/#search/code/). This parameter can only be used with [Klarna](doc:klarna-integration-guide) (either `klarnaPayments` or `klarnaCheckout`). The system uses this value to display the payment popup to the user in the specified language as long as this locale value, the `data.currency`, and the `data.customer.billToCountry` all match. For information about how they need to match, see the [Purchase country, locale, and currency](https://docs.klarna.com/klarna-payments/in-depth-knowledge/puchase-countries-currencies-locales/) page in the Klarna documentation.",
                        "example": "en-US",
                        "x-tags": [
                          "component"
                        ]
                      },
                      "paymentMethod": {
                        "$ref": "#/paths/~1apm~1v3~1token/post/responses/200/content/application~1json/schema/properties/redirectUrls/items/properties/paymentMethod"
                      }
                    }
                  },
                  "customerRedirectUrl": {
                    "type": "string",
                    "title": "customerRedirectUrl",
                    "description": "The URL to which the customer will be redirected after completing their payment. The customer will be sent here upon successful or failed payment. This URL must use the HTTPS protocol.",
                    "example": "https://[your-ecommerce-website]",
                    "x-tags": [
                      "component"
                    ]
                  },
                  "isAuthOnly": {
                    "title": "isAuthOnly",
                    "type": "boolean",
                    "description": "Set to `true` to run an auth only transaction. \n\n<!-- theme:info -->\n> #### Note\n> Auth only transactions are not supported by all alternative payment methods. An error message is returned if you attempt an auth only transaction through an alternative payment method that does not support this feature.",
                    "default": false,
                    "x-tags": [
                      "component"
                    ]
                  },
                  "processingOptions": {
                    "title": "processingOptions",
                    "type": "object",
                    "description": "Processing options for the potential APM transaction.",
                    "x-tags": [
                      "object"
                    ],
                    "properties": {
                      "paymentOptionTag": {
                        "title": "paymentOptionTag",
                        "type": "string",
                        "description": "A custom value used to route transactions to a specific gateway or merchant account. This value is cached in the one-time-use token. Contact [Integrations Support](page:contact-us) to designate a `paymentOptionTag` for a given merchant account.",
                        "example": "switch",
                        "x-tags": [
                          "component"
                        ]
                      },
                      "doNotProcessPayment": {
                        "type": "boolean",
                        "title": "doNotProcessPayment",
                        "description": "Set to `true` when using the 'continue button' payment flow on a shopping cart page. This allows the consumer to log in to the APM and set address information, such as with Braintree PayPal.",
                        "default": false,
                        "x-tags": [
                          "component"
                        ]
                      },
                      "saveRecurringToken": {
                        "type": "boolean",
                        "title": "saveRecurringToken",
                        "description": "Set to `true` to get a token in order to process merchant-initiated recurring transactions, such as with [PayPal (with Braintree)](doc:paypal-with-braintree-integration-guide). For a tutorial for alternative payment methods, see the [Run a merchant-initiated recurring transaction](doc:run-a-merchant-initiated-recurring-transaction) topic.",
                        "default": false,
                        "x-tags": [
                          "component"
                        ]
                      },
                      "merchantId": {
                        "$ref": "#/paths/~1pay~1v3~1saveCard/post/responses/400/content/application~1json/schema/properties/merchantId"
                      }
                    }
                  },
                  "uiOptions": {
                    "type": "object",
                    "description": "Used to customize the iframe's user interface",
                    "properties": {
                      "css": {
                        "title": "css",
                        "type": "string",
                        "description": "The URL where your custom CSS file is hosted. This value is cached in the one-time-use token.",
                        "example": "https://tester.nexiopaysandbox.com/example1.css",
                        "x-tags": [
                          "component"
                        ]
                      },
                      "displaySubmitButton": {
                        "title": "displaySubmitButton",
                        "type": "boolean",
                        "description": "Set to `true` to include a submit button in the iframe. This value is cached in the one-time-use token.",
                        "default": false,
                        "example": true,
                        "x-tags": [
                          "component"
                        ]
                      }
                    }
                  }
                },
                "required": [
                  "data"
                ]
              },
              "examples": {
                "All parameters": {
                  "value": {
                    "isAuthOnly": false,
                    "data": {
                      "amount": 29.99,
                      "currency": "EUR",
                      "locale": "en-GB",
                      "customer": {
                        "orderNumber": "210058A",
                        "email": "jdoe@example.com",
                        "firstName": "John",
                        "lastName": "Doe",
                        "billToAddressOne": "2147 West Silverlake Drive",
                        "billToAddressTwo": "Apt 42",
                        "billToCity": "Scranton",
                        "billToCountry": "GB",
                        "billToPhone": "1555555555",
                        "billToPostal": "18503",
                        "billToState": "PA",
                        "birthDate": "1990-12-05",
                        "customerRef": "RP006",
                        "invoice": "IN0001",
                        "shipToAddressOne": "1725 Slough Avenue",
                        "shipToAddressTwo": "Suite 200",
                        "shipToCity": "Scranton",
                        "shipToCountry": "US",
                        "shipToPhone": "1555555555",
                        "shipToPostal": "18505",
                        "shipToState": "PA"
                      },
                      "applePayDomain": "[your-applepay-domain]",
                      "cart": {
                        "items": [
                          {
                            "item": "913261",
                            "description": "Hammermill Premium 8.5 x 11 Color Copy Paper, 28 lbs. 500/Ream",
                            "quantity": 8,
                            "price": 16.49,
                            "type": "sale",
                            "productUrl": "http://www.example.com/products/e200.html",
                            "imageUrl": "http://www.example.com/images/e200.gif"
                          }
                        ]
                      },
                      "description": "[Description of the transaction]",
                      "descriptor": "[Descriptor text]",
                      "dueDate": "2023-08-13T23:59:59.000Z",
                      "paymentMethod": "[payment_method_name]"
                    },
                    "customerRedirectUrl": "https://[your-ecommerce-website]",
                    "processingOptions": {
                      "merchantId": "000999",
                      "doNotProcessPayment": false,
                      "paymentOptionTag": "nmi",
                      "saveRecurringToken": false
                    },
                    "uiOptions": {
                      "displaySubmitButton": false,
                      "css": "https://tester.nexiopaysandbox.com/example1.css"
                    }
                  }
                },
                "Afterpay through Citcon required parameters": {
                  "value": {
                    "data": {
                      "amount": 4,
                      "currency": "USD",
                      "customer": {
                        "orderNumber": "12345678",
                        "firstName": "John",
                        "lastName": "Doe",
                        "email": "john@example.com",
                        "billToPhone": "15555555555",
                        "billToAddressOne": "123 Test St",
                        "billToCity": "Testerville",
                        "billToState": "UT",
                        "billToPostal": "12345",
                        "billToCountry": "US"
                      }
                    }
                  }
                },
                "Apple Pay through Authorize.net required parameters": {
                  "value": {
                    "data": {
                      "amount": 4,
                      "currency": "USD",
                      "customer": {
                        "orderNumber": "12345678",
                        "firstName": "John",
                        "lastName": "Doe",
                        "email": "john@example.com",
                        "customerRef": "RP006"
                      }
                    }
                  }
                },
                "Apple Pay through CyberSource required parameters": {
                  "value": {
                    "data": {
                      "amount": 4,
                      "currency": "USD",
                      "description": "test purchase",
                      "customer": {
                        "orderNumber": "12345678",
                        "firstName": "John",
                        "lastName": "Doe",
                        "email": "john@example.com",
                        "customerRef": "RP006",
                        "billToAddressOne": "123 Test St",
                        "billToCity": "Testerville",
                        "billToState": "UT",
                        "billToPostal": "12345",
                        "billToCountry": "US"
                      }
                    }
                  }
                },
                "Google Pay required parameters": {
                  "value": {
                    "data": {
                      "amount": 29.99,
                      "currency": "EUR",
                      "customer": {
                        "orderNumber": "210058A",
                        "email": "jdoe@example.com",
                        "firstName": "John",
                        "lastName": "Doe",
                        "billToAddressOne": "123 Test St",
                        "billToCity": "Testerville",
                        "billToState": "UT",
                        "billToPostal": "12345",
                        "billToCountry": "US"
                      }
                    }
                  }
                },
                "Klarna Payments required parameters": {
                  "value": {
                    "data": {
                      "amount": 29.99,
                      "currency": "EUR",
                      "locale": "en-GB",
                      "customer": {
                        "orderNumber": "210058A",
                        "email": "jdoe@example.com",
                        "firstName": "John",
                        "lastName": "Doe",
                        "billToAddressOne": "2147 West Silverlake Drive",
                        "billToCity": "Scranton",
                        "billToCountry": "GB",
                        "billToPhone": "1555555555",
                        "billToPostal": "18503",
                        "billToState": "PA"
                      },
                      "cart": {
                        "items": [
                          {
                            "item": "913261",
                            "description": "Hammermill Premium 8.5 x 11 Color Copy Paper, 28 lbs. 500/Ream",
                            "quantity": 8,
                            "price": 16.49
                          }
                        ]
                      }
                    }
                  }
                },
                "Klarna Checkout required parameters": {
                  "value": {
                    "data": {
                      "amount": 4,
                      "currency": "USD",
                      "locale": "en-GB",
                      "customer": {
                        "orderNumber": "12345678",
                        "firstName": "John",
                        "lastName": "Doe",
                        "email": "john@example.com",
                        "billToCountry": "GB"
                      },
                      "cart": {
                        "items": [
                          {
                            "item": "E200",
                            "description": "Platinum set",
                            "quantity": 2,
                            "price": 2
                          }
                        ]
                      }
                    }
                  }
                },
                "Paynet required parameters": {
                  "value": {
                    "data": {
                      "amount": 4,
                      "currency": "MXN",
                      "customer": {
                        "orderNumber": "12345678",
                        "firstName": "John",
                        "lastName": "Doe",
                        "email": "john@example.com"
                      }
                    }
                  }
                },
                "PayPal required parameters": {
                  "value": {
                    "data": {
                      "amount": 29.99,
                      "currency": "EUR",
                      "customer": {
                        "orderNumber": "210058A",
                        "email": "jdoe@example.com",
                        "firstName": "John",
                        "lastName": "Doe"
                      }
                    }
                  }
                },
                "PayPal (with Braintree) \"Continue button flow\" required parameters": {
                  "value": {
                    "data": {
                      "amount": 29.99,
                      "currency": "EUR",
                      "customer": {
                        "orderNumber": "210058A"
                      }
                    },
                    "processingOptions": {
                      "doNotProcessPayment": true
                    }
                  }
                },
                "PayPal (with Braintree) \"Checkout page flow\" required parameters": {
                  "value": {
                    "data": {
                      "amount": 29.99,
                      "currency": "USD",
                      "customer": {
                        "orderNumber": "12345678",
                        "firstName": "John",
                        "lastName": "Doe",
                        "email": "john@example.com"
                      }
                    }
                  }
                },
                "PayPal (with Braintree) \"Merchant-initiated\" required parameters": {
                  "value": {
                    "data": {
                      "amount": 29.99,
                      "currency": "EUR",
                      "customer": {
                        "orderNumber": "210058A",
                        "email": "jdoe@example.com",
                        "firstName": "John",
                        "lastName": "Doe",
                        "customerRef": "RP006"
                      }
                    },
                    "processingOptions": {
                      "saveRecurringToken": true
                    }
                  }
                },
                "Sofort through Checkout.com required parameters": {
                  "value": {
                    "data": {
                      "amount": 29.99,
                      "currency": "EUR",
                      "customer": {
                        "orderNumber": "12345678",
                        "firstName": "John",
                        "lastName": "Doe",
                        "email": "john@example.com"
                      }
                    }
                  }
                }
              }
            }
          },
          "description": "**For a list of required and optional parameters, see the guide for the appropriate [payment method](doc:payment-methods).**"
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "The One-time-use Token",
                  "properties": {
                    "expiration": {
                      "$ref": "#/paths/~1pay~1v3~1token/post/responses/200/content/application~1json/schema/properties/expiration"
                    },
                    "token": {
                      "$ref": "#/paths/~1pay~1v3~1token/post/responses/200/content/application~1json/schema/properties/token"
                    },
                    "asyncTraceId": {
                      "type": "string",
                      "title": "asyncTraceId",
                      "description": "The high-level ID of the unprocessed APM transaction for tracking progress and status. Use this value with the [View APM transaction async status](ref:viewapmtransactionasyncstatus) endpoint to track the status of an APM transaction from loading the APM button or form and getting a response back from the payment provider.",
                      "x-tags": [
                        "component"
                      ],
                      "example": "4ef27dce-ca3b-44b7-aba8-a73caf8d4d98"
                    },
                    "expressIFrameUrl": {
                      "type": "string",
                      "title": "expressIFrameUrl",
                      "example": "https://www.api.nexiopaysandbox.com/v3?token=79001ef6-fb40-4917-b8ae-2294fdfe1cf2",
                      "x-tags": [
                        "component"
                      ],
                      "description": "The Express APM redirect URL. Allows the shopper to choose from a list of available APMs before redirecting for payment. See the [Multi Iframe (Express APM)](doc:multi-iframe-express-apm) tutorial in Guides for more information."
                    },
                    "redirectUrls": {
                      "type": "array",
                      "description": "A collection of redirect URLs. Can be used to send a customer directly to a single APM. See the APM [Custom Redirect (Redirect URLs)](doc:custom-redirect-redirect-urls) tutorial in Guides for more information.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "paymentMethod": {
                            "title": "paymentMethod",
                            "type": "string",
                            "description": "The name of the [alternative payment method](doc:payment-methods).",
                            "example": "payPal",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "url": {
                            "type": "string",
                            "title": "redirectUrl",
                            "description": "The redirect URL. Will redirect the shopper to the alternative payment method for payment.",
                            "example": "https://www.api.nexiopaysandbox.com/v3/popup?token=79001ef6-fb40-4917-b8ae-2294fdfe1cf2&paymentMethod=payPal",
                            "x-tags": [
                              "component"
                            ]
                          }
                        }
                      }
                    },
                    "buttonIFrameUrls": {
                      "type": "array",
                      "description": "A collection of button iframe URLs. Each URL can be used to load a button that will redirect the shopper to the selected APM. See the APM [Individual Iframe (Button URLs)](doc:individual-iframe-button-urls) tutorial in Guides for more information.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "paymentMethod": {
                            "$ref": "#/paths/~1apm~1v3~1token/post/responses/200/content/application~1json/schema/properties/redirectUrls/items/properties/paymentMethod"
                          },
                          "url": {
                            "type": "string",
                            "title": "buttonFrameUrl",
                            "description": "The button iframe URL. Will load a button to redirect the shopper to the alternative payment method for payment.",
                            "example": "https://api.nexiopaysandbox.com/apm/v3?token=b61ca2a9-b804-4a28-a00e-b794c8975dee&paymentMethod=applePay",
                            "x-tags": [
                              "component"
                            ]
                          }
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "Example response": {
                    "value": {
                      "expiration": "2018-09-18T15:43:05.664Z",
                      "token": "830d36f6-a5e3-4455-9600-3a55b63e2fc2",
                      "asyncTraceId": "830d36f6-a5e3-4455-9600-3a55b63e2fc2",
                      "scriptUrl": "https://api.nexiopaysandbox.com/apm/v3/script?token=b61ca2a9-b804-4a28-a00e-b794c8975dee",
                      "expressIFrameUrl": "https://www.api.nexiopaysandbox.com/v3?token=79001ef6-fb40-4917-b8ae-2294fdfe1cf2",
                      "redirectUrls": [
                        {
                          "paymentMethod": "paypal",
                          "url": "https://www.api.nexiopaysandbox.com/v3/popup?token=830d36f6-a5e3-4455-9600-3a55b63e2fc2&paymentMethod=payPal"
                        }
                      ],
                      "buttonIFrameUrls": [
                        {
                          "paymentMethod": "paypal",
                          "url": "https://api.nexiopaysandbox.com/apm/v3?token=b61ca2a9-b804-4a28-a00e-b794c8975dee&paymentMethod=paypal"
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        },
        "summary": "Create APM one-time-use token"
      }
    },
    "/apm/v3/process": {
      "post": {
        "summary": "Run APM transaction",
        "operationId": "RunAPMTransaction",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "title": "payment",
                  "type": "object",
                  "description": "The response from a successful merchant-initiated payment, such as through Braintree PayPal.",
                  "properties": {
                    "id": {
                      "$ref": "#/paths/~1apm~1v3~1void/post/requestBody/content/application~1json/schema/properties/id"
                    },
                    "merchantId": {
                      "title": "merchantId",
                      "type": "string",
                      "description": "The Nexio merchant ID (MID) through which the transaction was processed. Returned for regular and 3DS-enabled transactions.",
                      "example": "000999",
                      "x-tags": [
                        "component"
                      ]
                    },
                    "transactionDate": {
                      "$ref": "#/paths/~1pay~1v3~1capture/post/responses/200/content/application~1json/schema/properties/transactionDate"
                    },
                    "transactionStatus": {
                      "title": "transactionStatus",
                      "type": "string",
                      "description": "The [transaction status](doc:constant-transaction-values#transaction-status-transactionstatus).",
                      "example": "pending",
                      "x-tags": [
                        "component"
                      ]
                    },
                    "amount": {
                      "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/amount"
                    },
                    "transactionType": {
                      "$ref": "#/paths/~1pay~1v3~1capture/post/responses/200/content/application~1json/schema/properties/transactionType"
                    },
                    "currency": {
                      "title": "currency",
                      "type": "string",
                      "description": "The [three-digit ISO numeric currency code](https://en.wikipedia.org/wiki/ISO_4217). For information about valid values, see the [currency table](doc:constant-transaction-values#currency-id-currencyid) in Guides.",
                      "x-tags": [
                        "component"
                      ],
                      "x-internal": false,
                      "example": 840
                    },
                    "gatewayResponse": {
                      "$ref": "#/paths/~1pay~1v3~1void/post/responses/200/content/application~1json/schema/properties/gatewayResponse"
                    },
                    "data": {
                      "title": "data",
                      "type": "object",
                      "description": "Transaction and customer data.",
                      "properties": {
                        "amount": {
                          "$ref": "#/paths/~1pay~1v3~1processECheck/post/responses/200/content/application~1json/schema/properties/amount"
                        },
                        "currency": {
                          "$ref": "#/paths/~1pay~1v3~1capture/post/responses/200/content/application~1json/schema/properties/currency"
                        },
                        "settlementCurrency": {
                          "$ref": "#/paths/~1pay~1v3~1processECheck/post/requestBody/content/application~1json/schema/properties/data/properties/settlementCurrency"
                        },
                        "customer": {
                          "title": "customer",
                          "type": "object",
                          "description": "Customer information returned when checking fraud or from the processing gateway, when applicable.",
                          "properties": {
                            "orderNumber": {
                              "$ref": "#/paths/~1pay~1v3~1token/post/requestBody/content/application~1json/schema/oneOf/0/properties/data/properties/customer/properties/orderNumber"
                            },
                            "customerRef": {
                              "$ref": "#/paths/~1subscription~1v3~1%7Bid%7D/put/responses/200/content/application~1json/schema/properties/customerRef"
                            },
                            "orderDate": {
                              "$ref": "#/paths/~1pay~1v3~1vault~1echeck~1%7BecheckToken%7D/get/responses/200/content/application~1json/schema/properties/data/properties/customer/properties/orderDate"
                            },
                            "invoice": {
                              "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/invoice"
                            },
                            "firstName": {
                              "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/firstName"
                            },
                            "lastName": {
                              "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/lastName"
                            },
                            "birthDate": {
                              "$ref": "#/paths/~1pay~1v3~1vault~1card~1%7BcardToken%7D/put/responses/200/content/application~1json/schema/properties/data/properties/customer/properties/birthDate"
                            },
                            "email": {
                              "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/email"
                            },
                            "phone": {
                              "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/phone"
                            },
                            "companyName": {
                              "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/companyName"
                            },
                            "billToAddressOne": {
                              "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/billToAddressOne"
                            },
                            "billToAddressTwo": {
                              "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/billToAddressTwo"
                            },
                            "billToCity": {
                              "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/billToCity"
                            },
                            "billToCountry": {
                              "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/billToCountry"
                            },
                            "billToPhone": {
                              "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/billToPhone"
                            },
                            "billToPostal": {
                              "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/billToPostal"
                            },
                            "billToState": {
                              "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/billToState"
                            },
                            "shipToAddressOne": {
                              "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/shipToAddressOne"
                            },
                            "shipToAddressTwo": {
                              "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/shipToAddressTwo"
                            },
                            "shipToCity": {
                              "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/shipToCity"
                            },
                            "shipToCountry": {
                              "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/shipToCountry"
                            },
                            "shipToPhone": {
                              "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/shipToPhone"
                            },
                            "shipToPostal": {
                              "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/shipToPostal"
                            },
                            "shipToState": {
                              "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/shipToState"
                            },
                            "createdAtDate": {
                              "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customer/properties/createdAtDate"
                            }
                          },
                          "x-tags": [
                            "object"
                          ]
                        },
                        "customFields": {
                          "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/customFields"
                        },
                        "description": {
                          "$ref": "#/paths/~1apm~1v3~1process/post/requestBody/content/application~1json/schema/properties/data/properties/description"
                        }
                      },
                      "x-tags": [
                        "object"
                      ]
                    },
                    "apm": {
                      "type": "object",
                      "description": "",
                      "properties": {
                        "token": {
                          "title": "token",
                          "type": "string",
                          "description": "The APM token to be used for future merchant-initiated recurring payments, such as with Braintree PayPal.",
                          "example": "apm:66b742ee-7abc-4e36-81ea-0a26d23d2822",
                          "x-tags": [
                            "component"
                          ]
                        }
                      }
                    }
                  },
                  "x-tags": [
                    "object"
                  ]
                },
                "examples": {
                  "Example response": {
                    "value": {
                      "id": "eyJuYW1lIjoWJlciI6IjMxCJtZXJjaGFudElkIjoiMoiVVNEIn0=eyJuYW1lIjoib3BlbnBheSIsIm1lcmN",
                      "merchantId": "000999",
                      "transactionDate": "2019-01-15T13:19:39.329Z",
                      "transactionStatus": "pending",
                      "amount": 9.95,
                      "transactionType": "sale",
                      "currency": "USD",
                      "gatewayResponse": {
                        "gatewayName": "[usaepay]",
                        "refNumber": "8E56222GD0701110"
                      },
                      "data": {
                        "amount": 29.99,
                        "currency": "EUR",
                        "settlementCurrency": "CAD",
                        "customer": {
                          "billToAddressOne": "2147 West Silverlake Drive",
                          "billToAddressTwo": "Apt 42",
                          "billToCity": "Scranton",
                          "billToCountry": "US",
                          "billToPhone": "1555555555",
                          "billToPostal": "18503",
                          "billToState": "PA",
                          "birthDate": "1990-12-05",
                          "companyName": "Green Thumb Lawn Care",
                          "createdAtDate": "2005-03-01",
                          "customerRef": "RP006",
                          "email": "jdoe@example.com",
                          "invoice": "IN0001",
                          "firstName": "John",
                          "lastName": "Doe",
                          "orderDate": "2021-08-26",
                          "orderNumber": "210058A",
                          "phone": "1555555555",
                          "shipToAddressOne": "1725 Slough Avenue",
                          "shipToAddressTwo": "Suite 200",
                          "shipToCity": "Scranton",
                          "shipToCountry": "US",
                          "shipToPhone": "1555555555",
                          "shipToPostal": "18505",
                          "shipToState": "PA"
                        },
                        "customFields": {
                          "exampleKey": "Example string",
                          "exampleRefNumber": "094785"
                        },
                        "description": "[Description of the transaction]"
                      },
                      "apm": {
                        "token": "apm:66b742ee-7abc-4e36-81ea-0a26d23d2822"
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        },
        "description": "Allows you to securely process an alternative payment method transaction without a browser, such as for merchant-initiated transactions using [PayPal (with Braintree)](doc:paypal-with-braintree-integration-guide).\n\n<!-- theme: info -->\n> 📘 Note\n> \n> In order to use this endpoint, the following two things must be true: \n> - You must have already set `processingOptions.saveRecurringToken` to `true` in the [APM one-time-use token](ref:createapmonetimeusetoken) request for the initial transaction.\n> - Your customer must have already checked out and paid through the alternative payment method for that initial transaction.\n\n<!-- theme: warning -->\n> ⚠️ Try It\n> \n> To use the Try It feature for this endpoint, you must use the credentials for your [Sandbox API user](doc:sandbox-environments).\n\n\n<div style=\"display:none;\">\n\n## Request parameters\n- apm\n- apm.token\n- data\n- data.amount\n- data.currency\n- data.customer\n- data.customer.orderNumber\n- data.customer.billToAddressOne\n- data.customer.billToAddressTwo\n- data.customer.billToCity\n- data.customer.billToCountry\n- data.customer.billToPhone\n- data.customer.billToPostal\n- data.customer.billToState\n- data.customer.birthDate\n- data.customer.companyName\n- data.customer.createdAtDate\n- data.customer.customerRef\n- data.customer.email\n- data.customer.invoice\n- data.customer.firstName\n- data.customer.lastName\n- data.customer.orderDate\n- data.customer.phone\n- data.customer.shipToAddressOne\n- data.customer.shipToAddressTwo\n- data.customer.shipToCity\n- data.customer.shipToCountry\n- data.customer.shipToPhone\n- data.customer.shipToPostal\n- data.customer.shipToState\n- data.customFields\n- data.customFields.exampleKey\n- data.description\n- isAuthOnly\n- processingOptions\n- processingOptions.merchantId\n- processingOptions.paymentOptionTag\n- processingOptions.webhookFailUrl\n\n## Response parameters\n- id\n- merchantId\n- transactionDate\n- transactionStatus\n- amount\n- transactionType\n- currency\n- gatewayResponse\n- gatewayResponse.gatewayName\n- gatewayResponse.refNumber\n- data\n- data.amount\n- data.currency\n- data.settlementCurrency\n- data.customer\n- data.customer.customerRef\n- data.customer.orderNumber\n- data.customer.orderDate\n- data.customer.invoice\n- data.customer.firstName\n- data.customer.lastName\n- data.customer.birthDate\n- data.customer.billToAddressOne\n- data.customer.billToAddressTwo\n- data.customer.billToCity\n- data.customer.billToCountry\n- data.customer.billToPhone\n- data.customer.billToPostal\n- data.customer.billToState\n- data.customer.email\n- data.customer.phone\n- data.customer.shipToAddressOne\n- data.customer.shipToAddressTwo\n- data.customer.shipToCity\n- data.customer.shipToCountry\n- data.customer.shipToPhone\n- data.customer.shipToPostal\n- data.customer.shipToState\n- data.customer.createdAt\n- data.customFields\n- data.customFields.exampleKey\n- data.description\n- apm\n- apm.token\n\n</div>",
        "security": [
          {
            "Basic_Authentication": []
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "apm",
                  "data"
                ],
                "properties": {
                  "apm": {
                    "type": "object",
                    "required": [
                      "token"
                    ],
                    "properties": {
                      "token": {
                        "title": "token",
                        "type": "string",
                        "description": "The APM token to be used for this merchant-initiated recurring payments, such as with Braintree PayPal.",
                        "example": "apm:66b742ee-7abc-4e36-81ea-0a26d23d2822",
                        "x-tags": [
                          "component"
                        ]
                      }
                    }
                  },
                  "data": {
                    "type": "object",
                    "description": "Transaction data",
                    "required": [
                      "amount",
                      "currency",
                      "customer"
                    ],
                    "properties": {
                      "amount": {
                        "title": "amount",
                        "type": "number",
                        "description": "The transaction amount for this merchant-initiated transaction.",
                        "example": 9.95,
                        "x-tags": [
                          "component"
                        ]
                      },
                      "currency": {
                        "$ref": "#/paths/~1pay~1v3~1capture/post/responses/200/content/application~1json/schema/properties/currency"
                      },
                      "customer": {
                        "title": "customer",
                        "type": "object",
                        "description": "Customer information to be used in checking fraud or sent to the processing gateway, when applicable.",
                        "x-tags": [
                          "object"
                        ],
                        "properties": {
                          "orderNumber": {
                            "title": "orderNumber",
                            "type": "string",
                            "description": "The order number. This must be a unique value.\n\nNexio recommends a format for the order number of a unique value that also includes an attempt number so that you can track attempts per order, such as when a payment attempt fails. For example, something like `[order_number]-[attempt_number]`.",
                            "example": "210058A-1",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "customerRef": {
                            "$ref": "#/paths/~1subscription~1v3~1%7Bid%7D/put/responses/200/content/application~1json/schema/properties/customerRef"
                          },
                          "orderDate": {
                            "title": "orderDate",
                            "type": "string",
                            "description": "The date of the customer's order. This field is required by certain gateways. For information on gateway-specific required fields, see the [Connections](doc:connections) documentation.\n\nUse any of the following formats for the date:\n- Four-digit year, two-digit month and day, separated with hyphens: YYYY-MM-DD.<br>For example, `2021-08-26`.\n- [ISO-8601](https://www.iso.org/iso-8601-date-and-time-format.html) date expressed in UTC, with as much of the time part as wanted.<br>For example, `2001-08-26T13:35:00.978Z` or `1990-12-05T00:00Z`.\n- UNIX date (as an integer representing seconds).<br>For example, `1630006518`.\n\n<!-- theme:info -->\n> #### Note\n> This is NOT a quick way to schedule a transaction. Specifying a date in the future does not cause the order to be run automatically at the indicated date or time.",
                            "example": "2021-08-26",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "invoice": {
                            "title": "invoice",
                            "type": "string",
                            "description": "The invoice number. This value is cached in the one-time-use token.",
                            "example": "IN0001",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "firstName": {
                            "title": "firstName",
                            "type": "string",
                            "description": "The customer's first name, as it appears on the card. This value is cached in the one-time-use token.",
                            "example": "John",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "lastName": {
                            "title": "lastName",
                            "type": "string",
                            "description": "The customer's last name, as it appears on the card. This value is cached in the one-time-use token.",
                            "example": "Doe",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "birthDate": {
                            "type": "string",
                            "title": "birthDate",
                            "description": "The customer's date of birth. \n\nUse any of the following formats for the date:\n- Four-digit year, two-digit month and day, separated with hyphens: YYYY-MM-DD.<br>For example, `2001-08-26`.\n- [ISO-8601](https://www.iso.org/iso-8601-date-and-time-format.html) date expressed in UTC, with as much of the time part as wanted.<br>For example, `2001-08-26T13:35:00Z` or `1990-12-05T00:00Z`.\n- UNIX date (as an integer representing seconds).<br>For example, `998854500`.",
                            "example": "1990-12-05",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "email": {
                            "type": "string",
                            "title": "email",
                            "description": "The customer's email address. This value is cached in the one-time-use token.",
                            "example": "jdoe@example.com",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "phone": {
                            "title": "phone",
                            "type": "string",
                            "description": "The customer's phone number. This value is cached in the one-time-use token.",
                            "example": "1555555555",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "companyName": {
                            "title": "companyName",
                            "type": "string",
                            "description": "This field may be included if the bank account being used for payment is a business account.",
                            "example": "Green Thumb Lawn Care",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "billToAddressOne": {
                            "title": "billToAddressOne",
                            "type": "string",
                            "description": "The street address on file with the card provider. This value is cached in the one-time-use token.",
                            "example": "2147 West Silverlake Drive",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "billToAddressTwo": {
                            "title": "billToAddressTwo",
                            "type": "string",
                            "description": "Additional street address information, if required. This value is cached in the one-time-use token.",
                            "example": "Apt 42",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "billToCity": {
                            "title": "billToCity",
                            "type": "string",
                            "description": "The city on file with the card provider. This value is cached in the one-time-use token.",
                            "example": "Scranton",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "billToState": {
                            "type": "string",
                            "title": "billToState",
                            "description": "The state or province on file with the card provider. (If in the US, this must be the [two-character state abbreviation](https://pe.usps.com/text/pub28/28apb.htm)). This value is cached in the one-time-use token.",
                            "example": "PA",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "billToPostal": {
                            "title": "billToPostal",
                            "type": "string",
                            "description": "The postal code on file with the card provider. This value is cached in the one-time-use token.",
                            "example": "18503",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "billToCountry": {
                            "title": "billToCountry",
                            "type": "string",
                            "description": "The [two-character (Alpha-2) ISO country code](https://www.iso.org/obp/ui/#search/code/) for the address on file with the card provider. This value is cached in the one-time-use token.",
                            "example": "US",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "billToPhone": {
                            "title": "billToPhone",
                            "type": "string",
                            "description": "The billing phone number. This value is cached in the one-time-use token.",
                            "example": "1555555555",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "shipToAddressOne": {
                            "title": "shipToAddressOne",
                            "type": "string",
                            "description": "The shipping address, if different from the billing address. This value is cached in the one-time-use token.",
                            "example": "1725 Slough Avenue",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "shipToAddressTwo": {
                            "title": "shipToAddressTwo",
                            "type": "string",
                            "description": "Additional shipping address information, if required. This value is cached in the one-time-use token.",
                            "example": "Suite 200",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "shipToCity": {
                            "title": "shipToCity",
                            "type": "string",
                            "description": "The shipping city. This value is cached in the one-time-use token.",
                            "example": "Scranton",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "shipToState": {
                            "title": "shipToState",
                            "type": "string",
                            "description": "The shipping state or province. (If in the US, this must be the [two-character state abbreviation](https://pe.usps.com/text/pub28/28apb.htm).) This value is cached in the one-time-use token.",
                            "example": "PA",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "shipToPostal": {
                            "title": "shipToPostal",
                            "type": "string",
                            "description": "The shipping postal code. This value is cached in the one-time-use token.",
                            "example": "18505",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "shipToCountry": {
                            "title": "shipToCountry",
                            "type": "string",
                            "description": "The [two-character (Alpha-2) ISO](https://www.iso.org/obp/ui/#search/code/) shipping country code. This value is cached in the one-time-use token.",
                            "example": "US",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "shipToPhone": {
                            "title": "shipToPhone",
                            "type": "string",
                            "description": "The shipping phone number. This value is cached in the one-time-use token.",
                            "example": "1555555555",
                            "x-tags": [
                              "component"
                            ]
                          },
                          "createdAtDate": {
                            "title": "createdAtDate",
                            "type": "string",
                            "description": "The date the customer was created in your system. The format is four-digit year, two-digit month and day, separated with hyphens: YYYY-MM-DD.<p><b>Note:</b> This information is only used to allow you to more fully customize your fraud rules. <b>Nexio does not store this data.</b></p>",
                            "example": "2005-03-01",
                            "x-tags": [
                              "component"
                            ]
                          }
                        },
                        "required": [
                          "orderNumber"
                        ]
                      },
                      "customFields": {
                        "title": "customFields",
                        "type": "object",
                        "description": "Nexio stores information in custom fields and passes custom fields to gateways that support them. \n\n<!-- theme: warning -->\n> #### Important\n> * Do not use custom fields to store sensitive data, such as cardholder information.",
                        "x-tags": [
                          "object"
                        ],
                        "properties": {
                          "exampleKey": {
                            "type": "string",
                            "title": "exampleKey",
                            "description": "You may use any key as a custom field. Values must be strings.",
                            "x-tags": [
                              "component"
                            ],
                            "example": "Example string"
                          },
                          "exampleRefNumber": {
                            "type": "string",
                            "title": "exampleRefNumber",
                            "description": "A reference value used by the gateway.",
                            "x-tags": [
                              "component"
                            ],
                            "example": "094785"
                          }
                        }
                      },
                      "description": {
                        "type": "string",
                        "title": "description",
                        "description": "A description of the transaction. This value is cached in the one-time-use token.",
                        "example": "[Description of the transaction]",
                        "x-tags": [
                          "component"
                        ]
                      }
                    }
                  },
                  "isAuthOnly": {
                    "title": "isAuthOnly",
                    "type": "boolean",
                    "description": "Set to `true` to run an auth only transaction. This value is cached in the one-time-use token.",
                    "default": false,
                    "x-tags": [
                      "component"
                    ]
                  },
                  "processingOptions": {
                    "title": "processingOptions",
                    "type": "object",
                    "description": "Processing Options",
                    "x-tags": [
                      "object"
                    ],
                    "properties": {
                      "paymentOptionTag": {
                        "$ref": "#/paths/~1apm~1v3~1token/post/requestBody/content/application~1json/schema/properties/processingOptions/properties/paymentOptionTag"
                      },
                      "webhookFailUrl": {
                        "type": "string",
                        "title": "webhookFailUrl",
                        "description": "The URL to which Nexio will send the results of a failed transaction. This URL must use the HTTPS protocol.",
                        "example": "https://[your-apm-webhook-fail-url]",
                        "x-tags": [
                          "component"
                        ]
                      },
                      "merchantId": {
                        "$ref": "#/paths/~1pay~1v3~1saveCard/post/responses/400/content/application~1json/schema/properties/merchantId"
                      }
                    }
                  }
                }
              },
              "examples": {
                "Required parameters": {
                  "value": {
                    "apm": {
                      "token": "apm:66b742ee-7abc-4e36-81ea-0a26d23d2822"
                    },
                    "data": {
                      "amount": 9.95,
                      "currency": "EUR",
                      "customer": {
                        "orderNumber": "210058A"
                      }
                    }
                  }
                },
                "All parameters": {
                  "value": {
                    "apm": {
                      "token": "apm:66b742ee-7abc-4e36-81ea-0a26d23d2822"
                    },
                    "data": {
                      "amount": 9.95,
                      "currency": "EUR",
                      "customer": {
                        "orderNumber": "210058A",
                        "billToAddressOne": "2147 West Silverlake Drive",
                        "billToAddressTwo": "Apt 42",
                        "billToCity": "Scranton",
                        "billToCountry": "US",
                        "billToPhone": "1555555555",
                        "billToPostal": "18503",
                        "billToState": "PA",
                        "birthDate": "1990-12-05",
                        "companyName": "Green Thumb Lawn Care",
                        "createdAtDate": "2005-03-01",
                        "customerRef": "RP006",
                        "email": "jdoe@example.com",
                        "invoice": "IN0001",
                        "firstName": "John",
                        "lastName": "Doe",
                        "orderDate": "2021-08-26",
                        "phone": "1555555555",
                        "shipToAddressOne": "1725 Slough Avenue",
                        "shipToAddressTwo": "Suite 200",
                        "shipToCity": "Scranton",
                        "shipToCountry": "US",
                        "shipToPhone": "1555555555",
                        "shipToPostal": "18505",
                        "shipToState": "PA"
                      },
                      "customFields": {
                        "exampleKey": "Example string",
                        "exampleRefNumber": "094785"
                      },
                      "description": "[Description of the transaction]"
                    },
                    "isAuthOnly": false,
                    "processingOptions": {
                      "merchantId": "000999",
                      "paymentOptionTag": "nmi",
                      "webhookFailUrl": "https://[your-apm-webhook-fail-url]"
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Alternative Payment Methods"
        ]
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```