{
"message": "Unable to perform the request action with provided data."
}
{
"message": "Attempted to perform an unauthorized operation."
}
{
"message": "Unable to find an entity with the provided data."
}
Customers
Create Customer
Creates a new customer record within your merchant account.
You can provide customer details such as first name, last name, billing address, shipping address, and a Merchant Customer Ref ID (an external identifier you define).
Once created, the customer can be linked to subscriptions, payment methods, invoices, and other transactional entities.
This endpoint is typically used during onboarding or checkout flows to register the customer in the system before initiating payments.
A successful response includes the unique Customer ID assigned by the platform.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Introduction \u0026 Quick Start","colors":{"primary":"#0070e0","light":"#0070e0","dark":"#0070e0"},"logo":{"light":"https://mintcdn.com/revolv3/Zevkr_Aqagg8mPcq/logo/normallogo.png?fit=max\u0026auto=format\u0026n=Zevkr_Aqagg8mPcq\u0026q=85\u0026s=fd4c62503540a031e3c6c968fad23f13","dark":"https://mintcdn.com/revolv3/dVOZNq0ooDKRts06/logo/darklogo.png?fit=max\u0026auto=format\u0026n=dVOZNq0ooDKRts06\u0026q=85\u0026s=fcf27915d3b41117f9ebeabfe6198322"},"favicon":"https://mintcdn.com/revolv3/UvfMtv_6fKeEgTof/e9ea213-favicon.svg?fit=max\u0026auto=format\u0026n=UvfMtv_6fKeEgTof\u0026q=85\u0026s=a6a23b31eb7fe0a95654625f1d3461b7","api":{"playground":{"display":"interactive"}},"seo":{"metatags":{"canonical":"https://docs.revolv3.com"}},"integrations":{"telemetry":{"enabled":true}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"revolv3","hasAudioNarration":false,"actualSubdomain":"revolv3","customDomains":["docs.revolv3.com"],"gitSource":{"type":"github","owner":"revolv3-dev","repo":"mintlify-revolv3-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae37d43bf26c43eb731973f","collectionId":"8de06812-a1bb-43f6-8c11-51e69eb972f5","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae37d43bf26c43eb731973f"},"feedback":{"edits":true,"issues":true,"thumbs":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae37d43bf26c43eb731973f","clientVersion":"0.0.4021","searchFilterCounts":[{"language":"default","tag":"Guides","count":46},{"language":"default","tag":"API Reference","count":43},{"language":"default","tag":"Core Concepts \u0026 Data Models","count":14},{"language":"default","tag":"Integration Flows","count":10},{"language":"default","tag":"Customers","count":10},{"language":"default","tag":"Subscriptions","count":10},{"language":"default","tag":"Payment Method","count":6},{"language":"default","tag":"PaymentMethod","count":6},{"language":"default","tag":"Payments","count":6},{"language":"default","tag":"Invoice","count":5}]},"assistantConfig":{"enableAskAiButton":true,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/customers/create-customer","slug":"/api-reference/customers/create-customer","pageMetadata":{"title":"Create Customer","description":"Creates a **new customer** record within your merchant account.\r\nYou can provide customer details such as first name, last name, billing address, shipping address, and a Merchant Customer Ref ID (an external identifier you define).\r\n\r\nOnce created, the customer can be linked to subscriptions, payment methods, invoices, and other transactional entities.\r\nThis endpoint is typically used during onboarding or checkout flows to register the customer in the system before initiating payments.\r\n\r\nA successful response includes the unique Customer ID assigned by the platform.","deprecated":null,"version":null,"openapi":"/api-reference/swagger.json post /api/Customers","href":"/api-reference/customers/create-customer","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Creates a \", _jsx(_components.strong, {\n children: \"new customer\"\n }), \" record within your merchant account.\\r\\nYou can provide customer details such as first name, last name, billing address, shipping address, and a Merchant Customer Ref ID (an external identifier you define).\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"Once created, the customer can be linked to subscriptions, payment methods, invoices, and other transactional entities.\\r\\nThis endpoint is typically used during onboarding or checkout flows to register the customer in the system before initiating payments.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"A successful response includes the unique Customer ID assigned by the platform.\"\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create Customer","description":"Creates a **new customer** record within your merchant account.\r\nYou can provide customer details such as first name, last name, billing address, shipping address, and a Merchant Customer Ref ID (an external identifier you define).\r\n\r\nOnce created, the customer can be linked to subscriptions, payment methods, invoices, and other transactional entities.\r\nThis endpoint is typically used during onboarding or checkout flows to register the customer in the system before initiating payments.\r\n\r\nA successful response includes the unique Customer ID assigned by the platform.","deprecated":null,"version":null,"openapi":"/api-reference/swagger.json post /api/Customers","href":"/api-reference/customers/create-customer","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/revolv3/b2e6669526e8a41b/scripts/fix-swagger-auth.js"],"openApiReferenceData":{"operation":{"tags":["Customers"],"summary":"Create Customer","description":"Creates a **new customer** record within your merchant account.\r\nYou can provide customer details such as first name, last name, billing address, shipping address, and a Merchant Customer Ref ID (an external identifier you define).\r\n\r\nOnce created, the customer can be linked to subscriptions, payment methods, invoices, and other transactional entities.\r\nThis endpoint is typically used during onboarding or checkout flows to register the customer in the system before initiating payments.\r\n\r\nA successful response includes the unique Customer ID assigned by the platform.","requestBody":"4666939c-677a-4ac4-9600-f0a96d77d40d","responses":{"201":"07735df9-a5de-4bcf-b5c9-021801106901","207":"f7d665e1-d62e-4839-9bed-851b4245186b","400":"34a50144-0613-4336-97bf-effae2326529","401":"c3772662-ac95-4ef7-97bd-cb209c94e7a3","404":"18a7e54c-b572-4789-b84b-56b5d45bc3b9"},"security":["75a7a00b-e23b-4377-a737-6235336ea4af"],"method":"post","type":"path","servers":["334e6eb5-634d-46b6-90d2-b0f4797cf87a"],"path":"/api/Customers","baseUrlOptions":["https://api-sandbox.revolv3.com"],"title":"Create Customer","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json-patch+json":{"schema":{"required":["firstName","lastName"],"type":"object","properties":{"firstName":{"maxLength":150,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"firstName","typeLabel":"string"},"lastName":{"maxLength":150,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"lastName","typeLabel":"string"},"merchantCustomerRefId":{"oneOf":[{"maxLength":100,"type":"string","uniqueKey":"merchantCustomerRefId.oneOf.0","typeLabel":"string"},{"maxLength":100,"type":"null","uniqueKey":"merchantCustomerRefId.oneOf.1","typeLabel":"null"}],"uniqueKey":"merchantCustomerRefId","typeLabel":"string | null"},"email":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string","format":"email","uniqueKey":"email.oneOf.0","typeLabel":"string\u003cemail>"},{"maxLength":100,"minLength":0,"type":"null","format":"email","uniqueKey":"email.oneOf.1","typeLabel":"null"}],"uniqueKey":"email","typeLabel":"string\u003cemail> | null"},"billingAddresses":{"oneOf":[{"maxItems":10,"type":"array","items":{"type":"object","properties":{"addressLine1":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"Address.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].addressLine1.oneOf.0","typeLabel":"string"},{"maxLength":3000,"minLength":0,"type":"null","description":"Address.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].addressLine1.oneOf.1","typeLabel":"null"}],"uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].addressLine1","typeLabel":"string | null"},"addressLine2":{"maxLength":3000,"minLength":0,"type":"string","description":"Supplemental information for the address.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].addressLine2","typeLabel":"string"},"city":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"City.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].city.oneOf.0","typeLabel":"string"},{"maxLength":3000,"minLength":0,"type":"null","description":"City.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].city.oneOf.1","typeLabel":"null"}],"uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].city","typeLabel":"string | null"},"state":{"oneOf":[{"maxLength":2,"minLength":0,"type":"string","description":"State.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].state.oneOf.0","typeLabel":"string"},{"maxLength":2,"minLength":0,"type":"null","description":"State.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].state.oneOf.1","typeLabel":"null"}],"uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].state","typeLabel":"string | null"},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].postalCode.oneOf.0","typeLabel":"string"},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].postalCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].postalCode","typeLabel":"string | null"},"phoneNumber":{"maxLength":20,"minLength":7,"pattern":"^(?=.*\\d)\\+?[0-9\\s\\-\\(\\)\\.]{7,20}$","type":"string","description":"The phone number associated with a payment method that is used for billing purposes.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].phoneNumber","typeLabel":"string"},"email":{"maxLength":3000,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].email","typeLabel":"string\u003cemail>"},"country":{"maxLength":2,"minLength":0,"type":"string","description":"The input must be a valid Alpha2 code, Alpha3 code, UN code, or full country name.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].country","typeLabel":"string"},"addressId":{"maximum":1000000000,"minimum":1,"type":"integer","description":"The unique identifier of the address.","format":"int64","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].addressId","typeLabel":"integer\u003cint64>"}},"additionalProperties":false,"uniqueKey":"billingAddresses.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"billingAddresses.oneOf.0","typeLabel":"object[]"},{"maxItems":10,"type":"null","items":{"type":"object","properties":{"addressLine1":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"Address."},{"maxLength":3000,"minLength":0,"type":"null","description":"Address."}]},"addressLine2":{"maxLength":3000,"minLength":0,"type":"string","description":"Supplemental information for the address."},"city":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"City."},{"maxLength":3000,"minLength":0,"type":"null","description":"City."}]},"state":{"oneOf":[{"maxLength":2,"minLength":0,"type":"string","description":"State."},{"maxLength":2,"minLength":0,"type":"null","description":"State."}]},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code."},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code."}]},"phoneNumber":{"maxLength":20,"minLength":7,"pattern":"^(?=.*\\d)\\+?[0-9\\s\\-\\(\\)\\.]{7,20}$","type":"string","description":"The phone number associated with a payment method that is used for billing purposes."},"email":{"maxLength":3000,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email"},"country":{"maxLength":2,"minLength":0,"type":"string","description":"The input must be a valid Alpha2 code, Alpha3 code, UN code, or full country name."},"addressId":{"maximum":1000000000,"minimum":1,"type":"integer","description":"The unique identifier of the address.","format":"int64"}},"additionalProperties":false},"uniqueKey":"billingAddresses.oneOf.1","typeLabel":"null"}],"uniqueKey":"billingAddresses","typeLabel":"object[] | null"},"shippingAddresses":{"oneOf":[{"maxItems":10,"type":"array","items":{"type":"object","properties":{"addressLine1":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"Address.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].addressLine1.oneOf.0","typeLabel":"string"},{"maxLength":3000,"minLength":0,"type":"null","description":"Address.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].addressLine1.oneOf.1","typeLabel":"null"}],"uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].addressLine1","typeLabel":"string | null"},"addressLine2":{"maxLength":3000,"minLength":0,"type":"string","description":"Supplemental information for the address.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].addressLine2","typeLabel":"string"},"city":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"City.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].city.oneOf.0","typeLabel":"string"},{"maxLength":3000,"minLength":0,"type":"null","description":"City.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].city.oneOf.1","typeLabel":"null"}],"uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].city","typeLabel":"string | null"},"state":{"oneOf":[{"maxLength":2,"minLength":0,"type":"string","description":"State.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].state.oneOf.0","typeLabel":"string"},{"maxLength":2,"minLength":0,"type":"null","description":"State.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].state.oneOf.1","typeLabel":"null"}],"uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].state","typeLabel":"string | null"},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].postalCode.oneOf.0","typeLabel":"string"},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].postalCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].postalCode","typeLabel":"string | null"},"phoneNumber":{"maxLength":20,"minLength":7,"pattern":"^(?=.*\\d)\\+?[0-9\\s\\-\\(\\)\\.]{7,20}$","type":"string","description":"The phone number associated with a payment method that is used for billing purposes.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].phoneNumber","typeLabel":"string"},"email":{"maxLength":3000,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].email","typeLabel":"string\u003cemail>"},"country":{"maxLength":2,"minLength":0,"type":"string","description":"The input must be a valid Alpha2 code, Alpha3 code, UN code, or full country name.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].country","typeLabel":"string"},"addressId":{"maximum":1000000000,"minimum":1,"type":"integer","description":"The unique identifier of the address.","format":"int64","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].addressId","typeLabel":"integer\u003cint64>"}},"additionalProperties":false,"uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"shippingAddresses.oneOf.0","typeLabel":"object[]"},{"maxItems":10,"type":"null","items":{"type":"object","properties":{"addressLine1":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"Address."},{"maxLength":3000,"minLength":0,"type":"null","description":"Address."}]},"addressLine2":{"maxLength":3000,"minLength":0,"type":"string","description":"Supplemental information for the address."},"city":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"City."},{"maxLength":3000,"minLength":0,"type":"null","description":"City."}]},"state":{"oneOf":[{"maxLength":2,"minLength":0,"type":"string","description":"State."},{"maxLength":2,"minLength":0,"type":"null","description":"State."}]},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code."},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code."}]},"phoneNumber":{"maxLength":20,"minLength":7,"pattern":"^(?=.*\\d)\\+?[0-9\\s\\-\\(\\)\\.]{7,20}$","type":"string","description":"The phone number associated with a payment method that is used for billing purposes."},"email":{"maxLength":3000,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email"},"country":{"maxLength":2,"minLength":0,"type":"string","description":"The input must be a valid Alpha2 code, Alpha3 code, UN code, or full country name."},"addressId":{"maximum":1000000000,"minimum":1,"type":"integer","description":"The unique identifier of the address.","format":"int64"}},"additionalProperties":false},"uniqueKey":"shippingAddresses.oneOf.1","typeLabel":"null"}],"uniqueKey":"shippingAddresses","typeLabel":"object[] | null"},"subscriptions":{"oneOf":[{"type":"array","items":{"required":["billingFrequency","customer","startDate","subscriptionBillingPlans","subscriptionCancelType","subscriptionStatusType","trialDuration"],"type":"object","properties":{"billingFrequency":{"required":["intervalType"],"type":"object","properties":{"intervalType":{"enum":["Days","Weeks","Months","Years"],"type":"string","isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingFrequency.intervalType","typeLabel":"enum\u003cstring>"},"intervalCount":{"maximum":366,"minimum":1,"type":"integer","format":"int32","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingFrequency.intervalCount","typeLabel":"integer\u003cint32>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingFrequency","typeLabel":"object"},"subscriptionStatusType":{"maxLength":50,"minLength":0,"type":"string","default":"Current","isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionStatusType","typeLabel":"string"},"subscriptionCancelType":{"maxLength":50,"minLength":0,"type":"string","default":"EndOfCycle","isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionCancelType","typeLabel":"string"},"startDate":{"oneOf":[{"maxLength":40,"type":"string","description":"Evaluated in UTC (not the merchant timezone). A date (`YYYY-MM-DD`) or datetime (`YYYY-MM-DDThh:mm:ss`) is accepted; a trailing `Z` is not required. Treat today as the current UTC date when deciding bill-on-create vs later.","format":"date-time","default":"Today's date","isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].startDate.oneOf.0","typeLabel":"string\u003cdate-time>"},{"maxLength":40,"type":"null","description":"Evaluated in UTC (not the merchant timezone). A date (`YYYY-MM-DD`) or datetime (`YYYY-MM-DDThh:mm:ss`) is accepted; a trailing `Z` is not required. Treat today as the current UTC date when deciding bill-on-create vs later.","format":"date-time","default":"Today's date","isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].startDate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].startDate","typeLabel":"string\u003cdate-time> | null"},"trialDuration":{"minimum":0,"type":"integer","format":"int32","default":0,"isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].trialDuration","typeLabel":"integer\u003cint32>"},"customer":{"type":"object","properties":{"id":{"oneOf":[{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].customer.id.oneOf.0","typeLabel":"integer\u003cint64>"},{"maximum":1000000000,"minimum":1,"type":"null","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].customer.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].customer.id","typeLabel":"integer\u003cint64> | null"},"firstName":{"oneOf":[{"maxLength":150,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].customer.firstName.oneOf.0","typeLabel":"string"},{"maxLength":150,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].customer.firstName.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].customer.firstName","typeLabel":"string | null"},"lastName":{"oneOf":[{"maxLength":150,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].customer.lastName.oneOf.0","typeLabel":"string"},{"maxLength":150,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].customer.lastName.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].customer.lastName","typeLabel":"string | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].customer","typeLabel":"object"},"subscriptionBillingPlans":{"type":"array","items":{"required":["cycleCount","name","startCycleDelay","value","valueType"],"type":"object","properties":{"name":{"maxLength":100,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionBillingPlans.items.[INDEX].name","typeLabel":"string"},"value":{"maximum":10000000,"minimum":0,"type":"number","format":"double","isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionBillingPlans.items.[INDEX].value","typeLabel":"number\u003cdouble>"},"cycleCount":{"maximum":100,"minimum":-1,"type":"integer","format":"int32","default":-1,"isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionBillingPlans.items.[INDEX].cycleCount","typeLabel":"integer\u003cint32>"},"valueType":{"maxLength":50,"minLength":1,"type":"string","default":"Standard","isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionBillingPlans.items.[INDEX].valueType","typeLabel":"string"},"startCycleDelay":{"maximum":1000000000,"minimum":0,"type":"integer","format":"int32","default":0,"isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionBillingPlans.items.[INDEX].startCycleDelay","typeLabel":"integer\u003cint32>"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionBillingPlans.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionBillingPlans","typeLabel":"object[]"},"paymentMethods":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"billingFirstName":{"maxLength":100,"minLength":0,"type":"string","description":"**Conditional**: either both BillingFirstName and BillingLastName or BillingFullName must be provided.\r\n\r\nThe customer’s first name associated with a payment method that is used for billing purposes.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingFirstName","typeLabel":"string"},"billingLastName":{"maxLength":100,"minLength":0,"type":"string","description":"**Conditional**: either both BillingFirstName and BillingLastName or BillingFullName must be provided.\r\n\r\nThe customer’s last name associated with a payment method that is used for billing purposes.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingLastName","typeLabel":"string"},"billingFullName":{"maxLength":200,"minLength":0,"type":"string","description":"**Conditional**: either BillingFullName or both BillingFirstName and BillingLastName must be provided.\r\n\r\nThe customer’s full name associated with a payment method that is used for billing purposes. ","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingFullName","typeLabel":"string"},"billingAddress":{"type":"object","description":"The address associated with a payment method that is used for billing purposes. Either an Address ID or detailed address information can be provided.","properties":{"addressLine1":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"Address.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.addressLine1.oneOf.0","typeLabel":"string"},{"maxLength":3000,"minLength":0,"type":"null","description":"Address.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.addressLine1.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.addressLine1","typeLabel":"string | null"},"addressLine2":{"maxLength":3000,"minLength":0,"type":"string","description":"Supplemental information for the address.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.addressLine2","typeLabel":"string"},"city":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"City.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.city.oneOf.0","typeLabel":"string"},{"maxLength":3000,"minLength":0,"type":"null","description":"City.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.city","typeLabel":"string | null"},"state":{"oneOf":[{"maxLength":2,"minLength":0,"type":"string","description":"State.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.state.oneOf.0","typeLabel":"string"},{"maxLength":2,"minLength":0,"type":"null","description":"State.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.state","typeLabel":"string | null"},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.postalCode.oneOf.0","typeLabel":"string"},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.postalCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.postalCode","typeLabel":"string | null"},"phoneNumber":{"maxLength":20,"minLength":7,"pattern":"^(?=.*\\d)\\+?[0-9\\s\\-\\(\\)\\.]{7,20}$","type":"string","description":"The phone number associated with a payment method that is used for billing purposes.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.phoneNumber","typeLabel":"string"},"email":{"maxLength":3000,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.email","typeLabel":"string\u003cemail>"},"country":{"maxLength":2,"minLength":0,"type":"string","description":"The input must be a valid Alpha2 code, Alpha3 code, UN code, or full country name.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.country","typeLabel":"string"},"addressId":{"maximum":1000000000,"minimum":1,"type":"integer","description":"The unique identifier of the address.","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.addressId","typeLabel":"integer\u003cint64>"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress","typeLabel":"object"},"creditCard":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nPayment card information.","properties":{"paymentAccountNumber":{"maxLength":19,"minLength":8,"type":"string","description":"**Conditional**: the PAN is required if the credit card payment method type is supplied in the request.\r\nThe number must be a valid credit card number and will be verified using the Luhn algorithm. Minimum length of 8 characters. Maximum length of 25 characters.\r\n\r\nPayment Account Number (PAN).","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.paymentAccountNumber","typeLabel":"string"},"expirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"**Conditional**: the expiration date is required if the credit card payment method type is supplied in the request.\r\n\r\nThe card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.expirationDate","typeLabel":"string\u003cMMYY, MM/YY, MMYYYY, or MM/YYYY>"},"securityCode":{"maxLength":4,"minLength":3,"type":"string","description":"The card verification code. It is considered best practice to always include this value for card-not-present transactions.\r\n\r\nFailure to do so may lead to higher rates of declines, an increase in chargeback cases, and/or transaction downgrades.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.securityCode","typeLabel":"string"},"networkToken":{"type":"object","description":"External Network Token information.","properties":{"token":{"maxLength":19,"type":"string","description":"Network token issued by a card network for a card.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.networkToken.token","typeLabel":"string"},"cryptogram":{"maxLength":40,"type":"string","description":"One-time digital “stamp” of payment. Needed for all CIT (customer-initiated transactions), and the cryptogram will have to be generated by the same TR-TSP that provisioned the token.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.networkToken.cryptogram","typeLabel":"string"},"electronicCommerceIndicator":{"maxLength":2,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.networkToken.electronicCommerceIndicator","typeLabel":"string"},"paymentAccountReference":{"maxLength":100,"type":"string","description":"A permanent unique identifier of a payment account that a payment system assigns to a card and uses instead of a real PAN within network tokens.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.networkToken.paymentAccountReference","typeLabel":"string"},"expirationDate":{"oneOf":[{"maxLength":7,"minLength":0,"type":"string","description":"Expiration date of the network token.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.networkToken.expirationDate.oneOf.0","typeLabel":"string\u003cMMYY, MM/YY, MMYYYY, or MM/YYYY>"},{"maxLength":7,"minLength":0,"type":"null","description":"Expiration date of the network token.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.networkToken.expirationDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.networkToken.expirationDate","typeLabel":"string\u003cMMYY, MM/YY, MMYYYY, or MM/YYYY> | null"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.networkToken","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard","typeLabel":"object"},"ach":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nACH account information.","required":["accountNumber","routingNumber"],"properties":{"routingNumber":{"maxLength":9,"minLength":9,"pattern":"^[0-9]{9}$","type":"string","description":"**Conditional**: the routing number is required if the ACH payment method type is supplied in the request.\r\n\r\nThe 9-digit ACH routing number of the account.","isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].ach.routingNumber","typeLabel":"string"},"accountNumber":{"maxLength":17,"minLength":4,"pattern":"^[0-9]{4,17}$","type":"string","description":"**Conditional**: the account number is required if the ACH payment method type is supplied in the request.\r\nThe length should be between 4 and 17 characters.\r\n\r\nThe US bank account number from which the payment will be debited.","isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].ach.accountNumber","typeLabel":"string"},"accountType":{"maxLength":20,"type":"string","description":"**Conditional**: the account type is required if the ACH payment method type is supplied in the request.\r\n\r\nBank account type. Allowed values: Checking, Savings. Case-insensitive.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].ach.accountType","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].ach","typeLabel":"object"},"googlePay":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nGoogle Pay information.","properties":{"googlePayPaymentDataResponse":{"type":"string","description":"**Conditional**: the GooglePayPaymentDataResponse is required if the Google Pay payment method type is supplied in the request.\r\nMust contain the valid serialized JSON object.\r\n\r\nThe data returned by Google Pay.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].googlePay.googlePayPaymentDataResponse","typeLabel":"string"},"googlePayDecryptedPackage":{"type":"object","description":"The Google Pay token decrypted payment data.","properties":{"applicationPrimaryAccountNumber":{"maxLength":25,"minLength":13,"pattern":"^\\d+$","type":"string","description":"Device-specific account number of the card that funds this transaction.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].googlePay.googlePayDecryptedPackage.applicationPrimaryAccountNumber","typeLabel":"string"},"applicationExpirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"The card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].googlePay.googlePayDecryptedPackage.applicationExpirationDate","typeLabel":"string\u003cMMYY, MM/YY, MMYYYY, or MM/YYYY>"},"electronicCommerceIndicator":{"maxLength":2,"minLength":0,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].googlePay.googlePayDecryptedPackage.electronicCommerceIndicator","typeLabel":"string"},"onlinePaymentCryptogram":{"maxLength":512,"minLength":0,"type":"string","description":"Decrypted package online payment cryptogram for a digital wallet.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].googlePay.googlePayDecryptedPackage.onlinePaymentCryptogram","typeLabel":"string"},"cardBrand":{"type":"string","description":"Specifies the payment method's card brand.\r\n\r\nPossible values: Visa, Mastercard, Amex, Discover, JCB, Diners.","enum":["Visa","Mastercard","Amex","Discover","JCB","Diners"],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].googlePay.googlePayDecryptedPackage.cardBrand","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].googlePay.googlePayDecryptedPackage","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].googlePay","typeLabel":"object"},"applePay":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nApple Pay information. If you have encrypted Apple Pay token data use ApplePayToken for further payments. If you have Decrypted Apple Pay token data use ApplePayDecryptedPackage.","properties":{"applePayToken":{"oneOf":[{"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay.applePayToken.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay.applePayToken.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay.applePayToken","typeLabel":"string | null"},"applePayDecryptedPackage":{"type":"object","description":"The Apple Pay token decrypted payment data.","properties":{"applicationPrimaryAccountNumber":{"maxLength":25,"minLength":13,"pattern":"^\\d+$","type":"string","description":"Device-specific account number of the card that funds this transaction.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay.applePayDecryptedPackage.applicationPrimaryAccountNumber","typeLabel":"string"},"applicationExpirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"The card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay.applePayDecryptedPackage.applicationExpirationDate","typeLabel":"string\u003cMMYY, MM/YY, MMYYYY, or MM/YYYY>"},"electronicCommerceIndicator":{"maxLength":2,"minLength":0,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay.applePayDecryptedPackage.electronicCommerceIndicator","typeLabel":"string"},"onlinePaymentCryptogram":{"maxLength":512,"minLength":1,"type":"string","description":"Decrypted package online payment cryptogram for a digital wallet.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay.applePayDecryptedPackage.onlinePaymentCryptogram","typeLabel":"string"},"deviceManufacturerIdentifier":{"maxLength":20,"minLength":1,"type":"string","description":"Hex-encoded device manufacturer identifier.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay.applePayDecryptedPackage.deviceManufacturerIdentifier","typeLabel":"string"},"cardBrand":{"type":"string","description":"Specifies the payment method's card brand.\r\n\r\nPossible values: Visa, Mastercard, Amex, Discover, JCB, Diners.","enum":["Visa","Mastercard","Amex","Discover","JCB","Diners"],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay.applePayDecryptedPackage.cardBrand","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay.applePayDecryptedPackage","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay","typeLabel":"object"},"merchantPaymentMethodRefId":{"maxLength":100,"type":"string","description":"Merchant's unique identifier for the payment method.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].merchantPaymentMethodRefId","typeLabel":"string"},"priority":{"oneOf":[{"maximum":1000000000,"minimum":0,"type":"integer","format":"int32","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].priority.oneOf.0","typeLabel":"integer\u003cint32>"},{"maximum":1000000000,"minimum":0,"type":"null","format":"int32","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].priority.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].priority","typeLabel":"integer\u003cint32> | null"},"taxAmount":{"oneOf":[{"maximum":10000000,"minimum":0,"type":"number","format":"double","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].taxAmount.oneOf.0","typeLabel":"number\u003cdouble>"},{"maximum":10000000,"minimum":0,"type":"null","format":"double","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].taxAmount.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].taxAmount","typeLabel":"number\u003cdouble> | null"},"originalNetworkTransactionId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].originalNetworkTransactionId.oneOf.0","typeLabel":"string"},{"maxLength":100,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].originalNetworkTransactionId.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].originalNetworkTransactionId","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"billingFirstName":{"maxLength":100,"minLength":0,"type":"string","description":"**Conditional**: either both BillingFirstName and BillingLastName or BillingFullName must be provided.\r\n\r\nThe customer’s first name associated with a payment method that is used for billing purposes."},"billingLastName":{"maxLength":100,"minLength":0,"type":"string","description":"**Conditional**: either both BillingFirstName and BillingLastName or BillingFullName must be provided.\r\n\r\nThe customer’s last name associated with a payment method that is used for billing purposes."},"billingFullName":{"maxLength":200,"minLength":0,"type":"string","description":"**Conditional**: either BillingFullName or both BillingFirstName and BillingLastName must be provided.\r\n\r\nThe customer’s full name associated with a payment method that is used for billing purposes. "},"billingAddress":{"type":"object","description":"The address associated with a payment method that is used for billing purposes. Either an Address ID or detailed address information can be provided.","properties":{"addressLine1":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"Address."},{"maxLength":3000,"minLength":0,"type":"null","description":"Address."}]},"addressLine2":{"maxLength":3000,"minLength":0,"type":"string","description":"Supplemental information for the address."},"city":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"City."},{"maxLength":3000,"minLength":0,"type":"null","description":"City."}]},"state":{"oneOf":[{"maxLength":2,"minLength":0,"type":"string","description":"State."},{"maxLength":2,"minLength":0,"type":"null","description":"State."}]},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code."},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code."}]},"phoneNumber":{"maxLength":20,"minLength":7,"pattern":"^(?=.*\\d)\\+?[0-9\\s\\-\\(\\)\\.]{7,20}$","type":"string","description":"The phone number associated with a payment method that is used for billing purposes."},"email":{"maxLength":3000,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email"},"country":{"maxLength":2,"minLength":0,"type":"string","description":"The input must be a valid Alpha2 code, Alpha3 code, UN code, or full country name."},"addressId":{"maximum":1000000000,"minimum":1,"type":"integer","description":"The unique identifier of the address.","format":"int64"}},"additionalProperties":false},"creditCard":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nPayment card information.","properties":{"paymentAccountNumber":{"maxLength":19,"minLength":8,"type":"string","description":"**Conditional**: the PAN is required if the credit card payment method type is supplied in the request.\r\nThe number must be a valid credit card number and will be verified using the Luhn algorithm. Minimum length of 8 characters. Maximum length of 25 characters.\r\n\r\nPayment Account Number (PAN)."},"expirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"**Conditional**: the expiration date is required if the credit card payment method type is supplied in the request.\r\n\r\nThe card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},"securityCode":{"maxLength":4,"minLength":3,"type":"string","description":"The card verification code. It is considered best practice to always include this value for card-not-present transactions.\r\n\r\nFailure to do so may lead to higher rates of declines, an increase in chargeback cases, and/or transaction downgrades."},"networkToken":{"type":"object","description":"External Network Token information.","properties":{"token":{"maxLength":19,"type":"string","description":"Network token issued by a card network for a card."},"cryptogram":{"maxLength":40,"type":"string","description":"One-time digital “stamp” of payment. Needed for all CIT (customer-initiated transactions), and the cryptogram will have to be generated by the same TR-TSP that provisioned the token."},"electronicCommerceIndicator":{"maxLength":2,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied."},"paymentAccountReference":{"maxLength":100,"type":"string","description":"A permanent unique identifier of a payment account that a payment system assigns to a card and uses instead of a real PAN within network tokens."},"expirationDate":{"oneOf":[{"maxLength":7,"minLength":0,"type":"string","description":"Expiration date of the network token.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},{"maxLength":7,"minLength":0,"type":"null","description":"Expiration date of the network token.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"}]}},"additionalProperties":false}},"additionalProperties":false},"ach":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nACH account information.","required":["accountNumber","routingNumber"],"properties":{"routingNumber":{"maxLength":9,"minLength":9,"pattern":"^[0-9]{9}$","type":"string","description":"**Conditional**: the routing number is required if the ACH payment method type is supplied in the request.\r\n\r\nThe 9-digit ACH routing number of the account."},"accountNumber":{"maxLength":17,"minLength":4,"pattern":"^[0-9]{4,17}$","type":"string","description":"**Conditional**: the account number is required if the ACH payment method type is supplied in the request.\r\nThe length should be between 4 and 17 characters.\r\n\r\nThe US bank account number from which the payment will be debited."},"accountType":{"maxLength":20,"type":"string","description":"**Conditional**: the account type is required if the ACH payment method type is supplied in the request.\r\n\r\nBank account type. Allowed values: Checking, Savings. Case-insensitive."}},"additionalProperties":false},"googlePay":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nGoogle Pay information.","properties":{"googlePayPaymentDataResponse":{"type":"string","description":"**Conditional**: the GooglePayPaymentDataResponse is required if the Google Pay payment method type is supplied in the request.\r\nMust contain the valid serialized JSON object.\r\n\r\nThe data returned by Google Pay."},"googlePayDecryptedPackage":{"type":"object","description":"The Google Pay token decrypted payment data.","properties":{"applicationPrimaryAccountNumber":{"maxLength":25,"minLength":13,"pattern":"^\\d+$","type":"string","description":"Device-specific account number of the card that funds this transaction."},"applicationExpirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"The card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},"electronicCommerceIndicator":{"maxLength":2,"minLength":0,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied."},"onlinePaymentCryptogram":{"maxLength":512,"minLength":0,"type":"string","description":"Decrypted package online payment cryptogram for a digital wallet."},"cardBrand":{"type":"string","description":"Specifies the payment method's card brand.\r\n\r\nPossible values: Visa, Mastercard, Amex, Discover, JCB, Diners.","enum":["Visa","Mastercard","Amex","Discover","JCB","Diners"]}},"additionalProperties":false}},"additionalProperties":false},"applePay":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nApple Pay information. If you have encrypted Apple Pay token data use ApplePayToken for further payments. If you have Decrypted Apple Pay token data use ApplePayDecryptedPackage.","properties":{"applePayToken":{"oneOf":[{"type":"string"},{"type":"null"}]},"applePayDecryptedPackage":{"type":"object","description":"The Apple Pay token decrypted payment data.","properties":{"applicationPrimaryAccountNumber":{"maxLength":25,"minLength":13,"pattern":"^\\d+$","type":"string","description":"Device-specific account number of the card that funds this transaction."},"applicationExpirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"The card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},"electronicCommerceIndicator":{"maxLength":2,"minLength":0,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied."},"onlinePaymentCryptogram":{"maxLength":512,"minLength":1,"type":"string","description":"Decrypted package online payment cryptogram for a digital wallet."},"deviceManufacturerIdentifier":{"maxLength":20,"minLength":1,"type":"string","description":"Hex-encoded device manufacturer identifier."},"cardBrand":{"type":"string","description":"Specifies the payment method's card brand.\r\n\r\nPossible values: Visa, Mastercard, Amex, Discover, JCB, Diners.","enum":["Visa","Mastercard","Amex","Discover","JCB","Diners"]}},"additionalProperties":false}},"additionalProperties":false},"merchantPaymentMethodRefId":{"maxLength":100,"type":"string","description":"Merchant's unique identifier for the payment method."},"priority":{"oneOf":[{"maximum":1000000000,"minimum":0,"type":"integer","format":"int32"},{"maximum":1000000000,"minimum":0,"type":"null","format":"int32"}]},"taxAmount":{"oneOf":[{"maximum":10000000,"minimum":0,"type":"number","format":"double"},{"maximum":10000000,"minimum":0,"type":"null","format":"double"}]},"originalNetworkTransactionId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string"},{"maxLength":100,"minLength":0,"type":"null"}]}},"additionalProperties":false},"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods","typeLabel":"object[] | null"},"existingPaymentMethod":{"type":"object","properties":{"paymentMethodAuthorizationId":{"oneOf":[{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.paymentMethodAuthorizationId.oneOf.0","typeLabel":"integer\u003cint64>"},{"maximum":1000000000,"minimum":1,"type":"null","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.paymentMethodAuthorizationId.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.paymentMethodAuthorizationId","typeLabel":"integer\u003cint64> | null"},"paymentMethodId":{"oneOf":[{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.paymentMethodId.oneOf.0","typeLabel":"integer\u003cint64>"},{"maximum":1000000000,"minimum":1,"type":"null","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.paymentMethodId.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.paymentMethodId","typeLabel":"integer\u003cint64> | null"},"taxAmount":{"oneOf":[{"maximum":10000000,"minimum":0,"type":"number","format":"double","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.taxAmount.oneOf.0","typeLabel":"number\u003cdouble>"},{"maximum":10000000,"minimum":0,"type":"null","format":"double","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.taxAmount.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.taxAmount","typeLabel":"number\u003cdouble> | null"},"originalNetworkTransactionId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.originalNetworkTransactionId.oneOf.0","typeLabel":"string"},{"maxLength":100,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.originalNetworkTransactionId.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.originalNetworkTransactionId","typeLabel":"string | null"},"onlinePaymentCryptogram":{"maxLength":512,"minLength":0,"type":"string","description":"Decrypted package online payment cryptogram for a digital wallet.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.onlinePaymentCryptogram","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod","typeLabel":"object"},"merchantSubscriptionRefId":{"oneOf":[{"maxLength":100,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].merchantSubscriptionRefId.oneOf.0","typeLabel":"string"},{"maxLength":100,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].merchantSubscriptionRefId.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].merchantSubscriptionRefId","typeLabel":"string | null"},"trialDurationType":{"enum":["Days","Weeks","Months","Years"],"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].trialDurationType","typeLabel":"enum\u003cstring>"},"taxAddress":{"type":"object","properties":{"addressLine1":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"Address.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.addressLine1.oneOf.0","typeLabel":"string"},{"maxLength":3000,"minLength":0,"type":"null","description":"Address.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.addressLine1.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.addressLine1","typeLabel":"string | null"},"addressLine2":{"maxLength":3000,"minLength":0,"type":"string","description":"Supplemental information for the address.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.addressLine2","typeLabel":"string"},"city":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"City.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.city.oneOf.0","typeLabel":"string"},{"maxLength":3000,"minLength":0,"type":"null","description":"City.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.city","typeLabel":"string | null"},"state":{"oneOf":[{"maxLength":2,"minLength":0,"type":"string","description":"State.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.state.oneOf.0","typeLabel":"string"},{"maxLength":2,"minLength":0,"type":"null","description":"State.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.state","typeLabel":"string | null"},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.postalCode.oneOf.0","typeLabel":"string"},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.postalCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.postalCode","typeLabel":"string | null"},"phoneNumber":{"maxLength":20,"minLength":7,"pattern":"^(?=.*\\d)\\+?[0-9\\s\\-\\(\\)\\.]{7,20}$","type":"string","description":"The phone number associated with a payment method that is used for billing purposes.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.phoneNumber","typeLabel":"string"},"email":{"maxLength":3000,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.email","typeLabel":"string\u003cemail>"},"country":{"maxLength":2,"minLength":0,"type":"string","description":"The input must be a valid Alpha2 code, Alpha3 code, UN code, or full country name.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.country","typeLabel":"string"},"addressId":{"maximum":1000000000,"minimum":1,"type":"integer","description":"The unique identifier of the address.","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.addressId","typeLabel":"integer\u003cint64>"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress","typeLabel":"object"},"includeRawProcessorResponse":{"oneOf":[{"type":"boolean","default":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].includeRawProcessorResponse.oneOf.0","typeLabel":"boolean"},{"type":"null","default":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].includeRawProcessorResponse.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].includeRawProcessorResponse","typeLabel":"boolean | null"},"recycleImmediatePayment":{"oneOf":[{"type":"boolean","default":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].recycleImmediatePayment.oneOf.0","typeLabel":"boolean"},{"type":"null","default":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].recycleImmediatePayment.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].recycleImmediatePayment","typeLabel":"boolean | null"},"currency":{"enum":["USD","AED","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BMD","BND","BOB","BRL","BSD","BWP","BYN","BZD","CAD","CHF","CLP","CNH","CNY","COP","CRC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HTG","HUF","IDR","ILS","INR","IQD","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LYD","MAD","MDL","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SEK","SGD","SHP","SLE","SOS","SRD","STN","SVC","SZL","THB","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","UYU","UZS","VEF","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW","AFN","KPW","LRD","LSL","STD","SYP","TJS","ZMK","ZWD","SLL","MGA","HRK","CDF","BTN","BIF"],"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].currency","typeLabel":"enum\u003cstring>"},"reportGroup":{"oneOf":[{"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].reportGroup.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].reportGroup.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].reportGroup","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"subscriptions.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"required":["billingFrequency","customer","startDate","subscriptionBillingPlans","subscriptionCancelType","subscriptionStatusType","trialDuration"],"type":"object","properties":{"paymentMethods":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"billingFirstName":{"maxLength":100,"minLength":0,"type":"string","description":"**Conditional**: either both BillingFirstName and BillingLastName or BillingFullName must be provided.\r\n\r\nThe customer’s first name associated with a payment method that is used for billing purposes."},"billingLastName":{"maxLength":100,"minLength":0,"type":"string","description":"**Conditional**: either both BillingFirstName and BillingLastName or BillingFullName must be provided.\r\n\r\nThe customer’s last name associated with a payment method that is used for billing purposes."},"billingFullName":{"maxLength":200,"minLength":0,"type":"string","description":"**Conditional**: either BillingFullName or both BillingFirstName and BillingLastName must be provided.\r\n\r\nThe customer’s full name associated with a payment method that is used for billing purposes. "},"billingAddress":{"type":"object","description":"The address associated with a payment method that is used for billing purposes. Either an Address ID or detailed address information can be provided.","properties":{"addressLine1":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"Address."},{"maxLength":3000,"minLength":0,"type":"null","description":"Address."}]},"addressLine2":{"maxLength":3000,"minLength":0,"type":"string","description":"Supplemental information for the address."},"city":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"City."},{"maxLength":3000,"minLength":0,"type":"null","description":"City."}]},"state":{"oneOf":[{"maxLength":2,"minLength":0,"type":"string","description":"State."},{"maxLength":2,"minLength":0,"type":"null","description":"State."}]},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code."},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code."}]},"phoneNumber":{"maxLength":20,"minLength":7,"pattern":"^(?=.*\\d)\\+?[0-9\\s\\-\\(\\)\\.]{7,20}$","type":"string","description":"The phone number associated with a payment method that is used for billing purposes."},"email":{"maxLength":3000,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email"},"country":{"maxLength":2,"minLength":0,"type":"string","description":"The input must be a valid Alpha2 code, Alpha3 code, UN code, or full country name."},"addressId":{"maximum":1000000000,"minimum":1,"type":"integer","description":"The unique identifier of the address.","format":"int64"}},"additionalProperties":false},"creditCard":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nPayment card information.","properties":{"paymentAccountNumber":{"maxLength":19,"minLength":8,"type":"string","description":"**Conditional**: the PAN is required if the credit card payment method type is supplied in the request.\r\nThe number must be a valid credit card number and will be verified using the Luhn algorithm. Minimum length of 8 characters. Maximum length of 25 characters.\r\n\r\nPayment Account Number (PAN)."},"expirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"**Conditional**: the expiration date is required if the credit card payment method type is supplied in the request.\r\n\r\nThe card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},"securityCode":{"maxLength":4,"minLength":3,"type":"string","description":"The card verification code. It is considered best practice to always include this value for card-not-present transactions.\r\n\r\nFailure to do so may lead to higher rates of declines, an increase in chargeback cases, and/or transaction downgrades."},"networkToken":{"type":"object","description":"External Network Token information.","properties":{"token":{"maxLength":19,"type":"string","description":"Network token issued by a card network for a card."},"cryptogram":{"maxLength":40,"type":"string","description":"One-time digital “stamp” of payment. Needed for all CIT (customer-initiated transactions), and the cryptogram will have to be generated by the same TR-TSP that provisioned the token."},"electronicCommerceIndicator":{"maxLength":2,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied."},"paymentAccountReference":{"maxLength":100,"type":"string","description":"A permanent unique identifier of a payment account that a payment system assigns to a card and uses instead of a real PAN within network tokens."},"expirationDate":{"oneOf":[{"maxLength":7,"minLength":0,"type":"string","description":"Expiration date of the network token.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},{"maxLength":7,"minLength":0,"type":"null","description":"Expiration date of the network token.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"}]}},"additionalProperties":false}},"additionalProperties":false},"ach":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nACH account information.","required":["accountNumber","routingNumber"],"properties":{"routingNumber":{"maxLength":9,"minLength":9,"pattern":"^[0-9]{9}$","type":"string","description":"**Conditional**: the routing number is required if the ACH payment method type is supplied in the request.\r\n\r\nThe 9-digit ACH routing number of the account."},"accountNumber":{"maxLength":17,"minLength":4,"pattern":"^[0-9]{4,17}$","type":"string","description":"**Conditional**: the account number is required if the ACH payment method type is supplied in the request.\r\nThe length should be between 4 and 17 characters.\r\n\r\nThe US bank account number from which the payment will be debited."},"accountType":{"maxLength":20,"type":"string","description":"**Conditional**: the account type is required if the ACH payment method type is supplied in the request.\r\n\r\nBank account type. Allowed values: Checking, Savings. Case-insensitive."}},"additionalProperties":false},"googlePay":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nGoogle Pay information.","properties":{"googlePayPaymentDataResponse":{"type":"string","description":"**Conditional**: the GooglePayPaymentDataResponse is required if the Google Pay payment method type is supplied in the request.\r\nMust contain the valid serialized JSON object.\r\n\r\nThe data returned by Google Pay."},"googlePayDecryptedPackage":{"type":"object","description":"The Google Pay token decrypted payment data.","properties":{"applicationPrimaryAccountNumber":{"maxLength":25,"minLength":13,"pattern":"^\\d+$","type":"string","description":"Device-specific account number of the card that funds this transaction."},"applicationExpirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"The card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},"electronicCommerceIndicator":{"maxLength":2,"minLength":0,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied."},"onlinePaymentCryptogram":{"maxLength":512,"minLength":0,"type":"string","description":"Decrypted package online payment cryptogram for a digital wallet."},"cardBrand":{"type":"string","description":"Specifies the payment method's card brand.\r\n\r\nPossible values: Visa, Mastercard, Amex, Discover, JCB, Diners.","enum":["Visa","Mastercard","Amex","Discover","JCB","Diners"]}},"additionalProperties":false}},"additionalProperties":false},"applePay":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nApple Pay information. If you have encrypted Apple Pay token data use ApplePayToken for further payments. If you have Decrypted Apple Pay token data use ApplePayDecryptedPackage.","properties":{"applePayToken":{"oneOf":[{"type":"string"},{"type":"null"}]},"applePayDecryptedPackage":{"type":"object","description":"The Apple Pay token decrypted payment data.","properties":{"applicationPrimaryAccountNumber":{"maxLength":25,"minLength":13,"pattern":"^\\d+$","type":"string","description":"Device-specific account number of the card that funds this transaction."},"applicationExpirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"The card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},"electronicCommerceIndicator":{"maxLength":2,"minLength":0,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied."},"onlinePaymentCryptogram":{"maxLength":512,"minLength":1,"type":"string","description":"Decrypted package online payment cryptogram for a digital wallet."},"deviceManufacturerIdentifier":{"maxLength":20,"minLength":1,"type":"string","description":"Hex-encoded device manufacturer identifier."},"cardBrand":{"type":"string","description":"Specifies the payment method's card brand.\r\n\r\nPossible values: Visa, Mastercard, Amex, Discover, JCB, Diners.","enum":["Visa","Mastercard","Amex","Discover","JCB","Diners"]}},"additionalProperties":false}},"additionalProperties":false},"merchantPaymentMethodRefId":{"maxLength":100,"type":"string","description":"Merchant's unique identifier for the payment method."},"priority":{"oneOf":[{"maximum":1000000000,"minimum":0,"type":"integer","format":"int32"},{"maximum":1000000000,"minimum":0,"type":"null","format":"int32"}]},"taxAmount":{"oneOf":[{"maximum":10000000,"minimum":0,"type":"number","format":"double"},{"maximum":10000000,"minimum":0,"type":"null","format":"double"}]},"originalNetworkTransactionId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string"},{"maxLength":100,"minLength":0,"type":"null"}]}},"additionalProperties":false}},{"type":"null","items":{"type":"object","properties":{"billingFirstName":{"maxLength":100,"minLength":0,"type":"string","description":"**Conditional**: either both BillingFirstName and BillingLastName or BillingFullName must be provided.\r\n\r\nThe customer’s first name associated with a payment method that is used for billing purposes."},"billingLastName":{"maxLength":100,"minLength":0,"type":"string","description":"**Conditional**: either both BillingFirstName and BillingLastName or BillingFullName must be provided.\r\n\r\nThe customer’s last name associated with a payment method that is used for billing purposes."},"billingFullName":{"maxLength":200,"minLength":0,"type":"string","description":"**Conditional**: either BillingFullName or both BillingFirstName and BillingLastName must be provided.\r\n\r\nThe customer’s full name associated with a payment method that is used for billing purposes. "},"billingAddress":{"type":"object","description":"The address associated with a payment method that is used for billing purposes. Either an Address ID or detailed address information can be provided.","properties":{"addressLine1":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"Address."},{"maxLength":3000,"minLength":0,"type":"null","description":"Address."}]},"addressLine2":{"maxLength":3000,"minLength":0,"type":"string","description":"Supplemental information for the address."},"city":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"City."},{"maxLength":3000,"minLength":0,"type":"null","description":"City."}]},"state":{"oneOf":[{"maxLength":2,"minLength":0,"type":"string","description":"State."},{"maxLength":2,"minLength":0,"type":"null","description":"State."}]},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code."},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code."}]},"phoneNumber":{"maxLength":20,"minLength":7,"pattern":"^(?=.*\\d)\\+?[0-9\\s\\-\\(\\)\\.]{7,20}$","type":"string","description":"The phone number associated with a payment method that is used for billing purposes."},"email":{"maxLength":3000,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email"},"country":{"maxLength":2,"minLength":0,"type":"string","description":"The input must be a valid Alpha2 code, Alpha3 code, UN code, or full country name."},"addressId":{"maximum":1000000000,"minimum":1,"type":"integer","description":"The unique identifier of the address.","format":"int64"}},"additionalProperties":false},"creditCard":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nPayment card information.","properties":{"paymentAccountNumber":{"maxLength":19,"minLength":8,"type":"string","description":"**Conditional**: the PAN is required if the credit card payment method type is supplied in the request.\r\nThe number must be a valid credit card number and will be verified using the Luhn algorithm. Minimum length of 8 characters. Maximum length of 25 characters.\r\n\r\nPayment Account Number (PAN)."},"expirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"**Conditional**: the expiration date is required if the credit card payment method type is supplied in the request.\r\n\r\nThe card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},"securityCode":{"maxLength":4,"minLength":3,"type":"string","description":"The card verification code. It is considered best practice to always include this value for card-not-present transactions.\r\n\r\nFailure to do so may lead to higher rates of declines, an increase in chargeback cases, and/or transaction downgrades."},"networkToken":{"type":"object","description":"External Network Token information.","properties":{"token":{"maxLength":19,"type":"string","description":"Network token issued by a card network for a card."},"cryptogram":{"maxLength":40,"type":"string","description":"One-time digital “stamp” of payment. Needed for all CIT (customer-initiated transactions), and the cryptogram will have to be generated by the same TR-TSP that provisioned the token."},"electronicCommerceIndicator":{"maxLength":2,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied."},"paymentAccountReference":{"maxLength":100,"type":"string","description":"A permanent unique identifier of a payment account that a payment system assigns to a card and uses instead of a real PAN within network tokens."},"expirationDate":{"oneOf":[{"maxLength":7,"minLength":0,"type":"string","description":"Expiration date of the network token.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},{"maxLength":7,"minLength":0,"type":"null","description":"Expiration date of the network token.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"}]}},"additionalProperties":false}},"additionalProperties":false},"ach":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nACH account information.","required":["accountNumber","routingNumber"],"properties":{"routingNumber":{"maxLength":9,"minLength":9,"pattern":"^[0-9]{9}$","type":"string","description":"**Conditional**: the routing number is required if the ACH payment method type is supplied in the request.\r\n\r\nThe 9-digit ACH routing number of the account."},"accountNumber":{"maxLength":17,"minLength":4,"pattern":"^[0-9]{4,17}$","type":"string","description":"**Conditional**: the account number is required if the ACH payment method type is supplied in the request.\r\nThe length should be between 4 and 17 characters.\r\n\r\nThe US bank account number from which the payment will be debited."},"accountType":{"maxLength":20,"type":"string","description":"**Conditional**: the account type is required if the ACH payment method type is supplied in the request.\r\n\r\nBank account type. Allowed values: Checking, Savings. Case-insensitive."}},"additionalProperties":false},"googlePay":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nGoogle Pay information.","properties":{"googlePayPaymentDataResponse":{"type":"string","description":"**Conditional**: the GooglePayPaymentDataResponse is required if the Google Pay payment method type is supplied in the request.\r\nMust contain the valid serialized JSON object.\r\n\r\nThe data returned by Google Pay."},"googlePayDecryptedPackage":{"type":"object","description":"The Google Pay token decrypted payment data.","properties":{"applicationPrimaryAccountNumber":{"maxLength":25,"minLength":13,"pattern":"^\\d+$","type":"string","description":"Device-specific account number of the card that funds this transaction."},"applicationExpirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"The card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},"electronicCommerceIndicator":{"maxLength":2,"minLength":0,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied."},"onlinePaymentCryptogram":{"maxLength":512,"minLength":0,"type":"string","description":"Decrypted package online payment cryptogram for a digital wallet."},"cardBrand":{"type":"string","description":"Specifies the payment method's card brand.\r\n\r\nPossible values: Visa, Mastercard, Amex, Discover, JCB, Diners.","enum":["Visa","Mastercard","Amex","Discover","JCB","Diners"]}},"additionalProperties":false}},"additionalProperties":false},"applePay":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nApple Pay information. If you have encrypted Apple Pay token data use ApplePayToken for further payments. If you have Decrypted Apple Pay token data use ApplePayDecryptedPackage.","properties":{"applePayToken":{"oneOf":[{"type":"string"},{"type":"null"}]},"applePayDecryptedPackage":{"type":"object","description":"The Apple Pay token decrypted payment data.","properties":{"applicationPrimaryAccountNumber":{"maxLength":25,"minLength":13,"pattern":"^\\d+$","type":"string","description":"Device-specific account number of the card that funds this transaction."},"applicationExpirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"The card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},"electronicCommerceIndicator":{"maxLength":2,"minLength":0,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied."},"onlinePaymentCryptogram":{"maxLength":512,"minLength":1,"type":"string","description":"Decrypted package online payment cryptogram for a digital wallet."},"deviceManufacturerIdentifier":{"maxLength":20,"minLength":1,"type":"string","description":"Hex-encoded device manufacturer identifier."},"cardBrand":{"type":"string","description":"Specifies the payment method's card brand.\r\n\r\nPossible values: Visa, Mastercard, Amex, Discover, JCB, Diners.","enum":["Visa","Mastercard","Amex","Discover","JCB","Diners"]}},"additionalProperties":false}},"additionalProperties":false},"merchantPaymentMethodRefId":{"maxLength":100,"type":"string","description":"Merchant's unique identifier for the payment method."},"priority":{"oneOf":[{"maximum":1000000000,"minimum":0,"type":"integer","format":"int32"},{"maximum":1000000000,"minimum":0,"type":"null","format":"int32"}]},"taxAmount":{"oneOf":[{"maximum":10000000,"minimum":0,"type":"number","format":"double"},{"maximum":10000000,"minimum":0,"type":"null","format":"double"}]},"originalNetworkTransactionId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string"},{"maxLength":100,"minLength":0,"type":"null"}]}},"additionalProperties":false}}]},"existingPaymentMethod":{"type":"object","properties":{"paymentMethodAuthorizationId":{"oneOf":[{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64"},{"maximum":1000000000,"minimum":1,"type":"null","format":"int64"}]},"paymentMethodId":{"oneOf":[{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64"},{"maximum":1000000000,"minimum":1,"type":"null","format":"int64"}]},"taxAmount":{"oneOf":[{"maximum":10000000,"minimum":0,"type":"number","format":"double"},{"maximum":10000000,"minimum":0,"type":"null","format":"double"}]},"originalNetworkTransactionId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string"},{"maxLength":100,"minLength":0,"type":"null"}]},"onlinePaymentCryptogram":{"maxLength":512,"minLength":0,"type":"string","description":"Decrypted package online payment cryptogram for a digital wallet."}},"additionalProperties":false},"merchantSubscriptionRefId":{"oneOf":[{"maxLength":100,"type":"string"},{"maxLength":100,"type":"null"}]},"billingFrequency":{"required":["intervalType"],"type":"object","properties":{"intervalType":{"enum":["Days","Weeks","Months","Years"],"type":"string"},"intervalCount":{"maximum":366,"minimum":1,"type":"integer","format":"int32"}},"additionalProperties":false},"subscriptionStatusType":{"maxLength":50,"minLength":0,"type":"string","default":"Current"},"subscriptionCancelType":{"maxLength":50,"minLength":0,"type":"string","default":"EndOfCycle"},"startDate":{"oneOf":[{"maxLength":40,"type":"string","description":"Evaluated in UTC (not the merchant timezone). A date (`YYYY-MM-DD`) or datetime (`YYYY-MM-DDThh:mm:ss`) is accepted; a trailing `Z` is not required. Treat today as the current UTC date when deciding bill-on-create vs later.","format":"date-time","default":"Today's date"},{"maxLength":40,"type":"null","description":"Evaluated in UTC (not the merchant timezone). A date (`YYYY-MM-DD`) or datetime (`YYYY-MM-DDThh:mm:ss`) is accepted; a trailing `Z` is not required. Treat today as the current UTC date when deciding bill-on-create vs later.","format":"date-time","default":"Today's date"}]},"trialDuration":{"minimum":0,"type":"integer","format":"int32","default":0},"trialDurationType":{"enum":["Days","Weeks","Months","Years"],"type":"string"},"taxAddress":{"type":"object","properties":{"addressLine1":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"Address."},{"maxLength":3000,"minLength":0,"type":"null","description":"Address."}]},"addressLine2":{"maxLength":3000,"minLength":0,"type":"string","description":"Supplemental information for the address."},"city":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"City."},{"maxLength":3000,"minLength":0,"type":"null","description":"City."}]},"state":{"oneOf":[{"maxLength":2,"minLength":0,"type":"string","description":"State."},{"maxLength":2,"minLength":0,"type":"null","description":"State."}]},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code."},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code."}]},"phoneNumber":{"maxLength":20,"minLength":7,"pattern":"^(?=.*\\d)\\+?[0-9\\s\\-\\(\\)\\.]{7,20}$","type":"string","description":"The phone number associated with a payment method that is used for billing purposes."},"email":{"maxLength":3000,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email"},"country":{"maxLength":2,"minLength":0,"type":"string","description":"The input must be a valid Alpha2 code, Alpha3 code, UN code, or full country name."},"addressId":{"maximum":1000000000,"minimum":1,"type":"integer","description":"The unique identifier of the address.","format":"int64"}},"additionalProperties":false},"includeRawProcessorResponse":{"oneOf":[{"type":"boolean","default":false},{"type":"null","default":false}]},"customer":{"type":"object","properties":{"id":{"oneOf":[{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64"},{"maximum":1000000000,"minimum":1,"type":"null","format":"int64"}]},"firstName":{"oneOf":[{"maxLength":150,"minLength":0,"type":"string"},{"maxLength":150,"minLength":0,"type":"null"}]},"lastName":{"oneOf":[{"maxLength":150,"minLength":0,"type":"string"},{"maxLength":150,"minLength":0,"type":"null"}]}},"additionalProperties":false},"subscriptionBillingPlans":{"type":"array","items":{"required":["cycleCount","name","startCycleDelay","value","valueType"],"type":"object","properties":{"name":{"maxLength":100,"minLength":1,"type":"string"},"value":{"maximum":10000000,"minimum":0,"type":"number","format":"double"},"cycleCount":{"maximum":100,"minimum":-1,"type":"integer","format":"int32","default":-1},"valueType":{"maxLength":50,"minLength":1,"type":"string","default":"Standard"},"startCycleDelay":{"maximum":1000000000,"minimum":0,"type":"integer","format":"int32","default":0}},"additionalProperties":false}},"recycleImmediatePayment":{"oneOf":[{"type":"boolean","default":false},{"type":"null","default":false}]},"currency":{"enum":["USD","AED","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BMD","BND","BOB","BRL","BSD","BWP","BYN","BZD","CAD","CHF","CLP","CNH","CNY","COP","CRC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HTG","HUF","IDR","ILS","INR","IQD","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LYD","MAD","MDL","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SEK","SGD","SHP","SLE","SOS","SRD","STN","SVC","SZL","THB","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","UYU","UZS","VEF","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW","AFN","KPW","LRD","LSL","STD","SYP","TJS","ZMK","ZWD","SLL","MGA","HRK","CDF","BTN","BIF"],"type":"string"},"reportGroup":{"oneOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},"uniqueKey":"subscriptions.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions","typeLabel":"object[] | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"example":{"merchantCustomerRefId":null,"firstName":"John","lastName":"Doe","email":null,"billingAddresses":[{"addressId":null,"addressLine1":"100 Main Street","addressLine2":"","city":"Santa Ana","state":"CA","postalCode":"90000","phoneNumber":null,"email":null,"country":"US"}],"shippingAddresses":[{"addressId":null,"addressLine1":"101 First Street","addressLine2":"","city":"Costa Mesa","state":"CA","postalCode":"90001","phoneNumber":null,"email":null,"country":"US"}],"subscriptions":[{"paymentMethods":[{"priority":0,"taxAmount":null,"originalNetworkTransactionId":null,"billingAddress":{"addressId":null,"addressLine1":"100 Main Street","addressLine2":"","city":"Irvine","state":"CA","postalCode":"92602","phoneNumber":null,"email":null,"country":"US"},"creditCard":{"paymentAccountNumber":"4111111111111111","expirationDate":"1025","securityCode":null,"networkToken":null},"ach":null,"googlePay":null,"applePay":null,"merchantPaymentMethodRefId":null,"billingFirstName":"John","billingLastName":"Doe","billingFullName":null}],"existingPaymentMethod":null,"merchantSubscriptionRefId":"1234-5678-9101","billingFrequency":{"intervalType":"Days","intervalCount":1},"subscriptionStatusType":"current","subscriptionCancelType":"EndOfCycle","startDate":"2026-10-12T00:00:00Z","trialDuration":0,"trialDurationType":"Days","taxAddress":{"addressId":null,"addressLine1":"101 Update Street","addressLine2":"","city":"Irvine","state":"CA","postalCode":"92602","phoneNumber":null,"email":null,"country":"US"},"includeRawProcessorResponse":false,"customer":null,"subscriptionBillingPlans":[{"name":"Billing Plan 1","value":10.99,"cycleCount":-1,"valueType":"Standard","startCycleDelay":0},{"name":"Billing Plan 2","value":14.99,"cycleCount":12,"valueType":"Standard","startCycleDelay":1}],"recycleImmediatePayment":false,"currency":"USD","reportGroup":null}]},"examples":{"Example":{"title":"Example","value":{"merchantCustomerRefId":null,"firstName":"John","lastName":"Doe","email":null,"billingAddresses":[{"addressId":null,"addressLine1":"100 Main Street","addressLine2":"","city":"Santa Ana","state":"CA","postalCode":"90000","phoneNumber":null,"email":null,"country":"US"}],"shippingAddresses":[{"addressId":null,"addressLine1":"101 First Street","addressLine2":"","city":"Costa Mesa","state":"CA","postalCode":"90001","phoneNumber":null,"email":null,"country":"US"}],"subscriptions":[{"paymentMethods":[{"priority":0,"taxAmount":null,"originalNetworkTransactionId":null,"billingAddress":{"addressId":null,"addressLine1":"100 Main Street","addressLine2":"","city":"Irvine","state":"CA","postalCode":"92602","phoneNumber":null,"email":null,"country":"US"},"creditCard":{"paymentAccountNumber":"4111111111111111","expirationDate":"1025","securityCode":null,"networkToken":null},"ach":null,"googlePay":null,"applePay":null,"merchantPaymentMethodRefId":null,"billingFirstName":"John","billingLastName":"Doe","billingFullName":null}],"existingPaymentMethod":null,"merchantSubscriptionRefId":"1234-5678-9101","billingFrequency":{"intervalType":"Days","intervalCount":1},"subscriptionStatusType":"current","subscriptionCancelType":"EndOfCycle","startDate":"2026-10-12T00:00:00Z","trialDuration":0,"trialDurationType":"Days","taxAddress":{"addressId":null,"addressLine1":"101 Update Street","addressLine2":"","city":"Irvine","state":"CA","postalCode":"92602","phoneNumber":null,"email":null,"country":"US"},"includeRawProcessorResponse":false,"customer":null,"subscriptionBillingPlans":[{"name":"Billing Plan 1","value":10.99,"cycleCount":-1,"valueType":"Standard","startCycleDelay":0},{"name":"Billing Plan 2","value":14.99,"cycleCount":12,"valueType":"Standard","startCycleDelay":1}],"recycleImmediatePayment":false,"currency":"USD","reportGroup":null}]}}},"exampleType":"examples"},"application/json":{"schema":{"required":["firstName","lastName"],"type":"object","properties":{"firstName":{"maxLength":150,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"firstName","typeLabel":"string"},"lastName":{"maxLength":150,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"lastName","typeLabel":"string"},"merchantCustomerRefId":{"oneOf":[{"maxLength":100,"type":"string","uniqueKey":"merchantCustomerRefId.oneOf.0","typeLabel":"string"},{"maxLength":100,"type":"null","uniqueKey":"merchantCustomerRefId.oneOf.1","typeLabel":"null"}],"uniqueKey":"merchantCustomerRefId","typeLabel":"string | null"},"email":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string","format":"email","uniqueKey":"email.oneOf.0","typeLabel":"string\u003cemail>"},{"maxLength":100,"minLength":0,"type":"null","format":"email","uniqueKey":"email.oneOf.1","typeLabel":"null"}],"uniqueKey":"email","typeLabel":"string\u003cemail> | null"},"billingAddresses":{"oneOf":[{"maxItems":10,"type":"array","items":{"type":"object","properties":{"addressLine1":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"Address.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].addressLine1.oneOf.0","typeLabel":"string"},{"maxLength":3000,"minLength":0,"type":"null","description":"Address.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].addressLine1.oneOf.1","typeLabel":"null"}],"uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].addressLine1","typeLabel":"string | null"},"addressLine2":{"maxLength":3000,"minLength":0,"type":"string","description":"Supplemental information for the address.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].addressLine2","typeLabel":"string"},"city":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"City.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].city.oneOf.0","typeLabel":"string"},{"maxLength":3000,"minLength":0,"type":"null","description":"City.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].city.oneOf.1","typeLabel":"null"}],"uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].city","typeLabel":"string | null"},"state":{"oneOf":[{"maxLength":2,"minLength":0,"type":"string","description":"State.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].state.oneOf.0","typeLabel":"string"},{"maxLength":2,"minLength":0,"type":"null","description":"State.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].state.oneOf.1","typeLabel":"null"}],"uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].state","typeLabel":"string | null"},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].postalCode.oneOf.0","typeLabel":"string"},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].postalCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].postalCode","typeLabel":"string | null"},"phoneNumber":{"maxLength":20,"minLength":7,"pattern":"^(?=.*\\d)\\+?[0-9\\s\\-\\(\\)\\.]{7,20}$","type":"string","description":"The phone number associated with a payment method that is used for billing purposes.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].phoneNumber","typeLabel":"string"},"email":{"maxLength":3000,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].email","typeLabel":"string\u003cemail>"},"country":{"maxLength":2,"minLength":0,"type":"string","description":"The input must be a valid Alpha2 code, Alpha3 code, UN code, or full country name.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].country","typeLabel":"string"},"addressId":{"maximum":1000000000,"minimum":1,"type":"integer","description":"The unique identifier of the address.","format":"int64","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].addressId","typeLabel":"integer\u003cint64>"}},"additionalProperties":false,"uniqueKey":"billingAddresses.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"billingAddresses.oneOf.0","typeLabel":"object[]"},{"maxItems":10,"type":"null","items":{"type":"object","properties":{"addressLine1":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"Address."},{"maxLength":3000,"minLength":0,"type":"null","description":"Address."}]},"addressLine2":{"maxLength":3000,"minLength":0,"type":"string","description":"Supplemental information for the address."},"city":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"City."},{"maxLength":3000,"minLength":0,"type":"null","description":"City."}]},"state":{"oneOf":[{"maxLength":2,"minLength":0,"type":"string","description":"State."},{"maxLength":2,"minLength":0,"type":"null","description":"State."}]},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code."},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code."}]},"phoneNumber":{"maxLength":20,"minLength":7,"pattern":"^(?=.*\\d)\\+?[0-9\\s\\-\\(\\)\\.]{7,20}$","type":"string","description":"The phone number associated with a payment method that is used for billing purposes."},"email":{"maxLength":3000,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email"},"country":{"maxLength":2,"minLength":0,"type":"string","description":"The input must be a valid Alpha2 code, Alpha3 code, UN code, or full country name."},"addressId":{"maximum":1000000000,"minimum":1,"type":"integer","description":"The unique identifier of the address.","format":"int64"}},"additionalProperties":false},"uniqueKey":"billingAddresses.oneOf.1","typeLabel":"null"}],"uniqueKey":"billingAddresses","typeLabel":"object[] | null"},"shippingAddresses":{"oneOf":[{"maxItems":10,"type":"array","items":{"type":"object","properties":{"addressLine1":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"Address.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].addressLine1.oneOf.0","typeLabel":"string"},{"maxLength":3000,"minLength":0,"type":"null","description":"Address.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].addressLine1.oneOf.1","typeLabel":"null"}],"uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].addressLine1","typeLabel":"string | null"},"addressLine2":{"maxLength":3000,"minLength":0,"type":"string","description":"Supplemental information for the address.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].addressLine2","typeLabel":"string"},"city":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"City.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].city.oneOf.0","typeLabel":"string"},{"maxLength":3000,"minLength":0,"type":"null","description":"City.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].city.oneOf.1","typeLabel":"null"}],"uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].city","typeLabel":"string | null"},"state":{"oneOf":[{"maxLength":2,"minLength":0,"type":"string","description":"State.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].state.oneOf.0","typeLabel":"string"},{"maxLength":2,"minLength":0,"type":"null","description":"State.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].state.oneOf.1","typeLabel":"null"}],"uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].state","typeLabel":"string | null"},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].postalCode.oneOf.0","typeLabel":"string"},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].postalCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].postalCode","typeLabel":"string | null"},"phoneNumber":{"maxLength":20,"minLength":7,"pattern":"^(?=.*\\d)\\+?[0-9\\s\\-\\(\\)\\.]{7,20}$","type":"string","description":"The phone number associated with a payment method that is used for billing purposes.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].phoneNumber","typeLabel":"string"},"email":{"maxLength":3000,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].email","typeLabel":"string\u003cemail>"},"country":{"maxLength":2,"minLength":0,"type":"string","description":"The input must be a valid Alpha2 code, Alpha3 code, UN code, or full country name.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].country","typeLabel":"string"},"addressId":{"maximum":1000000000,"minimum":1,"type":"integer","description":"The unique identifier of the address.","format":"int64","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].addressId","typeLabel":"integer\u003cint64>"}},"additionalProperties":false,"uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"shippingAddresses.oneOf.0","typeLabel":"object[]"},{"maxItems":10,"type":"null","items":{"type":"object","properties":{"addressLine1":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"Address."},{"maxLength":3000,"minLength":0,"type":"null","description":"Address."}]},"addressLine2":{"maxLength":3000,"minLength":0,"type":"string","description":"Supplemental information for the address."},"city":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"City."},{"maxLength":3000,"minLength":0,"type":"null","description":"City."}]},"state":{"oneOf":[{"maxLength":2,"minLength":0,"type":"string","description":"State."},{"maxLength":2,"minLength":0,"type":"null","description":"State."}]},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code."},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code."}]},"phoneNumber":{"maxLength":20,"minLength":7,"pattern":"^(?=.*\\d)\\+?[0-9\\s\\-\\(\\)\\.]{7,20}$","type":"string","description":"The phone number associated with a payment method that is used for billing purposes."},"email":{"maxLength":3000,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email"},"country":{"maxLength":2,"minLength":0,"type":"string","description":"The input must be a valid Alpha2 code, Alpha3 code, UN code, or full country name."},"addressId":{"maximum":1000000000,"minimum":1,"type":"integer","description":"The unique identifier of the address.","format":"int64"}},"additionalProperties":false},"uniqueKey":"shippingAddresses.oneOf.1","typeLabel":"null"}],"uniqueKey":"shippingAddresses","typeLabel":"object[] | null"},"subscriptions":{"oneOf":[{"type":"array","items":{"required":["billingFrequency","customer","startDate","subscriptionBillingPlans","subscriptionCancelType","subscriptionStatusType","trialDuration"],"type":"object","properties":{"billingFrequency":{"required":["intervalType"],"type":"object","properties":{"intervalType":{"enum":["Days","Weeks","Months","Years"],"type":"string","isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingFrequency.intervalType","typeLabel":"enum\u003cstring>"},"intervalCount":{"maximum":366,"minimum":1,"type":"integer","format":"int32","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingFrequency.intervalCount","typeLabel":"integer\u003cint32>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingFrequency","typeLabel":"object"},"subscriptionStatusType":{"maxLength":50,"minLength":0,"type":"string","default":"Current","isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionStatusType","typeLabel":"string"},"subscriptionCancelType":{"maxLength":50,"minLength":0,"type":"string","default":"EndOfCycle","isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionCancelType","typeLabel":"string"},"startDate":{"oneOf":[{"maxLength":40,"type":"string","description":"Evaluated in UTC (not the merchant timezone). A date (`YYYY-MM-DD`) or datetime (`YYYY-MM-DDThh:mm:ss`) is accepted; a trailing `Z` is not required. Treat today as the current UTC date when deciding bill-on-create vs later.","format":"date-time","default":"Today's date","isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].startDate.oneOf.0","typeLabel":"string\u003cdate-time>"},{"maxLength":40,"type":"null","description":"Evaluated in UTC (not the merchant timezone). A date (`YYYY-MM-DD`) or datetime (`YYYY-MM-DDThh:mm:ss`) is accepted; a trailing `Z` is not required. Treat today as the current UTC date when deciding bill-on-create vs later.","format":"date-time","default":"Today's date","isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].startDate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].startDate","typeLabel":"string\u003cdate-time> | null"},"trialDuration":{"minimum":0,"type":"integer","format":"int32","default":0,"isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].trialDuration","typeLabel":"integer\u003cint32>"},"customer":{"type":"object","properties":{"id":{"oneOf":[{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].customer.id.oneOf.0","typeLabel":"integer\u003cint64>"},{"maximum":1000000000,"minimum":1,"type":"null","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].customer.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].customer.id","typeLabel":"integer\u003cint64> | null"},"firstName":{"oneOf":[{"maxLength":150,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].customer.firstName.oneOf.0","typeLabel":"string"},{"maxLength":150,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].customer.firstName.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].customer.firstName","typeLabel":"string | null"},"lastName":{"oneOf":[{"maxLength":150,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].customer.lastName.oneOf.0","typeLabel":"string"},{"maxLength":150,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].customer.lastName.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].customer.lastName","typeLabel":"string | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].customer","typeLabel":"object"},"subscriptionBillingPlans":{"type":"array","items":{"required":["cycleCount","name","startCycleDelay","value","valueType"],"type":"object","properties":{"name":{"maxLength":100,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionBillingPlans.items.[INDEX].name","typeLabel":"string"},"value":{"maximum":10000000,"minimum":0,"type":"number","format":"double","isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionBillingPlans.items.[INDEX].value","typeLabel":"number\u003cdouble>"},"cycleCount":{"maximum":100,"minimum":-1,"type":"integer","format":"int32","default":-1,"isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionBillingPlans.items.[INDEX].cycleCount","typeLabel":"integer\u003cint32>"},"valueType":{"maxLength":50,"minLength":1,"type":"string","default":"Standard","isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionBillingPlans.items.[INDEX].valueType","typeLabel":"string"},"startCycleDelay":{"maximum":1000000000,"minimum":0,"type":"integer","format":"int32","default":0,"isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionBillingPlans.items.[INDEX].startCycleDelay","typeLabel":"integer\u003cint32>"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionBillingPlans.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionBillingPlans","typeLabel":"object[]"},"paymentMethods":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"billingFirstName":{"maxLength":100,"minLength":0,"type":"string","description":"**Conditional**: either both BillingFirstName and BillingLastName or BillingFullName must be provided.\r\n\r\nThe customer’s first name associated with a payment method that is used for billing purposes.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingFirstName","typeLabel":"string"},"billingLastName":{"maxLength":100,"minLength":0,"type":"string","description":"**Conditional**: either both BillingFirstName and BillingLastName or BillingFullName must be provided.\r\n\r\nThe customer’s last name associated with a payment method that is used for billing purposes.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingLastName","typeLabel":"string"},"billingFullName":{"maxLength":200,"minLength":0,"type":"string","description":"**Conditional**: either BillingFullName or both BillingFirstName and BillingLastName must be provided.\r\n\r\nThe customer’s full name associated with a payment method that is used for billing purposes. ","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingFullName","typeLabel":"string"},"billingAddress":{"type":"object","description":"The address associated with a payment method that is used for billing purposes. Either an Address ID or detailed address information can be provided.","properties":{"addressLine1":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"Address.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.addressLine1.oneOf.0","typeLabel":"string"},{"maxLength":3000,"minLength":0,"type":"null","description":"Address.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.addressLine1.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.addressLine1","typeLabel":"string | null"},"addressLine2":{"maxLength":3000,"minLength":0,"type":"string","description":"Supplemental information for the address.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.addressLine2","typeLabel":"string"},"city":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"City.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.city.oneOf.0","typeLabel":"string"},{"maxLength":3000,"minLength":0,"type":"null","description":"City.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.city","typeLabel":"string | null"},"state":{"oneOf":[{"maxLength":2,"minLength":0,"type":"string","description":"State.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.state.oneOf.0","typeLabel":"string"},{"maxLength":2,"minLength":0,"type":"null","description":"State.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.state","typeLabel":"string | null"},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.postalCode.oneOf.0","typeLabel":"string"},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.postalCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.postalCode","typeLabel":"string | null"},"phoneNumber":{"maxLength":20,"minLength":7,"pattern":"^(?=.*\\d)\\+?[0-9\\s\\-\\(\\)\\.]{7,20}$","type":"string","description":"The phone number associated with a payment method that is used for billing purposes.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.phoneNumber","typeLabel":"string"},"email":{"maxLength":3000,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.email","typeLabel":"string\u003cemail>"},"country":{"maxLength":2,"minLength":0,"type":"string","description":"The input must be a valid Alpha2 code, Alpha3 code, UN code, or full country name.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.country","typeLabel":"string"},"addressId":{"maximum":1000000000,"minimum":1,"type":"integer","description":"The unique identifier of the address.","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.addressId","typeLabel":"integer\u003cint64>"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress","typeLabel":"object"},"creditCard":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nPayment card information.","properties":{"paymentAccountNumber":{"maxLength":19,"minLength":8,"type":"string","description":"**Conditional**: the PAN is required if the credit card payment method type is supplied in the request.\r\nThe number must be a valid credit card number and will be verified using the Luhn algorithm. Minimum length of 8 characters. Maximum length of 25 characters.\r\n\r\nPayment Account Number (PAN).","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.paymentAccountNumber","typeLabel":"string"},"expirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"**Conditional**: the expiration date is required if the credit card payment method type is supplied in the request.\r\n\r\nThe card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.expirationDate","typeLabel":"string\u003cMMYY, MM/YY, MMYYYY, or MM/YYYY>"},"securityCode":{"maxLength":4,"minLength":3,"type":"string","description":"The card verification code. It is considered best practice to always include this value for card-not-present transactions.\r\n\r\nFailure to do so may lead to higher rates of declines, an increase in chargeback cases, and/or transaction downgrades.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.securityCode","typeLabel":"string"},"networkToken":{"type":"object","description":"External Network Token information.","properties":{"token":{"maxLength":19,"type":"string","description":"Network token issued by a card network for a card.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.networkToken.token","typeLabel":"string"},"cryptogram":{"maxLength":40,"type":"string","description":"One-time digital “stamp” of payment. Needed for all CIT (customer-initiated transactions), and the cryptogram will have to be generated by the same TR-TSP that provisioned the token.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.networkToken.cryptogram","typeLabel":"string"},"electronicCommerceIndicator":{"maxLength":2,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.networkToken.electronicCommerceIndicator","typeLabel":"string"},"paymentAccountReference":{"maxLength":100,"type":"string","description":"A permanent unique identifier of a payment account that a payment system assigns to a card and uses instead of a real PAN within network tokens.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.networkToken.paymentAccountReference","typeLabel":"string"},"expirationDate":{"oneOf":[{"maxLength":7,"minLength":0,"type":"string","description":"Expiration date of the network token.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.networkToken.expirationDate.oneOf.0","typeLabel":"string\u003cMMYY, MM/YY, MMYYYY, or MM/YYYY>"},{"maxLength":7,"minLength":0,"type":"null","description":"Expiration date of the network token.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.networkToken.expirationDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.networkToken.expirationDate","typeLabel":"string\u003cMMYY, MM/YY, MMYYYY, or MM/YYYY> | null"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.networkToken","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard","typeLabel":"object"},"ach":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nACH account information.","required":["accountNumber","routingNumber"],"properties":{"routingNumber":{"maxLength":9,"minLength":9,"pattern":"^[0-9]{9}$","type":"string","description":"**Conditional**: the routing number is required if the ACH payment method type is supplied in the request.\r\n\r\nThe 9-digit ACH routing number of the account.","isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].ach.routingNumber","typeLabel":"string"},"accountNumber":{"maxLength":17,"minLength":4,"pattern":"^[0-9]{4,17}$","type":"string","description":"**Conditional**: the account number is required if the ACH payment method type is supplied in the request.\r\nThe length should be between 4 and 17 characters.\r\n\r\nThe US bank account number from which the payment will be debited.","isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].ach.accountNumber","typeLabel":"string"},"accountType":{"maxLength":20,"type":"string","description":"**Conditional**: the account type is required if the ACH payment method type is supplied in the request.\r\n\r\nBank account type. Allowed values: Checking, Savings. Case-insensitive.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].ach.accountType","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].ach","typeLabel":"object"},"googlePay":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nGoogle Pay information.","properties":{"googlePayPaymentDataResponse":{"type":"string","description":"**Conditional**: the GooglePayPaymentDataResponse is required if the Google Pay payment method type is supplied in the request.\r\nMust contain the valid serialized JSON object.\r\n\r\nThe data returned by Google Pay.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].googlePay.googlePayPaymentDataResponse","typeLabel":"string"},"googlePayDecryptedPackage":{"type":"object","description":"The Google Pay token decrypted payment data.","properties":{"applicationPrimaryAccountNumber":{"maxLength":25,"minLength":13,"pattern":"^\\d+$","type":"string","description":"Device-specific account number of the card that funds this transaction.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].googlePay.googlePayDecryptedPackage.applicationPrimaryAccountNumber","typeLabel":"string"},"applicationExpirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"The card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].googlePay.googlePayDecryptedPackage.applicationExpirationDate","typeLabel":"string\u003cMMYY, MM/YY, MMYYYY, or MM/YYYY>"},"electronicCommerceIndicator":{"maxLength":2,"minLength":0,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].googlePay.googlePayDecryptedPackage.electronicCommerceIndicator","typeLabel":"string"},"onlinePaymentCryptogram":{"maxLength":512,"minLength":0,"type":"string","description":"Decrypted package online payment cryptogram for a digital wallet.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].googlePay.googlePayDecryptedPackage.onlinePaymentCryptogram","typeLabel":"string"},"cardBrand":{"type":"string","description":"Specifies the payment method's card brand.\r\n\r\nPossible values: Visa, Mastercard, Amex, Discover, JCB, Diners.","enum":["Visa","Mastercard","Amex","Discover","JCB","Diners"],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].googlePay.googlePayDecryptedPackage.cardBrand","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].googlePay.googlePayDecryptedPackage","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].googlePay","typeLabel":"object"},"applePay":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nApple Pay information. If you have encrypted Apple Pay token data use ApplePayToken for further payments. If you have Decrypted Apple Pay token data use ApplePayDecryptedPackage.","properties":{"applePayToken":{"oneOf":[{"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay.applePayToken.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay.applePayToken.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay.applePayToken","typeLabel":"string | null"},"applePayDecryptedPackage":{"type":"object","description":"The Apple Pay token decrypted payment data.","properties":{"applicationPrimaryAccountNumber":{"maxLength":25,"minLength":13,"pattern":"^\\d+$","type":"string","description":"Device-specific account number of the card that funds this transaction.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay.applePayDecryptedPackage.applicationPrimaryAccountNumber","typeLabel":"string"},"applicationExpirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"The card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay.applePayDecryptedPackage.applicationExpirationDate","typeLabel":"string\u003cMMYY, MM/YY, MMYYYY, or MM/YYYY>"},"electronicCommerceIndicator":{"maxLength":2,"minLength":0,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay.applePayDecryptedPackage.electronicCommerceIndicator","typeLabel":"string"},"onlinePaymentCryptogram":{"maxLength":512,"minLength":1,"type":"string","description":"Decrypted package online payment cryptogram for a digital wallet.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay.applePayDecryptedPackage.onlinePaymentCryptogram","typeLabel":"string"},"deviceManufacturerIdentifier":{"maxLength":20,"minLength":1,"type":"string","description":"Hex-encoded device manufacturer identifier.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay.applePayDecryptedPackage.deviceManufacturerIdentifier","typeLabel":"string"},"cardBrand":{"type":"string","description":"Specifies the payment method's card brand.\r\n\r\nPossible values: Visa, Mastercard, Amex, Discover, JCB, Diners.","enum":["Visa","Mastercard","Amex","Discover","JCB","Diners"],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay.applePayDecryptedPackage.cardBrand","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay.applePayDecryptedPackage","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay","typeLabel":"object"},"merchantPaymentMethodRefId":{"maxLength":100,"type":"string","description":"Merchant's unique identifier for the payment method.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].merchantPaymentMethodRefId","typeLabel":"string"},"priority":{"oneOf":[{"maximum":1000000000,"minimum":0,"type":"integer","format":"int32","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].priority.oneOf.0","typeLabel":"integer\u003cint32>"},{"maximum":1000000000,"minimum":0,"type":"null","format":"int32","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].priority.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].priority","typeLabel":"integer\u003cint32> | null"},"taxAmount":{"oneOf":[{"maximum":10000000,"minimum":0,"type":"number","format":"double","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].taxAmount.oneOf.0","typeLabel":"number\u003cdouble>"},{"maximum":10000000,"minimum":0,"type":"null","format":"double","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].taxAmount.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].taxAmount","typeLabel":"number\u003cdouble> | null"},"originalNetworkTransactionId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].originalNetworkTransactionId.oneOf.0","typeLabel":"string"},{"maxLength":100,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].originalNetworkTransactionId.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].originalNetworkTransactionId","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"billingFirstName":{"maxLength":100,"minLength":0,"type":"string","description":"**Conditional**: either both BillingFirstName and BillingLastName or BillingFullName must be provided.\r\n\r\nThe customer’s first name associated with a payment method that is used for billing purposes."},"billingLastName":{"maxLength":100,"minLength":0,"type":"string","description":"**Conditional**: either both BillingFirstName and BillingLastName or BillingFullName must be provided.\r\n\r\nThe customer’s last name associated with a payment method that is used for billing purposes."},"billingFullName":{"maxLength":200,"minLength":0,"type":"string","description":"**Conditional**: either BillingFullName or both BillingFirstName and BillingLastName must be provided.\r\n\r\nThe customer’s full name associated with a payment method that is used for billing purposes. "},"billingAddress":{"type":"object","description":"The address associated with a payment method that is used for billing purposes. Either an Address ID or detailed address information can be provided.","properties":{"addressLine1":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"Address."},{"maxLength":3000,"minLength":0,"type":"null","description":"Address."}]},"addressLine2":{"maxLength":3000,"minLength":0,"type":"string","description":"Supplemental information for the address."},"city":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"City."},{"maxLength":3000,"minLength":0,"type":"null","description":"City."}]},"state":{"oneOf":[{"maxLength":2,"minLength":0,"type":"string","description":"State."},{"maxLength":2,"minLength":0,"type":"null","description":"State."}]},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code."},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code."}]},"phoneNumber":{"maxLength":20,"minLength":7,"pattern":"^(?=.*\\d)\\+?[0-9\\s\\-\\(\\)\\.]{7,20}$","type":"string","description":"The phone number associated with a payment method that is used for billing purposes."},"email":{"maxLength":3000,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email"},"country":{"maxLength":2,"minLength":0,"type":"string","description":"The input must be a valid Alpha2 code, Alpha3 code, UN code, or full country name."},"addressId":{"maximum":1000000000,"minimum":1,"type":"integer","description":"The unique identifier of the address.","format":"int64"}},"additionalProperties":false},"creditCard":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nPayment card information.","properties":{"paymentAccountNumber":{"maxLength":19,"minLength":8,"type":"string","description":"**Conditional**: the PAN is required if the credit card payment method type is supplied in the request.\r\nThe number must be a valid credit card number and will be verified using the Luhn algorithm. Minimum length of 8 characters. Maximum length of 25 characters.\r\n\r\nPayment Account Number (PAN)."},"expirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"**Conditional**: the expiration date is required if the credit card payment method type is supplied in the request.\r\n\r\nThe card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},"securityCode":{"maxLength":4,"minLength":3,"type":"string","description":"The card verification code. It is considered best practice to always include this value for card-not-present transactions.\r\n\r\nFailure to do so may lead to higher rates of declines, an increase in chargeback cases, and/or transaction downgrades."},"networkToken":{"type":"object","description":"External Network Token information.","properties":{"token":{"maxLength":19,"type":"string","description":"Network token issued by a card network for a card."},"cryptogram":{"maxLength":40,"type":"string","description":"One-time digital “stamp” of payment. Needed for all CIT (customer-initiated transactions), and the cryptogram will have to be generated by the same TR-TSP that provisioned the token."},"electronicCommerceIndicator":{"maxLength":2,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied."},"paymentAccountReference":{"maxLength":100,"type":"string","description":"A permanent unique identifier of a payment account that a payment system assigns to a card and uses instead of a real PAN within network tokens."},"expirationDate":{"oneOf":[{"maxLength":7,"minLength":0,"type":"string","description":"Expiration date of the network token.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},{"maxLength":7,"minLength":0,"type":"null","description":"Expiration date of the network token.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"}]}},"additionalProperties":false}},"additionalProperties":false},"ach":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nACH account information.","required":["accountNumber","routingNumber"],"properties":{"routingNumber":{"maxLength":9,"minLength":9,"pattern":"^[0-9]{9}$","type":"string","description":"**Conditional**: the routing number is required if the ACH payment method type is supplied in the request.\r\n\r\nThe 9-digit ACH routing number of the account."},"accountNumber":{"maxLength":17,"minLength":4,"pattern":"^[0-9]{4,17}$","type":"string","description":"**Conditional**: the account number is required if the ACH payment method type is supplied in the request.\r\nThe length should be between 4 and 17 characters.\r\n\r\nThe US bank account number from which the payment will be debited."},"accountType":{"maxLength":20,"type":"string","description":"**Conditional**: the account type is required if the ACH payment method type is supplied in the request.\r\n\r\nBank account type. Allowed values: Checking, Savings. Case-insensitive."}},"additionalProperties":false},"googlePay":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nGoogle Pay information.","properties":{"googlePayPaymentDataResponse":{"type":"string","description":"**Conditional**: the GooglePayPaymentDataResponse is required if the Google Pay payment method type is supplied in the request.\r\nMust contain the valid serialized JSON object.\r\n\r\nThe data returned by Google Pay."},"googlePayDecryptedPackage":{"type":"object","description":"The Google Pay token decrypted payment data.","properties":{"applicationPrimaryAccountNumber":{"maxLength":25,"minLength":13,"pattern":"^\\d+$","type":"string","description":"Device-specific account number of the card that funds this transaction."},"applicationExpirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"The card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},"electronicCommerceIndicator":{"maxLength":2,"minLength":0,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied."},"onlinePaymentCryptogram":{"maxLength":512,"minLength":0,"type":"string","description":"Decrypted package online payment cryptogram for a digital wallet."},"cardBrand":{"type":"string","description":"Specifies the payment method's card brand.\r\n\r\nPossible values: Visa, Mastercard, Amex, Discover, JCB, Diners.","enum":["Visa","Mastercard","Amex","Discover","JCB","Diners"]}},"additionalProperties":false}},"additionalProperties":false},"applePay":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nApple Pay information. If you have encrypted Apple Pay token data use ApplePayToken for further payments. If you have Decrypted Apple Pay token data use ApplePayDecryptedPackage.","properties":{"applePayToken":{"oneOf":[{"type":"string"},{"type":"null"}]},"applePayDecryptedPackage":{"type":"object","description":"The Apple Pay token decrypted payment data.","properties":{"applicationPrimaryAccountNumber":{"maxLength":25,"minLength":13,"pattern":"^\\d+$","type":"string","description":"Device-specific account number of the card that funds this transaction."},"applicationExpirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"The card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},"electronicCommerceIndicator":{"maxLength":2,"minLength":0,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied."},"onlinePaymentCryptogram":{"maxLength":512,"minLength":1,"type":"string","description":"Decrypted package online payment cryptogram for a digital wallet."},"deviceManufacturerIdentifier":{"maxLength":20,"minLength":1,"type":"string","description":"Hex-encoded device manufacturer identifier."},"cardBrand":{"type":"string","description":"Specifies the payment method's card brand.\r\n\r\nPossible values: Visa, Mastercard, Amex, Discover, JCB, Diners.","enum":["Visa","Mastercard","Amex","Discover","JCB","Diners"]}},"additionalProperties":false}},"additionalProperties":false},"merchantPaymentMethodRefId":{"maxLength":100,"type":"string","description":"Merchant's unique identifier for the payment method."},"priority":{"oneOf":[{"maximum":1000000000,"minimum":0,"type":"integer","format":"int32"},{"maximum":1000000000,"minimum":0,"type":"null","format":"int32"}]},"taxAmount":{"oneOf":[{"maximum":10000000,"minimum":0,"type":"number","format":"double"},{"maximum":10000000,"minimum":0,"type":"null","format":"double"}]},"originalNetworkTransactionId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string"},{"maxLength":100,"minLength":0,"type":"null"}]}},"additionalProperties":false},"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods","typeLabel":"object[] | null"},"existingPaymentMethod":{"type":"object","properties":{"paymentMethodAuthorizationId":{"oneOf":[{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.paymentMethodAuthorizationId.oneOf.0","typeLabel":"integer\u003cint64>"},{"maximum":1000000000,"minimum":1,"type":"null","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.paymentMethodAuthorizationId.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.paymentMethodAuthorizationId","typeLabel":"integer\u003cint64> | null"},"paymentMethodId":{"oneOf":[{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.paymentMethodId.oneOf.0","typeLabel":"integer\u003cint64>"},{"maximum":1000000000,"minimum":1,"type":"null","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.paymentMethodId.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.paymentMethodId","typeLabel":"integer\u003cint64> | null"},"taxAmount":{"oneOf":[{"maximum":10000000,"minimum":0,"type":"number","format":"double","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.taxAmount.oneOf.0","typeLabel":"number\u003cdouble>"},{"maximum":10000000,"minimum":0,"type":"null","format":"double","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.taxAmount.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.taxAmount","typeLabel":"number\u003cdouble> | null"},"originalNetworkTransactionId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.originalNetworkTransactionId.oneOf.0","typeLabel":"string"},{"maxLength":100,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.originalNetworkTransactionId.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.originalNetworkTransactionId","typeLabel":"string | null"},"onlinePaymentCryptogram":{"maxLength":512,"minLength":0,"type":"string","description":"Decrypted package online payment cryptogram for a digital wallet.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.onlinePaymentCryptogram","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod","typeLabel":"object"},"merchantSubscriptionRefId":{"oneOf":[{"maxLength":100,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].merchantSubscriptionRefId.oneOf.0","typeLabel":"string"},{"maxLength":100,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].merchantSubscriptionRefId.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].merchantSubscriptionRefId","typeLabel":"string | null"},"trialDurationType":{"enum":["Days","Weeks","Months","Years"],"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].trialDurationType","typeLabel":"enum\u003cstring>"},"taxAddress":{"type":"object","properties":{"addressLine1":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"Address.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.addressLine1.oneOf.0","typeLabel":"string"},{"maxLength":3000,"minLength":0,"type":"null","description":"Address.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.addressLine1.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.addressLine1","typeLabel":"string | null"},"addressLine2":{"maxLength":3000,"minLength":0,"type":"string","description":"Supplemental information for the address.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.addressLine2","typeLabel":"string"},"city":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"City.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.city.oneOf.0","typeLabel":"string"},{"maxLength":3000,"minLength":0,"type":"null","description":"City.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.city","typeLabel":"string | null"},"state":{"oneOf":[{"maxLength":2,"minLength":0,"type":"string","description":"State.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.state.oneOf.0","typeLabel":"string"},{"maxLength":2,"minLength":0,"type":"null","description":"State.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.state","typeLabel":"string | null"},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.postalCode.oneOf.0","typeLabel":"string"},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.postalCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.postalCode","typeLabel":"string | null"},"phoneNumber":{"maxLength":20,"minLength":7,"pattern":"^(?=.*\\d)\\+?[0-9\\s\\-\\(\\)\\.]{7,20}$","type":"string","description":"The phone number associated with a payment method that is used for billing purposes.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.phoneNumber","typeLabel":"string"},"email":{"maxLength":3000,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.email","typeLabel":"string\u003cemail>"},"country":{"maxLength":2,"minLength":0,"type":"string","description":"The input must be a valid Alpha2 code, Alpha3 code, UN code, or full country name.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.country","typeLabel":"string"},"addressId":{"maximum":1000000000,"minimum":1,"type":"integer","description":"The unique identifier of the address.","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.addressId","typeLabel":"integer\u003cint64>"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress","typeLabel":"object"},"includeRawProcessorResponse":{"oneOf":[{"type":"boolean","default":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].includeRawProcessorResponse.oneOf.0","typeLabel":"boolean"},{"type":"null","default":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].includeRawProcessorResponse.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].includeRawProcessorResponse","typeLabel":"boolean | null"},"recycleImmediatePayment":{"oneOf":[{"type":"boolean","default":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].recycleImmediatePayment.oneOf.0","typeLabel":"boolean"},{"type":"null","default":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].recycleImmediatePayment.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].recycleImmediatePayment","typeLabel":"boolean | null"},"currency":{"enum":["USD","AED","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BMD","BND","BOB","BRL","BSD","BWP","BYN","BZD","CAD","CHF","CLP","CNH","CNY","COP","CRC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HTG","HUF","IDR","ILS","INR","IQD","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LYD","MAD","MDL","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SEK","SGD","SHP","SLE","SOS","SRD","STN","SVC","SZL","THB","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","UYU","UZS","VEF","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW","AFN","KPW","LRD","LSL","STD","SYP","TJS","ZMK","ZWD","SLL","MGA","HRK","CDF","BTN","BIF"],"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].currency","typeLabel":"enum\u003cstring>"},"reportGroup":{"oneOf":[{"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].reportGroup.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].reportGroup.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].reportGroup","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"subscriptions.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"required":["billingFrequency","customer","startDate","subscriptionBillingPlans","subscriptionCancelType","subscriptionStatusType","trialDuration"],"type":"object","properties":{"paymentMethods":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"billingFirstName":{"maxLength":100,"minLength":0,"type":"string","description":"**Conditional**: either both BillingFirstName and BillingLastName or BillingFullName must be provided.\r\n\r\nThe customer’s first name associated with a payment method that is used for billing purposes."},"billingLastName":{"maxLength":100,"minLength":0,"type":"string","description":"**Conditional**: either both BillingFirstName and BillingLastName or BillingFullName must be provided.\r\n\r\nThe customer’s last name associated with a payment method that is used for billing purposes."},"billingFullName":{"maxLength":200,"minLength":0,"type":"string","description":"**Conditional**: either BillingFullName or both BillingFirstName and BillingLastName must be provided.\r\n\r\nThe customer’s full name associated with a payment method that is used for billing purposes. "},"billingAddress":{"type":"object","description":"The address associated with a payment method that is used for billing purposes. Either an Address ID or detailed address information can be provided.","properties":{"addressLine1":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"Address."},{"maxLength":3000,"minLength":0,"type":"null","description":"Address."}]},"addressLine2":{"maxLength":3000,"minLength":0,"type":"string","description":"Supplemental information for the address."},"city":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"City."},{"maxLength":3000,"minLength":0,"type":"null","description":"City."}]},"state":{"oneOf":[{"maxLength":2,"minLength":0,"type":"string","description":"State."},{"maxLength":2,"minLength":0,"type":"null","description":"State."}]},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code."},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code."}]},"phoneNumber":{"maxLength":20,"minLength":7,"pattern":"^(?=.*\\d)\\+?[0-9\\s\\-\\(\\)\\.]{7,20}$","type":"string","description":"The phone number associated with a payment method that is used for billing purposes."},"email":{"maxLength":3000,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email"},"country":{"maxLength":2,"minLength":0,"type":"string","description":"The input must be a valid Alpha2 code, Alpha3 code, UN code, or full country name."},"addressId":{"maximum":1000000000,"minimum":1,"type":"integer","description":"The unique identifier of the address.","format":"int64"}},"additionalProperties":false},"creditCard":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nPayment card information.","properties":{"paymentAccountNumber":{"maxLength":19,"minLength":8,"type":"string","description":"**Conditional**: the PAN is required if the credit card payment method type is supplied in the request.\r\nThe number must be a valid credit card number and will be verified using the Luhn algorithm. Minimum length of 8 characters. Maximum length of 25 characters.\r\n\r\nPayment Account Number (PAN)."},"expirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"**Conditional**: the expiration date is required if the credit card payment method type is supplied in the request.\r\n\r\nThe card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},"securityCode":{"maxLength":4,"minLength":3,"type":"string","description":"The card verification code. It is considered best practice to always include this value for card-not-present transactions.\r\n\r\nFailure to do so may lead to higher rates of declines, an increase in chargeback cases, and/or transaction downgrades."},"networkToken":{"type":"object","description":"External Network Token information.","properties":{"token":{"maxLength":19,"type":"string","description":"Network token issued by a card network for a card."},"cryptogram":{"maxLength":40,"type":"string","description":"One-time digital “stamp” of payment. Needed for all CIT (customer-initiated transactions), and the cryptogram will have to be generated by the same TR-TSP that provisioned the token."},"electronicCommerceIndicator":{"maxLength":2,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied."},"paymentAccountReference":{"maxLength":100,"type":"string","description":"A permanent unique identifier of a payment account that a payment system assigns to a card and uses instead of a real PAN within network tokens."},"expirationDate":{"oneOf":[{"maxLength":7,"minLength":0,"type":"string","description":"Expiration date of the network token.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},{"maxLength":7,"minLength":0,"type":"null","description":"Expiration date of the network token.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"}]}},"additionalProperties":false}},"additionalProperties":false},"ach":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nACH account information.","required":["accountNumber","routingNumber"],"properties":{"routingNumber":{"maxLength":9,"minLength":9,"pattern":"^[0-9]{9}$","type":"string","description":"**Conditional**: the routing number is required if the ACH payment method type is supplied in the request.\r\n\r\nThe 9-digit ACH routing number of the account."},"accountNumber":{"maxLength":17,"minLength":4,"pattern":"^[0-9]{4,17}$","type":"string","description":"**Conditional**: the account number is required if the ACH payment method type is supplied in the request.\r\nThe length should be between 4 and 17 characters.\r\n\r\nThe US bank account number from which the payment will be debited."},"accountType":{"maxLength":20,"type":"string","description":"**Conditional**: the account type is required if the ACH payment method type is supplied in the request.\r\n\r\nBank account type. Allowed values: Checking, Savings. Case-insensitive."}},"additionalProperties":false},"googlePay":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nGoogle Pay information.","properties":{"googlePayPaymentDataResponse":{"type":"string","description":"**Conditional**: the GooglePayPaymentDataResponse is required if the Google Pay payment method type is supplied in the request.\r\nMust contain the valid serialized JSON object.\r\n\r\nThe data returned by Google Pay."},"googlePayDecryptedPackage":{"type":"object","description":"The Google Pay token decrypted payment data.","properties":{"applicationPrimaryAccountNumber":{"maxLength":25,"minLength":13,"pattern":"^\\d+$","type":"string","description":"Device-specific account number of the card that funds this transaction."},"applicationExpirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"The card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},"electronicCommerceIndicator":{"maxLength":2,"minLength":0,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied."},"onlinePaymentCryptogram":{"maxLength":512,"minLength":0,"type":"string","description":"Decrypted package online payment cryptogram for a digital wallet."},"cardBrand":{"type":"string","description":"Specifies the payment method's card brand.\r\n\r\nPossible values: Visa, Mastercard, Amex, Discover, JCB, Diners.","enum":["Visa","Mastercard","Amex","Discover","JCB","Diners"]}},"additionalProperties":false}},"additionalProperties":false},"applePay":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nApple Pay information. If you have encrypted Apple Pay token data use ApplePayToken for further payments. If you have Decrypted Apple Pay token data use ApplePayDecryptedPackage.","properties":{"applePayToken":{"oneOf":[{"type":"string"},{"type":"null"}]},"applePayDecryptedPackage":{"type":"object","description":"The Apple Pay token decrypted payment data.","properties":{"applicationPrimaryAccountNumber":{"maxLength":25,"minLength":13,"pattern":"^\\d+$","type":"string","description":"Device-specific account number of the card that funds this transaction."},"applicationExpirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"The card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},"electronicCommerceIndicator":{"maxLength":2,"minLength":0,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied."},"onlinePaymentCryptogram":{"maxLength":512,"minLength":1,"type":"string","description":"Decrypted package online payment cryptogram for a digital wallet."},"deviceManufacturerIdentifier":{"maxLength":20,"minLength":1,"type":"string","description":"Hex-encoded device manufacturer identifier."},"cardBrand":{"type":"string","description":"Specifies the payment method's card brand.\r\n\r\nPossible values: Visa, Mastercard, Amex, Discover, JCB, Diners.","enum":["Visa","Mastercard","Amex","Discover","JCB","Diners"]}},"additionalProperties":false}},"additionalProperties":false},"merchantPaymentMethodRefId":{"maxLength":100,"type":"string","description":"Merchant's unique identifier for the payment method."},"priority":{"oneOf":[{"maximum":1000000000,"minimum":0,"type":"integer","format":"int32"},{"maximum":1000000000,"minimum":0,"type":"null","format":"int32"}]},"taxAmount":{"oneOf":[{"maximum":10000000,"minimum":0,"type":"number","format":"double"},{"maximum":10000000,"minimum":0,"type":"null","format":"double"}]},"originalNetworkTransactionId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string"},{"maxLength":100,"minLength":0,"type":"null"}]}},"additionalProperties":false}},{"type":"null","items":{"type":"object","properties":{"billingFirstName":{"maxLength":100,"minLength":0,"type":"string","description":"**Conditional**: either both BillingFirstName and BillingLastName or BillingFullName must be provided.\r\n\r\nThe customer’s first name associated with a payment method that is used for billing purposes."},"billingLastName":{"maxLength":100,"minLength":0,"type":"string","description":"**Conditional**: either both BillingFirstName and BillingLastName or BillingFullName must be provided.\r\n\r\nThe customer’s last name associated with a payment method that is used for billing purposes."},"billingFullName":{"maxLength":200,"minLength":0,"type":"string","description":"**Conditional**: either BillingFullName or both BillingFirstName and BillingLastName must be provided.\r\n\r\nThe customer’s full name associated with a payment method that is used for billing purposes. "},"billingAddress":{"type":"object","description":"The address associated with a payment method that is used for billing purposes. Either an Address ID or detailed address information can be provided.","properties":{"addressLine1":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"Address."},{"maxLength":3000,"minLength":0,"type":"null","description":"Address."}]},"addressLine2":{"maxLength":3000,"minLength":0,"type":"string","description":"Supplemental information for the address."},"city":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"City."},{"maxLength":3000,"minLength":0,"type":"null","description":"City."}]},"state":{"oneOf":[{"maxLength":2,"minLength":0,"type":"string","description":"State."},{"maxLength":2,"minLength":0,"type":"null","description":"State."}]},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code."},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code."}]},"phoneNumber":{"maxLength":20,"minLength":7,"pattern":"^(?=.*\\d)\\+?[0-9\\s\\-\\(\\)\\.]{7,20}$","type":"string","description":"The phone number associated with a payment method that is used for billing purposes."},"email":{"maxLength":3000,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email"},"country":{"maxLength":2,"minLength":0,"type":"string","description":"The input must be a valid Alpha2 code, Alpha3 code, UN code, or full country name."},"addressId":{"maximum":1000000000,"minimum":1,"type":"integer","description":"The unique identifier of the address.","format":"int64"}},"additionalProperties":false},"creditCard":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nPayment card information.","properties":{"paymentAccountNumber":{"maxLength":19,"minLength":8,"type":"string","description":"**Conditional**: the PAN is required if the credit card payment method type is supplied in the request.\r\nThe number must be a valid credit card number and will be verified using the Luhn algorithm. Minimum length of 8 characters. Maximum length of 25 characters.\r\n\r\nPayment Account Number (PAN)."},"expirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"**Conditional**: the expiration date is required if the credit card payment method type is supplied in the request.\r\n\r\nThe card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},"securityCode":{"maxLength":4,"minLength":3,"type":"string","description":"The card verification code. It is considered best practice to always include this value for card-not-present transactions.\r\n\r\nFailure to do so may lead to higher rates of declines, an increase in chargeback cases, and/or transaction downgrades."},"networkToken":{"type":"object","description":"External Network Token information.","properties":{"token":{"maxLength":19,"type":"string","description":"Network token issued by a card network for a card."},"cryptogram":{"maxLength":40,"type":"string","description":"One-time digital “stamp” of payment. Needed for all CIT (customer-initiated transactions), and the cryptogram will have to be generated by the same TR-TSP that provisioned the token."},"electronicCommerceIndicator":{"maxLength":2,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied."},"paymentAccountReference":{"maxLength":100,"type":"string","description":"A permanent unique identifier of a payment account that a payment system assigns to a card and uses instead of a real PAN within network tokens."},"expirationDate":{"oneOf":[{"maxLength":7,"minLength":0,"type":"string","description":"Expiration date of the network token.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},{"maxLength":7,"minLength":0,"type":"null","description":"Expiration date of the network token.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"}]}},"additionalProperties":false}},"additionalProperties":false},"ach":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nACH account information.","required":["accountNumber","routingNumber"],"properties":{"routingNumber":{"maxLength":9,"minLength":9,"pattern":"^[0-9]{9}$","type":"string","description":"**Conditional**: the routing number is required if the ACH payment method type is supplied in the request.\r\n\r\nThe 9-digit ACH routing number of the account."},"accountNumber":{"maxLength":17,"minLength":4,"pattern":"^[0-9]{4,17}$","type":"string","description":"**Conditional**: the account number is required if the ACH payment method type is supplied in the request.\r\nThe length should be between 4 and 17 characters.\r\n\r\nThe US bank account number from which the payment will be debited."},"accountType":{"maxLength":20,"type":"string","description":"**Conditional**: the account type is required if the ACH payment method type is supplied in the request.\r\n\r\nBank account type. Allowed values: Checking, Savings. Case-insensitive."}},"additionalProperties":false},"googlePay":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nGoogle Pay information.","properties":{"googlePayPaymentDataResponse":{"type":"string","description":"**Conditional**: the GooglePayPaymentDataResponse is required if the Google Pay payment method type is supplied in the request.\r\nMust contain the valid serialized JSON object.\r\n\r\nThe data returned by Google Pay."},"googlePayDecryptedPackage":{"type":"object","description":"The Google Pay token decrypted payment data.","properties":{"applicationPrimaryAccountNumber":{"maxLength":25,"minLength":13,"pattern":"^\\d+$","type":"string","description":"Device-specific account number of the card that funds this transaction."},"applicationExpirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"The card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},"electronicCommerceIndicator":{"maxLength":2,"minLength":0,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied."},"onlinePaymentCryptogram":{"maxLength":512,"minLength":0,"type":"string","description":"Decrypted package online payment cryptogram for a digital wallet."},"cardBrand":{"type":"string","description":"Specifies the payment method's card brand.\r\n\r\nPossible values: Visa, Mastercard, Amex, Discover, JCB, Diners.","enum":["Visa","Mastercard","Amex","Discover","JCB","Diners"]}},"additionalProperties":false}},"additionalProperties":false},"applePay":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nApple Pay information. If you have encrypted Apple Pay token data use ApplePayToken for further payments. If you have Decrypted Apple Pay token data use ApplePayDecryptedPackage.","properties":{"applePayToken":{"oneOf":[{"type":"string"},{"type":"null"}]},"applePayDecryptedPackage":{"type":"object","description":"The Apple Pay token decrypted payment data.","properties":{"applicationPrimaryAccountNumber":{"maxLength":25,"minLength":13,"pattern":"^\\d+$","type":"string","description":"Device-specific account number of the card that funds this transaction."},"applicationExpirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"The card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},"electronicCommerceIndicator":{"maxLength":2,"minLength":0,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied."},"onlinePaymentCryptogram":{"maxLength":512,"minLength":1,"type":"string","description":"Decrypted package online payment cryptogram for a digital wallet."},"deviceManufacturerIdentifier":{"maxLength":20,"minLength":1,"type":"string","description":"Hex-encoded device manufacturer identifier."},"cardBrand":{"type":"string","description":"Specifies the payment method's card brand.\r\n\r\nPossible values: Visa, Mastercard, Amex, Discover, JCB, Diners.","enum":["Visa","Mastercard","Amex","Discover","JCB","Diners"]}},"additionalProperties":false}},"additionalProperties":false},"merchantPaymentMethodRefId":{"maxLength":100,"type":"string","description":"Merchant's unique identifier for the payment method."},"priority":{"oneOf":[{"maximum":1000000000,"minimum":0,"type":"integer","format":"int32"},{"maximum":1000000000,"minimum":0,"type":"null","format":"int32"}]},"taxAmount":{"oneOf":[{"maximum":10000000,"minimum":0,"type":"number","format":"double"},{"maximum":10000000,"minimum":0,"type":"null","format":"double"}]},"originalNetworkTransactionId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string"},{"maxLength":100,"minLength":0,"type":"null"}]}},"additionalProperties":false}}]},"existingPaymentMethod":{"type":"object","properties":{"paymentMethodAuthorizationId":{"oneOf":[{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64"},{"maximum":1000000000,"minimum":1,"type":"null","format":"int64"}]},"paymentMethodId":{"oneOf":[{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64"},{"maximum":1000000000,"minimum":1,"type":"null","format":"int64"}]},"taxAmount":{"oneOf":[{"maximum":10000000,"minimum":0,"type":"number","format":"double"},{"maximum":10000000,"minimum":0,"type":"null","format":"double"}]},"originalNetworkTransactionId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string"},{"maxLength":100,"minLength":0,"type":"null"}]},"onlinePaymentCryptogram":{"maxLength":512,"minLength":0,"type":"string","description":"Decrypted package online payment cryptogram for a digital wallet."}},"additionalProperties":false},"merchantSubscriptionRefId":{"oneOf":[{"maxLength":100,"type":"string"},{"maxLength":100,"type":"null"}]},"billingFrequency":{"required":["intervalType"],"type":"object","properties":{"intervalType":{"enum":["Days","Weeks","Months","Years"],"type":"string"},"intervalCount":{"maximum":366,"minimum":1,"type":"integer","format":"int32"}},"additionalProperties":false},"subscriptionStatusType":{"maxLength":50,"minLength":0,"type":"string","default":"Current"},"subscriptionCancelType":{"maxLength":50,"minLength":0,"type":"string","default":"EndOfCycle"},"startDate":{"oneOf":[{"maxLength":40,"type":"string","description":"Evaluated in UTC (not the merchant timezone). A date (`YYYY-MM-DD`) or datetime (`YYYY-MM-DDThh:mm:ss`) is accepted; a trailing `Z` is not required. Treat today as the current UTC date when deciding bill-on-create vs later.","format":"date-time","default":"Today's date"},{"maxLength":40,"type":"null","description":"Evaluated in UTC (not the merchant timezone). A date (`YYYY-MM-DD`) or datetime (`YYYY-MM-DDThh:mm:ss`) is accepted; a trailing `Z` is not required. Treat today as the current UTC date when deciding bill-on-create vs later.","format":"date-time","default":"Today's date"}]},"trialDuration":{"minimum":0,"type":"integer","format":"int32","default":0},"trialDurationType":{"enum":["Days","Weeks","Months","Years"],"type":"string"},"taxAddress":{"type":"object","properties":{"addressLine1":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"Address."},{"maxLength":3000,"minLength":0,"type":"null","description":"Address."}]},"addressLine2":{"maxLength":3000,"minLength":0,"type":"string","description":"Supplemental information for the address."},"city":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"City."},{"maxLength":3000,"minLength":0,"type":"null","description":"City."}]},"state":{"oneOf":[{"maxLength":2,"minLength":0,"type":"string","description":"State."},{"maxLength":2,"minLength":0,"type":"null","description":"State."}]},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code."},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code."}]},"phoneNumber":{"maxLength":20,"minLength":7,"pattern":"^(?=.*\\d)\\+?[0-9\\s\\-\\(\\)\\.]{7,20}$","type":"string","description":"The phone number associated with a payment method that is used for billing purposes."},"email":{"maxLength":3000,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email"},"country":{"maxLength":2,"minLength":0,"type":"string","description":"The input must be a valid Alpha2 code, Alpha3 code, UN code, or full country name."},"addressId":{"maximum":1000000000,"minimum":1,"type":"integer","description":"The unique identifier of the address.","format":"int64"}},"additionalProperties":false},"includeRawProcessorResponse":{"oneOf":[{"type":"boolean","default":false},{"type":"null","default":false}]},"customer":{"type":"object","properties":{"id":{"oneOf":[{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64"},{"maximum":1000000000,"minimum":1,"type":"null","format":"int64"}]},"firstName":{"oneOf":[{"maxLength":150,"minLength":0,"type":"string"},{"maxLength":150,"minLength":0,"type":"null"}]},"lastName":{"oneOf":[{"maxLength":150,"minLength":0,"type":"string"},{"maxLength":150,"minLength":0,"type":"null"}]}},"additionalProperties":false},"subscriptionBillingPlans":{"type":"array","items":{"required":["cycleCount","name","startCycleDelay","value","valueType"],"type":"object","properties":{"name":{"maxLength":100,"minLength":1,"type":"string"},"value":{"maximum":10000000,"minimum":0,"type":"number","format":"double"},"cycleCount":{"maximum":100,"minimum":-1,"type":"integer","format":"int32","default":-1},"valueType":{"maxLength":50,"minLength":1,"type":"string","default":"Standard"},"startCycleDelay":{"maximum":1000000000,"minimum":0,"type":"integer","format":"int32","default":0}},"additionalProperties":false}},"recycleImmediatePayment":{"oneOf":[{"type":"boolean","default":false},{"type":"null","default":false}]},"currency":{"enum":["USD","AED","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BMD","BND","BOB","BRL","BSD","BWP","BYN","BZD","CAD","CHF","CLP","CNH","CNY","COP","CRC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HTG","HUF","IDR","ILS","INR","IQD","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LYD","MAD","MDL","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SEK","SGD","SHP","SLE","SOS","SRD","STN","SVC","SZL","THB","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","UYU","UZS","VEF","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW","AFN","KPW","LRD","LSL","STD","SYP","TJS","ZMK","ZWD","SLL","MGA","HRK","CDF","BTN","BIF"],"type":"string"},"reportGroup":{"oneOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},"uniqueKey":"subscriptions.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions","typeLabel":"object[] | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"example":{"merchantCustomerRefId":null,"firstName":"John","lastName":"Doe","email":null,"billingAddresses":[{"addressId":null,"addressLine1":"100 Main Street","addressLine2":"","city":"Santa Ana","state":"CA","postalCode":"90000","phoneNumber":null,"email":null,"country":"US"}],"shippingAddresses":[{"addressId":null,"addressLine1":"101 First Street","addressLine2":"","city":"Costa Mesa","state":"CA","postalCode":"90001","phoneNumber":null,"email":null,"country":"US"}],"subscriptions":[{"paymentMethods":[{"priority":0,"taxAmount":null,"originalNetworkTransactionId":null,"billingAddress":{"addressId":null,"addressLine1":"100 Main Street","addressLine2":"","city":"Irvine","state":"CA","postalCode":"92602","phoneNumber":null,"email":null,"country":"US"},"creditCard":{"paymentAccountNumber":"4111111111111111","expirationDate":"1025","securityCode":null,"networkToken":null},"ach":null,"googlePay":null,"applePay":null,"merchantPaymentMethodRefId":null,"billingFirstName":"John","billingLastName":"Doe","billingFullName":null}],"existingPaymentMethod":null,"merchantSubscriptionRefId":"1234-5678-9101","billingFrequency":{"intervalType":"Days","intervalCount":1},"subscriptionStatusType":"current","subscriptionCancelType":"EndOfCycle","startDate":"2026-10-12T00:00:00Z","trialDuration":0,"trialDurationType":"Days","taxAddress":{"addressId":null,"addressLine1":"101 Update Street","addressLine2":"","city":"Irvine","state":"CA","postalCode":"92602","phoneNumber":null,"email":null,"country":"US"},"includeRawProcessorResponse":false,"customer":null,"subscriptionBillingPlans":[{"name":"Billing Plan 1","value":10.99,"cycleCount":-1,"valueType":"Standard","startCycleDelay":0},{"name":"Billing Plan 2","value":14.99,"cycleCount":12,"valueType":"Standard","startCycleDelay":1}],"recycleImmediatePayment":false,"currency":"USD","reportGroup":null}]},"examples":{"Example":{"title":"Example","value":{"merchantCustomerRefId":null,"firstName":"John","lastName":"Doe","email":null,"billingAddresses":[{"addressId":null,"addressLine1":"100 Main Street","addressLine2":"","city":"Santa Ana","state":"CA","postalCode":"90000","phoneNumber":null,"email":null,"country":"US"}],"shippingAddresses":[{"addressId":null,"addressLine1":"101 First Street","addressLine2":"","city":"Costa Mesa","state":"CA","postalCode":"90001","phoneNumber":null,"email":null,"country":"US"}],"subscriptions":[{"paymentMethods":[{"priority":0,"taxAmount":null,"originalNetworkTransactionId":null,"billingAddress":{"addressId":null,"addressLine1":"100 Main Street","addressLine2":"","city":"Irvine","state":"CA","postalCode":"92602","phoneNumber":null,"email":null,"country":"US"},"creditCard":{"paymentAccountNumber":"4111111111111111","expirationDate":"1025","securityCode":null,"networkToken":null},"ach":null,"googlePay":null,"applePay":null,"merchantPaymentMethodRefId":null,"billingFirstName":"John","billingLastName":"Doe","billingFullName":null}],"existingPaymentMethod":null,"merchantSubscriptionRefId":"1234-5678-9101","billingFrequency":{"intervalType":"Days","intervalCount":1},"subscriptionStatusType":"current","subscriptionCancelType":"EndOfCycle","startDate":"2026-10-12T00:00:00Z","trialDuration":0,"trialDurationType":"Days","taxAddress":{"addressId":null,"addressLine1":"101 Update Street","addressLine2":"","city":"Irvine","state":"CA","postalCode":"92602","phoneNumber":null,"email":null,"country":"US"},"includeRawProcessorResponse":false,"customer":null,"subscriptionBillingPlans":[{"name":"Billing Plan 1","value":10.99,"cycleCount":-1,"valueType":"Standard","startCycleDelay":0},{"name":"Billing Plan 2","value":14.99,"cycleCount":12,"valueType":"Standard","startCycleDelay":1}],"recycleImmediatePayment":false,"currency":"USD","reportGroup":null}]}}},"exampleType":"examples"},"text/json":{"schema":{"required":["firstName","lastName"],"type":"object","properties":{"firstName":{"maxLength":150,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"firstName","typeLabel":"string"},"lastName":{"maxLength":150,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"lastName","typeLabel":"string"},"merchantCustomerRefId":{"oneOf":[{"maxLength":100,"type":"string","uniqueKey":"merchantCustomerRefId.oneOf.0","typeLabel":"string"},{"maxLength":100,"type":"null","uniqueKey":"merchantCustomerRefId.oneOf.1","typeLabel":"null"}],"uniqueKey":"merchantCustomerRefId","typeLabel":"string | null"},"email":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string","format":"email","uniqueKey":"email.oneOf.0","typeLabel":"string\u003cemail>"},{"maxLength":100,"minLength":0,"type":"null","format":"email","uniqueKey":"email.oneOf.1","typeLabel":"null"}],"uniqueKey":"email","typeLabel":"string\u003cemail> | null"},"billingAddresses":{"oneOf":[{"maxItems":10,"type":"array","items":{"type":"object","properties":{"addressLine1":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"Address.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].addressLine1.oneOf.0","typeLabel":"string"},{"maxLength":3000,"minLength":0,"type":"null","description":"Address.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].addressLine1.oneOf.1","typeLabel":"null"}],"uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].addressLine1","typeLabel":"string | null"},"addressLine2":{"maxLength":3000,"minLength":0,"type":"string","description":"Supplemental information for the address.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].addressLine2","typeLabel":"string"},"city":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"City.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].city.oneOf.0","typeLabel":"string"},{"maxLength":3000,"minLength":0,"type":"null","description":"City.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].city.oneOf.1","typeLabel":"null"}],"uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].city","typeLabel":"string | null"},"state":{"oneOf":[{"maxLength":2,"minLength":0,"type":"string","description":"State.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].state.oneOf.0","typeLabel":"string"},{"maxLength":2,"minLength":0,"type":"null","description":"State.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].state.oneOf.1","typeLabel":"null"}],"uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].state","typeLabel":"string | null"},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].postalCode.oneOf.0","typeLabel":"string"},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].postalCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].postalCode","typeLabel":"string | null"},"phoneNumber":{"maxLength":20,"minLength":7,"pattern":"^(?=.*\\d)\\+?[0-9\\s\\-\\(\\)\\.]{7,20}$","type":"string","description":"The phone number associated with a payment method that is used for billing purposes.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].phoneNumber","typeLabel":"string"},"email":{"maxLength":3000,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].email","typeLabel":"string\u003cemail>"},"country":{"maxLength":2,"minLength":0,"type":"string","description":"The input must be a valid Alpha2 code, Alpha3 code, UN code, or full country name.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].country","typeLabel":"string"},"addressId":{"maximum":1000000000,"minimum":1,"type":"integer","description":"The unique identifier of the address.","format":"int64","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].addressId","typeLabel":"integer\u003cint64>"}},"additionalProperties":false,"uniqueKey":"billingAddresses.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"billingAddresses.oneOf.0","typeLabel":"object[]"},{"maxItems":10,"type":"null","items":{"type":"object","properties":{"addressLine1":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"Address."},{"maxLength":3000,"minLength":0,"type":"null","description":"Address."}]},"addressLine2":{"maxLength":3000,"minLength":0,"type":"string","description":"Supplemental information for the address."},"city":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"City."},{"maxLength":3000,"minLength":0,"type":"null","description":"City."}]},"state":{"oneOf":[{"maxLength":2,"minLength":0,"type":"string","description":"State."},{"maxLength":2,"minLength":0,"type":"null","description":"State."}]},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code."},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code."}]},"phoneNumber":{"maxLength":20,"minLength":7,"pattern":"^(?=.*\\d)\\+?[0-9\\s\\-\\(\\)\\.]{7,20}$","type":"string","description":"The phone number associated with a payment method that is used for billing purposes."},"email":{"maxLength":3000,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email"},"country":{"maxLength":2,"minLength":0,"type":"string","description":"The input must be a valid Alpha2 code, Alpha3 code, UN code, or full country name."},"addressId":{"maximum":1000000000,"minimum":1,"type":"integer","description":"The unique identifier of the address.","format":"int64"}},"additionalProperties":false},"uniqueKey":"billingAddresses.oneOf.1","typeLabel":"null"}],"uniqueKey":"billingAddresses","typeLabel":"object[] | null"},"shippingAddresses":{"oneOf":[{"maxItems":10,"type":"array","items":{"type":"object","properties":{"addressLine1":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"Address.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].addressLine1.oneOf.0","typeLabel":"string"},{"maxLength":3000,"minLength":0,"type":"null","description":"Address.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].addressLine1.oneOf.1","typeLabel":"null"}],"uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].addressLine1","typeLabel":"string | null"},"addressLine2":{"maxLength":3000,"minLength":0,"type":"string","description":"Supplemental information for the address.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].addressLine2","typeLabel":"string"},"city":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"City.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].city.oneOf.0","typeLabel":"string"},{"maxLength":3000,"minLength":0,"type":"null","description":"City.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].city.oneOf.1","typeLabel":"null"}],"uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].city","typeLabel":"string | null"},"state":{"oneOf":[{"maxLength":2,"minLength":0,"type":"string","description":"State.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].state.oneOf.0","typeLabel":"string"},{"maxLength":2,"minLength":0,"type":"null","description":"State.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].state.oneOf.1","typeLabel":"null"}],"uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].state","typeLabel":"string | null"},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].postalCode.oneOf.0","typeLabel":"string"},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].postalCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].postalCode","typeLabel":"string | null"},"phoneNumber":{"maxLength":20,"minLength":7,"pattern":"^(?=.*\\d)\\+?[0-9\\s\\-\\(\\)\\.]{7,20}$","type":"string","description":"The phone number associated with a payment method that is used for billing purposes.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].phoneNumber","typeLabel":"string"},"email":{"maxLength":3000,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].email","typeLabel":"string\u003cemail>"},"country":{"maxLength":2,"minLength":0,"type":"string","description":"The input must be a valid Alpha2 code, Alpha3 code, UN code, or full country name.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].country","typeLabel":"string"},"addressId":{"maximum":1000000000,"minimum":1,"type":"integer","description":"The unique identifier of the address.","format":"int64","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].addressId","typeLabel":"integer\u003cint64>"}},"additionalProperties":false,"uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"shippingAddresses.oneOf.0","typeLabel":"object[]"},{"maxItems":10,"type":"null","items":{"type":"object","properties":{"addressLine1":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"Address."},{"maxLength":3000,"minLength":0,"type":"null","description":"Address."}]},"addressLine2":{"maxLength":3000,"minLength":0,"type":"string","description":"Supplemental information for the address."},"city":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"City."},{"maxLength":3000,"minLength":0,"type":"null","description":"City."}]},"state":{"oneOf":[{"maxLength":2,"minLength":0,"type":"string","description":"State."},{"maxLength":2,"minLength":0,"type":"null","description":"State."}]},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code."},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code."}]},"phoneNumber":{"maxLength":20,"minLength":7,"pattern":"^(?=.*\\d)\\+?[0-9\\s\\-\\(\\)\\.]{7,20}$","type":"string","description":"The phone number associated with a payment method that is used for billing purposes."},"email":{"maxLength":3000,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email"},"country":{"maxLength":2,"minLength":0,"type":"string","description":"The input must be a valid Alpha2 code, Alpha3 code, UN code, or full country name."},"addressId":{"maximum":1000000000,"minimum":1,"type":"integer","description":"The unique identifier of the address.","format":"int64"}},"additionalProperties":false},"uniqueKey":"shippingAddresses.oneOf.1","typeLabel":"null"}],"uniqueKey":"shippingAddresses","typeLabel":"object[] | null"},"subscriptions":{"oneOf":[{"type":"array","items":{"required":["billingFrequency","customer","startDate","subscriptionBillingPlans","subscriptionCancelType","subscriptionStatusType","trialDuration"],"type":"object","properties":{"billingFrequency":{"required":["intervalType"],"type":"object","properties":{"intervalType":{"enum":["Days","Weeks","Months","Years"],"type":"string","isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingFrequency.intervalType","typeLabel":"enum\u003cstring>"},"intervalCount":{"maximum":366,"minimum":1,"type":"integer","format":"int32","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingFrequency.intervalCount","typeLabel":"integer\u003cint32>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingFrequency","typeLabel":"object"},"subscriptionStatusType":{"maxLength":50,"minLength":0,"type":"string","default":"Current","isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionStatusType","typeLabel":"string"},"subscriptionCancelType":{"maxLength":50,"minLength":0,"type":"string","default":"EndOfCycle","isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionCancelType","typeLabel":"string"},"startDate":{"oneOf":[{"maxLength":40,"type":"string","description":"Evaluated in UTC (not the merchant timezone). A date (`YYYY-MM-DD`) or datetime (`YYYY-MM-DDThh:mm:ss`) is accepted; a trailing `Z` is not required. Treat today as the current UTC date when deciding bill-on-create vs later.","format":"date-time","default":"Today's date","isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].startDate.oneOf.0","typeLabel":"string\u003cdate-time>"},{"maxLength":40,"type":"null","description":"Evaluated in UTC (not the merchant timezone). A date (`YYYY-MM-DD`) or datetime (`YYYY-MM-DDThh:mm:ss`) is accepted; a trailing `Z` is not required. Treat today as the current UTC date when deciding bill-on-create vs later.","format":"date-time","default":"Today's date","isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].startDate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].startDate","typeLabel":"string\u003cdate-time> | null"},"trialDuration":{"minimum":0,"type":"integer","format":"int32","default":0,"isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].trialDuration","typeLabel":"integer\u003cint32>"},"customer":{"type":"object","properties":{"id":{"oneOf":[{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].customer.id.oneOf.0","typeLabel":"integer\u003cint64>"},{"maximum":1000000000,"minimum":1,"type":"null","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].customer.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].customer.id","typeLabel":"integer\u003cint64> | null"},"firstName":{"oneOf":[{"maxLength":150,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].customer.firstName.oneOf.0","typeLabel":"string"},{"maxLength":150,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].customer.firstName.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].customer.firstName","typeLabel":"string | null"},"lastName":{"oneOf":[{"maxLength":150,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].customer.lastName.oneOf.0","typeLabel":"string"},{"maxLength":150,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].customer.lastName.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].customer.lastName","typeLabel":"string | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].customer","typeLabel":"object"},"subscriptionBillingPlans":{"type":"array","items":{"required":["cycleCount","name","startCycleDelay","value","valueType"],"type":"object","properties":{"name":{"maxLength":100,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionBillingPlans.items.[INDEX].name","typeLabel":"string"},"value":{"maximum":10000000,"minimum":0,"type":"number","format":"double","isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionBillingPlans.items.[INDEX].value","typeLabel":"number\u003cdouble>"},"cycleCount":{"maximum":100,"minimum":-1,"type":"integer","format":"int32","default":-1,"isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionBillingPlans.items.[INDEX].cycleCount","typeLabel":"integer\u003cint32>"},"valueType":{"maxLength":50,"minLength":1,"type":"string","default":"Standard","isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionBillingPlans.items.[INDEX].valueType","typeLabel":"string"},"startCycleDelay":{"maximum":1000000000,"minimum":0,"type":"integer","format":"int32","default":0,"isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionBillingPlans.items.[INDEX].startCycleDelay","typeLabel":"integer\u003cint32>"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionBillingPlans.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionBillingPlans","typeLabel":"object[]"},"paymentMethods":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"billingFirstName":{"maxLength":100,"minLength":0,"type":"string","description":"**Conditional**: either both BillingFirstName and BillingLastName or BillingFullName must be provided.\r\n\r\nThe customer’s first name associated with a payment method that is used for billing purposes.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingFirstName","typeLabel":"string"},"billingLastName":{"maxLength":100,"minLength":0,"type":"string","description":"**Conditional**: either both BillingFirstName and BillingLastName or BillingFullName must be provided.\r\n\r\nThe customer’s last name associated with a payment method that is used for billing purposes.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingLastName","typeLabel":"string"},"billingFullName":{"maxLength":200,"minLength":0,"type":"string","description":"**Conditional**: either BillingFullName or both BillingFirstName and BillingLastName must be provided.\r\n\r\nThe customer’s full name associated with a payment method that is used for billing purposes. ","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingFullName","typeLabel":"string"},"billingAddress":{"type":"object","description":"The address associated with a payment method that is used for billing purposes. Either an Address ID or detailed address information can be provided.","properties":{"addressLine1":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"Address.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.addressLine1.oneOf.0","typeLabel":"string"},{"maxLength":3000,"minLength":0,"type":"null","description":"Address.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.addressLine1.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.addressLine1","typeLabel":"string | null"},"addressLine2":{"maxLength":3000,"minLength":0,"type":"string","description":"Supplemental information for the address.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.addressLine2","typeLabel":"string"},"city":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"City.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.city.oneOf.0","typeLabel":"string"},{"maxLength":3000,"minLength":0,"type":"null","description":"City.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.city","typeLabel":"string | null"},"state":{"oneOf":[{"maxLength":2,"minLength":0,"type":"string","description":"State.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.state.oneOf.0","typeLabel":"string"},{"maxLength":2,"minLength":0,"type":"null","description":"State.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.state","typeLabel":"string | null"},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.postalCode.oneOf.0","typeLabel":"string"},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.postalCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.postalCode","typeLabel":"string | null"},"phoneNumber":{"maxLength":20,"minLength":7,"pattern":"^(?=.*\\d)\\+?[0-9\\s\\-\\(\\)\\.]{7,20}$","type":"string","description":"The phone number associated with a payment method that is used for billing purposes.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.phoneNumber","typeLabel":"string"},"email":{"maxLength":3000,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.email","typeLabel":"string\u003cemail>"},"country":{"maxLength":2,"minLength":0,"type":"string","description":"The input must be a valid Alpha2 code, Alpha3 code, UN code, or full country name.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.country","typeLabel":"string"},"addressId":{"maximum":1000000000,"minimum":1,"type":"integer","description":"The unique identifier of the address.","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.addressId","typeLabel":"integer\u003cint64>"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress","typeLabel":"object"},"creditCard":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nPayment card information.","properties":{"paymentAccountNumber":{"maxLength":19,"minLength":8,"type":"string","description":"**Conditional**: the PAN is required if the credit card payment method type is supplied in the request.\r\nThe number must be a valid credit card number and will be verified using the Luhn algorithm. Minimum length of 8 characters. Maximum length of 25 characters.\r\n\r\nPayment Account Number (PAN).","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.paymentAccountNumber","typeLabel":"string"},"expirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"**Conditional**: the expiration date is required if the credit card payment method type is supplied in the request.\r\n\r\nThe card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.expirationDate","typeLabel":"string\u003cMMYY, MM/YY, MMYYYY, or MM/YYYY>"},"securityCode":{"maxLength":4,"minLength":3,"type":"string","description":"The card verification code. It is considered best practice to always include this value for card-not-present transactions.\r\n\r\nFailure to do so may lead to higher rates of declines, an increase in chargeback cases, and/or transaction downgrades.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.securityCode","typeLabel":"string"},"networkToken":{"type":"object","description":"External Network Token information.","properties":{"token":{"maxLength":19,"type":"string","description":"Network token issued by a card network for a card.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.networkToken.token","typeLabel":"string"},"cryptogram":{"maxLength":40,"type":"string","description":"One-time digital “stamp” of payment. Needed for all CIT (customer-initiated transactions), and the cryptogram will have to be generated by the same TR-TSP that provisioned the token.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.networkToken.cryptogram","typeLabel":"string"},"electronicCommerceIndicator":{"maxLength":2,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.networkToken.electronicCommerceIndicator","typeLabel":"string"},"paymentAccountReference":{"maxLength":100,"type":"string","description":"A permanent unique identifier of a payment account that a payment system assigns to a card and uses instead of a real PAN within network tokens.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.networkToken.paymentAccountReference","typeLabel":"string"},"expirationDate":{"oneOf":[{"maxLength":7,"minLength":0,"type":"string","description":"Expiration date of the network token.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.networkToken.expirationDate.oneOf.0","typeLabel":"string\u003cMMYY, MM/YY, MMYYYY, or MM/YYYY>"},{"maxLength":7,"minLength":0,"type":"null","description":"Expiration date of the network token.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.networkToken.expirationDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.networkToken.expirationDate","typeLabel":"string\u003cMMYY, MM/YY, MMYYYY, or MM/YYYY> | null"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.networkToken","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard","typeLabel":"object"},"ach":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nACH account information.","required":["accountNumber","routingNumber"],"properties":{"routingNumber":{"maxLength":9,"minLength":9,"pattern":"^[0-9]{9}$","type":"string","description":"**Conditional**: the routing number is required if the ACH payment method type is supplied in the request.\r\n\r\nThe 9-digit ACH routing number of the account.","isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].ach.routingNumber","typeLabel":"string"},"accountNumber":{"maxLength":17,"minLength":4,"pattern":"^[0-9]{4,17}$","type":"string","description":"**Conditional**: the account number is required if the ACH payment method type is supplied in the request.\r\nThe length should be between 4 and 17 characters.\r\n\r\nThe US bank account number from which the payment will be debited.","isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].ach.accountNumber","typeLabel":"string"},"accountType":{"maxLength":20,"type":"string","description":"**Conditional**: the account type is required if the ACH payment method type is supplied in the request.\r\n\r\nBank account type. Allowed values: Checking, Savings. Case-insensitive.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].ach.accountType","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].ach","typeLabel":"object"},"googlePay":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nGoogle Pay information.","properties":{"googlePayPaymentDataResponse":{"type":"string","description":"**Conditional**: the GooglePayPaymentDataResponse is required if the Google Pay payment method type is supplied in the request.\r\nMust contain the valid serialized JSON object.\r\n\r\nThe data returned by Google Pay.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].googlePay.googlePayPaymentDataResponse","typeLabel":"string"},"googlePayDecryptedPackage":{"type":"object","description":"The Google Pay token decrypted payment data.","properties":{"applicationPrimaryAccountNumber":{"maxLength":25,"minLength":13,"pattern":"^\\d+$","type":"string","description":"Device-specific account number of the card that funds this transaction.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].googlePay.googlePayDecryptedPackage.applicationPrimaryAccountNumber","typeLabel":"string"},"applicationExpirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"The card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].googlePay.googlePayDecryptedPackage.applicationExpirationDate","typeLabel":"string\u003cMMYY, MM/YY, MMYYYY, or MM/YYYY>"},"electronicCommerceIndicator":{"maxLength":2,"minLength":0,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].googlePay.googlePayDecryptedPackage.electronicCommerceIndicator","typeLabel":"string"},"onlinePaymentCryptogram":{"maxLength":512,"minLength":0,"type":"string","description":"Decrypted package online payment cryptogram for a digital wallet.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].googlePay.googlePayDecryptedPackage.onlinePaymentCryptogram","typeLabel":"string"},"cardBrand":{"type":"string","description":"Specifies the payment method's card brand.\r\n\r\nPossible values: Visa, Mastercard, Amex, Discover, JCB, Diners.","enum":["Visa","Mastercard","Amex","Discover","JCB","Diners"],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].googlePay.googlePayDecryptedPackage.cardBrand","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].googlePay.googlePayDecryptedPackage","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].googlePay","typeLabel":"object"},"applePay":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nApple Pay information. If you have encrypted Apple Pay token data use ApplePayToken for further payments. If you have Decrypted Apple Pay token data use ApplePayDecryptedPackage.","properties":{"applePayToken":{"oneOf":[{"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay.applePayToken.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay.applePayToken.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay.applePayToken","typeLabel":"string | null"},"applePayDecryptedPackage":{"type":"object","description":"The Apple Pay token decrypted payment data.","properties":{"applicationPrimaryAccountNumber":{"maxLength":25,"minLength":13,"pattern":"^\\d+$","type":"string","description":"Device-specific account number of the card that funds this transaction.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay.applePayDecryptedPackage.applicationPrimaryAccountNumber","typeLabel":"string"},"applicationExpirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"The card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay.applePayDecryptedPackage.applicationExpirationDate","typeLabel":"string\u003cMMYY, MM/YY, MMYYYY, or MM/YYYY>"},"electronicCommerceIndicator":{"maxLength":2,"minLength":0,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay.applePayDecryptedPackage.electronicCommerceIndicator","typeLabel":"string"},"onlinePaymentCryptogram":{"maxLength":512,"minLength":1,"type":"string","description":"Decrypted package online payment cryptogram for a digital wallet.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay.applePayDecryptedPackage.onlinePaymentCryptogram","typeLabel":"string"},"deviceManufacturerIdentifier":{"maxLength":20,"minLength":1,"type":"string","description":"Hex-encoded device manufacturer identifier.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay.applePayDecryptedPackage.deviceManufacturerIdentifier","typeLabel":"string"},"cardBrand":{"type":"string","description":"Specifies the payment method's card brand.\r\n\r\nPossible values: Visa, Mastercard, Amex, Discover, JCB, Diners.","enum":["Visa","Mastercard","Amex","Discover","JCB","Diners"],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay.applePayDecryptedPackage.cardBrand","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay.applePayDecryptedPackage","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay","typeLabel":"object"},"merchantPaymentMethodRefId":{"maxLength":100,"type":"string","description":"Merchant's unique identifier for the payment method.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].merchantPaymentMethodRefId","typeLabel":"string"},"priority":{"oneOf":[{"maximum":1000000000,"minimum":0,"type":"integer","format":"int32","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].priority.oneOf.0","typeLabel":"integer\u003cint32>"},{"maximum":1000000000,"minimum":0,"type":"null","format":"int32","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].priority.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].priority","typeLabel":"integer\u003cint32> | null"},"taxAmount":{"oneOf":[{"maximum":10000000,"minimum":0,"type":"number","format":"double","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].taxAmount.oneOf.0","typeLabel":"number\u003cdouble>"},{"maximum":10000000,"minimum":0,"type":"null","format":"double","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].taxAmount.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].taxAmount","typeLabel":"number\u003cdouble> | null"},"originalNetworkTransactionId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].originalNetworkTransactionId.oneOf.0","typeLabel":"string"},{"maxLength":100,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].originalNetworkTransactionId.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].originalNetworkTransactionId","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"billingFirstName":{"maxLength":100,"minLength":0,"type":"string","description":"**Conditional**: either both BillingFirstName and BillingLastName or BillingFullName must be provided.\r\n\r\nThe customer’s first name associated with a payment method that is used for billing purposes."},"billingLastName":{"maxLength":100,"minLength":0,"type":"string","description":"**Conditional**: either both BillingFirstName and BillingLastName or BillingFullName must be provided.\r\n\r\nThe customer’s last name associated with a payment method that is used for billing purposes."},"billingFullName":{"maxLength":200,"minLength":0,"type":"string","description":"**Conditional**: either BillingFullName or both BillingFirstName and BillingLastName must be provided.\r\n\r\nThe customer’s full name associated with a payment method that is used for billing purposes. "},"billingAddress":{"type":"object","description":"The address associated with a payment method that is used for billing purposes. Either an Address ID or detailed address information can be provided.","properties":{"addressLine1":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"Address."},{"maxLength":3000,"minLength":0,"type":"null","description":"Address."}]},"addressLine2":{"maxLength":3000,"minLength":0,"type":"string","description":"Supplemental information for the address."},"city":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"City."},{"maxLength":3000,"minLength":0,"type":"null","description":"City."}]},"state":{"oneOf":[{"maxLength":2,"minLength":0,"type":"string","description":"State."},{"maxLength":2,"minLength":0,"type":"null","description":"State."}]},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code."},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code."}]},"phoneNumber":{"maxLength":20,"minLength":7,"pattern":"^(?=.*\\d)\\+?[0-9\\s\\-\\(\\)\\.]{7,20}$","type":"string","description":"The phone number associated with a payment method that is used for billing purposes."},"email":{"maxLength":3000,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email"},"country":{"maxLength":2,"minLength":0,"type":"string","description":"The input must be a valid Alpha2 code, Alpha3 code, UN code, or full country name."},"addressId":{"maximum":1000000000,"minimum":1,"type":"integer","description":"The unique identifier of the address.","format":"int64"}},"additionalProperties":false},"creditCard":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nPayment card information.","properties":{"paymentAccountNumber":{"maxLength":19,"minLength":8,"type":"string","description":"**Conditional**: the PAN is required if the credit card payment method type is supplied in the request.\r\nThe number must be a valid credit card number and will be verified using the Luhn algorithm. Minimum length of 8 characters. Maximum length of 25 characters.\r\n\r\nPayment Account Number (PAN)."},"expirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"**Conditional**: the expiration date is required if the credit card payment method type is supplied in the request.\r\n\r\nThe card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},"securityCode":{"maxLength":4,"minLength":3,"type":"string","description":"The card verification code. It is considered best practice to always include this value for card-not-present transactions.\r\n\r\nFailure to do so may lead to higher rates of declines, an increase in chargeback cases, and/or transaction downgrades."},"networkToken":{"type":"object","description":"External Network Token information.","properties":{"token":{"maxLength":19,"type":"string","description":"Network token issued by a card network for a card."},"cryptogram":{"maxLength":40,"type":"string","description":"One-time digital “stamp” of payment. Needed for all CIT (customer-initiated transactions), and the cryptogram will have to be generated by the same TR-TSP that provisioned the token."},"electronicCommerceIndicator":{"maxLength":2,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied."},"paymentAccountReference":{"maxLength":100,"type":"string","description":"A permanent unique identifier of a payment account that a payment system assigns to a card and uses instead of a real PAN within network tokens."},"expirationDate":{"oneOf":[{"maxLength":7,"minLength":0,"type":"string","description":"Expiration date of the network token.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},{"maxLength":7,"minLength":0,"type":"null","description":"Expiration date of the network token.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"}]}},"additionalProperties":false}},"additionalProperties":false},"ach":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nACH account information.","required":["accountNumber","routingNumber"],"properties":{"routingNumber":{"maxLength":9,"minLength":9,"pattern":"^[0-9]{9}$","type":"string","description":"**Conditional**: the routing number is required if the ACH payment method type is supplied in the request.\r\n\r\nThe 9-digit ACH routing number of the account."},"accountNumber":{"maxLength":17,"minLength":4,"pattern":"^[0-9]{4,17}$","type":"string","description":"**Conditional**: the account number is required if the ACH payment method type is supplied in the request.\r\nThe length should be between 4 and 17 characters.\r\n\r\nThe US bank account number from which the payment will be debited."},"accountType":{"maxLength":20,"type":"string","description":"**Conditional**: the account type is required if the ACH payment method type is supplied in the request.\r\n\r\nBank account type. Allowed values: Checking, Savings. Case-insensitive."}},"additionalProperties":false},"googlePay":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nGoogle Pay information.","properties":{"googlePayPaymentDataResponse":{"type":"string","description":"**Conditional**: the GooglePayPaymentDataResponse is required if the Google Pay payment method type is supplied in the request.\r\nMust contain the valid serialized JSON object.\r\n\r\nThe data returned by Google Pay."},"googlePayDecryptedPackage":{"type":"object","description":"The Google Pay token decrypted payment data.","properties":{"applicationPrimaryAccountNumber":{"maxLength":25,"minLength":13,"pattern":"^\\d+$","type":"string","description":"Device-specific account number of the card that funds this transaction."},"applicationExpirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"The card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},"electronicCommerceIndicator":{"maxLength":2,"minLength":0,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied."},"onlinePaymentCryptogram":{"maxLength":512,"minLength":0,"type":"string","description":"Decrypted package online payment cryptogram for a digital wallet."},"cardBrand":{"type":"string","description":"Specifies the payment method's card brand.\r\n\r\nPossible values: Visa, Mastercard, Amex, Discover, JCB, Diners.","enum":["Visa","Mastercard","Amex","Discover","JCB","Diners"]}},"additionalProperties":false}},"additionalProperties":false},"applePay":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nApple Pay information. If you have encrypted Apple Pay token data use ApplePayToken for further payments. If you have Decrypted Apple Pay token data use ApplePayDecryptedPackage.","properties":{"applePayToken":{"oneOf":[{"type":"string"},{"type":"null"}]},"applePayDecryptedPackage":{"type":"object","description":"The Apple Pay token decrypted payment data.","properties":{"applicationPrimaryAccountNumber":{"maxLength":25,"minLength":13,"pattern":"^\\d+$","type":"string","description":"Device-specific account number of the card that funds this transaction."},"applicationExpirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"The card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},"electronicCommerceIndicator":{"maxLength":2,"minLength":0,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied."},"onlinePaymentCryptogram":{"maxLength":512,"minLength":1,"type":"string","description":"Decrypted package online payment cryptogram for a digital wallet."},"deviceManufacturerIdentifier":{"maxLength":20,"minLength":1,"type":"string","description":"Hex-encoded device manufacturer identifier."},"cardBrand":{"type":"string","description":"Specifies the payment method's card brand.\r\n\r\nPossible values: Visa, Mastercard, Amex, Discover, JCB, Diners.","enum":["Visa","Mastercard","Amex","Discover","JCB","Diners"]}},"additionalProperties":false}},"additionalProperties":false},"merchantPaymentMethodRefId":{"maxLength":100,"type":"string","description":"Merchant's unique identifier for the payment method."},"priority":{"oneOf":[{"maximum":1000000000,"minimum":0,"type":"integer","format":"int32"},{"maximum":1000000000,"minimum":0,"type":"null","format":"int32"}]},"taxAmount":{"oneOf":[{"maximum":10000000,"minimum":0,"type":"number","format":"double"},{"maximum":10000000,"minimum":0,"type":"null","format":"double"}]},"originalNetworkTransactionId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string"},{"maxLength":100,"minLength":0,"type":"null"}]}},"additionalProperties":false},"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods","typeLabel":"object[] | null"},"existingPaymentMethod":{"type":"object","properties":{"paymentMethodAuthorizationId":{"oneOf":[{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.paymentMethodAuthorizationId.oneOf.0","typeLabel":"integer\u003cint64>"},{"maximum":1000000000,"minimum":1,"type":"null","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.paymentMethodAuthorizationId.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.paymentMethodAuthorizationId","typeLabel":"integer\u003cint64> | null"},"paymentMethodId":{"oneOf":[{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.paymentMethodId.oneOf.0","typeLabel":"integer\u003cint64>"},{"maximum":1000000000,"minimum":1,"type":"null","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.paymentMethodId.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.paymentMethodId","typeLabel":"integer\u003cint64> | null"},"taxAmount":{"oneOf":[{"maximum":10000000,"minimum":0,"type":"number","format":"double","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.taxAmount.oneOf.0","typeLabel":"number\u003cdouble>"},{"maximum":10000000,"minimum":0,"type":"null","format":"double","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.taxAmount.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.taxAmount","typeLabel":"number\u003cdouble> | null"},"originalNetworkTransactionId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.originalNetworkTransactionId.oneOf.0","typeLabel":"string"},{"maxLength":100,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.originalNetworkTransactionId.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.originalNetworkTransactionId","typeLabel":"string | null"},"onlinePaymentCryptogram":{"maxLength":512,"minLength":0,"type":"string","description":"Decrypted package online payment cryptogram for a digital wallet.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.onlinePaymentCryptogram","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod","typeLabel":"object"},"merchantSubscriptionRefId":{"oneOf":[{"maxLength":100,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].merchantSubscriptionRefId.oneOf.0","typeLabel":"string"},{"maxLength":100,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].merchantSubscriptionRefId.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].merchantSubscriptionRefId","typeLabel":"string | null"},"trialDurationType":{"enum":["Days","Weeks","Months","Years"],"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].trialDurationType","typeLabel":"enum\u003cstring>"},"taxAddress":{"type":"object","properties":{"addressLine1":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"Address.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.addressLine1.oneOf.0","typeLabel":"string"},{"maxLength":3000,"minLength":0,"type":"null","description":"Address.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.addressLine1.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.addressLine1","typeLabel":"string | null"},"addressLine2":{"maxLength":3000,"minLength":0,"type":"string","description":"Supplemental information for the address.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.addressLine2","typeLabel":"string"},"city":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"City.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.city.oneOf.0","typeLabel":"string"},{"maxLength":3000,"minLength":0,"type":"null","description":"City.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.city","typeLabel":"string | null"},"state":{"oneOf":[{"maxLength":2,"minLength":0,"type":"string","description":"State.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.state.oneOf.0","typeLabel":"string"},{"maxLength":2,"minLength":0,"type":"null","description":"State.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.state","typeLabel":"string | null"},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.postalCode.oneOf.0","typeLabel":"string"},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.postalCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.postalCode","typeLabel":"string | null"},"phoneNumber":{"maxLength":20,"minLength":7,"pattern":"^(?=.*\\d)\\+?[0-9\\s\\-\\(\\)\\.]{7,20}$","type":"string","description":"The phone number associated with a payment method that is used for billing purposes.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.phoneNumber","typeLabel":"string"},"email":{"maxLength":3000,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.email","typeLabel":"string\u003cemail>"},"country":{"maxLength":2,"minLength":0,"type":"string","description":"The input must be a valid Alpha2 code, Alpha3 code, UN code, or full country name.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.country","typeLabel":"string"},"addressId":{"maximum":1000000000,"minimum":1,"type":"integer","description":"The unique identifier of the address.","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.addressId","typeLabel":"integer\u003cint64>"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress","typeLabel":"object"},"includeRawProcessorResponse":{"oneOf":[{"type":"boolean","default":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].includeRawProcessorResponse.oneOf.0","typeLabel":"boolean"},{"type":"null","default":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].includeRawProcessorResponse.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].includeRawProcessorResponse","typeLabel":"boolean | null"},"recycleImmediatePayment":{"oneOf":[{"type":"boolean","default":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].recycleImmediatePayment.oneOf.0","typeLabel":"boolean"},{"type":"null","default":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].recycleImmediatePayment.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].recycleImmediatePayment","typeLabel":"boolean | null"},"currency":{"enum":["USD","AED","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BMD","BND","BOB","BRL","BSD","BWP","BYN","BZD","CAD","CHF","CLP","CNH","CNY","COP","CRC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HTG","HUF","IDR","ILS","INR","IQD","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LYD","MAD","MDL","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SEK","SGD","SHP","SLE","SOS","SRD","STN","SVC","SZL","THB","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","UYU","UZS","VEF","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW","AFN","KPW","LRD","LSL","STD","SYP","TJS","ZMK","ZWD","SLL","MGA","HRK","CDF","BTN","BIF"],"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].currency","typeLabel":"enum\u003cstring>"},"reportGroup":{"oneOf":[{"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].reportGroup.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].reportGroup.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].reportGroup","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"subscriptions.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"required":["billingFrequency","customer","startDate","subscriptionBillingPlans","subscriptionCancelType","subscriptionStatusType","trialDuration"],"type":"object","properties":{"paymentMethods":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"billingFirstName":{"maxLength":100,"minLength":0,"type":"string","description":"**Conditional**: either both BillingFirstName and BillingLastName or BillingFullName must be provided.\r\n\r\nThe customer’s first name associated with a payment method that is used for billing purposes."},"billingLastName":{"maxLength":100,"minLength":0,"type":"string","description":"**Conditional**: either both BillingFirstName and BillingLastName or BillingFullName must be provided.\r\n\r\nThe customer’s last name associated with a payment method that is used for billing purposes."},"billingFullName":{"maxLength":200,"minLength":0,"type":"string","description":"**Conditional**: either BillingFullName or both BillingFirstName and BillingLastName must be provided.\r\n\r\nThe customer’s full name associated with a payment method that is used for billing purposes. "},"billingAddress":{"type":"object","description":"The address associated with a payment method that is used for billing purposes. Either an Address ID or detailed address information can be provided.","properties":{"addressLine1":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"Address."},{"maxLength":3000,"minLength":0,"type":"null","description":"Address."}]},"addressLine2":{"maxLength":3000,"minLength":0,"type":"string","description":"Supplemental information for the address."},"city":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"City."},{"maxLength":3000,"minLength":0,"type":"null","description":"City."}]},"state":{"oneOf":[{"maxLength":2,"minLength":0,"type":"string","description":"State."},{"maxLength":2,"minLength":0,"type":"null","description":"State."}]},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code."},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code."}]},"phoneNumber":{"maxLength":20,"minLength":7,"pattern":"^(?=.*\\d)\\+?[0-9\\s\\-\\(\\)\\.]{7,20}$","type":"string","description":"The phone number associated with a payment method that is used for billing purposes."},"email":{"maxLength":3000,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email"},"country":{"maxLength":2,"minLength":0,"type":"string","description":"The input must be a valid Alpha2 code, Alpha3 code, UN code, or full country name."},"addressId":{"maximum":1000000000,"minimum":1,"type":"integer","description":"The unique identifier of the address.","format":"int64"}},"additionalProperties":false},"creditCard":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nPayment card information.","properties":{"paymentAccountNumber":{"maxLength":19,"minLength":8,"type":"string","description":"**Conditional**: the PAN is required if the credit card payment method type is supplied in the request.\r\nThe number must be a valid credit card number and will be verified using the Luhn algorithm. Minimum length of 8 characters. Maximum length of 25 characters.\r\n\r\nPayment Account Number (PAN)."},"expirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"**Conditional**: the expiration date is required if the credit card payment method type is supplied in the request.\r\n\r\nThe card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},"securityCode":{"maxLength":4,"minLength":3,"type":"string","description":"The card verification code. It is considered best practice to always include this value for card-not-present transactions.\r\n\r\nFailure to do so may lead to higher rates of declines, an increase in chargeback cases, and/or transaction downgrades."},"networkToken":{"type":"object","description":"External Network Token information.","properties":{"token":{"maxLength":19,"type":"string","description":"Network token issued by a card network for a card."},"cryptogram":{"maxLength":40,"type":"string","description":"One-time digital “stamp” of payment. Needed for all CIT (customer-initiated transactions), and the cryptogram will have to be generated by the same TR-TSP that provisioned the token."},"electronicCommerceIndicator":{"maxLength":2,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied."},"paymentAccountReference":{"maxLength":100,"type":"string","description":"A permanent unique identifier of a payment account that a payment system assigns to a card and uses instead of a real PAN within network tokens."},"expirationDate":{"oneOf":[{"maxLength":7,"minLength":0,"type":"string","description":"Expiration date of the network token.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},{"maxLength":7,"minLength":0,"type":"null","description":"Expiration date of the network token.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"}]}},"additionalProperties":false}},"additionalProperties":false},"ach":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nACH account information.","required":["accountNumber","routingNumber"],"properties":{"routingNumber":{"maxLength":9,"minLength":9,"pattern":"^[0-9]{9}$","type":"string","description":"**Conditional**: the routing number is required if the ACH payment method type is supplied in the request.\r\n\r\nThe 9-digit ACH routing number of the account."},"accountNumber":{"maxLength":17,"minLength":4,"pattern":"^[0-9]{4,17}$","type":"string","description":"**Conditional**: the account number is required if the ACH payment method type is supplied in the request.\r\nThe length should be between 4 and 17 characters.\r\n\r\nThe US bank account number from which the payment will be debited."},"accountType":{"maxLength":20,"type":"string","description":"**Conditional**: the account type is required if the ACH payment method type is supplied in the request.\r\n\r\nBank account type. Allowed values: Checking, Savings. Case-insensitive."}},"additionalProperties":false},"googlePay":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nGoogle Pay information.","properties":{"googlePayPaymentDataResponse":{"type":"string","description":"**Conditional**: the GooglePayPaymentDataResponse is required if the Google Pay payment method type is supplied in the request.\r\nMust contain the valid serialized JSON object.\r\n\r\nThe data returned by Google Pay."},"googlePayDecryptedPackage":{"type":"object","description":"The Google Pay token decrypted payment data.","properties":{"applicationPrimaryAccountNumber":{"maxLength":25,"minLength":13,"pattern":"^\\d+$","type":"string","description":"Device-specific account number of the card that funds this transaction."},"applicationExpirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"The card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},"electronicCommerceIndicator":{"maxLength":2,"minLength":0,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied."},"onlinePaymentCryptogram":{"maxLength":512,"minLength":0,"type":"string","description":"Decrypted package online payment cryptogram for a digital wallet."},"cardBrand":{"type":"string","description":"Specifies the payment method's card brand.\r\n\r\nPossible values: Visa, Mastercard, Amex, Discover, JCB, Diners.","enum":["Visa","Mastercard","Amex","Discover","JCB","Diners"]}},"additionalProperties":false}},"additionalProperties":false},"applePay":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nApple Pay information. If you have encrypted Apple Pay token data use ApplePayToken for further payments. If you have Decrypted Apple Pay token data use ApplePayDecryptedPackage.","properties":{"applePayToken":{"oneOf":[{"type":"string"},{"type":"null"}]},"applePayDecryptedPackage":{"type":"object","description":"The Apple Pay token decrypted payment data.","properties":{"applicationPrimaryAccountNumber":{"maxLength":25,"minLength":13,"pattern":"^\\d+$","type":"string","description":"Device-specific account number of the card that funds this transaction."},"applicationExpirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"The card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},"electronicCommerceIndicator":{"maxLength":2,"minLength":0,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied."},"onlinePaymentCryptogram":{"maxLength":512,"minLength":1,"type":"string","description":"Decrypted package online payment cryptogram for a digital wallet."},"deviceManufacturerIdentifier":{"maxLength":20,"minLength":1,"type":"string","description":"Hex-encoded device manufacturer identifier."},"cardBrand":{"type":"string","description":"Specifies the payment method's card brand.\r\n\r\nPossible values: Visa, Mastercard, Amex, Discover, JCB, Diners.","enum":["Visa","Mastercard","Amex","Discover","JCB","Diners"]}},"additionalProperties":false}},"additionalProperties":false},"merchantPaymentMethodRefId":{"maxLength":100,"type":"string","description":"Merchant's unique identifier for the payment method."},"priority":{"oneOf":[{"maximum":1000000000,"minimum":0,"type":"integer","format":"int32"},{"maximum":1000000000,"minimum":0,"type":"null","format":"int32"}]},"taxAmount":{"oneOf":[{"maximum":10000000,"minimum":0,"type":"number","format":"double"},{"maximum":10000000,"minimum":0,"type":"null","format":"double"}]},"originalNetworkTransactionId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string"},{"maxLength":100,"minLength":0,"type":"null"}]}},"additionalProperties":false}},{"type":"null","items":{"type":"object","properties":{"billingFirstName":{"maxLength":100,"minLength":0,"type":"string","description":"**Conditional**: either both BillingFirstName and BillingLastName or BillingFullName must be provided.\r\n\r\nThe customer’s first name associated with a payment method that is used for billing purposes."},"billingLastName":{"maxLength":100,"minLength":0,"type":"string","description":"**Conditional**: either both BillingFirstName and BillingLastName or BillingFullName must be provided.\r\n\r\nThe customer’s last name associated with a payment method that is used for billing purposes."},"billingFullName":{"maxLength":200,"minLength":0,"type":"string","description":"**Conditional**: either BillingFullName or both BillingFirstName and BillingLastName must be provided.\r\n\r\nThe customer’s full name associated with a payment method that is used for billing purposes. "},"billingAddress":{"type":"object","description":"The address associated with a payment method that is used for billing purposes. Either an Address ID or detailed address information can be provided.","properties":{"addressLine1":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"Address."},{"maxLength":3000,"minLength":0,"type":"null","description":"Address."}]},"addressLine2":{"maxLength":3000,"minLength":0,"type":"string","description":"Supplemental information for the address."},"city":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"City."},{"maxLength":3000,"minLength":0,"type":"null","description":"City."}]},"state":{"oneOf":[{"maxLength":2,"minLength":0,"type":"string","description":"State."},{"maxLength":2,"minLength":0,"type":"null","description":"State."}]},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code."},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code."}]},"phoneNumber":{"maxLength":20,"minLength":7,"pattern":"^(?=.*\\d)\\+?[0-9\\s\\-\\(\\)\\.]{7,20}$","type":"string","description":"The phone number associated with a payment method that is used for billing purposes."},"email":{"maxLength":3000,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email"},"country":{"maxLength":2,"minLength":0,"type":"string","description":"The input must be a valid Alpha2 code, Alpha3 code, UN code, or full country name."},"addressId":{"maximum":1000000000,"minimum":1,"type":"integer","description":"The unique identifier of the address.","format":"int64"}},"additionalProperties":false},"creditCard":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nPayment card information.","properties":{"paymentAccountNumber":{"maxLength":19,"minLength":8,"type":"string","description":"**Conditional**: the PAN is required if the credit card payment method type is supplied in the request.\r\nThe number must be a valid credit card number and will be verified using the Luhn algorithm. Minimum length of 8 characters. Maximum length of 25 characters.\r\n\r\nPayment Account Number (PAN)."},"expirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"**Conditional**: the expiration date is required if the credit card payment method type is supplied in the request.\r\n\r\nThe card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},"securityCode":{"maxLength":4,"minLength":3,"type":"string","description":"The card verification code. It is considered best practice to always include this value for card-not-present transactions.\r\n\r\nFailure to do so may lead to higher rates of declines, an increase in chargeback cases, and/or transaction downgrades."},"networkToken":{"type":"object","description":"External Network Token information.","properties":{"token":{"maxLength":19,"type":"string","description":"Network token issued by a card network for a card."},"cryptogram":{"maxLength":40,"type":"string","description":"One-time digital “stamp” of payment. Needed for all CIT (customer-initiated transactions), and the cryptogram will have to be generated by the same TR-TSP that provisioned the token."},"electronicCommerceIndicator":{"maxLength":2,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied."},"paymentAccountReference":{"maxLength":100,"type":"string","description":"A permanent unique identifier of a payment account that a payment system assigns to a card and uses instead of a real PAN within network tokens."},"expirationDate":{"oneOf":[{"maxLength":7,"minLength":0,"type":"string","description":"Expiration date of the network token.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},{"maxLength":7,"minLength":0,"type":"null","description":"Expiration date of the network token.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"}]}},"additionalProperties":false}},"additionalProperties":false},"ach":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nACH account information.","required":["accountNumber","routingNumber"],"properties":{"routingNumber":{"maxLength":9,"minLength":9,"pattern":"^[0-9]{9}$","type":"string","description":"**Conditional**: the routing number is required if the ACH payment method type is supplied in the request.\r\n\r\nThe 9-digit ACH routing number of the account."},"accountNumber":{"maxLength":17,"minLength":4,"pattern":"^[0-9]{4,17}$","type":"string","description":"**Conditional**: the account number is required if the ACH payment method type is supplied in the request.\r\nThe length should be between 4 and 17 characters.\r\n\r\nThe US bank account number from which the payment will be debited."},"accountType":{"maxLength":20,"type":"string","description":"**Conditional**: the account type is required if the ACH payment method type is supplied in the request.\r\n\r\nBank account type. Allowed values: Checking, Savings. Case-insensitive."}},"additionalProperties":false},"googlePay":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nGoogle Pay information.","properties":{"googlePayPaymentDataResponse":{"type":"string","description":"**Conditional**: the GooglePayPaymentDataResponse is required if the Google Pay payment method type is supplied in the request.\r\nMust contain the valid serialized JSON object.\r\n\r\nThe data returned by Google Pay."},"googlePayDecryptedPackage":{"type":"object","description":"The Google Pay token decrypted payment data.","properties":{"applicationPrimaryAccountNumber":{"maxLength":25,"minLength":13,"pattern":"^\\d+$","type":"string","description":"Device-specific account number of the card that funds this transaction."},"applicationExpirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"The card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},"electronicCommerceIndicator":{"maxLength":2,"minLength":0,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied."},"onlinePaymentCryptogram":{"maxLength":512,"minLength":0,"type":"string","description":"Decrypted package online payment cryptogram for a digital wallet."},"cardBrand":{"type":"string","description":"Specifies the payment method's card brand.\r\n\r\nPossible values: Visa, Mastercard, Amex, Discover, JCB, Diners.","enum":["Visa","Mastercard","Amex","Discover","JCB","Diners"]}},"additionalProperties":false}},"additionalProperties":false},"applePay":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nApple Pay information. If you have encrypted Apple Pay token data use ApplePayToken for further payments. If you have Decrypted Apple Pay token data use ApplePayDecryptedPackage.","properties":{"applePayToken":{"oneOf":[{"type":"string"},{"type":"null"}]},"applePayDecryptedPackage":{"type":"object","description":"The Apple Pay token decrypted payment data.","properties":{"applicationPrimaryAccountNumber":{"maxLength":25,"minLength":13,"pattern":"^\\d+$","type":"string","description":"Device-specific account number of the card that funds this transaction."},"applicationExpirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"The card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},"electronicCommerceIndicator":{"maxLength":2,"minLength":0,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied."},"onlinePaymentCryptogram":{"maxLength":512,"minLength":1,"type":"string","description":"Decrypted package online payment cryptogram for a digital wallet."},"deviceManufacturerIdentifier":{"maxLength":20,"minLength":1,"type":"string","description":"Hex-encoded device manufacturer identifier."},"cardBrand":{"type":"string","description":"Specifies the payment method's card brand.\r\n\r\nPossible values: Visa, Mastercard, Amex, Discover, JCB, Diners.","enum":["Visa","Mastercard","Amex","Discover","JCB","Diners"]}},"additionalProperties":false}},"additionalProperties":false},"merchantPaymentMethodRefId":{"maxLength":100,"type":"string","description":"Merchant's unique identifier for the payment method."},"priority":{"oneOf":[{"maximum":1000000000,"minimum":0,"type":"integer","format":"int32"},{"maximum":1000000000,"minimum":0,"type":"null","format":"int32"}]},"taxAmount":{"oneOf":[{"maximum":10000000,"minimum":0,"type":"number","format":"double"},{"maximum":10000000,"minimum":0,"type":"null","format":"double"}]},"originalNetworkTransactionId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string"},{"maxLength":100,"minLength":0,"type":"null"}]}},"additionalProperties":false}}]},"existingPaymentMethod":{"type":"object","properties":{"paymentMethodAuthorizationId":{"oneOf":[{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64"},{"maximum":1000000000,"minimum":1,"type":"null","format":"int64"}]},"paymentMethodId":{"oneOf":[{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64"},{"maximum":1000000000,"minimum":1,"type":"null","format":"int64"}]},"taxAmount":{"oneOf":[{"maximum":10000000,"minimum":0,"type":"number","format":"double"},{"maximum":10000000,"minimum":0,"type":"null","format":"double"}]},"originalNetworkTransactionId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string"},{"maxLength":100,"minLength":0,"type":"null"}]},"onlinePaymentCryptogram":{"maxLength":512,"minLength":0,"type":"string","description":"Decrypted package online payment cryptogram for a digital wallet."}},"additionalProperties":false},"merchantSubscriptionRefId":{"oneOf":[{"maxLength":100,"type":"string"},{"maxLength":100,"type":"null"}]},"billingFrequency":{"required":["intervalType"],"type":"object","properties":{"intervalType":{"enum":["Days","Weeks","Months","Years"],"type":"string"},"intervalCount":{"maximum":366,"minimum":1,"type":"integer","format":"int32"}},"additionalProperties":false},"subscriptionStatusType":{"maxLength":50,"minLength":0,"type":"string","default":"Current"},"subscriptionCancelType":{"maxLength":50,"minLength":0,"type":"string","default":"EndOfCycle"},"startDate":{"oneOf":[{"maxLength":40,"type":"string","description":"Evaluated in UTC (not the merchant timezone). A date (`YYYY-MM-DD`) or datetime (`YYYY-MM-DDThh:mm:ss`) is accepted; a trailing `Z` is not required. Treat today as the current UTC date when deciding bill-on-create vs later.","format":"date-time","default":"Today's date"},{"maxLength":40,"type":"null","description":"Evaluated in UTC (not the merchant timezone). A date (`YYYY-MM-DD`) or datetime (`YYYY-MM-DDThh:mm:ss`) is accepted; a trailing `Z` is not required. Treat today as the current UTC date when deciding bill-on-create vs later.","format":"date-time","default":"Today's date"}]},"trialDuration":{"minimum":0,"type":"integer","format":"int32","default":0},"trialDurationType":{"enum":["Days","Weeks","Months","Years"],"type":"string"},"taxAddress":{"type":"object","properties":{"addressLine1":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"Address."},{"maxLength":3000,"minLength":0,"type":"null","description":"Address."}]},"addressLine2":{"maxLength":3000,"minLength":0,"type":"string","description":"Supplemental information for the address."},"city":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"City."},{"maxLength":3000,"minLength":0,"type":"null","description":"City."}]},"state":{"oneOf":[{"maxLength":2,"minLength":0,"type":"string","description":"State."},{"maxLength":2,"minLength":0,"type":"null","description":"State."}]},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code."},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code."}]},"phoneNumber":{"maxLength":20,"minLength":7,"pattern":"^(?=.*\\d)\\+?[0-9\\s\\-\\(\\)\\.]{7,20}$","type":"string","description":"The phone number associated with a payment method that is used for billing purposes."},"email":{"maxLength":3000,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email"},"country":{"maxLength":2,"minLength":0,"type":"string","description":"The input must be a valid Alpha2 code, Alpha3 code, UN code, or full country name."},"addressId":{"maximum":1000000000,"minimum":1,"type":"integer","description":"The unique identifier of the address.","format":"int64"}},"additionalProperties":false},"includeRawProcessorResponse":{"oneOf":[{"type":"boolean","default":false},{"type":"null","default":false}]},"customer":{"type":"object","properties":{"id":{"oneOf":[{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64"},{"maximum":1000000000,"minimum":1,"type":"null","format":"int64"}]},"firstName":{"oneOf":[{"maxLength":150,"minLength":0,"type":"string"},{"maxLength":150,"minLength":0,"type":"null"}]},"lastName":{"oneOf":[{"maxLength":150,"minLength":0,"type":"string"},{"maxLength":150,"minLength":0,"type":"null"}]}},"additionalProperties":false},"subscriptionBillingPlans":{"type":"array","items":{"required":["cycleCount","name","startCycleDelay","value","valueType"],"type":"object","properties":{"name":{"maxLength":100,"minLength":1,"type":"string"},"value":{"maximum":10000000,"minimum":0,"type":"number","format":"double"},"cycleCount":{"maximum":100,"minimum":-1,"type":"integer","format":"int32","default":-1},"valueType":{"maxLength":50,"minLength":1,"type":"string","default":"Standard"},"startCycleDelay":{"maximum":1000000000,"minimum":0,"type":"integer","format":"int32","default":0}},"additionalProperties":false}},"recycleImmediatePayment":{"oneOf":[{"type":"boolean","default":false},{"type":"null","default":false}]},"currency":{"enum":["USD","AED","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BMD","BND","BOB","BRL","BSD","BWP","BYN","BZD","CAD","CHF","CLP","CNH","CNY","COP","CRC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HTG","HUF","IDR","ILS","INR","IQD","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LYD","MAD","MDL","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SEK","SGD","SHP","SLE","SOS","SRD","STN","SVC","SZL","THB","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","UYU","UZS","VEF","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW","AFN","KPW","LRD","LSL","STD","SYP","TJS","ZMK","ZWD","SLL","MGA","HRK","CDF","BTN","BIF"],"type":"string"},"reportGroup":{"oneOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},"uniqueKey":"subscriptions.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions","typeLabel":"object[] | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"example":{"merchantCustomerRefId":null,"firstName":"John","lastName":"Doe","email":null,"billingAddresses":[{"addressId":null,"addressLine1":"100 Main Street","addressLine2":"","city":"Santa Ana","state":"CA","postalCode":"90000","phoneNumber":null,"email":null,"country":"US"}],"shippingAddresses":[{"addressId":null,"addressLine1":"101 First Street","addressLine2":"","city":"Costa Mesa","state":"CA","postalCode":"90001","phoneNumber":null,"email":null,"country":"US"}],"subscriptions":[{"paymentMethods":[{"priority":0,"taxAmount":null,"originalNetworkTransactionId":null,"billingAddress":{"addressId":null,"addressLine1":"100 Main Street","addressLine2":"","city":"Irvine","state":"CA","postalCode":"92602","phoneNumber":null,"email":null,"country":"US"},"creditCard":{"paymentAccountNumber":"4111111111111111","expirationDate":"1025","securityCode":null,"networkToken":null},"ach":null,"googlePay":null,"applePay":null,"merchantPaymentMethodRefId":null,"billingFirstName":"John","billingLastName":"Doe","billingFullName":null}],"existingPaymentMethod":null,"merchantSubscriptionRefId":"1234-5678-9101","billingFrequency":{"intervalType":"Days","intervalCount":1},"subscriptionStatusType":"current","subscriptionCancelType":"EndOfCycle","startDate":"2026-10-12T00:00:00Z","trialDuration":0,"trialDurationType":"Days","taxAddress":{"addressId":null,"addressLine1":"101 Update Street","addressLine2":"","city":"Irvine","state":"CA","postalCode":"92602","phoneNumber":null,"email":null,"country":"US"},"includeRawProcessorResponse":false,"customer":null,"subscriptionBillingPlans":[{"name":"Billing Plan 1","value":10.99,"cycleCount":-1,"valueType":"Standard","startCycleDelay":0},{"name":"Billing Plan 2","value":14.99,"cycleCount":12,"valueType":"Standard","startCycleDelay":1}],"recycleImmediatePayment":false,"currency":"USD","reportGroup":null}]},"examples":{"Example":{"title":"Example","value":{"merchantCustomerRefId":null,"firstName":"John","lastName":"Doe","email":null,"billingAddresses":[{"addressId":null,"addressLine1":"100 Main Street","addressLine2":"","city":"Santa Ana","state":"CA","postalCode":"90000","phoneNumber":null,"email":null,"country":"US"}],"shippingAddresses":[{"addressId":null,"addressLine1":"101 First Street","addressLine2":"","city":"Costa Mesa","state":"CA","postalCode":"90001","phoneNumber":null,"email":null,"country":"US"}],"subscriptions":[{"paymentMethods":[{"priority":0,"taxAmount":null,"originalNetworkTransactionId":null,"billingAddress":{"addressId":null,"addressLine1":"100 Main Street","addressLine2":"","city":"Irvine","state":"CA","postalCode":"92602","phoneNumber":null,"email":null,"country":"US"},"creditCard":{"paymentAccountNumber":"4111111111111111","expirationDate":"1025","securityCode":null,"networkToken":null},"ach":null,"googlePay":null,"applePay":null,"merchantPaymentMethodRefId":null,"billingFirstName":"John","billingLastName":"Doe","billingFullName":null}],"existingPaymentMethod":null,"merchantSubscriptionRefId":"1234-5678-9101","billingFrequency":{"intervalType":"Days","intervalCount":1},"subscriptionStatusType":"current","subscriptionCancelType":"EndOfCycle","startDate":"2026-10-12T00:00:00Z","trialDuration":0,"trialDurationType":"Days","taxAddress":{"addressId":null,"addressLine1":"101 Update Street","addressLine2":"","city":"Irvine","state":"CA","postalCode":"92602","phoneNumber":null,"email":null,"country":"US"},"includeRawProcessorResponse":false,"customer":null,"subscriptionBillingPlans":[{"name":"Billing Plan 1","value":10.99,"cycleCount":-1,"valueType":"Standard","startCycleDelay":0},{"name":"Billing Plan 2","value":14.99,"cycleCount":12,"valueType":"Standard","startCycleDelay":1}],"recycleImmediatePayment":false,"currency":"USD","reportGroup":null}]}}},"exampleType":"examples"},"application/*+json":{"schema":{"required":["firstName","lastName"],"type":"object","properties":{"firstName":{"maxLength":150,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"firstName","typeLabel":"string"},"lastName":{"maxLength":150,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"lastName","typeLabel":"string"},"merchantCustomerRefId":{"oneOf":[{"maxLength":100,"type":"string","uniqueKey":"merchantCustomerRefId.oneOf.0","typeLabel":"string"},{"maxLength":100,"type":"null","uniqueKey":"merchantCustomerRefId.oneOf.1","typeLabel":"null"}],"uniqueKey":"merchantCustomerRefId","typeLabel":"string | null"},"email":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string","format":"email","uniqueKey":"email.oneOf.0","typeLabel":"string\u003cemail>"},{"maxLength":100,"minLength":0,"type":"null","format":"email","uniqueKey":"email.oneOf.1","typeLabel":"null"}],"uniqueKey":"email","typeLabel":"string\u003cemail> | null"},"billingAddresses":{"oneOf":[{"maxItems":10,"type":"array","items":{"type":"object","properties":{"addressLine1":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"Address.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].addressLine1.oneOf.0","typeLabel":"string"},{"maxLength":3000,"minLength":0,"type":"null","description":"Address.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].addressLine1.oneOf.1","typeLabel":"null"}],"uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].addressLine1","typeLabel":"string | null"},"addressLine2":{"maxLength":3000,"minLength":0,"type":"string","description":"Supplemental information for the address.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].addressLine2","typeLabel":"string"},"city":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"City.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].city.oneOf.0","typeLabel":"string"},{"maxLength":3000,"minLength":0,"type":"null","description":"City.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].city.oneOf.1","typeLabel":"null"}],"uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].city","typeLabel":"string | null"},"state":{"oneOf":[{"maxLength":2,"minLength":0,"type":"string","description":"State.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].state.oneOf.0","typeLabel":"string"},{"maxLength":2,"minLength":0,"type":"null","description":"State.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].state.oneOf.1","typeLabel":"null"}],"uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].state","typeLabel":"string | null"},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].postalCode.oneOf.0","typeLabel":"string"},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].postalCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].postalCode","typeLabel":"string | null"},"phoneNumber":{"maxLength":20,"minLength":7,"pattern":"^(?=.*\\d)\\+?[0-9\\s\\-\\(\\)\\.]{7,20}$","type":"string","description":"The phone number associated with a payment method that is used for billing purposes.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].phoneNumber","typeLabel":"string"},"email":{"maxLength":3000,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].email","typeLabel":"string\u003cemail>"},"country":{"maxLength":2,"minLength":0,"type":"string","description":"The input must be a valid Alpha2 code, Alpha3 code, UN code, or full country name.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].country","typeLabel":"string"},"addressId":{"maximum":1000000000,"minimum":1,"type":"integer","description":"The unique identifier of the address.","format":"int64","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].addressId","typeLabel":"integer\u003cint64>"}},"additionalProperties":false,"uniqueKey":"billingAddresses.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"billingAddresses.oneOf.0","typeLabel":"object[]"},{"maxItems":10,"type":"null","items":{"type":"object","properties":{"addressLine1":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"Address."},{"maxLength":3000,"minLength":0,"type":"null","description":"Address."}]},"addressLine2":{"maxLength":3000,"minLength":0,"type":"string","description":"Supplemental information for the address."},"city":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"City."},{"maxLength":3000,"minLength":0,"type":"null","description":"City."}]},"state":{"oneOf":[{"maxLength":2,"minLength":0,"type":"string","description":"State."},{"maxLength":2,"minLength":0,"type":"null","description":"State."}]},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code."},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code."}]},"phoneNumber":{"maxLength":20,"minLength":7,"pattern":"^(?=.*\\d)\\+?[0-9\\s\\-\\(\\)\\.]{7,20}$","type":"string","description":"The phone number associated with a payment method that is used for billing purposes."},"email":{"maxLength":3000,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email"},"country":{"maxLength":2,"minLength":0,"type":"string","description":"The input must be a valid Alpha2 code, Alpha3 code, UN code, or full country name."},"addressId":{"maximum":1000000000,"minimum":1,"type":"integer","description":"The unique identifier of the address.","format":"int64"}},"additionalProperties":false},"uniqueKey":"billingAddresses.oneOf.1","typeLabel":"null"}],"uniqueKey":"billingAddresses","typeLabel":"object[] | null"},"shippingAddresses":{"oneOf":[{"maxItems":10,"type":"array","items":{"type":"object","properties":{"addressLine1":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"Address.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].addressLine1.oneOf.0","typeLabel":"string"},{"maxLength":3000,"minLength":0,"type":"null","description":"Address.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].addressLine1.oneOf.1","typeLabel":"null"}],"uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].addressLine1","typeLabel":"string | null"},"addressLine2":{"maxLength":3000,"minLength":0,"type":"string","description":"Supplemental information for the address.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].addressLine2","typeLabel":"string"},"city":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"City.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].city.oneOf.0","typeLabel":"string"},{"maxLength":3000,"minLength":0,"type":"null","description":"City.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].city.oneOf.1","typeLabel":"null"}],"uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].city","typeLabel":"string | null"},"state":{"oneOf":[{"maxLength":2,"minLength":0,"type":"string","description":"State.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].state.oneOf.0","typeLabel":"string"},{"maxLength":2,"minLength":0,"type":"null","description":"State.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].state.oneOf.1","typeLabel":"null"}],"uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].state","typeLabel":"string | null"},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].postalCode.oneOf.0","typeLabel":"string"},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].postalCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].postalCode","typeLabel":"string | null"},"phoneNumber":{"maxLength":20,"minLength":7,"pattern":"^(?=.*\\d)\\+?[0-9\\s\\-\\(\\)\\.]{7,20}$","type":"string","description":"The phone number associated with a payment method that is used for billing purposes.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].phoneNumber","typeLabel":"string"},"email":{"maxLength":3000,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].email","typeLabel":"string\u003cemail>"},"country":{"maxLength":2,"minLength":0,"type":"string","description":"The input must be a valid Alpha2 code, Alpha3 code, UN code, or full country name.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].country","typeLabel":"string"},"addressId":{"maximum":1000000000,"minimum":1,"type":"integer","description":"The unique identifier of the address.","format":"int64","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].addressId","typeLabel":"integer\u003cint64>"}},"additionalProperties":false,"uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"shippingAddresses.oneOf.0","typeLabel":"object[]"},{"maxItems":10,"type":"null","items":{"type":"object","properties":{"addressLine1":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"Address."},{"maxLength":3000,"minLength":0,"type":"null","description":"Address."}]},"addressLine2":{"maxLength":3000,"minLength":0,"type":"string","description":"Supplemental information for the address."},"city":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"City."},{"maxLength":3000,"minLength":0,"type":"null","description":"City."}]},"state":{"oneOf":[{"maxLength":2,"minLength":0,"type":"string","description":"State."},{"maxLength":2,"minLength":0,"type":"null","description":"State."}]},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code."},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code."}]},"phoneNumber":{"maxLength":20,"minLength":7,"pattern":"^(?=.*\\d)\\+?[0-9\\s\\-\\(\\)\\.]{7,20}$","type":"string","description":"The phone number associated with a payment method that is used for billing purposes."},"email":{"maxLength":3000,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email"},"country":{"maxLength":2,"minLength":0,"type":"string","description":"The input must be a valid Alpha2 code, Alpha3 code, UN code, or full country name."},"addressId":{"maximum":1000000000,"minimum":1,"type":"integer","description":"The unique identifier of the address.","format":"int64"}},"additionalProperties":false},"uniqueKey":"shippingAddresses.oneOf.1","typeLabel":"null"}],"uniqueKey":"shippingAddresses","typeLabel":"object[] | null"},"subscriptions":{"oneOf":[{"type":"array","items":{"required":["billingFrequency","customer","startDate","subscriptionBillingPlans","subscriptionCancelType","subscriptionStatusType","trialDuration"],"type":"object","properties":{"billingFrequency":{"required":["intervalType"],"type":"object","properties":{"intervalType":{"enum":["Days","Weeks","Months","Years"],"type":"string","isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingFrequency.intervalType","typeLabel":"enum\u003cstring>"},"intervalCount":{"maximum":366,"minimum":1,"type":"integer","format":"int32","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingFrequency.intervalCount","typeLabel":"integer\u003cint32>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingFrequency","typeLabel":"object"},"subscriptionStatusType":{"maxLength":50,"minLength":0,"type":"string","default":"Current","isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionStatusType","typeLabel":"string"},"subscriptionCancelType":{"maxLength":50,"minLength":0,"type":"string","default":"EndOfCycle","isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionCancelType","typeLabel":"string"},"startDate":{"oneOf":[{"maxLength":40,"type":"string","description":"Evaluated in UTC (not the merchant timezone). A date (`YYYY-MM-DD`) or datetime (`YYYY-MM-DDThh:mm:ss`) is accepted; a trailing `Z` is not required. Treat today as the current UTC date when deciding bill-on-create vs later.","format":"date-time","default":"Today's date","isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].startDate.oneOf.0","typeLabel":"string\u003cdate-time>"},{"maxLength":40,"type":"null","description":"Evaluated in UTC (not the merchant timezone). A date (`YYYY-MM-DD`) or datetime (`YYYY-MM-DDThh:mm:ss`) is accepted; a trailing `Z` is not required. Treat today as the current UTC date when deciding bill-on-create vs later.","format":"date-time","default":"Today's date","isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].startDate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].startDate","typeLabel":"string\u003cdate-time> | null"},"trialDuration":{"minimum":0,"type":"integer","format":"int32","default":0,"isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].trialDuration","typeLabel":"integer\u003cint32>"},"customer":{"type":"object","properties":{"id":{"oneOf":[{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].customer.id.oneOf.0","typeLabel":"integer\u003cint64>"},{"maximum":1000000000,"minimum":1,"type":"null","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].customer.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].customer.id","typeLabel":"integer\u003cint64> | null"},"firstName":{"oneOf":[{"maxLength":150,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].customer.firstName.oneOf.0","typeLabel":"string"},{"maxLength":150,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].customer.firstName.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].customer.firstName","typeLabel":"string | null"},"lastName":{"oneOf":[{"maxLength":150,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].customer.lastName.oneOf.0","typeLabel":"string"},{"maxLength":150,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].customer.lastName.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].customer.lastName","typeLabel":"string | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].customer","typeLabel":"object"},"subscriptionBillingPlans":{"type":"array","items":{"required":["cycleCount","name","startCycleDelay","value","valueType"],"type":"object","properties":{"name":{"maxLength":100,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionBillingPlans.items.[INDEX].name","typeLabel":"string"},"value":{"maximum":10000000,"minimum":0,"type":"number","format":"double","isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionBillingPlans.items.[INDEX].value","typeLabel":"number\u003cdouble>"},"cycleCount":{"maximum":100,"minimum":-1,"type":"integer","format":"int32","default":-1,"isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionBillingPlans.items.[INDEX].cycleCount","typeLabel":"integer\u003cint32>"},"valueType":{"maxLength":50,"minLength":1,"type":"string","default":"Standard","isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionBillingPlans.items.[INDEX].valueType","typeLabel":"string"},"startCycleDelay":{"maximum":1000000000,"minimum":0,"type":"integer","format":"int32","default":0,"isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionBillingPlans.items.[INDEX].startCycleDelay","typeLabel":"integer\u003cint32>"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionBillingPlans.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionBillingPlans","typeLabel":"object[]"},"paymentMethods":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"billingFirstName":{"maxLength":100,"minLength":0,"type":"string","description":"**Conditional**: either both BillingFirstName and BillingLastName or BillingFullName must be provided.\r\n\r\nThe customer’s first name associated with a payment method that is used for billing purposes.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingFirstName","typeLabel":"string"},"billingLastName":{"maxLength":100,"minLength":0,"type":"string","description":"**Conditional**: either both BillingFirstName and BillingLastName or BillingFullName must be provided.\r\n\r\nThe customer’s last name associated with a payment method that is used for billing purposes.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingLastName","typeLabel":"string"},"billingFullName":{"maxLength":200,"minLength":0,"type":"string","description":"**Conditional**: either BillingFullName or both BillingFirstName and BillingLastName must be provided.\r\n\r\nThe customer’s full name associated with a payment method that is used for billing purposes. ","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingFullName","typeLabel":"string"},"billingAddress":{"type":"object","description":"The address associated with a payment method that is used for billing purposes. Either an Address ID or detailed address information can be provided.","properties":{"addressLine1":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"Address.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.addressLine1.oneOf.0","typeLabel":"string"},{"maxLength":3000,"minLength":0,"type":"null","description":"Address.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.addressLine1.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.addressLine1","typeLabel":"string | null"},"addressLine2":{"maxLength":3000,"minLength":0,"type":"string","description":"Supplemental information for the address.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.addressLine2","typeLabel":"string"},"city":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"City.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.city.oneOf.0","typeLabel":"string"},{"maxLength":3000,"minLength":0,"type":"null","description":"City.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.city","typeLabel":"string | null"},"state":{"oneOf":[{"maxLength":2,"minLength":0,"type":"string","description":"State.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.state.oneOf.0","typeLabel":"string"},{"maxLength":2,"minLength":0,"type":"null","description":"State.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.state","typeLabel":"string | null"},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.postalCode.oneOf.0","typeLabel":"string"},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.postalCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.postalCode","typeLabel":"string | null"},"phoneNumber":{"maxLength":20,"minLength":7,"pattern":"^(?=.*\\d)\\+?[0-9\\s\\-\\(\\)\\.]{7,20}$","type":"string","description":"The phone number associated with a payment method that is used for billing purposes.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.phoneNumber","typeLabel":"string"},"email":{"maxLength":3000,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.email","typeLabel":"string\u003cemail>"},"country":{"maxLength":2,"minLength":0,"type":"string","description":"The input must be a valid Alpha2 code, Alpha3 code, UN code, or full country name.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.country","typeLabel":"string"},"addressId":{"maximum":1000000000,"minimum":1,"type":"integer","description":"The unique identifier of the address.","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress.addressId","typeLabel":"integer\u003cint64>"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].billingAddress","typeLabel":"object"},"creditCard":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nPayment card information.","properties":{"paymentAccountNumber":{"maxLength":19,"minLength":8,"type":"string","description":"**Conditional**: the PAN is required if the credit card payment method type is supplied in the request.\r\nThe number must be a valid credit card number and will be verified using the Luhn algorithm. Minimum length of 8 characters. Maximum length of 25 characters.\r\n\r\nPayment Account Number (PAN).","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.paymentAccountNumber","typeLabel":"string"},"expirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"**Conditional**: the expiration date is required if the credit card payment method type is supplied in the request.\r\n\r\nThe card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.expirationDate","typeLabel":"string\u003cMMYY, MM/YY, MMYYYY, or MM/YYYY>"},"securityCode":{"maxLength":4,"minLength":3,"type":"string","description":"The card verification code. It is considered best practice to always include this value for card-not-present transactions.\r\n\r\nFailure to do so may lead to higher rates of declines, an increase in chargeback cases, and/or transaction downgrades.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.securityCode","typeLabel":"string"},"networkToken":{"type":"object","description":"External Network Token information.","properties":{"token":{"maxLength":19,"type":"string","description":"Network token issued by a card network for a card.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.networkToken.token","typeLabel":"string"},"cryptogram":{"maxLength":40,"type":"string","description":"One-time digital “stamp” of payment. Needed for all CIT (customer-initiated transactions), and the cryptogram will have to be generated by the same TR-TSP that provisioned the token.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.networkToken.cryptogram","typeLabel":"string"},"electronicCommerceIndicator":{"maxLength":2,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.networkToken.electronicCommerceIndicator","typeLabel":"string"},"paymentAccountReference":{"maxLength":100,"type":"string","description":"A permanent unique identifier of a payment account that a payment system assigns to a card and uses instead of a real PAN within network tokens.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.networkToken.paymentAccountReference","typeLabel":"string"},"expirationDate":{"oneOf":[{"maxLength":7,"minLength":0,"type":"string","description":"Expiration date of the network token.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.networkToken.expirationDate.oneOf.0","typeLabel":"string\u003cMMYY, MM/YY, MMYYYY, or MM/YYYY>"},{"maxLength":7,"minLength":0,"type":"null","description":"Expiration date of the network token.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.networkToken.expirationDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.networkToken.expirationDate","typeLabel":"string\u003cMMYY, MM/YY, MMYYYY, or MM/YYYY> | null"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard.networkToken","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].creditCard","typeLabel":"object"},"ach":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nACH account information.","required":["accountNumber","routingNumber"],"properties":{"routingNumber":{"maxLength":9,"minLength":9,"pattern":"^[0-9]{9}$","type":"string","description":"**Conditional**: the routing number is required if the ACH payment method type is supplied in the request.\r\n\r\nThe 9-digit ACH routing number of the account.","isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].ach.routingNumber","typeLabel":"string"},"accountNumber":{"maxLength":17,"minLength":4,"pattern":"^[0-9]{4,17}$","type":"string","description":"**Conditional**: the account number is required if the ACH payment method type is supplied in the request.\r\nThe length should be between 4 and 17 characters.\r\n\r\nThe US bank account number from which the payment will be debited.","isRequired":true,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].ach.accountNumber","typeLabel":"string"},"accountType":{"maxLength":20,"type":"string","description":"**Conditional**: the account type is required if the ACH payment method type is supplied in the request.\r\n\r\nBank account type. Allowed values: Checking, Savings. Case-insensitive.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].ach.accountType","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].ach","typeLabel":"object"},"googlePay":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nGoogle Pay information.","properties":{"googlePayPaymentDataResponse":{"type":"string","description":"**Conditional**: the GooglePayPaymentDataResponse is required if the Google Pay payment method type is supplied in the request.\r\nMust contain the valid serialized JSON object.\r\n\r\nThe data returned by Google Pay.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].googlePay.googlePayPaymentDataResponse","typeLabel":"string"},"googlePayDecryptedPackage":{"type":"object","description":"The Google Pay token decrypted payment data.","properties":{"applicationPrimaryAccountNumber":{"maxLength":25,"minLength":13,"pattern":"^\\d+$","type":"string","description":"Device-specific account number of the card that funds this transaction.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].googlePay.googlePayDecryptedPackage.applicationPrimaryAccountNumber","typeLabel":"string"},"applicationExpirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"The card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].googlePay.googlePayDecryptedPackage.applicationExpirationDate","typeLabel":"string\u003cMMYY, MM/YY, MMYYYY, or MM/YYYY>"},"electronicCommerceIndicator":{"maxLength":2,"minLength":0,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].googlePay.googlePayDecryptedPackage.electronicCommerceIndicator","typeLabel":"string"},"onlinePaymentCryptogram":{"maxLength":512,"minLength":0,"type":"string","description":"Decrypted package online payment cryptogram for a digital wallet.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].googlePay.googlePayDecryptedPackage.onlinePaymentCryptogram","typeLabel":"string"},"cardBrand":{"type":"string","description":"Specifies the payment method's card brand.\r\n\r\nPossible values: Visa, Mastercard, Amex, Discover, JCB, Diners.","enum":["Visa","Mastercard","Amex","Discover","JCB","Diners"],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].googlePay.googlePayDecryptedPackage.cardBrand","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].googlePay.googlePayDecryptedPackage","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].googlePay","typeLabel":"object"},"applePay":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nApple Pay information. If you have encrypted Apple Pay token data use ApplePayToken for further payments. If you have Decrypted Apple Pay token data use ApplePayDecryptedPackage.","properties":{"applePayToken":{"oneOf":[{"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay.applePayToken.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay.applePayToken.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay.applePayToken","typeLabel":"string | null"},"applePayDecryptedPackage":{"type":"object","description":"The Apple Pay token decrypted payment data.","properties":{"applicationPrimaryAccountNumber":{"maxLength":25,"minLength":13,"pattern":"^\\d+$","type":"string","description":"Device-specific account number of the card that funds this transaction.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay.applePayDecryptedPackage.applicationPrimaryAccountNumber","typeLabel":"string"},"applicationExpirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"The card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay.applePayDecryptedPackage.applicationExpirationDate","typeLabel":"string\u003cMMYY, MM/YY, MMYYYY, or MM/YYYY>"},"electronicCommerceIndicator":{"maxLength":2,"minLength":0,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay.applePayDecryptedPackage.electronicCommerceIndicator","typeLabel":"string"},"onlinePaymentCryptogram":{"maxLength":512,"minLength":1,"type":"string","description":"Decrypted package online payment cryptogram for a digital wallet.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay.applePayDecryptedPackage.onlinePaymentCryptogram","typeLabel":"string"},"deviceManufacturerIdentifier":{"maxLength":20,"minLength":1,"type":"string","description":"Hex-encoded device manufacturer identifier.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay.applePayDecryptedPackage.deviceManufacturerIdentifier","typeLabel":"string"},"cardBrand":{"type":"string","description":"Specifies the payment method's card brand.\r\n\r\nPossible values: Visa, Mastercard, Amex, Discover, JCB, Diners.","enum":["Visa","Mastercard","Amex","Discover","JCB","Diners"],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay.applePayDecryptedPackage.cardBrand","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay.applePayDecryptedPackage","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].applePay","typeLabel":"object"},"merchantPaymentMethodRefId":{"maxLength":100,"type":"string","description":"Merchant's unique identifier for the payment method.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].merchantPaymentMethodRefId","typeLabel":"string"},"priority":{"oneOf":[{"maximum":1000000000,"minimum":0,"type":"integer","format":"int32","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].priority.oneOf.0","typeLabel":"integer\u003cint32>"},{"maximum":1000000000,"minimum":0,"type":"null","format":"int32","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].priority.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].priority","typeLabel":"integer\u003cint32> | null"},"taxAmount":{"oneOf":[{"maximum":10000000,"minimum":0,"type":"number","format":"double","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].taxAmount.oneOf.0","typeLabel":"number\u003cdouble>"},{"maximum":10000000,"minimum":0,"type":"null","format":"double","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].taxAmount.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].taxAmount","typeLabel":"number\u003cdouble> | null"},"originalNetworkTransactionId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].originalNetworkTransactionId.oneOf.0","typeLabel":"string"},{"maxLength":100,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].originalNetworkTransactionId.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX].originalNetworkTransactionId","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"billingFirstName":{"maxLength":100,"minLength":0,"type":"string","description":"**Conditional**: either both BillingFirstName and BillingLastName or BillingFullName must be provided.\r\n\r\nThe customer’s first name associated with a payment method that is used for billing purposes."},"billingLastName":{"maxLength":100,"minLength":0,"type":"string","description":"**Conditional**: either both BillingFirstName and BillingLastName or BillingFullName must be provided.\r\n\r\nThe customer’s last name associated with a payment method that is used for billing purposes."},"billingFullName":{"maxLength":200,"minLength":0,"type":"string","description":"**Conditional**: either BillingFullName or both BillingFirstName and BillingLastName must be provided.\r\n\r\nThe customer’s full name associated with a payment method that is used for billing purposes. "},"billingAddress":{"type":"object","description":"The address associated with a payment method that is used for billing purposes. Either an Address ID or detailed address information can be provided.","properties":{"addressLine1":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"Address."},{"maxLength":3000,"minLength":0,"type":"null","description":"Address."}]},"addressLine2":{"maxLength":3000,"minLength":0,"type":"string","description":"Supplemental information for the address."},"city":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"City."},{"maxLength":3000,"minLength":0,"type":"null","description":"City."}]},"state":{"oneOf":[{"maxLength":2,"minLength":0,"type":"string","description":"State."},{"maxLength":2,"minLength":0,"type":"null","description":"State."}]},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code."},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code."}]},"phoneNumber":{"maxLength":20,"minLength":7,"pattern":"^(?=.*\\d)\\+?[0-9\\s\\-\\(\\)\\.]{7,20}$","type":"string","description":"The phone number associated with a payment method that is used for billing purposes."},"email":{"maxLength":3000,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email"},"country":{"maxLength":2,"minLength":0,"type":"string","description":"The input must be a valid Alpha2 code, Alpha3 code, UN code, or full country name."},"addressId":{"maximum":1000000000,"minimum":1,"type":"integer","description":"The unique identifier of the address.","format":"int64"}},"additionalProperties":false},"creditCard":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nPayment card information.","properties":{"paymentAccountNumber":{"maxLength":19,"minLength":8,"type":"string","description":"**Conditional**: the PAN is required if the credit card payment method type is supplied in the request.\r\nThe number must be a valid credit card number and will be verified using the Luhn algorithm. Minimum length of 8 characters. Maximum length of 25 characters.\r\n\r\nPayment Account Number (PAN)."},"expirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"**Conditional**: the expiration date is required if the credit card payment method type is supplied in the request.\r\n\r\nThe card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},"securityCode":{"maxLength":4,"minLength":3,"type":"string","description":"The card verification code. It is considered best practice to always include this value for card-not-present transactions.\r\n\r\nFailure to do so may lead to higher rates of declines, an increase in chargeback cases, and/or transaction downgrades."},"networkToken":{"type":"object","description":"External Network Token information.","properties":{"token":{"maxLength":19,"type":"string","description":"Network token issued by a card network for a card."},"cryptogram":{"maxLength":40,"type":"string","description":"One-time digital “stamp” of payment. Needed for all CIT (customer-initiated transactions), and the cryptogram will have to be generated by the same TR-TSP that provisioned the token."},"electronicCommerceIndicator":{"maxLength":2,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied."},"paymentAccountReference":{"maxLength":100,"type":"string","description":"A permanent unique identifier of a payment account that a payment system assigns to a card and uses instead of a real PAN within network tokens."},"expirationDate":{"oneOf":[{"maxLength":7,"minLength":0,"type":"string","description":"Expiration date of the network token.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},{"maxLength":7,"minLength":0,"type":"null","description":"Expiration date of the network token.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"}]}},"additionalProperties":false}},"additionalProperties":false},"ach":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nACH account information.","required":["accountNumber","routingNumber"],"properties":{"routingNumber":{"maxLength":9,"minLength":9,"pattern":"^[0-9]{9}$","type":"string","description":"**Conditional**: the routing number is required if the ACH payment method type is supplied in the request.\r\n\r\nThe 9-digit ACH routing number of the account."},"accountNumber":{"maxLength":17,"minLength":4,"pattern":"^[0-9]{4,17}$","type":"string","description":"**Conditional**: the account number is required if the ACH payment method type is supplied in the request.\r\nThe length should be between 4 and 17 characters.\r\n\r\nThe US bank account number from which the payment will be debited."},"accountType":{"maxLength":20,"type":"string","description":"**Conditional**: the account type is required if the ACH payment method type is supplied in the request.\r\n\r\nBank account type. Allowed values: Checking, Savings. Case-insensitive."}},"additionalProperties":false},"googlePay":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nGoogle Pay information.","properties":{"googlePayPaymentDataResponse":{"type":"string","description":"**Conditional**: the GooglePayPaymentDataResponse is required if the Google Pay payment method type is supplied in the request.\r\nMust contain the valid serialized JSON object.\r\n\r\nThe data returned by Google Pay."},"googlePayDecryptedPackage":{"type":"object","description":"The Google Pay token decrypted payment data.","properties":{"applicationPrimaryAccountNumber":{"maxLength":25,"minLength":13,"pattern":"^\\d+$","type":"string","description":"Device-specific account number of the card that funds this transaction."},"applicationExpirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"The card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},"electronicCommerceIndicator":{"maxLength":2,"minLength":0,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied."},"onlinePaymentCryptogram":{"maxLength":512,"minLength":0,"type":"string","description":"Decrypted package online payment cryptogram for a digital wallet."},"cardBrand":{"type":"string","description":"Specifies the payment method's card brand.\r\n\r\nPossible values: Visa, Mastercard, Amex, Discover, JCB, Diners.","enum":["Visa","Mastercard","Amex","Discover","JCB","Diners"]}},"additionalProperties":false}},"additionalProperties":false},"applePay":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nApple Pay information. If you have encrypted Apple Pay token data use ApplePayToken for further payments. If you have Decrypted Apple Pay token data use ApplePayDecryptedPackage.","properties":{"applePayToken":{"oneOf":[{"type":"string"},{"type":"null"}]},"applePayDecryptedPackage":{"type":"object","description":"The Apple Pay token decrypted payment data.","properties":{"applicationPrimaryAccountNumber":{"maxLength":25,"minLength":13,"pattern":"^\\d+$","type":"string","description":"Device-specific account number of the card that funds this transaction."},"applicationExpirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"The card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},"electronicCommerceIndicator":{"maxLength":2,"minLength":0,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied."},"onlinePaymentCryptogram":{"maxLength":512,"minLength":1,"type":"string","description":"Decrypted package online payment cryptogram for a digital wallet."},"deviceManufacturerIdentifier":{"maxLength":20,"minLength":1,"type":"string","description":"Hex-encoded device manufacturer identifier."},"cardBrand":{"type":"string","description":"Specifies the payment method's card brand.\r\n\r\nPossible values: Visa, Mastercard, Amex, Discover, JCB, Diners.","enum":["Visa","Mastercard","Amex","Discover","JCB","Diners"]}},"additionalProperties":false}},"additionalProperties":false},"merchantPaymentMethodRefId":{"maxLength":100,"type":"string","description":"Merchant's unique identifier for the payment method."},"priority":{"oneOf":[{"maximum":1000000000,"minimum":0,"type":"integer","format":"int32"},{"maximum":1000000000,"minimum":0,"type":"null","format":"int32"}]},"taxAmount":{"oneOf":[{"maximum":10000000,"minimum":0,"type":"number","format":"double"},{"maximum":10000000,"minimum":0,"type":"null","format":"double"}]},"originalNetworkTransactionId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string"},{"maxLength":100,"minLength":0,"type":"null"}]}},"additionalProperties":false},"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethods","typeLabel":"object[] | null"},"existingPaymentMethod":{"type":"object","properties":{"paymentMethodAuthorizationId":{"oneOf":[{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.paymentMethodAuthorizationId.oneOf.0","typeLabel":"integer\u003cint64>"},{"maximum":1000000000,"minimum":1,"type":"null","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.paymentMethodAuthorizationId.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.paymentMethodAuthorizationId","typeLabel":"integer\u003cint64> | null"},"paymentMethodId":{"oneOf":[{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.paymentMethodId.oneOf.0","typeLabel":"integer\u003cint64>"},{"maximum":1000000000,"minimum":1,"type":"null","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.paymentMethodId.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.paymentMethodId","typeLabel":"integer\u003cint64> | null"},"taxAmount":{"oneOf":[{"maximum":10000000,"minimum":0,"type":"number","format":"double","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.taxAmount.oneOf.0","typeLabel":"number\u003cdouble>"},{"maximum":10000000,"minimum":0,"type":"null","format":"double","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.taxAmount.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.taxAmount","typeLabel":"number\u003cdouble> | null"},"originalNetworkTransactionId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.originalNetworkTransactionId.oneOf.0","typeLabel":"string"},{"maxLength":100,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.originalNetworkTransactionId.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.originalNetworkTransactionId","typeLabel":"string | null"},"onlinePaymentCryptogram":{"maxLength":512,"minLength":0,"type":"string","description":"Decrypted package online payment cryptogram for a digital wallet.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod.onlinePaymentCryptogram","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].existingPaymentMethod","typeLabel":"object"},"merchantSubscriptionRefId":{"oneOf":[{"maxLength":100,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].merchantSubscriptionRefId.oneOf.0","typeLabel":"string"},{"maxLength":100,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].merchantSubscriptionRefId.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].merchantSubscriptionRefId","typeLabel":"string | null"},"trialDurationType":{"enum":["Days","Weeks","Months","Years"],"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].trialDurationType","typeLabel":"enum\u003cstring>"},"taxAddress":{"type":"object","properties":{"addressLine1":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"Address.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.addressLine1.oneOf.0","typeLabel":"string"},{"maxLength":3000,"minLength":0,"type":"null","description":"Address.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.addressLine1.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.addressLine1","typeLabel":"string | null"},"addressLine2":{"maxLength":3000,"minLength":0,"type":"string","description":"Supplemental information for the address.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.addressLine2","typeLabel":"string"},"city":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"City.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.city.oneOf.0","typeLabel":"string"},{"maxLength":3000,"minLength":0,"type":"null","description":"City.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.city","typeLabel":"string | null"},"state":{"oneOf":[{"maxLength":2,"minLength":0,"type":"string","description":"State.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.state.oneOf.0","typeLabel":"string"},{"maxLength":2,"minLength":0,"type":"null","description":"State.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.state","typeLabel":"string | null"},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.postalCode.oneOf.0","typeLabel":"string"},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.postalCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.postalCode","typeLabel":"string | null"},"phoneNumber":{"maxLength":20,"minLength":7,"pattern":"^(?=.*\\d)\\+?[0-9\\s\\-\\(\\)\\.]{7,20}$","type":"string","description":"The phone number associated with a payment method that is used for billing purposes.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.phoneNumber","typeLabel":"string"},"email":{"maxLength":3000,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.email","typeLabel":"string\u003cemail>"},"country":{"maxLength":2,"minLength":0,"type":"string","description":"The input must be a valid Alpha2 code, Alpha3 code, UN code, or full country name.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.country","typeLabel":"string"},"addressId":{"maximum":1000000000,"minimum":1,"type":"integer","description":"The unique identifier of the address.","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.addressId","typeLabel":"integer\u003cint64>"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress","typeLabel":"object"},"includeRawProcessorResponse":{"oneOf":[{"type":"boolean","default":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].includeRawProcessorResponse.oneOf.0","typeLabel":"boolean"},{"type":"null","default":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].includeRawProcessorResponse.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].includeRawProcessorResponse","typeLabel":"boolean | null"},"recycleImmediatePayment":{"oneOf":[{"type":"boolean","default":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].recycleImmediatePayment.oneOf.0","typeLabel":"boolean"},{"type":"null","default":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].recycleImmediatePayment.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].recycleImmediatePayment","typeLabel":"boolean | null"},"currency":{"enum":["USD","AED","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BMD","BND","BOB","BRL","BSD","BWP","BYN","BZD","CAD","CHF","CLP","CNH","CNY","COP","CRC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HTG","HUF","IDR","ILS","INR","IQD","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LYD","MAD","MDL","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SEK","SGD","SHP","SLE","SOS","SRD","STN","SVC","SZL","THB","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","UYU","UZS","VEF","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW","AFN","KPW","LRD","LSL","STD","SYP","TJS","ZMK","ZWD","SLL","MGA","HRK","CDF","BTN","BIF"],"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].currency","typeLabel":"enum\u003cstring>"},"reportGroup":{"oneOf":[{"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].reportGroup.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].reportGroup.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].reportGroup","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"subscriptions.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"required":["billingFrequency","customer","startDate","subscriptionBillingPlans","subscriptionCancelType","subscriptionStatusType","trialDuration"],"type":"object","properties":{"paymentMethods":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"billingFirstName":{"maxLength":100,"minLength":0,"type":"string","description":"**Conditional**: either both BillingFirstName and BillingLastName or BillingFullName must be provided.\r\n\r\nThe customer’s first name associated with a payment method that is used for billing purposes."},"billingLastName":{"maxLength":100,"minLength":0,"type":"string","description":"**Conditional**: either both BillingFirstName and BillingLastName or BillingFullName must be provided.\r\n\r\nThe customer’s last name associated with a payment method that is used for billing purposes."},"billingFullName":{"maxLength":200,"minLength":0,"type":"string","description":"**Conditional**: either BillingFullName or both BillingFirstName and BillingLastName must be provided.\r\n\r\nThe customer’s full name associated with a payment method that is used for billing purposes. "},"billingAddress":{"type":"object","description":"The address associated with a payment method that is used for billing purposes. Either an Address ID or detailed address information can be provided.","properties":{"addressLine1":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"Address."},{"maxLength":3000,"minLength":0,"type":"null","description":"Address."}]},"addressLine2":{"maxLength":3000,"minLength":0,"type":"string","description":"Supplemental information for the address."},"city":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"City."},{"maxLength":3000,"minLength":0,"type":"null","description":"City."}]},"state":{"oneOf":[{"maxLength":2,"minLength":0,"type":"string","description":"State."},{"maxLength":2,"minLength":0,"type":"null","description":"State."}]},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code."},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code."}]},"phoneNumber":{"maxLength":20,"minLength":7,"pattern":"^(?=.*\\d)\\+?[0-9\\s\\-\\(\\)\\.]{7,20}$","type":"string","description":"The phone number associated with a payment method that is used for billing purposes."},"email":{"maxLength":3000,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email"},"country":{"maxLength":2,"minLength":0,"type":"string","description":"The input must be a valid Alpha2 code, Alpha3 code, UN code, or full country name."},"addressId":{"maximum":1000000000,"minimum":1,"type":"integer","description":"The unique identifier of the address.","format":"int64"}},"additionalProperties":false},"creditCard":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nPayment card information.","properties":{"paymentAccountNumber":{"maxLength":19,"minLength":8,"type":"string","description":"**Conditional**: the PAN is required if the credit card payment method type is supplied in the request.\r\nThe number must be a valid credit card number and will be verified using the Luhn algorithm. Minimum length of 8 characters. Maximum length of 25 characters.\r\n\r\nPayment Account Number (PAN)."},"expirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"**Conditional**: the expiration date is required if the credit card payment method type is supplied in the request.\r\n\r\nThe card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},"securityCode":{"maxLength":4,"minLength":3,"type":"string","description":"The card verification code. It is considered best practice to always include this value for card-not-present transactions.\r\n\r\nFailure to do so may lead to higher rates of declines, an increase in chargeback cases, and/or transaction downgrades."},"networkToken":{"type":"object","description":"External Network Token information.","properties":{"token":{"maxLength":19,"type":"string","description":"Network token issued by a card network for a card."},"cryptogram":{"maxLength":40,"type":"string","description":"One-time digital “stamp” of payment. Needed for all CIT (customer-initiated transactions), and the cryptogram will have to be generated by the same TR-TSP that provisioned the token."},"electronicCommerceIndicator":{"maxLength":2,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied."},"paymentAccountReference":{"maxLength":100,"type":"string","description":"A permanent unique identifier of a payment account that a payment system assigns to a card and uses instead of a real PAN within network tokens."},"expirationDate":{"oneOf":[{"maxLength":7,"minLength":0,"type":"string","description":"Expiration date of the network token.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},{"maxLength":7,"minLength":0,"type":"null","description":"Expiration date of the network token.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"}]}},"additionalProperties":false}},"additionalProperties":false},"ach":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nACH account information.","required":["accountNumber","routingNumber"],"properties":{"routingNumber":{"maxLength":9,"minLength":9,"pattern":"^[0-9]{9}$","type":"string","description":"**Conditional**: the routing number is required if the ACH payment method type is supplied in the request.\r\n\r\nThe 9-digit ACH routing number of the account."},"accountNumber":{"maxLength":17,"minLength":4,"pattern":"^[0-9]{4,17}$","type":"string","description":"**Conditional**: the account number is required if the ACH payment method type is supplied in the request.\r\nThe length should be between 4 and 17 characters.\r\n\r\nThe US bank account number from which the payment will be debited."},"accountType":{"maxLength":20,"type":"string","description":"**Conditional**: the account type is required if the ACH payment method type is supplied in the request.\r\n\r\nBank account type. Allowed values: Checking, Savings. Case-insensitive."}},"additionalProperties":false},"googlePay":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nGoogle Pay information.","properties":{"googlePayPaymentDataResponse":{"type":"string","description":"**Conditional**: the GooglePayPaymentDataResponse is required if the Google Pay payment method type is supplied in the request.\r\nMust contain the valid serialized JSON object.\r\n\r\nThe data returned by Google Pay."},"googlePayDecryptedPackage":{"type":"object","description":"The Google Pay token decrypted payment data.","properties":{"applicationPrimaryAccountNumber":{"maxLength":25,"minLength":13,"pattern":"^\\d+$","type":"string","description":"Device-specific account number of the card that funds this transaction."},"applicationExpirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"The card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},"electronicCommerceIndicator":{"maxLength":2,"minLength":0,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied."},"onlinePaymentCryptogram":{"maxLength":512,"minLength":0,"type":"string","description":"Decrypted package online payment cryptogram for a digital wallet."},"cardBrand":{"type":"string","description":"Specifies the payment method's card brand.\r\n\r\nPossible values: Visa, Mastercard, Amex, Discover, JCB, Diners.","enum":["Visa","Mastercard","Amex","Discover","JCB","Diners"]}},"additionalProperties":false}},"additionalProperties":false},"applePay":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nApple Pay information. If you have encrypted Apple Pay token data use ApplePayToken for further payments. If you have Decrypted Apple Pay token data use ApplePayDecryptedPackage.","properties":{"applePayToken":{"oneOf":[{"type":"string"},{"type":"null"}]},"applePayDecryptedPackage":{"type":"object","description":"The Apple Pay token decrypted payment data.","properties":{"applicationPrimaryAccountNumber":{"maxLength":25,"minLength":13,"pattern":"^\\d+$","type":"string","description":"Device-specific account number of the card that funds this transaction."},"applicationExpirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"The card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},"electronicCommerceIndicator":{"maxLength":2,"minLength":0,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied."},"onlinePaymentCryptogram":{"maxLength":512,"minLength":1,"type":"string","description":"Decrypted package online payment cryptogram for a digital wallet."},"deviceManufacturerIdentifier":{"maxLength":20,"minLength":1,"type":"string","description":"Hex-encoded device manufacturer identifier."},"cardBrand":{"type":"string","description":"Specifies the payment method's card brand.\r\n\r\nPossible values: Visa, Mastercard, Amex, Discover, JCB, Diners.","enum":["Visa","Mastercard","Amex","Discover","JCB","Diners"]}},"additionalProperties":false}},"additionalProperties":false},"merchantPaymentMethodRefId":{"maxLength":100,"type":"string","description":"Merchant's unique identifier for the payment method."},"priority":{"oneOf":[{"maximum":1000000000,"minimum":0,"type":"integer","format":"int32"},{"maximum":1000000000,"minimum":0,"type":"null","format":"int32"}]},"taxAmount":{"oneOf":[{"maximum":10000000,"minimum":0,"type":"number","format":"double"},{"maximum":10000000,"minimum":0,"type":"null","format":"double"}]},"originalNetworkTransactionId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string"},{"maxLength":100,"minLength":0,"type":"null"}]}},"additionalProperties":false}},{"type":"null","items":{"type":"object","properties":{"billingFirstName":{"maxLength":100,"minLength":0,"type":"string","description":"**Conditional**: either both BillingFirstName and BillingLastName or BillingFullName must be provided.\r\n\r\nThe customer’s first name associated with a payment method that is used for billing purposes."},"billingLastName":{"maxLength":100,"minLength":0,"type":"string","description":"**Conditional**: either both BillingFirstName and BillingLastName or BillingFullName must be provided.\r\n\r\nThe customer’s last name associated with a payment method that is used for billing purposes."},"billingFullName":{"maxLength":200,"minLength":0,"type":"string","description":"**Conditional**: either BillingFullName or both BillingFirstName and BillingLastName must be provided.\r\n\r\nThe customer’s full name associated with a payment method that is used for billing purposes. "},"billingAddress":{"type":"object","description":"The address associated with a payment method that is used for billing purposes. Either an Address ID or detailed address information can be provided.","properties":{"addressLine1":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"Address."},{"maxLength":3000,"minLength":0,"type":"null","description":"Address."}]},"addressLine2":{"maxLength":3000,"minLength":0,"type":"string","description":"Supplemental information for the address."},"city":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"City."},{"maxLength":3000,"minLength":0,"type":"null","description":"City."}]},"state":{"oneOf":[{"maxLength":2,"minLength":0,"type":"string","description":"State."},{"maxLength":2,"minLength":0,"type":"null","description":"State."}]},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code."},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code."}]},"phoneNumber":{"maxLength":20,"minLength":7,"pattern":"^(?=.*\\d)\\+?[0-9\\s\\-\\(\\)\\.]{7,20}$","type":"string","description":"The phone number associated with a payment method that is used for billing purposes."},"email":{"maxLength":3000,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email"},"country":{"maxLength":2,"minLength":0,"type":"string","description":"The input must be a valid Alpha2 code, Alpha3 code, UN code, or full country name."},"addressId":{"maximum":1000000000,"minimum":1,"type":"integer","description":"The unique identifier of the address.","format":"int64"}},"additionalProperties":false},"creditCard":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nPayment card information.","properties":{"paymentAccountNumber":{"maxLength":19,"minLength":8,"type":"string","description":"**Conditional**: the PAN is required if the credit card payment method type is supplied in the request.\r\nThe number must be a valid credit card number and will be verified using the Luhn algorithm. Minimum length of 8 characters. Maximum length of 25 characters.\r\n\r\nPayment Account Number (PAN)."},"expirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"**Conditional**: the expiration date is required if the credit card payment method type is supplied in the request.\r\n\r\nThe card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},"securityCode":{"maxLength":4,"minLength":3,"type":"string","description":"The card verification code. It is considered best practice to always include this value for card-not-present transactions.\r\n\r\nFailure to do so may lead to higher rates of declines, an increase in chargeback cases, and/or transaction downgrades."},"networkToken":{"type":"object","description":"External Network Token information.","properties":{"token":{"maxLength":19,"type":"string","description":"Network token issued by a card network for a card."},"cryptogram":{"maxLength":40,"type":"string","description":"One-time digital “stamp” of payment. Needed for all CIT (customer-initiated transactions), and the cryptogram will have to be generated by the same TR-TSP that provisioned the token."},"electronicCommerceIndicator":{"maxLength":2,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied."},"paymentAccountReference":{"maxLength":100,"type":"string","description":"A permanent unique identifier of a payment account that a payment system assigns to a card and uses instead of a real PAN within network tokens."},"expirationDate":{"oneOf":[{"maxLength":7,"minLength":0,"type":"string","description":"Expiration date of the network token.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},{"maxLength":7,"minLength":0,"type":"null","description":"Expiration date of the network token.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"}]}},"additionalProperties":false}},"additionalProperties":false},"ach":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nACH account information.","required":["accountNumber","routingNumber"],"properties":{"routingNumber":{"maxLength":9,"minLength":9,"pattern":"^[0-9]{9}$","type":"string","description":"**Conditional**: the routing number is required if the ACH payment method type is supplied in the request.\r\n\r\nThe 9-digit ACH routing number of the account."},"accountNumber":{"maxLength":17,"minLength":4,"pattern":"^[0-9]{4,17}$","type":"string","description":"**Conditional**: the account number is required if the ACH payment method type is supplied in the request.\r\nThe length should be between 4 and 17 characters.\r\n\r\nThe US bank account number from which the payment will be debited."},"accountType":{"maxLength":20,"type":"string","description":"**Conditional**: the account type is required if the ACH payment method type is supplied in the request.\r\n\r\nBank account type. Allowed values: Checking, Savings. Case-insensitive."}},"additionalProperties":false},"googlePay":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nGoogle Pay information.","properties":{"googlePayPaymentDataResponse":{"type":"string","description":"**Conditional**: the GooglePayPaymentDataResponse is required if the Google Pay payment method type is supplied in the request.\r\nMust contain the valid serialized JSON object.\r\n\r\nThe data returned by Google Pay."},"googlePayDecryptedPackage":{"type":"object","description":"The Google Pay token decrypted payment data.","properties":{"applicationPrimaryAccountNumber":{"maxLength":25,"minLength":13,"pattern":"^\\d+$","type":"string","description":"Device-specific account number of the card that funds this transaction."},"applicationExpirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"The card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},"electronicCommerceIndicator":{"maxLength":2,"minLength":0,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied."},"onlinePaymentCryptogram":{"maxLength":512,"minLength":0,"type":"string","description":"Decrypted package online payment cryptogram for a digital wallet."},"cardBrand":{"type":"string","description":"Specifies the payment method's card brand.\r\n\r\nPossible values: Visa, Mastercard, Amex, Discover, JCB, Diners.","enum":["Visa","Mastercard","Amex","Discover","JCB","Diners"]}},"additionalProperties":false}},"additionalProperties":false},"applePay":{"type":"object","description":"**Conditional**: one payment method type is required.\r\n\r\nApple Pay information. If you have encrypted Apple Pay token data use ApplePayToken for further payments. If you have Decrypted Apple Pay token data use ApplePayDecryptedPackage.","properties":{"applePayToken":{"oneOf":[{"type":"string"},{"type":"null"}]},"applePayDecryptedPackage":{"type":"object","description":"The Apple Pay token decrypted payment data.","properties":{"applicationPrimaryAccountNumber":{"maxLength":25,"minLength":13,"pattern":"^\\d+$","type":"string","description":"Device-specific account number of the card that funds this transaction."},"applicationExpirationDate":{"maxLength":7,"minLength":0,"type":"string","description":"The card expiration date.","format":"MMYY, MM/YY, MMYYYY, or MM/YYYY"},"electronicCommerceIndicator":{"maxLength":2,"minLength":0,"type":"string","description":"An online payment security label indicating whether additional protection (such as 3-D Secure) was applied."},"onlinePaymentCryptogram":{"maxLength":512,"minLength":1,"type":"string","description":"Decrypted package online payment cryptogram for a digital wallet."},"deviceManufacturerIdentifier":{"maxLength":20,"minLength":1,"type":"string","description":"Hex-encoded device manufacturer identifier."},"cardBrand":{"type":"string","description":"Specifies the payment method's card brand.\r\n\r\nPossible values: Visa, Mastercard, Amex, Discover, JCB, Diners.","enum":["Visa","Mastercard","Amex","Discover","JCB","Diners"]}},"additionalProperties":false}},"additionalProperties":false},"merchantPaymentMethodRefId":{"maxLength":100,"type":"string","description":"Merchant's unique identifier for the payment method."},"priority":{"oneOf":[{"maximum":1000000000,"minimum":0,"type":"integer","format":"int32"},{"maximum":1000000000,"minimum":0,"type":"null","format":"int32"}]},"taxAmount":{"oneOf":[{"maximum":10000000,"minimum":0,"type":"number","format":"double"},{"maximum":10000000,"minimum":0,"type":"null","format":"double"}]},"originalNetworkTransactionId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string"},{"maxLength":100,"minLength":0,"type":"null"}]}},"additionalProperties":false}}]},"existingPaymentMethod":{"type":"object","properties":{"paymentMethodAuthorizationId":{"oneOf":[{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64"},{"maximum":1000000000,"minimum":1,"type":"null","format":"int64"}]},"paymentMethodId":{"oneOf":[{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64"},{"maximum":1000000000,"minimum":1,"type":"null","format":"int64"}]},"taxAmount":{"oneOf":[{"maximum":10000000,"minimum":0,"type":"number","format":"double"},{"maximum":10000000,"minimum":0,"type":"null","format":"double"}]},"originalNetworkTransactionId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string"},{"maxLength":100,"minLength":0,"type":"null"}]},"onlinePaymentCryptogram":{"maxLength":512,"minLength":0,"type":"string","description":"Decrypted package online payment cryptogram for a digital wallet."}},"additionalProperties":false},"merchantSubscriptionRefId":{"oneOf":[{"maxLength":100,"type":"string"},{"maxLength":100,"type":"null"}]},"billingFrequency":{"required":["intervalType"],"type":"object","properties":{"intervalType":{"enum":["Days","Weeks","Months","Years"],"type":"string"},"intervalCount":{"maximum":366,"minimum":1,"type":"integer","format":"int32"}},"additionalProperties":false},"subscriptionStatusType":{"maxLength":50,"minLength":0,"type":"string","default":"Current"},"subscriptionCancelType":{"maxLength":50,"minLength":0,"type":"string","default":"EndOfCycle"},"startDate":{"oneOf":[{"maxLength":40,"type":"string","description":"Evaluated in UTC (not the merchant timezone). A date (`YYYY-MM-DD`) or datetime (`YYYY-MM-DDThh:mm:ss`) is accepted; a trailing `Z` is not required. Treat today as the current UTC date when deciding bill-on-create vs later.","format":"date-time","default":"Today's date"},{"maxLength":40,"type":"null","description":"Evaluated in UTC (not the merchant timezone). A date (`YYYY-MM-DD`) or datetime (`YYYY-MM-DDThh:mm:ss`) is accepted; a trailing `Z` is not required. Treat today as the current UTC date when deciding bill-on-create vs later.","format":"date-time","default":"Today's date"}]},"trialDuration":{"minimum":0,"type":"integer","format":"int32","default":0},"trialDurationType":{"enum":["Days","Weeks","Months","Years"],"type":"string"},"taxAddress":{"type":"object","properties":{"addressLine1":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"Address."},{"maxLength":3000,"minLength":0,"type":"null","description":"Address."}]},"addressLine2":{"maxLength":3000,"minLength":0,"type":"string","description":"Supplemental information for the address."},"city":{"oneOf":[{"maxLength":3000,"minLength":0,"type":"string","description":"City."},{"maxLength":3000,"minLength":0,"type":"null","description":"City."}]},"state":{"oneOf":[{"maxLength":2,"minLength":0,"type":"string","description":"State."},{"maxLength":2,"minLength":0,"type":"null","description":"State."}]},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code."},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code."}]},"phoneNumber":{"maxLength":20,"minLength":7,"pattern":"^(?=.*\\d)\\+?[0-9\\s\\-\\(\\)\\.]{7,20}$","type":"string","description":"The phone number associated with a payment method that is used for billing purposes."},"email":{"maxLength":3000,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email"},"country":{"maxLength":2,"minLength":0,"type":"string","description":"The input must be a valid Alpha2 code, Alpha3 code, UN code, or full country name."},"addressId":{"maximum":1000000000,"minimum":1,"type":"integer","description":"The unique identifier of the address.","format":"int64"}},"additionalProperties":false},"includeRawProcessorResponse":{"oneOf":[{"type":"boolean","default":false},{"type":"null","default":false}]},"customer":{"type":"object","properties":{"id":{"oneOf":[{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64"},{"maximum":1000000000,"minimum":1,"type":"null","format":"int64"}]},"firstName":{"oneOf":[{"maxLength":150,"minLength":0,"type":"string"},{"maxLength":150,"minLength":0,"type":"null"}]},"lastName":{"oneOf":[{"maxLength":150,"minLength":0,"type":"string"},{"maxLength":150,"minLength":0,"type":"null"}]}},"additionalProperties":false},"subscriptionBillingPlans":{"type":"array","items":{"required":["cycleCount","name","startCycleDelay","value","valueType"],"type":"object","properties":{"name":{"maxLength":100,"minLength":1,"type":"string"},"value":{"maximum":10000000,"minimum":0,"type":"number","format":"double"},"cycleCount":{"maximum":100,"minimum":-1,"type":"integer","format":"int32","default":-1},"valueType":{"maxLength":50,"minLength":1,"type":"string","default":"Standard"},"startCycleDelay":{"maximum":1000000000,"minimum":0,"type":"integer","format":"int32","default":0}},"additionalProperties":false}},"recycleImmediatePayment":{"oneOf":[{"type":"boolean","default":false},{"type":"null","default":false}]},"currency":{"enum":["USD","AED","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BMD","BND","BOB","BRL","BSD","BWP","BYN","BZD","CAD","CHF","CLP","CNH","CNY","COP","CRC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HTG","HUF","IDR","ILS","INR","IQD","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LYD","MAD","MDL","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SEK","SGD","SHP","SLE","SOS","SRD","STN","SVC","SZL","THB","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","UYU","UZS","VEF","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW","AFN","KPW","LRD","LSL","STD","SYP","TJS","ZMK","ZWD","SLL","MGA","HRK","CDF","BTN","BIF"],"type":"string"},"reportGroup":{"oneOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},"uniqueKey":"subscriptions.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions","typeLabel":"object[] | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"example":{"merchantCustomerRefId":null,"firstName":"John","lastName":"Doe","email":null,"billingAddresses":[{"addressId":null,"addressLine1":"100 Main Street","addressLine2":"","city":"Santa Ana","state":"CA","postalCode":"90000","phoneNumber":null,"email":null,"country":"US"}],"shippingAddresses":[{"addressId":null,"addressLine1":"101 First Street","addressLine2":"","city":"Costa Mesa","state":"CA","postalCode":"90001","phoneNumber":null,"email":null,"country":"US"}],"subscriptions":[{"paymentMethods":[{"priority":0,"taxAmount":null,"originalNetworkTransactionId":null,"billingAddress":{"addressId":null,"addressLine1":"100 Main Street","addressLine2":"","city":"Irvine","state":"CA","postalCode":"92602","phoneNumber":null,"email":null,"country":"US"},"creditCard":{"paymentAccountNumber":"4111111111111111","expirationDate":"1025","securityCode":null,"networkToken":null},"ach":null,"googlePay":null,"applePay":null,"merchantPaymentMethodRefId":null,"billingFirstName":"John","billingLastName":"Doe","billingFullName":null}],"existingPaymentMethod":null,"merchantSubscriptionRefId":"1234-5678-9101","billingFrequency":{"intervalType":"Days","intervalCount":1},"subscriptionStatusType":"current","subscriptionCancelType":"EndOfCycle","startDate":"2026-10-12T00:00:00Z","trialDuration":0,"trialDurationType":"Days","taxAddress":{"addressId":null,"addressLine1":"101 Update Street","addressLine2":"","city":"Irvine","state":"CA","postalCode":"92602","phoneNumber":null,"email":null,"country":"US"},"includeRawProcessorResponse":false,"customer":null,"subscriptionBillingPlans":[{"name":"Billing Plan 1","value":10.99,"cycleCount":-1,"valueType":"Standard","startCycleDelay":0},{"name":"Billing Plan 2","value":14.99,"cycleCount":12,"valueType":"Standard","startCycleDelay":1}],"recycleImmediatePayment":false,"currency":"USD","reportGroup":null}]},"examples":{"Example":{"title":"Example","value":{"merchantCustomerRefId":null,"firstName":"John","lastName":"Doe","email":null,"billingAddresses":[{"addressId":null,"addressLine1":"100 Main Street","addressLine2":"","city":"Santa Ana","state":"CA","postalCode":"90000","phoneNumber":null,"email":null,"country":"US"}],"shippingAddresses":[{"addressId":null,"addressLine1":"101 First Street","addressLine2":"","city":"Costa Mesa","state":"CA","postalCode":"90001","phoneNumber":null,"email":null,"country":"US"}],"subscriptions":[{"paymentMethods":[{"priority":0,"taxAmount":null,"originalNetworkTransactionId":null,"billingAddress":{"addressId":null,"addressLine1":"100 Main Street","addressLine2":"","city":"Irvine","state":"CA","postalCode":"92602","phoneNumber":null,"email":null,"country":"US"},"creditCard":{"paymentAccountNumber":"4111111111111111","expirationDate":"1025","securityCode":null,"networkToken":null},"ach":null,"googlePay":null,"applePay":null,"merchantPaymentMethodRefId":null,"billingFirstName":"John","billingLastName":"Doe","billingFullName":null}],"existingPaymentMethod":null,"merchantSubscriptionRefId":"1234-5678-9101","billingFrequency":{"intervalType":"Days","intervalCount":1},"subscriptionStatusType":"current","subscriptionCancelType":"EndOfCycle","startDate":"2026-10-12T00:00:00Z","trialDuration":0,"trialDurationType":"Days","taxAddress":{"addressId":null,"addressLine1":"101 Update Street","addressLine2":"","city":"Irvine","state":"CA","postalCode":"92602","phoneNumber":null,"email":null,"country":"US"},"includeRawProcessorResponse":false,"customer":null,"subscriptionBillingPlans":[{"name":"Billing Plan 1","value":10.99,"cycleCount":-1,"valueType":"Standard","startCycleDelay":0},{"name":"Billing Plan 2","value":14.99,"cycleCount":12,"valueType":"Standard","startCycleDelay":1}],"recycleImmediatePayment":false,"currency":"USD","reportGroup":null}]}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"07735df9-a5de-4bcf-b5c9-021801106901":{"description":"Created","content":{"text/plain":{"schema":{"type":"object","properties":{"customerId":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64","uniqueKey":"customerId","typeLabel":"integer\u003cint64>"},"merchantCustomerRefId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string","uniqueKey":"merchantCustomerRefId.oneOf.0","typeLabel":"string"},{"maxLength":100,"minLength":0,"type":"null","uniqueKey":"merchantCustomerRefId.oneOf.1","typeLabel":"null"}],"uniqueKey":"merchantCustomerRefId","typeLabel":"string | null"},"firstName":{"oneOf":[{"maxLength":150,"minLength":0,"type":"string","uniqueKey":"firstName.oneOf.0","typeLabel":"string"},{"maxLength":150,"minLength":0,"type":"null","uniqueKey":"firstName.oneOf.1","typeLabel":"null"}],"uniqueKey":"firstName","typeLabel":"string | null"},"lastName":{"oneOf":[{"maxLength":150,"minLength":0,"type":"string","uniqueKey":"lastName.oneOf.0","typeLabel":"string"},{"maxLength":150,"minLength":0,"type":"null","uniqueKey":"lastName.oneOf.1","typeLabel":"null"}],"uniqueKey":"lastName","typeLabel":"string | null"},"billingAddresses":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"addressId":{"type":"integer","description":"The unique identifier of the address.","format":"int64","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].addressId","typeLabel":"integer\u003cint64>"},"addressLine1":{"oneOf":[{"maxLength":40,"minLength":2,"type":"string","description":"Address.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].addressLine1.oneOf.0","typeLabel":"string"},{"maxLength":40,"minLength":2,"type":"null","description":"Address.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].addressLine1.oneOf.1","typeLabel":"null"}],"uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].addressLine1","typeLabel":"string | null"},"addressLine2":{"maxLength":40,"minLength":0,"type":"string","description":"Supplemental information for the address.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].addressLine2","typeLabel":"string"},"city":{"oneOf":[{"maxLength":25,"minLength":2,"type":"string","description":"City.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].city.oneOf.0","typeLabel":"string"},{"maxLength":25,"minLength":2,"type":"null","description":"City.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].city.oneOf.1","typeLabel":"null"}],"uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].city","typeLabel":"string | null"},"state":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Two-letter state abbreviation.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].state.oneOf.0","typeLabel":"string"},{"maxLength":2,"minLength":2,"type":"null","description":"Two-letter state abbreviation.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].state.oneOf.1","typeLabel":"null"}],"uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].state","typeLabel":"string | null"},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].postalCode.oneOf.0","typeLabel":"string"},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].postalCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].postalCode","typeLabel":"string | null"},"phoneNumber":{"maxLength":20,"minLength":0,"type":"string","description":"The phone number associated with a payment method that is used for billing purposes.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].phoneNumber","typeLabel":"string"},"email":{"maxLength":100,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].email","typeLabel":"string\u003cemail>"},"country":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Country.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].country.oneOf.0","typeLabel":"string"},{"maxLength":2,"minLength":2,"type":"null","description":"Country.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].country.oneOf.1","typeLabel":"null"}],"uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].country","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"billingAddresses.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"billingAddresses.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"addressId":{"type":"integer","description":"The unique identifier of the address.","format":"int64"},"addressLine1":{"oneOf":[{"maxLength":40,"minLength":2,"type":"string","description":"Address."},{"maxLength":40,"minLength":2,"type":"null","description":"Address."}]},"addressLine2":{"maxLength":40,"minLength":0,"type":"string","description":"Supplemental information for the address."},"city":{"oneOf":[{"maxLength":25,"minLength":2,"type":"string","description":"City."},{"maxLength":25,"minLength":2,"type":"null","description":"City."}]},"state":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Two-letter state abbreviation."},{"maxLength":2,"minLength":2,"type":"null","description":"Two-letter state abbreviation."}]},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code."},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code."}]},"phoneNumber":{"maxLength":20,"minLength":0,"type":"string","description":"The phone number associated with a payment method that is used for billing purposes."},"email":{"maxLength":100,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email"},"country":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Country."},{"maxLength":2,"minLength":2,"type":"null","description":"Country."}]}},"additionalProperties":false},"uniqueKey":"billingAddresses.oneOf.1","typeLabel":"null"}],"uniqueKey":"billingAddresses","typeLabel":"object[] | null"},"shippingAddresses":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"addressId":{"type":"integer","description":"The unique identifier of the address.","format":"int64","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].addressId","typeLabel":"integer\u003cint64>"},"addressLine1":{"oneOf":[{"maxLength":40,"minLength":2,"type":"string","description":"Address.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].addressLine1.oneOf.0","typeLabel":"string"},{"maxLength":40,"minLength":2,"type":"null","description":"Address.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].addressLine1.oneOf.1","typeLabel":"null"}],"uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].addressLine1","typeLabel":"string | null"},"addressLine2":{"maxLength":40,"minLength":0,"type":"string","description":"Supplemental information for the address.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].addressLine2","typeLabel":"string"},"city":{"oneOf":[{"maxLength":25,"minLength":2,"type":"string","description":"City.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].city.oneOf.0","typeLabel":"string"},{"maxLength":25,"minLength":2,"type":"null","description":"City.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].city.oneOf.1","typeLabel":"null"}],"uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].city","typeLabel":"string | null"},"state":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Two-letter state abbreviation.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].state.oneOf.0","typeLabel":"string"},{"maxLength":2,"minLength":2,"type":"null","description":"Two-letter state abbreviation.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].state.oneOf.1","typeLabel":"null"}],"uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].state","typeLabel":"string | null"},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].postalCode.oneOf.0","typeLabel":"string"},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].postalCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].postalCode","typeLabel":"string | null"},"phoneNumber":{"maxLength":20,"minLength":0,"type":"string","description":"The phone number associated with a payment method that is used for billing purposes.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].phoneNumber","typeLabel":"string"},"email":{"maxLength":100,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].email","typeLabel":"string\u003cemail>"},"country":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Country.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].country.oneOf.0","typeLabel":"string"},{"maxLength":2,"minLength":2,"type":"null","description":"Country.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].country.oneOf.1","typeLabel":"null"}],"uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].country","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"shippingAddresses.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"addressId":{"type":"integer","description":"The unique identifier of the address.","format":"int64"},"addressLine1":{"oneOf":[{"maxLength":40,"minLength":2,"type":"string","description":"Address."},{"maxLength":40,"minLength":2,"type":"null","description":"Address."}]},"addressLine2":{"maxLength":40,"minLength":0,"type":"string","description":"Supplemental information for the address."},"city":{"oneOf":[{"maxLength":25,"minLength":2,"type":"string","description":"City."},{"maxLength":25,"minLength":2,"type":"null","description":"City."}]},"state":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Two-letter state abbreviation."},{"maxLength":2,"minLength":2,"type":"null","description":"Two-letter state abbreviation."}]},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code."},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code."}]},"phoneNumber":{"maxLength":20,"minLength":0,"type":"string","description":"The phone number associated with a payment method that is used for billing purposes."},"email":{"maxLength":100,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email"},"country":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Country."},{"maxLength":2,"minLength":2,"type":"null","description":"Country."}]}},"additionalProperties":false},"uniqueKey":"shippingAddresses.oneOf.1","typeLabel":"null"}],"uniqueKey":"shippingAddresses","typeLabel":"object[] | null"},"taxAddresses":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"addressId":{"type":"integer","description":"The unique identifier of the address.","format":"int64","uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].addressId","typeLabel":"integer\u003cint64>"},"addressLine1":{"oneOf":[{"maxLength":40,"minLength":2,"type":"string","description":"Address.","uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].addressLine1.oneOf.0","typeLabel":"string"},{"maxLength":40,"minLength":2,"type":"null","description":"Address.","uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].addressLine1.oneOf.1","typeLabel":"null"}],"uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].addressLine1","typeLabel":"string | null"},"addressLine2":{"maxLength":40,"minLength":0,"type":"string","description":"Supplemental information for the address.","uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].addressLine2","typeLabel":"string"},"city":{"oneOf":[{"maxLength":25,"minLength":2,"type":"string","description":"City.","uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].city.oneOf.0","typeLabel":"string"},{"maxLength":25,"minLength":2,"type":"null","description":"City.","uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].city.oneOf.1","typeLabel":"null"}],"uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].city","typeLabel":"string | null"},"state":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Two-letter state abbreviation.","uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].state.oneOf.0","typeLabel":"string"},{"maxLength":2,"minLength":2,"type":"null","description":"Two-letter state abbreviation.","uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].state.oneOf.1","typeLabel":"null"}],"uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].state","typeLabel":"string | null"},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code.","uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].postalCode.oneOf.0","typeLabel":"string"},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code.","uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].postalCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].postalCode","typeLabel":"string | null"},"phoneNumber":{"maxLength":20,"minLength":0,"type":"string","description":"The phone number associated with a payment method that is used for billing purposes.","uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].phoneNumber","typeLabel":"string"},"email":{"maxLength":100,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email","uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].email","typeLabel":"string\u003cemail>"},"country":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Country.","uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].country.oneOf.0","typeLabel":"string"},{"maxLength":2,"minLength":2,"type":"null","description":"Country.","uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].country.oneOf.1","typeLabel":"null"}],"uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].country","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"taxAddresses.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"taxAddresses.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"addressId":{"type":"integer","description":"The unique identifier of the address.","format":"int64"},"addressLine1":{"oneOf":[{"maxLength":40,"minLength":2,"type":"string","description":"Address."},{"maxLength":40,"minLength":2,"type":"null","description":"Address."}]},"addressLine2":{"maxLength":40,"minLength":0,"type":"string","description":"Supplemental information for the address."},"city":{"oneOf":[{"maxLength":25,"minLength":2,"type":"string","description":"City."},{"maxLength":25,"minLength":2,"type":"null","description":"City."}]},"state":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Two-letter state abbreviation."},{"maxLength":2,"minLength":2,"type":"null","description":"Two-letter state abbreviation."}]},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code."},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code."}]},"phoneNumber":{"maxLength":20,"minLength":0,"type":"string","description":"The phone number associated with a payment method that is used for billing purposes."},"email":{"maxLength":100,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email"},"country":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Country."},{"maxLength":2,"minLength":2,"type":"null","description":"Country."}]}},"additionalProperties":false},"uniqueKey":"taxAddresses.oneOf.1","typeLabel":"null"}],"uniqueKey":"taxAddresses","typeLabel":"object[] | null"},"subscriptions":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"subscriptionId":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionId","typeLabel":"integer\u003cint64>"},"customerId":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].customerId","typeLabel":"integer\u003cint64>"},"merchantSubscriptionRefId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].merchantSubscriptionRefId.oneOf.0","typeLabel":"string"},{"maxLength":100,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].merchantSubscriptionRefId.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].merchantSubscriptionRefId","typeLabel":"string | null"},"networkTransactionId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].networkTransactionId.oneOf.0","typeLabel":"string"},{"maxLength":100,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].networkTransactionId.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].networkTransactionId","typeLabel":"string | null"},"billingIntervalType":{"oneOf":[{"maxLength":50,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingIntervalType.oneOf.0","typeLabel":"string"},{"maxLength":50,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingIntervalType.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingIntervalType","typeLabel":"string | null"},"billingIntervalCount":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int32","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingIntervalCount","typeLabel":"integer\u003cint32>"},"subscriptionStatusType":{"oneOf":[{"maxLength":50,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionStatusType.oneOf.0","typeLabel":"string"},{"maxLength":50,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionStatusType.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionStatusType","typeLabel":"string | null"},"subscriptionCancelType":{"oneOf":[{"maxLength":50,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionCancelType.oneOf.0","typeLabel":"string"},{"maxLength":50,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionCancelType.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionCancelType","typeLabel":"string | null"},"initialBillDate":{"oneOf":[{"maxLength":20,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].initialBillDate.oneOf.0","typeLabel":"string"},{"maxLength":20,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].initialBillDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].initialBillDate","typeLabel":"string | null"},"nextBillDate":{"oneOf":[{"maxLength":20,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].nextBillDate.oneOf.0","typeLabel":"string"},{"maxLength":20,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].nextBillDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].nextBillDate","typeLabel":"string | null"},"taxAddress":{"type":"object","properties":{"addressId":{"type":"integer","description":"The unique identifier of the address.","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.addressId","typeLabel":"integer\u003cint64>"},"addressLine1":{"oneOf":[{"maxLength":40,"minLength":2,"type":"string","description":"Address.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.addressLine1.oneOf.0","typeLabel":"string"},{"maxLength":40,"minLength":2,"type":"null","description":"Address.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.addressLine1.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.addressLine1","typeLabel":"string | null"},"addressLine2":{"maxLength":40,"minLength":0,"type":"string","description":"Supplemental information for the address.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.addressLine2","typeLabel":"string"},"city":{"oneOf":[{"maxLength":25,"minLength":2,"type":"string","description":"City.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.city.oneOf.0","typeLabel":"string"},{"maxLength":25,"minLength":2,"type":"null","description":"City.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.city","typeLabel":"string | null"},"state":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Two-letter state abbreviation.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.state.oneOf.0","typeLabel":"string"},{"maxLength":2,"minLength":2,"type":"null","description":"Two-letter state abbreviation.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.state","typeLabel":"string | null"},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.postalCode.oneOf.0","typeLabel":"string"},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.postalCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.postalCode","typeLabel":"string | null"},"phoneNumber":{"maxLength":20,"minLength":0,"type":"string","description":"The phone number associated with a payment method that is used for billing purposes.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.phoneNumber","typeLabel":"string"},"email":{"maxLength":100,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.email","typeLabel":"string\u003cemail>"},"country":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Country.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.country.oneOf.0","typeLabel":"string"},{"maxLength":2,"minLength":2,"type":"null","description":"Country.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.country","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress","typeLabel":"object"},"paymentMethodIds":{"oneOf":[{"type":"array","items":{"type":"integer","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethodIds.oneOf.0.items.[INDEX]","typeLabel":"integer\u003cint64>"},"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethodIds.oneOf.0","typeLabel":"integer\u003cint64>[]"},{"type":"null","items":{"type":"integer","format":"int64"},"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethodIds.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethodIds","typeLabel":"integer\u003cint64>[] | null"},"cancelledAt":{"oneOf":[{"maxLength":40,"type":"string","format":"date-time","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].cancelledAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"maxLength":40,"type":"null","format":"date-time","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].cancelledAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].cancelledAt","typeLabel":"string\u003cdate-time> | null"},"billingPlans":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"subscriptionBillingPlanId":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX].subscriptionBillingPlanId","typeLabel":"integer\u003cint64>"},"subscriptionId":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX].subscriptionId","typeLabel":"integer\u003cint64>"},"name":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"maxLength":100,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX].name","typeLabel":"string | null"},"value":{"maximum":10000000,"minimum":0,"type":"number","format":"double","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX].value","typeLabel":"number\u003cdouble>"},"startDate":{"oneOf":[{"maxLength":20,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX].startDate.oneOf.0","typeLabel":"string"},{"maxLength":20,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX].startDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX].startDate","typeLabel":"string | null"},"cyclesRemaining":{"maximum":1000000000,"minimum":0,"type":"integer","format":"int32","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX].cyclesRemaining","typeLabel":"integer\u003cint32>"},"cycleCount":{"maximum":100,"minimum":-1,"type":"integer","format":"int32","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX].cycleCount","typeLabel":"integer\u003cint32>"},"valueType":{"oneOf":[{"maxLength":50,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX].valueType.oneOf.0","typeLabel":"string"},{"maxLength":50,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX].valueType.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX].valueType","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"subscriptionBillingPlanId":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64"},"subscriptionId":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64"},"name":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string"},{"maxLength":100,"minLength":0,"type":"null"}]},"value":{"maximum":10000000,"minimum":0,"type":"number","format":"double"},"startDate":{"oneOf":[{"maxLength":20,"minLength":0,"type":"string"},{"maxLength":20,"minLength":0,"type":"null"}]},"cyclesRemaining":{"maximum":1000000000,"minimum":0,"type":"integer","format":"int32"},"cycleCount":{"maximum":100,"minimum":-1,"type":"integer","format":"int32"},"valueType":{"oneOf":[{"maxLength":50,"minLength":0,"type":"string"},{"maxLength":50,"minLength":0,"type":"null"}]}},"additionalProperties":false},"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans","typeLabel":"object[] | null"},"message":{"oneOf":[{"maxLength":500,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].message.oneOf.0","typeLabel":"string"},{"maxLength":500,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].message.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].message","typeLabel":"string | null"},"paymentProcessor":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentProcessor.oneOf.0","typeLabel":"string"},{"maxLength":100,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentProcessor.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentProcessor","typeLabel":"string | null"},"processorMerchantId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].processorMerchantId.oneOf.0","typeLabel":"string"},{"maxLength":100,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].processorMerchantId.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].processorMerchantId","typeLabel":"string | null"},"processorRawResponse":{"oneOf":[{"maxLength":10000,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].processorRawResponse.oneOf.0","typeLabel":"string"},{"maxLength":10000,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].processorRawResponse.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].processorRawResponse","typeLabel":"string | null"},"currency":{"oneOf":[{"maxLength":3,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].currency.oneOf.0","typeLabel":"string"},{"maxLength":3,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].currency","typeLabel":"string | null"},"responseMessage":{"oneOf":[{"maxLength":500,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].responseMessage.oneOf.0","typeLabel":"string"},{"maxLength":500,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].responseMessage.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].responseMessage","typeLabel":"string | null"},"responseCode":{"oneOf":[{"maxLength":10,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].responseCode.oneOf.0","typeLabel":"string"},{"maxLength":10,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].responseCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].responseCode","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"subscriptions.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"subscriptionId":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64"},"customerId":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64"},"merchantSubscriptionRefId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string"},{"maxLength":100,"minLength":0,"type":"null"}]},"networkTransactionId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string"},{"maxLength":100,"minLength":0,"type":"null"}]},"billingIntervalType":{"oneOf":[{"maxLength":50,"minLength":0,"type":"string"},{"maxLength":50,"minLength":0,"type":"null"}]},"billingIntervalCount":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int32"},"subscriptionStatusType":{"oneOf":[{"maxLength":50,"minLength":0,"type":"string"},{"maxLength":50,"minLength":0,"type":"null"}]},"subscriptionCancelType":{"oneOf":[{"maxLength":50,"minLength":0,"type":"string"},{"maxLength":50,"minLength":0,"type":"null"}]},"initialBillDate":{"oneOf":[{"maxLength":20,"minLength":0,"type":"string"},{"maxLength":20,"minLength":0,"type":"null"}]},"nextBillDate":{"oneOf":[{"maxLength":20,"minLength":0,"type":"string"},{"maxLength":20,"minLength":0,"type":"null"}]},"taxAddress":{"type":"object","properties":{"addressId":{"type":"integer","description":"The unique identifier of the address.","format":"int64"},"addressLine1":{"oneOf":[{"maxLength":40,"minLength":2,"type":"string","description":"Address."},{"maxLength":40,"minLength":2,"type":"null","description":"Address."}]},"addressLine2":{"maxLength":40,"minLength":0,"type":"string","description":"Supplemental information for the address."},"city":{"oneOf":[{"maxLength":25,"minLength":2,"type":"string","description":"City."},{"maxLength":25,"minLength":2,"type":"null","description":"City."}]},"state":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Two-letter state abbreviation."},{"maxLength":2,"minLength":2,"type":"null","description":"Two-letter state abbreviation."}]},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code."},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code."}]},"phoneNumber":{"maxLength":20,"minLength":0,"type":"string","description":"The phone number associated with a payment method that is used for billing purposes."},"email":{"maxLength":100,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email"},"country":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Country."},{"maxLength":2,"minLength":2,"type":"null","description":"Country."}]}},"additionalProperties":false},"paymentMethodIds":{"oneOf":[{"type":"array","items":{"type":"integer","format":"int64"}},{"type":"null","items":{"type":"integer","format":"int64"}}]},"cancelledAt":{"oneOf":[{"maxLength":40,"type":"string","format":"date-time"},{"maxLength":40,"type":"null","format":"date-time"}]},"billingPlans":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"subscriptionBillingPlanId":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64"},"subscriptionId":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64"},"name":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string"},{"maxLength":100,"minLength":0,"type":"null"}]},"value":{"maximum":10000000,"minimum":0,"type":"number","format":"double"},"startDate":{"oneOf":[{"maxLength":20,"minLength":0,"type":"string"},{"maxLength":20,"minLength":0,"type":"null"}]},"cyclesRemaining":{"maximum":1000000000,"minimum":0,"type":"integer","format":"int32"},"cycleCount":{"maximum":100,"minimum":-1,"type":"integer","format":"int32"},"valueType":{"oneOf":[{"maxLength":50,"minLength":0,"type":"string"},{"maxLength":50,"minLength":0,"type":"null"}]}},"additionalProperties":false}},{"type":"null","items":{"type":"object","properties":{"subscriptionBillingPlanId":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64"},"subscriptionId":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64"},"name":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string"},{"maxLength":100,"minLength":0,"type":"null"}]},"value":{"maximum":10000000,"minimum":0,"type":"number","format":"double"},"startDate":{"oneOf":[{"maxLength":20,"minLength":0,"type":"string"},{"maxLength":20,"minLength":0,"type":"null"}]},"cyclesRemaining":{"maximum":1000000000,"minimum":0,"type":"integer","format":"int32"},"cycleCount":{"maximum":100,"minimum":-1,"type":"integer","format":"int32"},"valueType":{"oneOf":[{"maxLength":50,"minLength":0,"type":"string"},{"maxLength":50,"minLength":0,"type":"null"}]}},"additionalProperties":false}}]},"message":{"oneOf":[{"maxLength":500,"minLength":0,"type":"string"},{"maxLength":500,"minLength":0,"type":"null"}]},"paymentProcessor":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string"},{"maxLength":100,"minLength":0,"type":"null"}]},"processorMerchantId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string"},{"maxLength":100,"minLength":0,"type":"null"}]},"processorRawResponse":{"oneOf":[{"maxLength":10000,"minLength":0,"type":"string"},{"maxLength":10000,"minLength":0,"type":"null"}]},"currency":{"oneOf":[{"maxLength":3,"minLength":0,"type":"string"},{"maxLength":3,"minLength":0,"type":"null"}]},"responseMessage":{"oneOf":[{"maxLength":500,"minLength":0,"type":"string"},{"maxLength":500,"minLength":0,"type":"null"}]},"responseCode":{"oneOf":[{"maxLength":10,"minLength":0,"type":"string"},{"maxLength":10,"minLength":0,"type":"null"}]}},"additionalProperties":false},"uniqueKey":"subscriptions.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions","typeLabel":"object[] | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"example":{"customerId":1,"merchantCustomerRefId":"1234-5678-9101","firstName":"John","lastName":"Doe","billingAddresses":[{"addressId":1,"addressLine1":"100 Main Street","addressLine2":null,"city":"Santa Ana","state":"CA","postalCode":"90000","phoneNumber":null,"email":null,"country":"US"}],"shippingAddresses":[{"addressId":2,"addressLine1":"101 First Street","addressLine2":"","city":"Costa Mesa","state":"CA","postalCode":"90001","phoneNumber":null,"email":null,"country":"US"}],"taxAddresses":[],"subscriptions":[{"subscriptionId":1,"customerId":1,"merchantSubscriptionRefId":"1234-5678-9101","networkTransactionId":null,"billingIntervalType":"Days","billingIntervalCount":1,"subscriptionStatusType":"current","subscriptionCancelType":null,"initialBillDate":"10/12/2026","nextBillDate":"10/13/2026","taxAddress":null,"paymentMethodIds":null,"cancelledAt":null,"billingPlans":[{"subscriptionBillingPlanId":1,"subscriptionId":0,"name":"Billing Plan 1","value":10.99,"startDate":"10/12/2026","cyclesRemaining":-1,"cycleCount":0,"valueType":"Standard"},{"subscriptionBillingPlanId":2,"subscriptionId":0,"name":"Billing Plan 2","value":14.99,"startDate":"10/13/2026","cyclesRemaining":12,"cycleCount":0,"valueType":"Standard"}],"message":null,"paymentProcessor":null,"processorMerchantId":null,"processorRawResponse":null,"currency":null,"responseMessage":null,"responseCode":null}]},"examples":{"Example":{"title":"Example","value":{"customerId":1,"merchantCustomerRefId":"1234-5678-9101","firstName":"John","lastName":"Doe","billingAddresses":[{"addressId":1,"addressLine1":"100 Main Street","addressLine2":null,"city":"Santa Ana","state":"CA","postalCode":"90000","phoneNumber":null,"email":null,"country":"US"}],"shippingAddresses":[{"addressId":2,"addressLine1":"101 First Street","addressLine2":"","city":"Costa Mesa","state":"CA","postalCode":"90001","phoneNumber":null,"email":null,"country":"US"}],"taxAddresses":[],"subscriptions":[{"subscriptionId":1,"customerId":1,"merchantSubscriptionRefId":"1234-5678-9101","networkTransactionId":null,"billingIntervalType":"Days","billingIntervalCount":1,"subscriptionStatusType":"current","subscriptionCancelType":null,"initialBillDate":"10/12/2026","nextBillDate":"10/13/2026","taxAddress":null,"paymentMethodIds":null,"cancelledAt":null,"billingPlans":[{"subscriptionBillingPlanId":1,"subscriptionId":0,"name":"Billing Plan 1","value":10.99,"startDate":"10/12/2026","cyclesRemaining":-1,"cycleCount":0,"valueType":"Standard"},{"subscriptionBillingPlanId":2,"subscriptionId":0,"name":"Billing Plan 2","value":14.99,"startDate":"10/13/2026","cyclesRemaining":12,"cycleCount":0,"valueType":"Standard"}],"message":null,"paymentProcessor":null,"processorMerchantId":null,"processorRawResponse":null,"currency":null,"responseMessage":null,"responseCode":null}]}}},"exampleType":"examples"},"application/json":{"schema":{"type":"object","properties":{"customerId":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64","uniqueKey":"customerId","typeLabel":"integer\u003cint64>"},"merchantCustomerRefId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string","uniqueKey":"merchantCustomerRefId.oneOf.0","typeLabel":"string"},{"maxLength":100,"minLength":0,"type":"null","uniqueKey":"merchantCustomerRefId.oneOf.1","typeLabel":"null"}],"uniqueKey":"merchantCustomerRefId","typeLabel":"string | null"},"firstName":{"oneOf":[{"maxLength":150,"minLength":0,"type":"string","uniqueKey":"firstName.oneOf.0","typeLabel":"string"},{"maxLength":150,"minLength":0,"type":"null","uniqueKey":"firstName.oneOf.1","typeLabel":"null"}],"uniqueKey":"firstName","typeLabel":"string | null"},"lastName":{"oneOf":[{"maxLength":150,"minLength":0,"type":"string","uniqueKey":"lastName.oneOf.0","typeLabel":"string"},{"maxLength":150,"minLength":0,"type":"null","uniqueKey":"lastName.oneOf.1","typeLabel":"null"}],"uniqueKey":"lastName","typeLabel":"string | null"},"billingAddresses":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"addressId":{"type":"integer","description":"The unique identifier of the address.","format":"int64","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].addressId","typeLabel":"integer\u003cint64>"},"addressLine1":{"oneOf":[{"maxLength":40,"minLength":2,"type":"string","description":"Address.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].addressLine1.oneOf.0","typeLabel":"string"},{"maxLength":40,"minLength":2,"type":"null","description":"Address.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].addressLine1.oneOf.1","typeLabel":"null"}],"uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].addressLine1","typeLabel":"string | null"},"addressLine2":{"maxLength":40,"minLength":0,"type":"string","description":"Supplemental information for the address.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].addressLine2","typeLabel":"string"},"city":{"oneOf":[{"maxLength":25,"minLength":2,"type":"string","description":"City.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].city.oneOf.0","typeLabel":"string"},{"maxLength":25,"minLength":2,"type":"null","description":"City.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].city.oneOf.1","typeLabel":"null"}],"uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].city","typeLabel":"string | null"},"state":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Two-letter state abbreviation.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].state.oneOf.0","typeLabel":"string"},{"maxLength":2,"minLength":2,"type":"null","description":"Two-letter state abbreviation.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].state.oneOf.1","typeLabel":"null"}],"uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].state","typeLabel":"string | null"},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].postalCode.oneOf.0","typeLabel":"string"},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].postalCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].postalCode","typeLabel":"string | null"},"phoneNumber":{"maxLength":20,"minLength":0,"type":"string","description":"The phone number associated with a payment method that is used for billing purposes.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].phoneNumber","typeLabel":"string"},"email":{"maxLength":100,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].email","typeLabel":"string\u003cemail>"},"country":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Country.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].country.oneOf.0","typeLabel":"string"},{"maxLength":2,"minLength":2,"type":"null","description":"Country.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].country.oneOf.1","typeLabel":"null"}],"uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].country","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"billingAddresses.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"billingAddresses.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"addressId":{"type":"integer","description":"The unique identifier of the address.","format":"int64"},"addressLine1":{"oneOf":[{"maxLength":40,"minLength":2,"type":"string","description":"Address."},{"maxLength":40,"minLength":2,"type":"null","description":"Address."}]},"addressLine2":{"maxLength":40,"minLength":0,"type":"string","description":"Supplemental information for the address."},"city":{"oneOf":[{"maxLength":25,"minLength":2,"type":"string","description":"City."},{"maxLength":25,"minLength":2,"type":"null","description":"City."}]},"state":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Two-letter state abbreviation."},{"maxLength":2,"minLength":2,"type":"null","description":"Two-letter state abbreviation."}]},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code."},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code."}]},"phoneNumber":{"maxLength":20,"minLength":0,"type":"string","description":"The phone number associated with a payment method that is used for billing purposes."},"email":{"maxLength":100,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email"},"country":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Country."},{"maxLength":2,"minLength":2,"type":"null","description":"Country."}]}},"additionalProperties":false},"uniqueKey":"billingAddresses.oneOf.1","typeLabel":"null"}],"uniqueKey":"billingAddresses","typeLabel":"object[] | null"},"shippingAddresses":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"addressId":{"type":"integer","description":"The unique identifier of the address.","format":"int64","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].addressId","typeLabel":"integer\u003cint64>"},"addressLine1":{"oneOf":[{"maxLength":40,"minLength":2,"type":"string","description":"Address.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].addressLine1.oneOf.0","typeLabel":"string"},{"maxLength":40,"minLength":2,"type":"null","description":"Address.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].addressLine1.oneOf.1","typeLabel":"null"}],"uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].addressLine1","typeLabel":"string | null"},"addressLine2":{"maxLength":40,"minLength":0,"type":"string","description":"Supplemental information for the address.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].addressLine2","typeLabel":"string"},"city":{"oneOf":[{"maxLength":25,"minLength":2,"type":"string","description":"City.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].city.oneOf.0","typeLabel":"string"},{"maxLength":25,"minLength":2,"type":"null","description":"City.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].city.oneOf.1","typeLabel":"null"}],"uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].city","typeLabel":"string | null"},"state":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Two-letter state abbreviation.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].state.oneOf.0","typeLabel":"string"},{"maxLength":2,"minLength":2,"type":"null","description":"Two-letter state abbreviation.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].state.oneOf.1","typeLabel":"null"}],"uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].state","typeLabel":"string | null"},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].postalCode.oneOf.0","typeLabel":"string"},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].postalCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].postalCode","typeLabel":"string | null"},"phoneNumber":{"maxLength":20,"minLength":0,"type":"string","description":"The phone number associated with a payment method that is used for billing purposes.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].phoneNumber","typeLabel":"string"},"email":{"maxLength":100,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].email","typeLabel":"string\u003cemail>"},"country":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Country.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].country.oneOf.0","typeLabel":"string"},{"maxLength":2,"minLength":2,"type":"null","description":"Country.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].country.oneOf.1","typeLabel":"null"}],"uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].country","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"shippingAddresses.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"addressId":{"type":"integer","description":"The unique identifier of the address.","format":"int64"},"addressLine1":{"oneOf":[{"maxLength":40,"minLength":2,"type":"string","description":"Address."},{"maxLength":40,"minLength":2,"type":"null","description":"Address."}]},"addressLine2":{"maxLength":40,"minLength":0,"type":"string","description":"Supplemental information for the address."},"city":{"oneOf":[{"maxLength":25,"minLength":2,"type":"string","description":"City."},{"maxLength":25,"minLength":2,"type":"null","description":"City."}]},"state":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Two-letter state abbreviation."},{"maxLength":2,"minLength":2,"type":"null","description":"Two-letter state abbreviation."}]},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code."},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code."}]},"phoneNumber":{"maxLength":20,"minLength":0,"type":"string","description":"The phone number associated with a payment method that is used for billing purposes."},"email":{"maxLength":100,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email"},"country":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Country."},{"maxLength":2,"minLength":2,"type":"null","description":"Country."}]}},"additionalProperties":false},"uniqueKey":"shippingAddresses.oneOf.1","typeLabel":"null"}],"uniqueKey":"shippingAddresses","typeLabel":"object[] | null"},"taxAddresses":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"addressId":{"type":"integer","description":"The unique identifier of the address.","format":"int64","uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].addressId","typeLabel":"integer\u003cint64>"},"addressLine1":{"oneOf":[{"maxLength":40,"minLength":2,"type":"string","description":"Address.","uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].addressLine1.oneOf.0","typeLabel":"string"},{"maxLength":40,"minLength":2,"type":"null","description":"Address.","uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].addressLine1.oneOf.1","typeLabel":"null"}],"uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].addressLine1","typeLabel":"string | null"},"addressLine2":{"maxLength":40,"minLength":0,"type":"string","description":"Supplemental information for the address.","uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].addressLine2","typeLabel":"string"},"city":{"oneOf":[{"maxLength":25,"minLength":2,"type":"string","description":"City.","uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].city.oneOf.0","typeLabel":"string"},{"maxLength":25,"minLength":2,"type":"null","description":"City.","uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].city.oneOf.1","typeLabel":"null"}],"uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].city","typeLabel":"string | null"},"state":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Two-letter state abbreviation.","uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].state.oneOf.0","typeLabel":"string"},{"maxLength":2,"minLength":2,"type":"null","description":"Two-letter state abbreviation.","uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].state.oneOf.1","typeLabel":"null"}],"uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].state","typeLabel":"string | null"},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code.","uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].postalCode.oneOf.0","typeLabel":"string"},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code.","uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].postalCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].postalCode","typeLabel":"string | null"},"phoneNumber":{"maxLength":20,"minLength":0,"type":"string","description":"The phone number associated with a payment method that is used for billing purposes.","uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].phoneNumber","typeLabel":"string"},"email":{"maxLength":100,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email","uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].email","typeLabel":"string\u003cemail>"},"country":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Country.","uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].country.oneOf.0","typeLabel":"string"},{"maxLength":2,"minLength":2,"type":"null","description":"Country.","uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].country.oneOf.1","typeLabel":"null"}],"uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].country","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"taxAddresses.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"taxAddresses.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"addressId":{"type":"integer","description":"The unique identifier of the address.","format":"int64"},"addressLine1":{"oneOf":[{"maxLength":40,"minLength":2,"type":"string","description":"Address."},{"maxLength":40,"minLength":2,"type":"null","description":"Address."}]},"addressLine2":{"maxLength":40,"minLength":0,"type":"string","description":"Supplemental information for the address."},"city":{"oneOf":[{"maxLength":25,"minLength":2,"type":"string","description":"City."},{"maxLength":25,"minLength":2,"type":"null","description":"City."}]},"state":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Two-letter state abbreviation."},{"maxLength":2,"minLength":2,"type":"null","description":"Two-letter state abbreviation."}]},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code."},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code."}]},"phoneNumber":{"maxLength":20,"minLength":0,"type":"string","description":"The phone number associated with a payment method that is used for billing purposes."},"email":{"maxLength":100,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email"},"country":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Country."},{"maxLength":2,"minLength":2,"type":"null","description":"Country."}]}},"additionalProperties":false},"uniqueKey":"taxAddresses.oneOf.1","typeLabel":"null"}],"uniqueKey":"taxAddresses","typeLabel":"object[] | null"},"subscriptions":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"subscriptionId":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionId","typeLabel":"integer\u003cint64>"},"customerId":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].customerId","typeLabel":"integer\u003cint64>"},"merchantSubscriptionRefId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].merchantSubscriptionRefId.oneOf.0","typeLabel":"string"},{"maxLength":100,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].merchantSubscriptionRefId.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].merchantSubscriptionRefId","typeLabel":"string | null"},"networkTransactionId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].networkTransactionId.oneOf.0","typeLabel":"string"},{"maxLength":100,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].networkTransactionId.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].networkTransactionId","typeLabel":"string | null"},"billingIntervalType":{"oneOf":[{"maxLength":50,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingIntervalType.oneOf.0","typeLabel":"string"},{"maxLength":50,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingIntervalType.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingIntervalType","typeLabel":"string | null"},"billingIntervalCount":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int32","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingIntervalCount","typeLabel":"integer\u003cint32>"},"subscriptionStatusType":{"oneOf":[{"maxLength":50,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionStatusType.oneOf.0","typeLabel":"string"},{"maxLength":50,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionStatusType.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionStatusType","typeLabel":"string | null"},"subscriptionCancelType":{"oneOf":[{"maxLength":50,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionCancelType.oneOf.0","typeLabel":"string"},{"maxLength":50,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionCancelType.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionCancelType","typeLabel":"string | null"},"initialBillDate":{"oneOf":[{"maxLength":20,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].initialBillDate.oneOf.0","typeLabel":"string"},{"maxLength":20,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].initialBillDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].initialBillDate","typeLabel":"string | null"},"nextBillDate":{"oneOf":[{"maxLength":20,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].nextBillDate.oneOf.0","typeLabel":"string"},{"maxLength":20,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].nextBillDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].nextBillDate","typeLabel":"string | null"},"taxAddress":{"type":"object","properties":{"addressId":{"type":"integer","description":"The unique identifier of the address.","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.addressId","typeLabel":"integer\u003cint64>"},"addressLine1":{"oneOf":[{"maxLength":40,"minLength":2,"type":"string","description":"Address.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.addressLine1.oneOf.0","typeLabel":"string"},{"maxLength":40,"minLength":2,"type":"null","description":"Address.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.addressLine1.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.addressLine1","typeLabel":"string | null"},"addressLine2":{"maxLength":40,"minLength":0,"type":"string","description":"Supplemental information for the address.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.addressLine2","typeLabel":"string"},"city":{"oneOf":[{"maxLength":25,"minLength":2,"type":"string","description":"City.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.city.oneOf.0","typeLabel":"string"},{"maxLength":25,"minLength":2,"type":"null","description":"City.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.city","typeLabel":"string | null"},"state":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Two-letter state abbreviation.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.state.oneOf.0","typeLabel":"string"},{"maxLength":2,"minLength":2,"type":"null","description":"Two-letter state abbreviation.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.state","typeLabel":"string | null"},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.postalCode.oneOf.0","typeLabel":"string"},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.postalCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.postalCode","typeLabel":"string | null"},"phoneNumber":{"maxLength":20,"minLength":0,"type":"string","description":"The phone number associated with a payment method that is used for billing purposes.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.phoneNumber","typeLabel":"string"},"email":{"maxLength":100,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.email","typeLabel":"string\u003cemail>"},"country":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Country.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.country.oneOf.0","typeLabel":"string"},{"maxLength":2,"minLength":2,"type":"null","description":"Country.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.country","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress","typeLabel":"object"},"paymentMethodIds":{"oneOf":[{"type":"array","items":{"type":"integer","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethodIds.oneOf.0.items.[INDEX]","typeLabel":"integer\u003cint64>"},"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethodIds.oneOf.0","typeLabel":"integer\u003cint64>[]"},{"type":"null","items":{"type":"integer","format":"int64"},"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethodIds.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethodIds","typeLabel":"integer\u003cint64>[] | null"},"cancelledAt":{"oneOf":[{"maxLength":40,"type":"string","format":"date-time","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].cancelledAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"maxLength":40,"type":"null","format":"date-time","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].cancelledAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].cancelledAt","typeLabel":"string\u003cdate-time> | null"},"billingPlans":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"subscriptionBillingPlanId":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX].subscriptionBillingPlanId","typeLabel":"integer\u003cint64>"},"subscriptionId":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX].subscriptionId","typeLabel":"integer\u003cint64>"},"name":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"maxLength":100,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX].name","typeLabel":"string | null"},"value":{"maximum":10000000,"minimum":0,"type":"number","format":"double","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX].value","typeLabel":"number\u003cdouble>"},"startDate":{"oneOf":[{"maxLength":20,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX].startDate.oneOf.0","typeLabel":"string"},{"maxLength":20,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX].startDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX].startDate","typeLabel":"string | null"},"cyclesRemaining":{"maximum":1000000000,"minimum":0,"type":"integer","format":"int32","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX].cyclesRemaining","typeLabel":"integer\u003cint32>"},"cycleCount":{"maximum":100,"minimum":-1,"type":"integer","format":"int32","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX].cycleCount","typeLabel":"integer\u003cint32>"},"valueType":{"oneOf":[{"maxLength":50,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX].valueType.oneOf.0","typeLabel":"string"},{"maxLength":50,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX].valueType.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX].valueType","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"subscriptionBillingPlanId":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64"},"subscriptionId":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64"},"name":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string"},{"maxLength":100,"minLength":0,"type":"null"}]},"value":{"maximum":10000000,"minimum":0,"type":"number","format":"double"},"startDate":{"oneOf":[{"maxLength":20,"minLength":0,"type":"string"},{"maxLength":20,"minLength":0,"type":"null"}]},"cyclesRemaining":{"maximum":1000000000,"minimum":0,"type":"integer","format":"int32"},"cycleCount":{"maximum":100,"minimum":-1,"type":"integer","format":"int32"},"valueType":{"oneOf":[{"maxLength":50,"minLength":0,"type":"string"},{"maxLength":50,"minLength":0,"type":"null"}]}},"additionalProperties":false},"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans","typeLabel":"object[] | null"},"message":{"oneOf":[{"maxLength":500,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].message.oneOf.0","typeLabel":"string"},{"maxLength":500,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].message.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].message","typeLabel":"string | null"},"paymentProcessor":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentProcessor.oneOf.0","typeLabel":"string"},{"maxLength":100,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentProcessor.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentProcessor","typeLabel":"string | null"},"processorMerchantId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].processorMerchantId.oneOf.0","typeLabel":"string"},{"maxLength":100,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].processorMerchantId.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].processorMerchantId","typeLabel":"string | null"},"processorRawResponse":{"oneOf":[{"maxLength":10000,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].processorRawResponse.oneOf.0","typeLabel":"string"},{"maxLength":10000,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].processorRawResponse.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].processorRawResponse","typeLabel":"string | null"},"currency":{"oneOf":[{"maxLength":3,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].currency.oneOf.0","typeLabel":"string"},{"maxLength":3,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].currency","typeLabel":"string | null"},"responseMessage":{"oneOf":[{"maxLength":500,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].responseMessage.oneOf.0","typeLabel":"string"},{"maxLength":500,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].responseMessage.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].responseMessage","typeLabel":"string | null"},"responseCode":{"oneOf":[{"maxLength":10,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].responseCode.oneOf.0","typeLabel":"string"},{"maxLength":10,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].responseCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].responseCode","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"subscriptions.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"subscriptionId":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64"},"customerId":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64"},"merchantSubscriptionRefId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string"},{"maxLength":100,"minLength":0,"type":"null"}]},"networkTransactionId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string"},{"maxLength":100,"minLength":0,"type":"null"}]},"billingIntervalType":{"oneOf":[{"maxLength":50,"minLength":0,"type":"string"},{"maxLength":50,"minLength":0,"type":"null"}]},"billingIntervalCount":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int32"},"subscriptionStatusType":{"oneOf":[{"maxLength":50,"minLength":0,"type":"string"},{"maxLength":50,"minLength":0,"type":"null"}]},"subscriptionCancelType":{"oneOf":[{"maxLength":50,"minLength":0,"type":"string"},{"maxLength":50,"minLength":0,"type":"null"}]},"initialBillDate":{"oneOf":[{"maxLength":20,"minLength":0,"type":"string"},{"maxLength":20,"minLength":0,"type":"null"}]},"nextBillDate":{"oneOf":[{"maxLength":20,"minLength":0,"type":"string"},{"maxLength":20,"minLength":0,"type":"null"}]},"taxAddress":{"type":"object","properties":{"addressId":{"type":"integer","description":"The unique identifier of the address.","format":"int64"},"addressLine1":{"oneOf":[{"maxLength":40,"minLength":2,"type":"string","description":"Address."},{"maxLength":40,"minLength":2,"type":"null","description":"Address."}]},"addressLine2":{"maxLength":40,"minLength":0,"type":"string","description":"Supplemental information for the address."},"city":{"oneOf":[{"maxLength":25,"minLength":2,"type":"string","description":"City."},{"maxLength":25,"minLength":2,"type":"null","description":"City."}]},"state":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Two-letter state abbreviation."},{"maxLength":2,"minLength":2,"type":"null","description":"Two-letter state abbreviation."}]},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code."},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code."}]},"phoneNumber":{"maxLength":20,"minLength":0,"type":"string","description":"The phone number associated with a payment method that is used for billing purposes."},"email":{"maxLength":100,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email"},"country":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Country."},{"maxLength":2,"minLength":2,"type":"null","description":"Country."}]}},"additionalProperties":false},"paymentMethodIds":{"oneOf":[{"type":"array","items":{"type":"integer","format":"int64"}},{"type":"null","items":{"type":"integer","format":"int64"}}]},"cancelledAt":{"oneOf":[{"maxLength":40,"type":"string","format":"date-time"},{"maxLength":40,"type":"null","format":"date-time"}]},"billingPlans":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"subscriptionBillingPlanId":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64"},"subscriptionId":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64"},"name":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string"},{"maxLength":100,"minLength":0,"type":"null"}]},"value":{"maximum":10000000,"minimum":0,"type":"number","format":"double"},"startDate":{"oneOf":[{"maxLength":20,"minLength":0,"type":"string"},{"maxLength":20,"minLength":0,"type":"null"}]},"cyclesRemaining":{"maximum":1000000000,"minimum":0,"type":"integer","format":"int32"},"cycleCount":{"maximum":100,"minimum":-1,"type":"integer","format":"int32"},"valueType":{"oneOf":[{"maxLength":50,"minLength":0,"type":"string"},{"maxLength":50,"minLength":0,"type":"null"}]}},"additionalProperties":false}},{"type":"null","items":{"type":"object","properties":{"subscriptionBillingPlanId":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64"},"subscriptionId":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64"},"name":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string"},{"maxLength":100,"minLength":0,"type":"null"}]},"value":{"maximum":10000000,"minimum":0,"type":"number","format":"double"},"startDate":{"oneOf":[{"maxLength":20,"minLength":0,"type":"string"},{"maxLength":20,"minLength":0,"type":"null"}]},"cyclesRemaining":{"maximum":1000000000,"minimum":0,"type":"integer","format":"int32"},"cycleCount":{"maximum":100,"minimum":-1,"type":"integer","format":"int32"},"valueType":{"oneOf":[{"maxLength":50,"minLength":0,"type":"string"},{"maxLength":50,"minLength":0,"type":"null"}]}},"additionalProperties":false}}]},"message":{"oneOf":[{"maxLength":500,"minLength":0,"type":"string"},{"maxLength":500,"minLength":0,"type":"null"}]},"paymentProcessor":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string"},{"maxLength":100,"minLength":0,"type":"null"}]},"processorMerchantId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string"},{"maxLength":100,"minLength":0,"type":"null"}]},"processorRawResponse":{"oneOf":[{"maxLength":10000,"minLength":0,"type":"string"},{"maxLength":10000,"minLength":0,"type":"null"}]},"currency":{"oneOf":[{"maxLength":3,"minLength":0,"type":"string"},{"maxLength":3,"minLength":0,"type":"null"}]},"responseMessage":{"oneOf":[{"maxLength":500,"minLength":0,"type":"string"},{"maxLength":500,"minLength":0,"type":"null"}]},"responseCode":{"oneOf":[{"maxLength":10,"minLength":0,"type":"string"},{"maxLength":10,"minLength":0,"type":"null"}]}},"additionalProperties":false},"uniqueKey":"subscriptions.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions","typeLabel":"object[] | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"example":{"customerId":1,"merchantCustomerRefId":"1234-5678-9101","firstName":"John","lastName":"Doe","billingAddresses":[{"addressId":1,"addressLine1":"100 Main Street","addressLine2":null,"city":"Santa Ana","state":"CA","postalCode":"90000","phoneNumber":null,"email":null,"country":"US"}],"shippingAddresses":[{"addressId":2,"addressLine1":"101 First Street","addressLine2":"","city":"Costa Mesa","state":"CA","postalCode":"90001","phoneNumber":null,"email":null,"country":"US"}],"taxAddresses":[],"subscriptions":[{"subscriptionId":1,"customerId":1,"merchantSubscriptionRefId":"1234-5678-9101","networkTransactionId":null,"billingIntervalType":"Days","billingIntervalCount":1,"subscriptionStatusType":"current","subscriptionCancelType":null,"initialBillDate":"10/12/2026","nextBillDate":"10/13/2026","taxAddress":null,"paymentMethodIds":null,"cancelledAt":null,"billingPlans":[{"subscriptionBillingPlanId":1,"subscriptionId":0,"name":"Billing Plan 1","value":10.99,"startDate":"10/12/2026","cyclesRemaining":-1,"cycleCount":0,"valueType":"Standard"},{"subscriptionBillingPlanId":2,"subscriptionId":0,"name":"Billing Plan 2","value":14.99,"startDate":"10/13/2026","cyclesRemaining":12,"cycleCount":0,"valueType":"Standard"}],"message":null,"paymentProcessor":null,"processorMerchantId":null,"processorRawResponse":null,"currency":null,"responseMessage":null,"responseCode":null}]},"examples":{"Example":{"title":"Example","value":{"customerId":1,"merchantCustomerRefId":"1234-5678-9101","firstName":"John","lastName":"Doe","billingAddresses":[{"addressId":1,"addressLine1":"100 Main Street","addressLine2":null,"city":"Santa Ana","state":"CA","postalCode":"90000","phoneNumber":null,"email":null,"country":"US"}],"shippingAddresses":[{"addressId":2,"addressLine1":"101 First Street","addressLine2":"","city":"Costa Mesa","state":"CA","postalCode":"90001","phoneNumber":null,"email":null,"country":"US"}],"taxAddresses":[],"subscriptions":[{"subscriptionId":1,"customerId":1,"merchantSubscriptionRefId":"1234-5678-9101","networkTransactionId":null,"billingIntervalType":"Days","billingIntervalCount":1,"subscriptionStatusType":"current","subscriptionCancelType":null,"initialBillDate":"10/12/2026","nextBillDate":"10/13/2026","taxAddress":null,"paymentMethodIds":null,"cancelledAt":null,"billingPlans":[{"subscriptionBillingPlanId":1,"subscriptionId":0,"name":"Billing Plan 1","value":10.99,"startDate":"10/12/2026","cyclesRemaining":-1,"cycleCount":0,"valueType":"Standard"},{"subscriptionBillingPlanId":2,"subscriptionId":0,"name":"Billing Plan 2","value":14.99,"startDate":"10/13/2026","cyclesRemaining":12,"cycleCount":0,"valueType":"Standard"}],"message":null,"paymentProcessor":null,"processorMerchantId":null,"processorRawResponse":null,"currency":null,"responseMessage":null,"responseCode":null}]}}},"exampleType":"examples"},"text/json":{"schema":{"type":"object","properties":{"customerId":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64","uniqueKey":"customerId","typeLabel":"integer\u003cint64>"},"merchantCustomerRefId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string","uniqueKey":"merchantCustomerRefId.oneOf.0","typeLabel":"string"},{"maxLength":100,"minLength":0,"type":"null","uniqueKey":"merchantCustomerRefId.oneOf.1","typeLabel":"null"}],"uniqueKey":"merchantCustomerRefId","typeLabel":"string | null"},"firstName":{"oneOf":[{"maxLength":150,"minLength":0,"type":"string","uniqueKey":"firstName.oneOf.0","typeLabel":"string"},{"maxLength":150,"minLength":0,"type":"null","uniqueKey":"firstName.oneOf.1","typeLabel":"null"}],"uniqueKey":"firstName","typeLabel":"string | null"},"lastName":{"oneOf":[{"maxLength":150,"minLength":0,"type":"string","uniqueKey":"lastName.oneOf.0","typeLabel":"string"},{"maxLength":150,"minLength":0,"type":"null","uniqueKey":"lastName.oneOf.1","typeLabel":"null"}],"uniqueKey":"lastName","typeLabel":"string | null"},"billingAddresses":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"addressId":{"type":"integer","description":"The unique identifier of the address.","format":"int64","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].addressId","typeLabel":"integer\u003cint64>"},"addressLine1":{"oneOf":[{"maxLength":40,"minLength":2,"type":"string","description":"Address.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].addressLine1.oneOf.0","typeLabel":"string"},{"maxLength":40,"minLength":2,"type":"null","description":"Address.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].addressLine1.oneOf.1","typeLabel":"null"}],"uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].addressLine1","typeLabel":"string | null"},"addressLine2":{"maxLength":40,"minLength":0,"type":"string","description":"Supplemental information for the address.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].addressLine2","typeLabel":"string"},"city":{"oneOf":[{"maxLength":25,"minLength":2,"type":"string","description":"City.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].city.oneOf.0","typeLabel":"string"},{"maxLength":25,"minLength":2,"type":"null","description":"City.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].city.oneOf.1","typeLabel":"null"}],"uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].city","typeLabel":"string | null"},"state":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Two-letter state abbreviation.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].state.oneOf.0","typeLabel":"string"},{"maxLength":2,"minLength":2,"type":"null","description":"Two-letter state abbreviation.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].state.oneOf.1","typeLabel":"null"}],"uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].state","typeLabel":"string | null"},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].postalCode.oneOf.0","typeLabel":"string"},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].postalCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].postalCode","typeLabel":"string | null"},"phoneNumber":{"maxLength":20,"minLength":0,"type":"string","description":"The phone number associated with a payment method that is used for billing purposes.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].phoneNumber","typeLabel":"string"},"email":{"maxLength":100,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].email","typeLabel":"string\u003cemail>"},"country":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Country.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].country.oneOf.0","typeLabel":"string"},{"maxLength":2,"minLength":2,"type":"null","description":"Country.","uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].country.oneOf.1","typeLabel":"null"}],"uniqueKey":"billingAddresses.oneOf.0.items.[INDEX].country","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"billingAddresses.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"billingAddresses.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"addressId":{"type":"integer","description":"The unique identifier of the address.","format":"int64"},"addressLine1":{"oneOf":[{"maxLength":40,"minLength":2,"type":"string","description":"Address."},{"maxLength":40,"minLength":2,"type":"null","description":"Address."}]},"addressLine2":{"maxLength":40,"minLength":0,"type":"string","description":"Supplemental information for the address."},"city":{"oneOf":[{"maxLength":25,"minLength":2,"type":"string","description":"City."},{"maxLength":25,"minLength":2,"type":"null","description":"City."}]},"state":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Two-letter state abbreviation."},{"maxLength":2,"minLength":2,"type":"null","description":"Two-letter state abbreviation."}]},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code."},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code."}]},"phoneNumber":{"maxLength":20,"minLength":0,"type":"string","description":"The phone number associated with a payment method that is used for billing purposes."},"email":{"maxLength":100,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email"},"country":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Country."},{"maxLength":2,"minLength":2,"type":"null","description":"Country."}]}},"additionalProperties":false},"uniqueKey":"billingAddresses.oneOf.1","typeLabel":"null"}],"uniqueKey":"billingAddresses","typeLabel":"object[] | null"},"shippingAddresses":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"addressId":{"type":"integer","description":"The unique identifier of the address.","format":"int64","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].addressId","typeLabel":"integer\u003cint64>"},"addressLine1":{"oneOf":[{"maxLength":40,"minLength":2,"type":"string","description":"Address.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].addressLine1.oneOf.0","typeLabel":"string"},{"maxLength":40,"minLength":2,"type":"null","description":"Address.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].addressLine1.oneOf.1","typeLabel":"null"}],"uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].addressLine1","typeLabel":"string | null"},"addressLine2":{"maxLength":40,"minLength":0,"type":"string","description":"Supplemental information for the address.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].addressLine2","typeLabel":"string"},"city":{"oneOf":[{"maxLength":25,"minLength":2,"type":"string","description":"City.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].city.oneOf.0","typeLabel":"string"},{"maxLength":25,"minLength":2,"type":"null","description":"City.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].city.oneOf.1","typeLabel":"null"}],"uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].city","typeLabel":"string | null"},"state":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Two-letter state abbreviation.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].state.oneOf.0","typeLabel":"string"},{"maxLength":2,"minLength":2,"type":"null","description":"Two-letter state abbreviation.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].state.oneOf.1","typeLabel":"null"}],"uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].state","typeLabel":"string | null"},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].postalCode.oneOf.0","typeLabel":"string"},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].postalCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].postalCode","typeLabel":"string | null"},"phoneNumber":{"maxLength":20,"minLength":0,"type":"string","description":"The phone number associated with a payment method that is used for billing purposes.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].phoneNumber","typeLabel":"string"},"email":{"maxLength":100,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].email","typeLabel":"string\u003cemail>"},"country":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Country.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].country.oneOf.0","typeLabel":"string"},{"maxLength":2,"minLength":2,"type":"null","description":"Country.","uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].country.oneOf.1","typeLabel":"null"}],"uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX].country","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"shippingAddresses.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"shippingAddresses.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"addressId":{"type":"integer","description":"The unique identifier of the address.","format":"int64"},"addressLine1":{"oneOf":[{"maxLength":40,"minLength":2,"type":"string","description":"Address."},{"maxLength":40,"minLength":2,"type":"null","description":"Address."}]},"addressLine2":{"maxLength":40,"minLength":0,"type":"string","description":"Supplemental information for the address."},"city":{"oneOf":[{"maxLength":25,"minLength":2,"type":"string","description":"City."},{"maxLength":25,"minLength":2,"type":"null","description":"City."}]},"state":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Two-letter state abbreviation."},{"maxLength":2,"minLength":2,"type":"null","description":"Two-letter state abbreviation."}]},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code."},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code."}]},"phoneNumber":{"maxLength":20,"minLength":0,"type":"string","description":"The phone number associated with a payment method that is used for billing purposes."},"email":{"maxLength":100,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email"},"country":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Country."},{"maxLength":2,"minLength":2,"type":"null","description":"Country."}]}},"additionalProperties":false},"uniqueKey":"shippingAddresses.oneOf.1","typeLabel":"null"}],"uniqueKey":"shippingAddresses","typeLabel":"object[] | null"},"taxAddresses":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"addressId":{"type":"integer","description":"The unique identifier of the address.","format":"int64","uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].addressId","typeLabel":"integer\u003cint64>"},"addressLine1":{"oneOf":[{"maxLength":40,"minLength":2,"type":"string","description":"Address.","uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].addressLine1.oneOf.0","typeLabel":"string"},{"maxLength":40,"minLength":2,"type":"null","description":"Address.","uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].addressLine1.oneOf.1","typeLabel":"null"}],"uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].addressLine1","typeLabel":"string | null"},"addressLine2":{"maxLength":40,"minLength":0,"type":"string","description":"Supplemental information for the address.","uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].addressLine2","typeLabel":"string"},"city":{"oneOf":[{"maxLength":25,"minLength":2,"type":"string","description":"City.","uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].city.oneOf.0","typeLabel":"string"},{"maxLength":25,"minLength":2,"type":"null","description":"City.","uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].city.oneOf.1","typeLabel":"null"}],"uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].city","typeLabel":"string | null"},"state":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Two-letter state abbreviation.","uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].state.oneOf.0","typeLabel":"string"},{"maxLength":2,"minLength":2,"type":"null","description":"Two-letter state abbreviation.","uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].state.oneOf.1","typeLabel":"null"}],"uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].state","typeLabel":"string | null"},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code.","uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].postalCode.oneOf.0","typeLabel":"string"},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code.","uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].postalCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].postalCode","typeLabel":"string | null"},"phoneNumber":{"maxLength":20,"minLength":0,"type":"string","description":"The phone number associated with a payment method that is used for billing purposes.","uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].phoneNumber","typeLabel":"string"},"email":{"maxLength":100,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email","uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].email","typeLabel":"string\u003cemail>"},"country":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Country.","uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].country.oneOf.0","typeLabel":"string"},{"maxLength":2,"minLength":2,"type":"null","description":"Country.","uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].country.oneOf.1","typeLabel":"null"}],"uniqueKey":"taxAddresses.oneOf.0.items.[INDEX].country","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"taxAddresses.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"taxAddresses.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"addressId":{"type":"integer","description":"The unique identifier of the address.","format":"int64"},"addressLine1":{"oneOf":[{"maxLength":40,"minLength":2,"type":"string","description":"Address."},{"maxLength":40,"minLength":2,"type":"null","description":"Address."}]},"addressLine2":{"maxLength":40,"minLength":0,"type":"string","description":"Supplemental information for the address."},"city":{"oneOf":[{"maxLength":25,"minLength":2,"type":"string","description":"City."},{"maxLength":25,"minLength":2,"type":"null","description":"City."}]},"state":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Two-letter state abbreviation."},{"maxLength":2,"minLength":2,"type":"null","description":"Two-letter state abbreviation."}]},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code."},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code."}]},"phoneNumber":{"maxLength":20,"minLength":0,"type":"string","description":"The phone number associated with a payment method that is used for billing purposes."},"email":{"maxLength":100,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email"},"country":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Country."},{"maxLength":2,"minLength":2,"type":"null","description":"Country."}]}},"additionalProperties":false},"uniqueKey":"taxAddresses.oneOf.1","typeLabel":"null"}],"uniqueKey":"taxAddresses","typeLabel":"object[] | null"},"subscriptions":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"subscriptionId":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionId","typeLabel":"integer\u003cint64>"},"customerId":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].customerId","typeLabel":"integer\u003cint64>"},"merchantSubscriptionRefId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].merchantSubscriptionRefId.oneOf.0","typeLabel":"string"},{"maxLength":100,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].merchantSubscriptionRefId.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].merchantSubscriptionRefId","typeLabel":"string | null"},"networkTransactionId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].networkTransactionId.oneOf.0","typeLabel":"string"},{"maxLength":100,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].networkTransactionId.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].networkTransactionId","typeLabel":"string | null"},"billingIntervalType":{"oneOf":[{"maxLength":50,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingIntervalType.oneOf.0","typeLabel":"string"},{"maxLength":50,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingIntervalType.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingIntervalType","typeLabel":"string | null"},"billingIntervalCount":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int32","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingIntervalCount","typeLabel":"integer\u003cint32>"},"subscriptionStatusType":{"oneOf":[{"maxLength":50,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionStatusType.oneOf.0","typeLabel":"string"},{"maxLength":50,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionStatusType.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionStatusType","typeLabel":"string | null"},"subscriptionCancelType":{"oneOf":[{"maxLength":50,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionCancelType.oneOf.0","typeLabel":"string"},{"maxLength":50,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionCancelType.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].subscriptionCancelType","typeLabel":"string | null"},"initialBillDate":{"oneOf":[{"maxLength":20,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].initialBillDate.oneOf.0","typeLabel":"string"},{"maxLength":20,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].initialBillDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].initialBillDate","typeLabel":"string | null"},"nextBillDate":{"oneOf":[{"maxLength":20,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].nextBillDate.oneOf.0","typeLabel":"string"},{"maxLength":20,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].nextBillDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].nextBillDate","typeLabel":"string | null"},"taxAddress":{"type":"object","properties":{"addressId":{"type":"integer","description":"The unique identifier of the address.","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.addressId","typeLabel":"integer\u003cint64>"},"addressLine1":{"oneOf":[{"maxLength":40,"minLength":2,"type":"string","description":"Address.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.addressLine1.oneOf.0","typeLabel":"string"},{"maxLength":40,"minLength":2,"type":"null","description":"Address.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.addressLine1.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.addressLine1","typeLabel":"string | null"},"addressLine2":{"maxLength":40,"minLength":0,"type":"string","description":"Supplemental information for the address.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.addressLine2","typeLabel":"string"},"city":{"oneOf":[{"maxLength":25,"minLength":2,"type":"string","description":"City.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.city.oneOf.0","typeLabel":"string"},{"maxLength":25,"minLength":2,"type":"null","description":"City.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.city","typeLabel":"string | null"},"state":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Two-letter state abbreviation.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.state.oneOf.0","typeLabel":"string"},{"maxLength":2,"minLength":2,"type":"null","description":"Two-letter state abbreviation.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.state","typeLabel":"string | null"},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.postalCode.oneOf.0","typeLabel":"string"},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.postalCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.postalCode","typeLabel":"string | null"},"phoneNumber":{"maxLength":20,"minLength":0,"type":"string","description":"The phone number associated with a payment method that is used for billing purposes.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.phoneNumber","typeLabel":"string"},"email":{"maxLength":100,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.email","typeLabel":"string\u003cemail>"},"country":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Country.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.country.oneOf.0","typeLabel":"string"},{"maxLength":2,"minLength":2,"type":"null","description":"Country.","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress.country","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].taxAddress","typeLabel":"object"},"paymentMethodIds":{"oneOf":[{"type":"array","items":{"type":"integer","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethodIds.oneOf.0.items.[INDEX]","typeLabel":"integer\u003cint64>"},"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethodIds.oneOf.0","typeLabel":"integer\u003cint64>[]"},{"type":"null","items":{"type":"integer","format":"int64"},"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethodIds.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentMethodIds","typeLabel":"integer\u003cint64>[] | null"},"cancelledAt":{"oneOf":[{"maxLength":40,"type":"string","format":"date-time","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].cancelledAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"maxLength":40,"type":"null","format":"date-time","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].cancelledAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].cancelledAt","typeLabel":"string\u003cdate-time> | null"},"billingPlans":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"subscriptionBillingPlanId":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX].subscriptionBillingPlanId","typeLabel":"integer\u003cint64>"},"subscriptionId":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX].subscriptionId","typeLabel":"integer\u003cint64>"},"name":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"maxLength":100,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX].name","typeLabel":"string | null"},"value":{"maximum":10000000,"minimum":0,"type":"number","format":"double","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX].value","typeLabel":"number\u003cdouble>"},"startDate":{"oneOf":[{"maxLength":20,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX].startDate.oneOf.0","typeLabel":"string"},{"maxLength":20,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX].startDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX].startDate","typeLabel":"string | null"},"cyclesRemaining":{"maximum":1000000000,"minimum":0,"type":"integer","format":"int32","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX].cyclesRemaining","typeLabel":"integer\u003cint32>"},"cycleCount":{"maximum":100,"minimum":-1,"type":"integer","format":"int32","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX].cycleCount","typeLabel":"integer\u003cint32>"},"valueType":{"oneOf":[{"maxLength":50,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX].valueType.oneOf.0","typeLabel":"string"},{"maxLength":50,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX].valueType.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX].valueType","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"subscriptionBillingPlanId":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64"},"subscriptionId":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64"},"name":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string"},{"maxLength":100,"minLength":0,"type":"null"}]},"value":{"maximum":10000000,"minimum":0,"type":"number","format":"double"},"startDate":{"oneOf":[{"maxLength":20,"minLength":0,"type":"string"},{"maxLength":20,"minLength":0,"type":"null"}]},"cyclesRemaining":{"maximum":1000000000,"minimum":0,"type":"integer","format":"int32"},"cycleCount":{"maximum":100,"minimum":-1,"type":"integer","format":"int32"},"valueType":{"oneOf":[{"maxLength":50,"minLength":0,"type":"string"},{"maxLength":50,"minLength":0,"type":"null"}]}},"additionalProperties":false},"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].billingPlans","typeLabel":"object[] | null"},"message":{"oneOf":[{"maxLength":500,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].message.oneOf.0","typeLabel":"string"},{"maxLength":500,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].message.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].message","typeLabel":"string | null"},"paymentProcessor":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentProcessor.oneOf.0","typeLabel":"string"},{"maxLength":100,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentProcessor.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].paymentProcessor","typeLabel":"string | null"},"processorMerchantId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].processorMerchantId.oneOf.0","typeLabel":"string"},{"maxLength":100,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].processorMerchantId.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].processorMerchantId","typeLabel":"string | null"},"processorRawResponse":{"oneOf":[{"maxLength":10000,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].processorRawResponse.oneOf.0","typeLabel":"string"},{"maxLength":10000,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].processorRawResponse.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].processorRawResponse","typeLabel":"string | null"},"currency":{"oneOf":[{"maxLength":3,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].currency.oneOf.0","typeLabel":"string"},{"maxLength":3,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].currency","typeLabel":"string | null"},"responseMessage":{"oneOf":[{"maxLength":500,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].responseMessage.oneOf.0","typeLabel":"string"},{"maxLength":500,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].responseMessage.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].responseMessage","typeLabel":"string | null"},"responseCode":{"oneOf":[{"maxLength":10,"minLength":0,"type":"string","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].responseCode.oneOf.0","typeLabel":"string"},{"maxLength":10,"minLength":0,"type":"null","uniqueKey":"subscriptions.oneOf.0.items.[INDEX].responseCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions.oneOf.0.items.[INDEX].responseCode","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"subscriptions.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"subscriptions.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"subscriptionId":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64"},"customerId":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64"},"merchantSubscriptionRefId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string"},{"maxLength":100,"minLength":0,"type":"null"}]},"networkTransactionId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string"},{"maxLength":100,"minLength":0,"type":"null"}]},"billingIntervalType":{"oneOf":[{"maxLength":50,"minLength":0,"type":"string"},{"maxLength":50,"minLength":0,"type":"null"}]},"billingIntervalCount":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int32"},"subscriptionStatusType":{"oneOf":[{"maxLength":50,"minLength":0,"type":"string"},{"maxLength":50,"minLength":0,"type":"null"}]},"subscriptionCancelType":{"oneOf":[{"maxLength":50,"minLength":0,"type":"string"},{"maxLength":50,"minLength":0,"type":"null"}]},"initialBillDate":{"oneOf":[{"maxLength":20,"minLength":0,"type":"string"},{"maxLength":20,"minLength":0,"type":"null"}]},"nextBillDate":{"oneOf":[{"maxLength":20,"minLength":0,"type":"string"},{"maxLength":20,"minLength":0,"type":"null"}]},"taxAddress":{"type":"object","properties":{"addressId":{"type":"integer","description":"The unique identifier of the address.","format":"int64"},"addressLine1":{"oneOf":[{"maxLength":40,"minLength":2,"type":"string","description":"Address."},{"maxLength":40,"minLength":2,"type":"null","description":"Address."}]},"addressLine2":{"maxLength":40,"minLength":0,"type":"string","description":"Supplemental information for the address."},"city":{"oneOf":[{"maxLength":25,"minLength":2,"type":"string","description":"City."},{"maxLength":25,"minLength":2,"type":"null","description":"City."}]},"state":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Two-letter state abbreviation."},{"maxLength":2,"minLength":2,"type":"null","description":"Two-letter state abbreviation."}]},"postalCode":{"oneOf":[{"maxLength":20,"minLength":2,"type":"string","description":"Postal Code."},{"maxLength":20,"minLength":2,"type":"null","description":"Postal Code."}]},"phoneNumber":{"maxLength":20,"minLength":0,"type":"string","description":"The phone number associated with a payment method that is used for billing purposes."},"email":{"maxLength":100,"minLength":0,"type":"string","description":"The email associated with a billing address.","format":"email"},"country":{"oneOf":[{"maxLength":2,"minLength":2,"type":"string","description":"Country."},{"maxLength":2,"minLength":2,"type":"null","description":"Country."}]}},"additionalProperties":false},"paymentMethodIds":{"oneOf":[{"type":"array","items":{"type":"integer","format":"int64"}},{"type":"null","items":{"type":"integer","format":"int64"}}]},"cancelledAt":{"oneOf":[{"maxLength":40,"type":"string","format":"date-time"},{"maxLength":40,"type":"null","format":"date-time"}]},"billingPlans":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"subscriptionBillingPlanId":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64"},"subscriptionId":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64"},"name":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string"},{"maxLength":100,"minLength":0,"type":"null"}]},"value":{"maximum":10000000,"minimum":0,"type":"number","format":"double"},"startDate":{"oneOf":[{"maxLength":20,"minLength":0,"type":"string"},{"maxLength":20,"minLength":0,"type":"null"}]},"cyclesRemaining":{"maximum":1000000000,"minimum":0,"type":"integer","format":"int32"},"cycleCount":{"maximum":100,"minimum":-1,"type":"integer","format":"int32"},"valueType":{"oneOf":[{"maxLength":50,"minLength":0,"type":"string"},{"maxLength":50,"minLength":0,"type":"null"}]}},"additionalProperties":false}},{"type":"null","items":{"type":"object","properties":{"subscriptionBillingPlanId":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64"},"subscriptionId":{"maximum":1000000000,"minimum":1,"type":"integer","format":"int64"},"name":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string"},{"maxLength":100,"minLength":0,"type":"null"}]},"value":{"maximum":10000000,"minimum":0,"type":"number","format":"double"},"startDate":{"oneOf":[{"maxLength":20,"minLength":0,"type":"string"},{"maxLength":20,"minLength":0,"type":"null"}]},"cyclesRemaining":{"maximum":1000000000,"minimum":0,"type":"integer","format":"int32"},"cycleCount":{"maximum":100,"minimum":-1,"type":"integer","format":"int32"},"valueType":{"oneOf":[{"maxLength":50,"minLength":0,"type":"string"},{"maxLength":50,"minLength":0,"type":"null"}]}},"additionalProperties":false}}]},"message":{"oneOf":[{"maxLength":500,"minLength":0,"type":"string"},{"maxLength":500,"minLength":0,"type":"null"}]},"paymentProcessor":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string"},{"maxLength":100,"minLength":0,"type":"null"}]},"processorMerchantId":{"oneOf":[{"maxLength":100,"minLength":0,"type":"string"},{"maxLength":100,"minLength":0,"type":"null"}]},"processorRawResponse":{"oneOf":[{"maxLength":10000,"minLength":0,"type":"string"},{"maxLength":10000,"minLength":0,"type":"null"}]},"currency":{"oneOf":[{"maxLength":3,"minLength":0,"type":"string"},{"maxLength":3,"minLength":0,"type":"null"}]},"responseMessage":{"oneOf":[{"maxLength":500,"minLength":0,"type":"string"},{"maxLength":500,"minLength":0,"type":"null"}]},"responseCode":{"oneOf":[{"maxLength":10,"minLength":0,"type":"string"},{"maxLength":10,"minLength":0,"type":"null"}]}},"additionalProperties":false},"uniqueKey":"subscriptions.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscriptions","typeLabel":"object[] | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"example":{"customerId":1,"merchantCustomerRefId":"1234-5678-9101","firstName":"John","lastName":"Doe","billingAddresses":[{"addressId":1,"addressLine1":"100 Main Street","addressLine2":null,"city":"Santa Ana","state":"CA","postalCode":"90000","phoneNumber":null,"email":null,"country":"US"}],"shippingAddresses":[{"addressId":2,"addressLine1":"101 First Street","addressLine2":"","city":"Costa Mesa","state":"CA","postalCode":"90001","phoneNumber":null,"email":null,"country":"US"}],"taxAddresses":[],"subscriptions":[{"subscriptionId":1,"customerId":1,"merchantSubscriptionRefId":"1234-5678-9101","networkTransactionId":null,"billingIntervalType":"Days","billingIntervalCount":1,"subscriptionStatusType":"current","subscriptionCancelType":null,"initialBillDate":"10/12/2026","nextBillDate":"10/13/2026","taxAddress":null,"paymentMethodIds":null,"cancelledAt":null,"billingPlans":[{"subscriptionBillingPlanId":1,"subscriptionId":0,"name":"Billing Plan 1","value":10.99,"startDate":"10/12/2026","cyclesRemaining":-1,"cycleCount":0,"valueType":"Standard"},{"subscriptionBillingPlanId":2,"subscriptionId":0,"name":"Billing Plan 2","value":14.99,"startDate":"10/13/2026","cyclesRemaining":12,"cycleCount":0,"valueType":"Standard"}],"message":null,"paymentProcessor":null,"processorMerchantId":null,"processorRawResponse":null,"currency":null,"responseMessage":null,"responseCode":null}]},"examples":{"Example":{"title":"Example","value":{"customerId":1,"merchantCustomerRefId":"1234-5678-9101","firstName":"John","lastName":"Doe","billingAddresses":[{"addressId":1,"addressLine1":"100 Main Street","addressLine2":null,"city":"Santa Ana","state":"CA","postalCode":"90000","phoneNumber":null,"email":null,"country":"US"}],"shippingAddresses":[{"addressId":2,"addressLine1":"101 First Street","addressLine2":"","city":"Costa Mesa","state":"CA","postalCode":"90001","phoneNumber":null,"email":null,"country":"US"}],"taxAddresses":[],"subscriptions":[{"subscriptionId":1,"customerId":1,"merchantSubscriptionRefId":"1234-5678-9101","networkTransactionId":null,"billingIntervalType":"Days","billingIntervalCount":1,"subscriptionStatusType":"current","subscriptionCancelType":null,"initialBillDate":"10/12/2026","nextBillDate":"10/13/2026","taxAddress":null,"paymentMethodIds":null,"cancelledAt":null,"billingPlans":[{"subscriptionBillingPlanId":1,"subscriptionId":0,"name":"Billing Plan 1","value":10.99,"startDate":"10/12/2026","cyclesRemaining":-1,"cycleCount":0,"valueType":"Standard"},{"subscriptionBillingPlanId":2,"subscriptionId":0,"name":"Billing Plan 2","value":14.99,"startDate":"10/13/2026","cyclesRemaining":12,"cycleCount":0,"valueType":"Standard"}],"message":null,"paymentProcessor":null,"processorMerchantId":null,"processorRawResponse":null,"currency":null,"responseMessage":null,"responseCode":null}]}}},"exampleType":"examples"}},"exampleType":"examples"},"f7d665e1-d62e-4839-9bed-851b4245186b":{"description":"Multi-Status","content":{"text/plain":{"schema":{"type":"array","items":{"type":"object","properties":{"response":{"oneOf":[{},{"type":"null","uniqueKey":"items.[INDEX].response.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].response","typeLabel":"null"},"statusCode":{"type":"integer","format":"int32","uniqueKey":"items.[INDEX].statusCode","typeLabel":"integer\u003cint32>"},"name":{"oneOf":[{"type":"string","uniqueKey":"items.[INDEX].name.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"items.[INDEX].name.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].name","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"items.[INDEX]","typeLabel":"object"},"uniqueKey":"","typeLabel":"object[]"},"example":[{"response":{"customerId":1,"merchantCustomerRefId":"1234-5678-9101","firstName":"John","lastName":"Doe","billingAddresses":[{"addressId":1,"addressLine1":"100 Main Street","addressLine2":"","city":"Santa Ana","state":"CA","postalCode":"90000","phoneNumber":null,"email":null,"country":"US"}],"shippingAddresses":[{"addressId":2,"addressLine1":"101 First Street","addressLine2":"","city":"Costa Mesa","state":"CA","postalCode":"90001","phoneNumber":null,"email":null,"country":"US"}],"taxAddresses":[],"subscriptions":[]},"statusCode":201,"name":"Customer"},{"response":{"subscriptionId":1,"customerId":1,"merchantSubscriptionRefId":"1234-5678-9101","networkTransactionId":null,"billingIntervalType":"Days","billingIntervalCount":1,"subscriptionStatusType":"current","subscriptionCancelType":null,"initialBillDate":"10/13/2026","nextBillDate":null,"taxAddress":null,"paymentMethodIds":null,"cancelledAt":null,"billingPlans":[{"subscriptionBillingPlanId":1,"subscriptionId":0,"name":"Billing Plan 1","value":10.99,"startDate":"10/12/2026","cyclesRemaining":-1,"cycleCount":0,"valueType":"Standard"},{"subscriptionBillingPlanId":2,"subscriptionId":0,"name":"Billing Plan 2","value":14.99,"startDate":"10/12/2026","cyclesRemaining":12,"cycleCount":0,"valueType":"Standard"}],"message":null,"paymentProcessor":null,"processorMerchantId":null,"processorRawResponse":null,"currency":null,"responseMessage":null,"responseCode":null},"statusCode":201,"name":"Subscription"},{"response":{"merchantSubscriptionRefId":"1234-5678-9101","errorMessage":"Subscription creation fail"},"statusCode":400,"name":"CreateSubscriptionFailure"}],"examples":{"Example":{"title":"Example","value":[{"response":{"customerId":1,"merchantCustomerRefId":"1234-5678-9101","firstName":"John","lastName":"Doe","billingAddresses":[{"addressId":1,"addressLine1":"100 Main Street","addressLine2":"","city":"Santa Ana","state":"CA","postalCode":"90000","phoneNumber":null,"email":null,"country":"US"}],"shippingAddresses":[{"addressId":2,"addressLine1":"101 First Street","addressLine2":"","city":"Costa Mesa","state":"CA","postalCode":"90001","phoneNumber":null,"email":null,"country":"US"}],"taxAddresses":[],"subscriptions":[]},"statusCode":201,"name":"Customer"},{"response":{"subscriptionId":1,"customerId":1,"merchantSubscriptionRefId":"1234-5678-9101","networkTransactionId":null,"billingIntervalType":"Days","billingIntervalCount":1,"subscriptionStatusType":"current","subscriptionCancelType":null,"initialBillDate":"10/13/2026","nextBillDate":null,"taxAddress":null,"paymentMethodIds":null,"cancelledAt":null,"billingPlans":[{"subscriptionBillingPlanId":1,"subscriptionId":0,"name":"Billing Plan 1","value":10.99,"startDate":"10/12/2026","cyclesRemaining":-1,"cycleCount":0,"valueType":"Standard"},{"subscriptionBillingPlanId":2,"subscriptionId":0,"name":"Billing Plan 2","value":14.99,"startDate":"10/12/2026","cyclesRemaining":12,"cycleCount":0,"valueType":"Standard"}],"message":null,"paymentProcessor":null,"processorMerchantId":null,"processorRawResponse":null,"currency":null,"responseMessage":null,"responseCode":null},"statusCode":201,"name":"Subscription"},{"response":{"merchantSubscriptionRefId":"1234-5678-9101","errorMessage":"Subscription creation fail"},"statusCode":400,"name":"CreateSubscriptionFailure"}]}},"exampleType":"examples"},"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"response":{"oneOf":[{},{"type":"null","uniqueKey":"items.[INDEX].response.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].response","typeLabel":"null"},"statusCode":{"type":"integer","format":"int32","uniqueKey":"items.[INDEX].statusCode","typeLabel":"integer\u003cint32>"},"name":{"oneOf":[{"type":"string","uniqueKey":"items.[INDEX].name.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"items.[INDEX].name.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].name","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"items.[INDEX]","typeLabel":"object"},"uniqueKey":"","typeLabel":"object[]"},"example":[{"response":{"customerId":1,"merchantCustomerRefId":"1234-5678-9101","firstName":"John","lastName":"Doe","billingAddresses":[{"addressId":1,"addressLine1":"100 Main Street","addressLine2":"","city":"Santa Ana","state":"CA","postalCode":"90000","phoneNumber":null,"email":null,"country":"US"}],"shippingAddresses":[{"addressId":2,"addressLine1":"101 First Street","addressLine2":"","city":"Costa Mesa","state":"CA","postalCode":"90001","phoneNumber":null,"email":null,"country":"US"}],"taxAddresses":[],"subscriptions":[]},"statusCode":201,"name":"Customer"},{"response":{"subscriptionId":1,"customerId":1,"merchantSubscriptionRefId":"1234-5678-9101","networkTransactionId":null,"billingIntervalType":"Days","billingIntervalCount":1,"subscriptionStatusType":"current","subscriptionCancelType":null,"initialBillDate":"10/13/2026","nextBillDate":null,"taxAddress":null,"paymentMethodIds":null,"cancelledAt":null,"billingPlans":[{"subscriptionBillingPlanId":1,"subscriptionId":0,"name":"Billing Plan 1","value":10.99,"startDate":"10/12/2026","cyclesRemaining":-1,"cycleCount":0,"valueType":"Standard"},{"subscriptionBillingPlanId":2,"subscriptionId":0,"name":"Billing Plan 2","value":14.99,"startDate":"10/12/2026","cyclesRemaining":12,"cycleCount":0,"valueType":"Standard"}],"message":null,"paymentProcessor":null,"processorMerchantId":null,"processorRawResponse":null,"currency":null,"responseMessage":null,"responseCode":null},"statusCode":201,"name":"Subscription"},{"response":{"merchantSubscriptionRefId":"1234-5678-9101","errorMessage":"Subscription creation fail"},"statusCode":400,"name":"CreateSubscriptionFailure"}],"examples":{"Example":{"title":"Example","value":[{"response":{"customerId":1,"merchantCustomerRefId":"1234-5678-9101","firstName":"John","lastName":"Doe","billingAddresses":[{"addressId":1,"addressLine1":"100 Main Street","addressLine2":"","city":"Santa Ana","state":"CA","postalCode":"90000","phoneNumber":null,"email":null,"country":"US"}],"shippingAddresses":[{"addressId":2,"addressLine1":"101 First Street","addressLine2":"","city":"Costa Mesa","state":"CA","postalCode":"90001","phoneNumber":null,"email":null,"country":"US"}],"taxAddresses":[],"subscriptions":[]},"statusCode":201,"name":"Customer"},{"response":{"subscriptionId":1,"customerId":1,"merchantSubscriptionRefId":"1234-5678-9101","networkTransactionId":null,"billingIntervalType":"Days","billingIntervalCount":1,"subscriptionStatusType":"current","subscriptionCancelType":null,"initialBillDate":"10/13/2026","nextBillDate":null,"taxAddress":null,"paymentMethodIds":null,"cancelledAt":null,"billingPlans":[{"subscriptionBillingPlanId":1,"subscriptionId":0,"name":"Billing Plan 1","value":10.99,"startDate":"10/12/2026","cyclesRemaining":-1,"cycleCount":0,"valueType":"Standard"},{"subscriptionBillingPlanId":2,"subscriptionId":0,"name":"Billing Plan 2","value":14.99,"startDate":"10/12/2026","cyclesRemaining":12,"cycleCount":0,"valueType":"Standard"}],"message":null,"paymentProcessor":null,"processorMerchantId":null,"processorRawResponse":null,"currency":null,"responseMessage":null,"responseCode":null},"statusCode":201,"name":"Subscription"},{"response":{"merchantSubscriptionRefId":"1234-5678-9101","errorMessage":"Subscription creation fail"},"statusCode":400,"name":"CreateSubscriptionFailure"}]}},"exampleType":"examples"},"text/json":{"schema":{"type":"array","items":{"type":"object","properties":{"response":{"oneOf":[{},{"type":"null","uniqueKey":"items.[INDEX].response.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].response","typeLabel":"null"},"statusCode":{"type":"integer","format":"int32","uniqueKey":"items.[INDEX].statusCode","typeLabel":"integer\u003cint32>"},"name":{"oneOf":[{"type":"string","uniqueKey":"items.[INDEX].name.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"items.[INDEX].name.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].name","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"items.[INDEX]","typeLabel":"object"},"uniqueKey":"","typeLabel":"object[]"},"example":[{"response":{"customerId":1,"merchantCustomerRefId":"1234-5678-9101","firstName":"John","lastName":"Doe","billingAddresses":[{"addressId":1,"addressLine1":"100 Main Street","addressLine2":"","city":"Santa Ana","state":"CA","postalCode":"90000","phoneNumber":null,"email":null,"country":"US"}],"shippingAddresses":[{"addressId":2,"addressLine1":"101 First Street","addressLine2":"","city":"Costa Mesa","state":"CA","postalCode":"90001","phoneNumber":null,"email":null,"country":"US"}],"taxAddresses":[],"subscriptions":[]},"statusCode":201,"name":"Customer"},{"response":{"subscriptionId":1,"customerId":1,"merchantSubscriptionRefId":"1234-5678-9101","networkTransactionId":null,"billingIntervalType":"Days","billingIntervalCount":1,"subscriptionStatusType":"current","subscriptionCancelType":null,"initialBillDate":"10/13/2026","nextBillDate":null,"taxAddress":null,"paymentMethodIds":null,"cancelledAt":null,"billingPlans":[{"subscriptionBillingPlanId":1,"subscriptionId":0,"name":"Billing Plan 1","value":10.99,"startDate":"10/12/2026","cyclesRemaining":-1,"cycleCount":0,"valueType":"Standard"},{"subscriptionBillingPlanId":2,"subscriptionId":0,"name":"Billing Plan 2","value":14.99,"startDate":"10/12/2026","cyclesRemaining":12,"cycleCount":0,"valueType":"Standard"}],"message":null,"paymentProcessor":null,"processorMerchantId":null,"processorRawResponse":null,"currency":null,"responseMessage":null,"responseCode":null},"statusCode":201,"name":"Subscription"},{"response":{"merchantSubscriptionRefId":"1234-5678-9101","errorMessage":"Subscription creation fail"},"statusCode":400,"name":"CreateSubscriptionFailure"}],"examples":{"Example":{"title":"Example","value":[{"response":{"customerId":1,"merchantCustomerRefId":"1234-5678-9101","firstName":"John","lastName":"Doe","billingAddresses":[{"addressId":1,"addressLine1":"100 Main Street","addressLine2":"","city":"Santa Ana","state":"CA","postalCode":"90000","phoneNumber":null,"email":null,"country":"US"}],"shippingAddresses":[{"addressId":2,"addressLine1":"101 First Street","addressLine2":"","city":"Costa Mesa","state":"CA","postalCode":"90001","phoneNumber":null,"email":null,"country":"US"}],"taxAddresses":[],"subscriptions":[]},"statusCode":201,"name":"Customer"},{"response":{"subscriptionId":1,"customerId":1,"merchantSubscriptionRefId":"1234-5678-9101","networkTransactionId":null,"billingIntervalType":"Days","billingIntervalCount":1,"subscriptionStatusType":"current","subscriptionCancelType":null,"initialBillDate":"10/13/2026","nextBillDate":null,"taxAddress":null,"paymentMethodIds":null,"cancelledAt":null,"billingPlans":[{"subscriptionBillingPlanId":1,"subscriptionId":0,"name":"Billing Plan 1","value":10.99,"startDate":"10/12/2026","cyclesRemaining":-1,"cycleCount":0,"valueType":"Standard"},{"subscriptionBillingPlanId":2,"subscriptionId":0,"name":"Billing Plan 2","value":14.99,"startDate":"10/12/2026","cyclesRemaining":12,"cycleCount":0,"valueType":"Standard"}],"message":null,"paymentProcessor":null,"processorMerchantId":null,"processorRawResponse":null,"currency":null,"responseMessage":null,"responseCode":null},"statusCode":201,"name":"Subscription"},{"response":{"merchantSubscriptionRefId":"1234-5678-9101","errorMessage":"Subscription creation fail"},"statusCode":400,"name":"CreateSubscriptionFailure"}]}},"exampleType":"examples"}},"exampleType":"examples"},"34a50144-0613-4336-97bf-effae2326529":{"description":"One or more fields in the request were not submitted or didn't pass validation. Please review the request body and parameters against the required schema.","content":{"text/plain":{"schema":{"type":"object","properties":{"message":{"oneOf":[{"type":"string","uniqueKey":"message.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.oneOf.1","typeLabel":"null"}],"uniqueKey":"message","typeLabel":"string | null"},"errors":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"errors.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors","typeLabel":"string[] | null"},"fluentValidatorErrors":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"propertyName":{"oneOf":[{"type":"string","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].propertyName.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].propertyName.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].propertyName","typeLabel":"string | null"},"errorMessage":{"oneOf":[{"type":"string","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorMessage.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorMessage.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorMessage","typeLabel":"string | null"},"attemptedValue":{"oneOf":[{},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].attemptedValue.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].attemptedValue","typeLabel":"null"},"customState":{"oneOf":[{},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].customState.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].customState","typeLabel":"null"},"severity":{"enum":["Error","Warning","Info"],"type":"string","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].severity","typeLabel":"enum\u003cstring>"},"errorCode":{"oneOf":[{"type":"string","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorCode.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorCode","typeLabel":"string | null"},"formattedMessagePlaceholderValues":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.0.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.0.additionalProperties","typeLabel":"null"},"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.1.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.1.additionalProperties","typeLabel":"null"},"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues","typeLabel":"object | null"}},"additionalProperties":false,"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fluentValidatorErrors.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"propertyName":{"oneOf":[{"type":"string"},{"type":"null"}]},"errorMessage":{"oneOf":[{"type":"string"},{"type":"null"}]},"attemptedValue":{"oneOf":[{},{"type":"null"}]},"customState":{"oneOf":[{},{"type":"null"}]},"severity":{"enum":["Error","Warning","Info"],"type":"string"},"errorCode":{"oneOf":[{"type":"string"},{"type":"null"}]},"formattedMessagePlaceholderValues":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null"}]}},{"type":"null","additionalProperties":{"oneOf":[{},{"type":"null"}]}}]}},"additionalProperties":false},"uniqueKey":"fluentValidatorErrors.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors","typeLabel":"object[] | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"example":{"message":"Unable to perform the request action with provided data."},"examples":{"Example":{"title":"Example","value":{"message":"Unable to perform the request action with provided data."}}},"exampleType":"examples"},"application/json":{"schema":{"type":"object","properties":{"message":{"oneOf":[{"type":"string","uniqueKey":"message.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.oneOf.1","typeLabel":"null"}],"uniqueKey":"message","typeLabel":"string | null"},"errors":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"errors.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors","typeLabel":"string[] | null"},"fluentValidatorErrors":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"propertyName":{"oneOf":[{"type":"string","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].propertyName.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].propertyName.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].propertyName","typeLabel":"string | null"},"errorMessage":{"oneOf":[{"type":"string","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorMessage.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorMessage.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorMessage","typeLabel":"string | null"},"attemptedValue":{"oneOf":[{},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].attemptedValue.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].attemptedValue","typeLabel":"null"},"customState":{"oneOf":[{},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].customState.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].customState","typeLabel":"null"},"severity":{"enum":["Error","Warning","Info"],"type":"string","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].severity","typeLabel":"enum\u003cstring>"},"errorCode":{"oneOf":[{"type":"string","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorCode.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorCode","typeLabel":"string | null"},"formattedMessagePlaceholderValues":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.0.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.0.additionalProperties","typeLabel":"null"},"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.1.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.1.additionalProperties","typeLabel":"null"},"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues","typeLabel":"object | null"}},"additionalProperties":false,"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fluentValidatorErrors.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"propertyName":{"oneOf":[{"type":"string"},{"type":"null"}]},"errorMessage":{"oneOf":[{"type":"string"},{"type":"null"}]},"attemptedValue":{"oneOf":[{},{"type":"null"}]},"customState":{"oneOf":[{},{"type":"null"}]},"severity":{"enum":["Error","Warning","Info"],"type":"string"},"errorCode":{"oneOf":[{"type":"string"},{"type":"null"}]},"formattedMessagePlaceholderValues":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null"}]}},{"type":"null","additionalProperties":{"oneOf":[{},{"type":"null"}]}}]}},"additionalProperties":false},"uniqueKey":"fluentValidatorErrors.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors","typeLabel":"object[] | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"example":{"message":"Unable to perform the request action with provided data."},"examples":{"Example":{"title":"Example","value":{"message":"Unable to perform the request action with provided data."}}},"exampleType":"examples"},"text/json":{"schema":{"type":"object","properties":{"message":{"oneOf":[{"type":"string","uniqueKey":"message.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.oneOf.1","typeLabel":"null"}],"uniqueKey":"message","typeLabel":"string | null"},"errors":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"errors.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors","typeLabel":"string[] | null"},"fluentValidatorErrors":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"propertyName":{"oneOf":[{"type":"string","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].propertyName.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].propertyName.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].propertyName","typeLabel":"string | null"},"errorMessage":{"oneOf":[{"type":"string","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorMessage.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorMessage.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorMessage","typeLabel":"string | null"},"attemptedValue":{"oneOf":[{},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].attemptedValue.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].attemptedValue","typeLabel":"null"},"customState":{"oneOf":[{},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].customState.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].customState","typeLabel":"null"},"severity":{"enum":["Error","Warning","Info"],"type":"string","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].severity","typeLabel":"enum\u003cstring>"},"errorCode":{"oneOf":[{"type":"string","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorCode.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorCode","typeLabel":"string | null"},"formattedMessagePlaceholderValues":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.0.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.0.additionalProperties","typeLabel":"null"},"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.1.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.1.additionalProperties","typeLabel":"null"},"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues","typeLabel":"object | null"}},"additionalProperties":false,"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fluentValidatorErrors.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"propertyName":{"oneOf":[{"type":"string"},{"type":"null"}]},"errorMessage":{"oneOf":[{"type":"string"},{"type":"null"}]},"attemptedValue":{"oneOf":[{},{"type":"null"}]},"customState":{"oneOf":[{},{"type":"null"}]},"severity":{"enum":["Error","Warning","Info"],"type":"string"},"errorCode":{"oneOf":[{"type":"string"},{"type":"null"}]},"formattedMessagePlaceholderValues":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null"}]}},{"type":"null","additionalProperties":{"oneOf":[{},{"type":"null"}]}}]}},"additionalProperties":false},"uniqueKey":"fluentValidatorErrors.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors","typeLabel":"object[] | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"example":{"message":"Unable to perform the request action with provided data."},"examples":{"Example":{"title":"Example","value":{"message":"Unable to perform the request action with provided data."}}},"exampleType":"examples"}},"exampleType":"examples"},"c3772662-ac95-4ef7-97bd-cb209c94e7a3":{"description":"Unauthorized","content":{"text/plain":{"schema":{"type":"object","properties":{"message":{"oneOf":[{"type":"string","uniqueKey":"message.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.oneOf.1","typeLabel":"null"}],"uniqueKey":"message","typeLabel":"string | null"},"errors":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"errors.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors","typeLabel":"string[] | null"},"fluentValidatorErrors":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"propertyName":{"oneOf":[{"type":"string","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].propertyName.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].propertyName.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].propertyName","typeLabel":"string | null"},"errorMessage":{"oneOf":[{"type":"string","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorMessage.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorMessage.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorMessage","typeLabel":"string | null"},"attemptedValue":{"oneOf":[{},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].attemptedValue.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].attemptedValue","typeLabel":"null"},"customState":{"oneOf":[{},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].customState.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].customState","typeLabel":"null"},"severity":{"enum":["Error","Warning","Info"],"type":"string","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].severity","typeLabel":"enum\u003cstring>"},"errorCode":{"oneOf":[{"type":"string","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorCode.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorCode","typeLabel":"string | null"},"formattedMessagePlaceholderValues":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.0.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.0.additionalProperties","typeLabel":"null"},"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.1.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.1.additionalProperties","typeLabel":"null"},"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues","typeLabel":"object | null"}},"additionalProperties":false,"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fluentValidatorErrors.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"propertyName":{"oneOf":[{"type":"string"},{"type":"null"}]},"errorMessage":{"oneOf":[{"type":"string"},{"type":"null"}]},"attemptedValue":{"oneOf":[{},{"type":"null"}]},"customState":{"oneOf":[{},{"type":"null"}]},"severity":{"enum":["Error","Warning","Info"],"type":"string"},"errorCode":{"oneOf":[{"type":"string"},{"type":"null"}]},"formattedMessagePlaceholderValues":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null"}]}},{"type":"null","additionalProperties":{"oneOf":[{},{"type":"null"}]}}]}},"additionalProperties":false},"uniqueKey":"fluentValidatorErrors.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors","typeLabel":"object[] | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"example":{"message":"Attempted to perform an unauthorized operation."},"examples":{"Example":{"title":"Example","value":{"message":"Attempted to perform an unauthorized operation."}}},"exampleType":"examples"},"application/json":{"schema":{"type":"object","properties":{"message":{"oneOf":[{"type":"string","uniqueKey":"message.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.oneOf.1","typeLabel":"null"}],"uniqueKey":"message","typeLabel":"string | null"},"errors":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"errors.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors","typeLabel":"string[] | null"},"fluentValidatorErrors":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"propertyName":{"oneOf":[{"type":"string","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].propertyName.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].propertyName.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].propertyName","typeLabel":"string | null"},"errorMessage":{"oneOf":[{"type":"string","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorMessage.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorMessage.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorMessage","typeLabel":"string | null"},"attemptedValue":{"oneOf":[{},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].attemptedValue.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].attemptedValue","typeLabel":"null"},"customState":{"oneOf":[{},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].customState.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].customState","typeLabel":"null"},"severity":{"enum":["Error","Warning","Info"],"type":"string","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].severity","typeLabel":"enum\u003cstring>"},"errorCode":{"oneOf":[{"type":"string","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorCode.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorCode","typeLabel":"string | null"},"formattedMessagePlaceholderValues":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.0.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.0.additionalProperties","typeLabel":"null"},"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.1.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.1.additionalProperties","typeLabel":"null"},"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues","typeLabel":"object | null"}},"additionalProperties":false,"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fluentValidatorErrors.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"propertyName":{"oneOf":[{"type":"string"},{"type":"null"}]},"errorMessage":{"oneOf":[{"type":"string"},{"type":"null"}]},"attemptedValue":{"oneOf":[{},{"type":"null"}]},"customState":{"oneOf":[{},{"type":"null"}]},"severity":{"enum":["Error","Warning","Info"],"type":"string"},"errorCode":{"oneOf":[{"type":"string"},{"type":"null"}]},"formattedMessagePlaceholderValues":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null"}]}},{"type":"null","additionalProperties":{"oneOf":[{},{"type":"null"}]}}]}},"additionalProperties":false},"uniqueKey":"fluentValidatorErrors.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors","typeLabel":"object[] | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"example":{"message":"Attempted to perform an unauthorized operation."},"examples":{"Example":{"title":"Example","value":{"message":"Attempted to perform an unauthorized operation."}}},"exampleType":"examples"},"text/json":{"schema":{"type":"object","properties":{"message":{"oneOf":[{"type":"string","uniqueKey":"message.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.oneOf.1","typeLabel":"null"}],"uniqueKey":"message","typeLabel":"string | null"},"errors":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"errors.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors","typeLabel":"string[] | null"},"fluentValidatorErrors":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"propertyName":{"oneOf":[{"type":"string","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].propertyName.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].propertyName.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].propertyName","typeLabel":"string | null"},"errorMessage":{"oneOf":[{"type":"string","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorMessage.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorMessage.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorMessage","typeLabel":"string | null"},"attemptedValue":{"oneOf":[{},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].attemptedValue.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].attemptedValue","typeLabel":"null"},"customState":{"oneOf":[{},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].customState.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].customState","typeLabel":"null"},"severity":{"enum":["Error","Warning","Info"],"type":"string","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].severity","typeLabel":"enum\u003cstring>"},"errorCode":{"oneOf":[{"type":"string","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorCode.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorCode","typeLabel":"string | null"},"formattedMessagePlaceholderValues":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.0.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.0.additionalProperties","typeLabel":"null"},"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.1.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.1.additionalProperties","typeLabel":"null"},"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues","typeLabel":"object | null"}},"additionalProperties":false,"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fluentValidatorErrors.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"propertyName":{"oneOf":[{"type":"string"},{"type":"null"}]},"errorMessage":{"oneOf":[{"type":"string"},{"type":"null"}]},"attemptedValue":{"oneOf":[{},{"type":"null"}]},"customState":{"oneOf":[{},{"type":"null"}]},"severity":{"enum":["Error","Warning","Info"],"type":"string"},"errorCode":{"oneOf":[{"type":"string"},{"type":"null"}]},"formattedMessagePlaceholderValues":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null"}]}},{"type":"null","additionalProperties":{"oneOf":[{},{"type":"null"}]}}]}},"additionalProperties":false},"uniqueKey":"fluentValidatorErrors.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors","typeLabel":"object[] | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"example":{"message":"Attempted to perform an unauthorized operation."},"examples":{"Example":{"title":"Example","value":{"message":"Attempted to perform an unauthorized operation."}}},"exampleType":"examples"}},"exampleType":"examples"},"18a7e54c-b572-4789-b84b-56b5d45bc3b9":{"description":"Not Found","content":{"text/plain":{"schema":{"type":"object","properties":{"message":{"oneOf":[{"type":"string","uniqueKey":"message.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.oneOf.1","typeLabel":"null"}],"uniqueKey":"message","typeLabel":"string | null"},"errors":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"errors.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors","typeLabel":"string[] | null"},"fluentValidatorErrors":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"propertyName":{"oneOf":[{"type":"string","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].propertyName.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].propertyName.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].propertyName","typeLabel":"string | null"},"errorMessage":{"oneOf":[{"type":"string","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorMessage.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorMessage.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorMessage","typeLabel":"string | null"},"attemptedValue":{"oneOf":[{},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].attemptedValue.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].attemptedValue","typeLabel":"null"},"customState":{"oneOf":[{},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].customState.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].customState","typeLabel":"null"},"severity":{"enum":["Error","Warning","Info"],"type":"string","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].severity","typeLabel":"enum\u003cstring>"},"errorCode":{"oneOf":[{"type":"string","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorCode.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorCode","typeLabel":"string | null"},"formattedMessagePlaceholderValues":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.0.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.0.additionalProperties","typeLabel":"null"},"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.1.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.1.additionalProperties","typeLabel":"null"},"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues","typeLabel":"object | null"}},"additionalProperties":false,"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fluentValidatorErrors.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"propertyName":{"oneOf":[{"type":"string"},{"type":"null"}]},"errorMessage":{"oneOf":[{"type":"string"},{"type":"null"}]},"attemptedValue":{"oneOf":[{},{"type":"null"}]},"customState":{"oneOf":[{},{"type":"null"}]},"severity":{"enum":["Error","Warning","Info"],"type":"string"},"errorCode":{"oneOf":[{"type":"string"},{"type":"null"}]},"formattedMessagePlaceholderValues":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null"}]}},{"type":"null","additionalProperties":{"oneOf":[{},{"type":"null"}]}}]}},"additionalProperties":false},"uniqueKey":"fluentValidatorErrors.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors","typeLabel":"object[] | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"example":{"message":"Unable to find an entity with the provided data."},"examples":{"Example":{"title":"Example","value":{"message":"Unable to find an entity with the provided data."}}},"exampleType":"examples"},"application/json":{"schema":{"type":"object","properties":{"message":{"oneOf":[{"type":"string","uniqueKey":"message.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.oneOf.1","typeLabel":"null"}],"uniqueKey":"message","typeLabel":"string | null"},"errors":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"errors.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors","typeLabel":"string[] | null"},"fluentValidatorErrors":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"propertyName":{"oneOf":[{"type":"string","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].propertyName.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].propertyName.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].propertyName","typeLabel":"string | null"},"errorMessage":{"oneOf":[{"type":"string","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorMessage.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorMessage.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorMessage","typeLabel":"string | null"},"attemptedValue":{"oneOf":[{},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].attemptedValue.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].attemptedValue","typeLabel":"null"},"customState":{"oneOf":[{},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].customState.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].customState","typeLabel":"null"},"severity":{"enum":["Error","Warning","Info"],"type":"string","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].severity","typeLabel":"enum\u003cstring>"},"errorCode":{"oneOf":[{"type":"string","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorCode.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorCode","typeLabel":"string | null"},"formattedMessagePlaceholderValues":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.0.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.0.additionalProperties","typeLabel":"null"},"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.1.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.1.additionalProperties","typeLabel":"null"},"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues","typeLabel":"object | null"}},"additionalProperties":false,"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fluentValidatorErrors.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"propertyName":{"oneOf":[{"type":"string"},{"type":"null"}]},"errorMessage":{"oneOf":[{"type":"string"},{"type":"null"}]},"attemptedValue":{"oneOf":[{},{"type":"null"}]},"customState":{"oneOf":[{},{"type":"null"}]},"severity":{"enum":["Error","Warning","Info"],"type":"string"},"errorCode":{"oneOf":[{"type":"string"},{"type":"null"}]},"formattedMessagePlaceholderValues":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null"}]}},{"type":"null","additionalProperties":{"oneOf":[{},{"type":"null"}]}}]}},"additionalProperties":false},"uniqueKey":"fluentValidatorErrors.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors","typeLabel":"object[] | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"example":{"message":"Unable to find an entity with the provided data."},"examples":{"Example":{"title":"Example","value":{"message":"Unable to find an entity with the provided data."}}},"exampleType":"examples"},"text/json":{"schema":{"type":"object","properties":{"message":{"oneOf":[{"type":"string","uniqueKey":"message.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.oneOf.1","typeLabel":"null"}],"uniqueKey":"message","typeLabel":"string | null"},"errors":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"errors.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors","typeLabel":"string[] | null"},"fluentValidatorErrors":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"propertyName":{"oneOf":[{"type":"string","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].propertyName.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].propertyName.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].propertyName","typeLabel":"string | null"},"errorMessage":{"oneOf":[{"type":"string","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorMessage.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorMessage.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorMessage","typeLabel":"string | null"},"attemptedValue":{"oneOf":[{},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].attemptedValue.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].attemptedValue","typeLabel":"null"},"customState":{"oneOf":[{},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].customState.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].customState","typeLabel":"null"},"severity":{"enum":["Error","Warning","Info"],"type":"string","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].severity","typeLabel":"enum\u003cstring>"},"errorCode":{"oneOf":[{"type":"string","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorCode.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].errorCode","typeLabel":"string | null"},"formattedMessagePlaceholderValues":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.0.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.0.additionalProperties","typeLabel":"null"},"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.1.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.1.additionalProperties","typeLabel":"null"},"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX].formattedMessagePlaceholderValues","typeLabel":"object | null"}},"additionalProperties":false,"uniqueKey":"fluentValidatorErrors.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fluentValidatorErrors.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"propertyName":{"oneOf":[{"type":"string"},{"type":"null"}]},"errorMessage":{"oneOf":[{"type":"string"},{"type":"null"}]},"attemptedValue":{"oneOf":[{},{"type":"null"}]},"customState":{"oneOf":[{},{"type":"null"}]},"severity":{"enum":["Error","Warning","Info"],"type":"string"},"errorCode":{"oneOf":[{"type":"string"},{"type":"null"}]},"formattedMessagePlaceholderValues":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null"}]}},{"type":"null","additionalProperties":{"oneOf":[{},{"type":"null"}]}}]}},"additionalProperties":false},"uniqueKey":"fluentValidatorErrors.oneOf.1","typeLabel":"null"}],"uniqueKey":"fluentValidatorErrors","typeLabel":"object[] | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"example":{"message":"Unable to find an entity with the provided data."},"examples":{"Example":{"title":"Example","value":{"message":"Unable to find an entity with the provided data."}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"75a7a00b-e23b-4377-a737-6235336ea4af":{"XRevolv3Token":{"type":"apiKey","in":"header","name":"x-revolv3-token","scopes":[],"schemeName":"XRevolv3Token"}}},"servers":{"334e6eb5-634d-46b6-90d2-b0f4797cf87a":{"url":"https://api-sandbox.revolv3.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-revolv3-token","scopes":[],"schemeName":"XRevolv3Token"},"schema":{"title":"x-revolv3-token","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"XRevolv3Token","name":"x-revolv3-token"}],"title":"XRevolv3Token"}]},"originalFileLocation":"api-reference/swagger.json"},"subdomain":"revolv3","siteName":"Introduction \u0026 Quick Start","title":"Create Customer - Introduction \u0026 Quick Start","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-13T22:34:17.704Z","originalFileLocation":"api-reference/customers/create-customer.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Creates a new customer record within your merchant account. You can provide customer details such as first name, last name, billing address, shipping address, and a Merchant Customer Ref ID (an external identifier you define). Once created, the customer can be linked to subscriptions, payment methods, invoices, and other transactional entities. This endpoint is typically used during onboarding or checkout flows to register the customer in the system before initiating payments. A successful response includes the unique Customer ID assigned by the platform.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Introduction \u0026amp; Quick Start\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/revolv3/SEFZpst3yZfiH2vQ/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/revolv3/SEFZpst3yZfiH2vQ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/revolv3/SEFZpst3yZfiH2vQ/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/revolv3/SEFZpst3yZfiH2vQ/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/revolv3/SEFZpst3yZfiH2vQ/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/revolv3/SEFZpst3yZfiH2vQ/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/revolv3/SEFZpst3yZfiH2vQ/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/revolv3/SEFZpst3yZfiH2vQ/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/revolv3/SEFZpst3yZfiH2vQ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Customer - Introduction \u0026amp; Quick Start\">\u003cmeta data-mint-head property=\"og:description\" content=\"Creates a new customer record within your merchant account. You can provide customer details such as first name, last name, billing address, shipping address, and a Merchant Customer Ref ID (an external identifier you define). Once created, the customer can be linked to subscriptions, payment methods, invoices, and other transactional entities. This endpoint is typically used during onboarding or checkout flows to register the customer in the system before initiating payments. A successful response includes the unique Customer ID assigned by the platform.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Introduction \u0026amp; Quick Start\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.revolv3.com/api-reference/customers/create-customer\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://revolv3.mintlify.app/_mintlify/api/og/v2?division=Customers\u0026amp;title=Create+Customer\u0026amp;description=Creates+a+**new+customer**+record+within+your+merchant+account.%0D%0AYou+can+provide+customer+details+such+as+first+name%2C+last+name%2C+billing+address%2C+shipping+addre\u0026amp;theme=44ecc26a32f1a478fe3476c2\u0026amp;signature=97ea6d19bbd0c37d391a4f2109e441a36b80c6a5e7c2cffcefba22eb0e5bd357\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create Customer - Introduction \u0026amp; Quick Start\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Creates a new customer record within your merchant account. You can provide customer details such as first name, last name, billing address, shipping address, and a Merchant Customer Ref ID (an external identifier you define). Once created, the customer can be linked to subscriptions, payment methods, invoices, and other transactional entities. This endpoint is typically used during onboarding or checkout flows to register the customer in the system before initiating payments. A successful response includes the unique Customer ID assigned by the platform.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://revolv3.mintlify.app/_mintlify/api/og/v2?division=Customers\u0026amp;title=Create+Customer\u0026amp;description=Creates+a+**new+customer**+record+within+your+merchant+account.%0D%0AYou+can+provide+customer+details+such+as+first+name%2C+last+name%2C+billing+address%2C+shipping+addre\u0026amp;theme=44ecc26a32f1a478fe3476c2\u0026amp;signature=97ea6d19bbd0c37d391a4f2109e441a36b80c6a5e7c2cffcefba22eb0e5bd357\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/revolv3/SEFZpst3yZfiH2vQ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Introduction \u0026amp; Quick Start\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0070e0\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.revolv3.com/api-reference/customers/create-customer\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/customers/create-customer.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.revolv3.com/#organization\",\"name\":\"Introduction \u0026 Quick Start\",\"url\":\"https://docs.revolv3.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/revolv3/Zevkr_Aqagg8mPcq/logo/normallogo.png?fit=max\u0026auto=format\u0026n=Zevkr_Aqagg8mPcq\u0026q=85\u0026s=fd4c62503540a031e3c6c968fad23f13\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.revolv3.com#website\",\"name\":\"Introduction \u0026 Quick Start\",\"url\":\"https://docs.revolv3.com\",\"publisher\":{\"@id\":\"https://docs.revolv3.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.revolv3.com/api-reference/customers/create-customer#webpage\",\"url\":\"https://docs.revolv3.com/api-reference/customers/create-customer\",\"name\":\"Create Customer\",\"description\":\"Creates a new customer record within your merchant account. You can provide customer details such as first name, last name, billing address, shipping address, and a Merchant Customer Ref ID (an external identifier you define). Once created, the customer can be linked to subscriptions, payment methods, invoices, and other transactional entities. This endpoint is typically used during onboarding or checkout flows to register the customer in the system before initiating payments. A successful response includes the unique Customer ID assigned by the platform.\",\"dateModified\":\"2026-10-13T22:34:17.704Z\",\"isPartOf\":{\"@id\":\"https://docs.revolv3.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.revolv3.com/api-reference/customers/create-customer#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.revolv3.com/api-reference/customers/create-customer#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Customers\",\"item\":\"https://docs.revolv3.com/api-reference/customers/get-customers\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create Customer\",\"item\":\"https://docs.revolv3.com/api-reference/customers/create-customer\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.revolv3.com/api-reference/customers/create-customer#apireference\",\"headline\":\"Create Customer\",\"name\":\"Create Customer\",\"description\":\"Creates a new customer record within your merchant account. You can provide customer details such as first name, last name, billing address, shipping address, and a Merchant Customer Ref ID (an external identifier you define). Once created, the customer can be linked to subscriptions, payment methods, invoices, and other transactional entities. This endpoint is typically used during onboarding or checkout flows to register the customer in the system before initiating payments. A successful response includes the unique Customer ID assigned by the platform.\",\"url\":\"https://docs.revolv3.com/api-reference/customers/create-customer\",\"mainEntityOfPage\":{\"@id\":\"https://docs.revolv3.com/api-reference/customers/create-customer#webpage\"},\"dateModified\":\"2026-10-13T22:34:17.704Z\",\"publisher\":{\"@id\":\"https://docs.revolv3.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.revolv3.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Introduction \u0026 Quick Start\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Introduction \u0026 Quick Start","nav":{"global":null,"tabs":[{"tab":"Home","pages":[{"title":"Home","href":"/"}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/docs/getting-started/getting-started"}]},{"tab":"API Reference","groups":[{"group":"AccountVerification","pages":[{"title":"Validate personal ACH account","deprecated":null,"version":null,"openapi":"/api-reference/swagger.json post /api/account-verification/ach/person","href":"/api-reference/accountverification/validate-personal-ach-account"},{"title":"Validate corporate ACH account","deprecated":null,"version":null,"openapi":"/api-reference/swagger.json post /api/account-verification/ach/corporate","href":"/api-reference/accountverification/validate-corporate-ach-account"}]},{"group":"Authentication","pages":[{"title":"Get Merchant Access Token","deprecated":null,"version":null,"openapi":"/api-reference/swagger.json post /api/Authentication/token","href":"/api-reference/authentication/get-merchant-access-token"}]},{"group":"Checkout","pages":[{"title":"Create Checkout Link","deprecated":null,"version":null,"openapi":"/api-reference/swagger.json post /api/Checkout","href":"/api-reference/checkout/create-checkout-link"},{"title":"Get Complete Checkout Information","deprecated":null,"version":null,"openapi":"/api-reference/swagger.json get /api/Checkout/{checkoutUid}","href":"/api-reference/checkout/get-complete-checkout-information"}]},{"group":"Customers","pages":[{"title":"Get Customers","description":"Retrieves a **list of customers** associated with your merchant account.\r\nYou can search for a specific customer using filters such as **Merchant Customer Ref ID**, **first name**, or **last name**.\r\n\r\nThe response includes key details for each matching customer — such as first name, last name, customer ID, and Merchant Customer Ref ID.\r\nThis endpoint is commonly used for listing customers in internal tools, verifying account existence, or syncing customer records with your system.","deprecated":null,"version":null,"openapi":"/api-reference/swagger.json get /api/Customers","href":"/api-reference/customers/get-customers"},{"title":"Create Customer","deprecated":null,"version":null,"openapi":"/api-reference/swagger.json post /api/Customers","href":"/api-reference/customers/create-customer"},{"title":"Get Customer","description":"Retrieves the **full details of a specific customer** using their unique Customer ID.\r\nThe response includes personal information (first name, last name), billing and shipping addresses, merchant customer reference ID, and linked data.\r\n\r\nThis endpoint is useful for displaying customer profiles, validating identity before performing operations, or populating customer data in UI forms.\r\nIt can also be used to fetch up-to-date customer records during checkout or subscription management flows.","deprecated":null,"version":null,"openapi":"/api-reference/swagger.json get /api/Customers/{customerId}","href":"/api-reference/customers/get-customer"},{"title":"Delete Customer","deprecated":null,"version":null,"openapi":"/api-reference/swagger.json delete /api/Customers/{customerId}","href":"/api-reference/customers/delete-customer"},{"title":"Update Customer","deprecated":null,"version":null,"openapi":"/api-reference/swagger.json patch /api/Customers/{customerId}","href":"/api-reference/customers/update-customer"},{"title":"Get Subscriptions by Customer","deprecated":null,"version":null,"openapi":"/api-reference/swagger.json get /api/Customers/{customerId}/subscriptions","href":"/api-reference/customers/get-subscriptions-by-customer"},{"title":"Delete Customer Address","deprecated":null,"version":null,"openapi":"/api-reference/swagger.json delete /api/Customers/{customerId}/address/{addressId}","href":"/api-reference/customers/delete-customer-address"},{"title":"Update Address","deprecated":null,"version":null,"openapi":"/api-reference/swagger.json patch /api/Customers/{customerId}/address/{addressId}","href":"/api-reference/customers/update-address"},{"title":"Add Customer Address","deprecated":null,"version":null,"openapi":"/api-reference/swagger.json post /api/Customers/{customerId}/address","href":"/api-reference/customers/add-customer-address"},{"title":"Search Invoices for Customer","deprecated":null,"version":null,"openapi":"/api-reference/swagger.json get /api/Customers/{customerId}/invoices","href":"/api-reference/customers/search-invoices-for-customer"}]},{"group":"Invoices","pages":[{"title":"Get Invoices","deprecated":null,"version":null,"openapi":"/api-reference/swagger.json get /api/Invoices","href":"/api-reference/invoices/get-invoices"},{"title":"Get Invoices V1","deprecated":null,"version":null,"openapi":"/api-reference/swagger.json get /api/Invoices/v{version}","href":"/api-reference/invoices/get-invoices-v1"},{"title":"Get Invoice","deprecated":null,"version":null,"openapi":"/api-reference/swagger.json get /api/Invoices/{invoiceId}","href":"/api-reference/invoices/get-invoice"},{"title":"Refund Invoice","deprecated":null,"version":null,"openapi":"/api-reference/swagger.json post /api/Invoices/{invoiceId}/refund","href":"/api-reference/invoices/refund-invoice"},{"title":"One Time Payment Without Subscription","deprecated":true,"version":null,"openapi":"/api-reference/swagger.json post /api/Invoices/payment","href":"/api-reference/invoices/one-time-payment-without-subscription"}]},{"group":"PaymentMethod","pages":[{"title":"Create Payment Method","deprecated":null,"version":null,"openapi":"/api-reference/swagger.json post /api/PaymentMethod","href":"/api-reference/paymentmethod/create-payment-method"},{"title":"Get Payment Method","deprecated":null,"version":null,"openapi":"/api-reference/swagger.json get /api/PaymentMethod/{paymentMethodId}","href":"/api-reference/paymentmethod/get-payment-method"},{"title":"Delete Payment Method","deprecated":null,"version":null,"openapi":"/api-reference/swagger.json delete /api/PaymentMethod/{paymentMethodId}","href":"/api-reference/paymentmethod/delete-payment-method"},{"title":"Update Payment Method","deprecated":null,"version":null,"openapi":"/api-reference/swagger.json patch /api/PaymentMethod/{paymentMethodId}","href":"/api-reference/paymentmethod/update-payment-method"},{"title":"Authorize Payment Method","deprecated":true,"version":null,"openapi":"/api-reference/swagger.json post /api/PaymentMethod/authorize","href":"/api-reference/paymentmethod/authorize-payment-method"},{"title":"Reverse Authorization","deprecated":null,"version":null,"openapi":"/api-reference/swagger.json post /api/PaymentMethod/reverse-auth","href":"/api-reference/paymentmethod/reverse-authorization"}]},{"group":"Payments","pages":[{"title":"Sale With Payment Method Details","deprecated":null,"version":null,"openapi":"/api-reference/swagger.json post /api/Payments/sale","href":"/api-reference/payments/sale-with-payment-method-details"},{"title":"Sale With Payment Method Id","deprecated":null,"version":null,"openapi":"/api-reference/swagger.json post /api/Payments/sale/{paymentMethodId}","href":"/api-reference/payments/sale-with-payment-method-id"},{"title":"Capture","deprecated":null,"version":null,"openapi":"/api-reference/swagger.json post /api/Payments/capture/{paymentMethodAuthorizationId}","href":"/api-reference/payments/capture"},{"title":"Authorize With Payment Method Details","deprecated":null,"version":null,"openapi":"/api-reference/swagger.json post /api/Payments/authorization","href":"/api-reference/payments/authorize-with-payment-method-details"},{"title":"Authorize With Payment Method Id","deprecated":null,"version":null,"openapi":"/api-reference/swagger.json post /api/Payments/authorization/{paymentMethodId}","href":"/api-reference/payments/authorize-with-payment-method-id"},{"title":"Void","deprecated":null,"version":null,"openapi":"/api-reference/swagger.json post /api/Payments/void/{invoiceId}","href":"/api-reference/payments/void"}]},{"group":"Subscriptions","pages":[{"title":"Get Subscriptions","deprecated":null,"version":null,"openapi":"/api-reference/swagger.json get /api/Subscriptions","href":"/api-reference/subscriptions/get-subscriptions"},{"title":"Create Subscription","deprecated":null,"version":null,"openapi":"/api-reference/swagger.json post /api/Subscriptions","href":"/api-reference/subscriptions/create-subscription"},{"title":"Get Subscription","deprecated":null,"version":null,"openapi":"/api-reference/swagger.json get /api/Subscriptions/{subscriptionId}","href":"/api-reference/subscriptions/get-subscription"},{"title":"Update Subscription","deprecated":null,"version":null,"openapi":"/api-reference/swagger.json patch /api/Subscriptions/{subscriptionId}","href":"/api-reference/subscriptions/update-subscription"},{"title":"Get Subscriptions By PAN","deprecated":null,"version":null,"openapi":"/api-reference/swagger.json post /api/Subscriptions/pan-lookup","href":"/api-reference/subscriptions/get-subscriptions-by-pan"},{"title":"Replace Subscription Primary Payment Method","deprecated":null,"version":null,"openapi":"/api-reference/swagger.json put /api/Subscriptions/{subscriptionId}/payment-method","href":"/api-reference/subscriptions/replace-subscription-primary-payment-method"},{"title":"Create Subscription Billing Plan","deprecated":null,"version":null,"openapi":"/api-reference/swagger.json post /api/Subscriptions/{subscriptionId}/billing-plans","href":"/api-reference/subscriptions/create-subscription-billing-plan"},{"title":"Delete Subscription Billing Plan","deprecated":null,"version":null,"openapi":"/api-reference/swagger.json delete /api/Subscriptions/{subscriptionId}/billing-plans/{subscriptionBillingPlanId}","href":"/api-reference/subscriptions/delete-subscription-billing-plan"},{"title":"Create One Time Payment","deprecated":true,"version":null,"openapi":"/api-reference/swagger.json post /api/Subscriptions/{subscriptionId}/payment","href":"/api-reference/subscriptions/create-one-time-payment"},{"title":"Cancel Subscription","deprecated":null,"version":null,"openapi":"/api-reference/swagger.json post /api/Subscriptions/{subscriptionId}/cancel","href":"/api-reference/subscriptions/cancel-subscription"}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"title":"Create Customer - Introduction \u0026 Quick Start","buildId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","deploymentId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-26-lDe7V.js","utils-CWQmgYtH.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-4-Aw3rSD.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-C2zjXYA5.js","snippetPresets-DFmpFA7C.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-FJpQavWq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-D_GvPF7k.js","shallow-Bs2ZB0NO.js","getApiPlaygroundDisplay-DCcqJJk-.js","CodeSnippet-DzDxawVe.js","CodeSnippets-aUr7fU-7.js","Page-CT9uE8Ip.js","getPastedJson-Y1fKsj_I.js","icon-DI4zTsDr.js","MethodPill-C0nDlmSQ.js","DuplicateIcon-NUXbx2nQ.js","createIcon-BdTHrPAi.js","DynamicMarkdown-CtpgKJwj.js","SectionHeading-B3x35tOt.js","axios-vUo_bRtp.js","Markdown-3OmurJMP.js","clsx-DMKzROTp.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-1ms6tsT-.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Ke9xIMFx.js"]}