Access token obtained from OAuth2 client credentials flow
X-Org-Id
string
header
required
Organisation to scope the request to. Required when the principal can access more than one organisation; optional for single-organisation principals (the authorizer resolves it automatically).
Headers
Request-Id
string
Optional. Your id for this request: it is carried into every log line about it, so quote it when you contact support.
Path Parameters
payrollConfigId
string
required
The pay schedule (payroll configuration) the settings are for.
Body
application/json
A pay schedule's payment configuration, as created.
method
string
required
Payment method, as listed by GET /available/config.
Example:
"BACS"
format
string
required
Payment format within the method, as listed by GET /available/config.
Example:
"Barclays"
fileFormat
string | null
default:txt
Optional. txt when left out. Use csv only when listed in supportedFileFormats for this method and format.
Example:
"csv"
reference
string | null
Single reference expression. Supports static text and tokens in any order: {payDate}, {payPeriodStart}, {payPeriodEnd}, {year}, {period}, {frequency}, {separator:space}, {separator:dash}, {separator:underscore}, {separator:slash}, {separator:custom:}.
Example:
"Payroll May 2024"
referenceDateFormat
enum<string> | null
default:DMY_SLASH
Date format applied to date tokens ({payDate}, {payPeriodStart}, {payPeriodEnd}). DMY_COMPACT (01022026), DMY_SLASH (01/02/2026), YMD_DASH (2026-02-01), MDY_SLASH (02/01/2026), DMY_DASH (01-02-2026), DMY_DOT (01.02.2026). When none is set, DMY_SLASH applies.
Available options:
DMY_COMPACT,
DMY_SLASH,
YMD_DASH,
MDY_SLASH,
DMY_DASH,
DMY_DOT,
null
Example:
"DMY_SLASH"
bacs
object | null
The BACS source bank account and service user number the files are written for.
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"Flow Payroll","description":"Flow Payroll documentation — product guides and the developer API reference for the UK payroll platform.","colors":{"primary":"#635BFF","light":"#7A73FF","dark":"#0A2540"},"logo":{"light":"https://mintcdn.com/flowpayroll-1ca487e0/ySOA_2Ay6nr7ISKu/logo/light.svg?fit=max\u0026auto=format\u0026n=ySOA_2Ay6nr7ISKu\u0026q=85\u0026s=a1a7d7d96acdc04b96f0d043180b6ae8","dark":"https://mintcdn.com/flowpayroll-1ca487e0/ySOA_2Ay6nr7ISKu/logo/dark.svg?fit=max\u0026auto=format\u0026n=ySOA_2Ay6nr7ISKu\u0026q=85\u0026s=2662d95c9dbe282d032d3d38197a6d88","href":"https://flowpayroll.ai"},"favicon":"https://mintcdn.com/flowpayroll-1ca487e0/ySOA_2Ay6nr7ISKu/favicon.svg?fit=max\u0026auto=format\u0026n=ySOA_2Ay6nr7ISKu\u0026q=85\u0026s=8b194e652c4261052e97014a898c58ea","navbar":{"links":[{"href":"mailto:hello@flowpayroll.ai","label":"Support"},{"href":"https://flowpayroll.ai/book-demo","label":"Talk to us"}],"primary":{"type":"button","label":"Open dashboard","href":"https://app.flowpayroll.ai"}},"footer":{"links":[{"header":"Flow Payroll","items":[{"label":"Website","href":"https://flowpayroll.ai"},{"label":"Embedded payroll for platforms","href":"https://flowpayroll.ai/solutions/software-platforms"},{"label":"Pricing","href":"https://flowpayroll.ai/pricing"},{"label":"Blog","href":"https://flowpayroll.ai/blog"},{"label":"Dashboard","href":"https://app.flowpayroll.ai"},{"label":"Support","href":"mailto:hello@flowpayroll.ai"}]}]},"fonts":{"family":"Inter"},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Dashboard","icon":"gauge","href":"https://app.flowpayroll.ai"},{"anchor":"Download OpenAPI","icon":"download","href":"/api-reference/use-in-postman"},{"anchor":"Support","icon":"envelope","href":"mailto:hello@flowpayroll.ai"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"flowpayroll-1ca487e0","hasAudioNarration":false,"actualSubdomain":"flowpayroll-1ca487e0","customDomains":["docs.flowpayroll.ai"],"gitSource":{"type":"github","owner":"bolt-payroll","repo":"mintlify-sync","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b10ec659ffae5051c415d9c"},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b116ee3e71f374a14b8f935","clientVersion":"0.0.4428","searchFilterCounts":[{"language":"default","tag":"API reference","count":907},{"language":"default","tag":"Webhooks","count":253},{"language":"default","tag":"Events you receive","count":196},{"language":"default","tag":"Pay API","count":115},{"language":"default","tag":"Pensions","count":111},{"language":"default","tag":"Administration API","count":110},{"language":"default","tag":"Billing","count":69},{"language":"default","tag":"Payroll journals","count":53},{"language":"default","tag":"API","count":46},{"language":"default","tag":"Emails we send for you","count":38}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"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":"rbac-expansion","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":"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":"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":"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":"full-page-search","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":"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":"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":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"a.template-download{display:inline-flex;align-items:center;gap:0.5rem;padding:0.5rem 1.1rem;border-radius:9999px;background-color:#635bff;color:#ffffff!important;font-size:0.875rem;font-weight:500;line-height:1.25rem;text-decoration:none!important;border:none;transition:background-color 150ms ease}a.template-download:hover{background-color:#5048e5}a.template-download::before{content:\"↓\";font-weight:600}"}]}
{"page":{"pagePath":"api-reference/payment/organisationpaymentconfig/create-payment-configuration-for-an-organisation","slug":"/api-reference/payment/organisationpaymentconfig/create-payment-configuration-for-an-organisation","pageMetadata":{"title":"Create payment configuration for an organisation","description":"Needs permission payment:write.","deprecated":null,"version":null,"openapi":"/api-reference/specs/payment.json post /config/{payrollConfigId}","href":"/api-reference/payment/organisationpaymentconfig/create-payment-configuration-for-an-organisation","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Needs permission payment:write.\"\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 payment configuration for an organisation","description":"Needs permission payment:write.","deprecated":null,"version":null,"openapi":"/api-reference/specs/payment.json post /config/{payrollConfigId}","href":"/api-reference/payment/organisationpaymentconfig/create-payment-configuration-for-an-organisation","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["OrganisationPaymentConfig"],"summary":"Create payment configuration for an organisation","description":"Needs permission payment:write.","operationId":"createOrganisationPaymentConfig","x-flow-permission":"payment:write","parameters":["60f8ed24-2a9e-4c7d-9b0f-4767ae5f6303","58c22e07-0611-49b2-a22d-a8bf0db61e5e"],"requestBody":"f1c2dadd-2893-4c7a-afcb-da62cb15db85","responses":{"201":"30e3ad80-972f-404e-893e-360cedb352ac","400":"b9c943f2-b42f-449e-ae38-7db72f746690","401":"4b6366a7-65ac-4fa3-9e81-a125ff0ab923","403":"383d7e61-8ad8-4764-9e8a-9c800fae1f0a","500":"8e98002a-968d-417f-b7a2-32ebc8c6ae79","503":"687552c9-0184-4475-9c59-b123f7e4d48f"},"method":"post","type":"path","servers":["c1eab2ed-7b94-4273-bffb-8b6a6fb04830"],"security":["be7247bc-e028-4592-b709-da83fdd43df0"],"path":"/config/{payrollConfigId}","baseUrlOptions":["https://api.sandbox.flowpayroll.ai/v1/payment"],"title":"Create payment configuration for an organisation","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"60f8ed24-2a9e-4c7d-9b0f-4767ae5f6303":{"name":"payrollConfigId","in":"path","required":true,"schema":{"type":"string","isRequired":true,"description":"The pay schedule (payroll configuration) the settings are for.","uniqueKey":"","typeLabel":"string"},"description":"The pay schedule (payroll configuration) the settings are for.","example":"org-payroll-123"},"58c22e07-0611-49b2-a22d-a8bf0db61e5e":{"name":"Request-Id","in":"header","required":false,"description":"Optional. Your id for this request: it is carried into every log line about it, so quote it when you contact support.","schema":{"type":"string","isRequired":false,"description":"Optional. Your id for this request: it is carried into every log line about it, so quote it when you contact support.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"A pay schedule's payment configuration, as created.","required":["method","format"],"properties":{"method":{"type":"string","description":"Payment method, as listed by `GET /available/config`.","example":"BACS","isRequired":true,"uniqueKey":"method","typeLabel":"string"},"format":{"type":"string","description":"Payment format within the method, as listed by `GET /available/config`.","example":"Barclays","isRequired":true,"uniqueKey":"format","typeLabel":"string"},"fileFormat":{"oneOf":[{"type":"string","description":"Optional. txt when left out. Use csv only when listed in supportedFileFormats for this method and format.","example":"csv","default":"txt","uniqueKey":"fileFormat.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional. txt when left out. Use csv only when listed in supportedFileFormats for this method and format.","example":"csv","default":"txt","uniqueKey":"fileFormat.oneOf.1","typeLabel":"null"}],"uniqueKey":"fileFormat","typeLabel":"string | null"},"reference":{"oneOf":[{"type":"string","description":"Single reference expression. Supports static text and tokens in any order: {payDate}, {payPeriodStart}, {payPeriodEnd}, {year}, {period}, {frequency}, {separator:space}, {separator:dash}, {separator:underscore}, {separator:slash}, {separator:custom:\u003cvalue>}.","example":"Payroll May 2024","uniqueKey":"reference.oneOf.0","typeLabel":"string"},{"type":"null","description":"Single reference expression. Supports static text and tokens in any order: {payDate}, {payPeriodStart}, {payPeriodEnd}, {year}, {period}, {frequency}, {separator:space}, {separator:dash}, {separator:underscore}, {separator:slash}, {separator:custom:\u003cvalue>}.","example":"Payroll May 2024","uniqueKey":"reference.oneOf.1","typeLabel":"null"}],"uniqueKey":"reference","typeLabel":"string | null"},"referenceDateFormat":{"oneOf":[{"type":"string","enum":["DMY_COMPACT","DMY_SLASH","YMD_DASH","MDY_SLASH","DMY_DASH","DMY_DOT",null],"description":"Date format applied to date tokens ({payDate}, {payPeriodStart}, {payPeriodEnd}). DMY_COMPACT (01022026), DMY_SLASH (01/02/2026), YMD_DASH (2026-02-01), MDY_SLASH (02/01/2026), DMY_DASH (01-02-2026), DMY_DOT (01.02.2026). When none is set, DMY_SLASH applies.","example":"DMY_SLASH","default":"DMY_SLASH","uniqueKey":"referenceDateFormat.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["DMY_COMPACT","DMY_SLASH","YMD_DASH","MDY_SLASH","DMY_DASH","DMY_DOT",null],"description":"Date format applied to date tokens ({payDate}, {payPeriodStart}, {payPeriodEnd}). DMY_COMPACT (01022026), DMY_SLASH (01/02/2026), YMD_DASH (2026-02-01), MDY_SLASH (02/01/2026), DMY_DASH (01-02-2026), DMY_DOT (01.02.2026). When none is set, DMY_SLASH applies.","example":"DMY_SLASH","default":"DMY_SLASH","uniqueKey":"referenceDateFormat.oneOf.1","typeLabel":"null"}],"uniqueKey":"referenceDateFormat","typeLabel":"enum\u003cstring> | null"},"bacs":{"oneOf":[{"type":"object","description":"The BACS source bank account and service user number the files are written for.","required":["sortCode","accountNumber"],"properties":{"sortCode":{"type":"string","description":"Sort code of the account the payments are made from: 6 digits, dashes allowed.","example":"12-34-56","isRequired":true,"uniqueKey":"bacs.oneOf.0.sortCode","typeLabel":"string"},"accountNumber":{"type":"string","description":"Account number of the account the payments are made from: 8 digits.","example":"12345678","isRequired":true,"uniqueKey":"bacs.oneOf.0.accountNumber","typeLabel":"string"},"serviceUserNumber":{"oneOf":[{"type":"string","description":"Your BACS service user number (SUN), when the format needs one.","example":"SUN123","uniqueKey":"bacs.oneOf.0.serviceUserNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"Your BACS service user number (SUN), when the format needs one.","example":"SUN123","uniqueKey":"bacs.oneOf.0.serviceUserNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"bacs.oneOf.0.serviceUserNumber","typeLabel":"string | null"},"accountName":{"oneOf":[{"type":"string","description":"Originating account name for Bacs Standard 18 files. Populates field 9 (positions 47-64) in payment records. Max 18 characters. Optional.","example":"ACME CORP LTD","uniqueKey":"bacs.oneOf.0.accountName.oneOf.0","typeLabel":"string"},{"type":"null","description":"Originating account name for Bacs Standard 18 files. Populates field 9 (positions 47-64) in payment records. Max 18 characters. Optional.","example":"ACME CORP LTD","uniqueKey":"bacs.oneOf.0.accountName.oneOf.1","typeLabel":"null"}],"uniqueKey":"bacs.oneOf.0.accountName","typeLabel":"string | null"}},"example":{"sortCode":"12-34-56","accountNumber":"12345678","serviceUserNumber":"SUN123","accountName":"ACME CORP LTD"},"uniqueKey":"bacs.oneOf.0","typeLabel":"object"},{"type":"null","description":"The BACS source bank account and service user number the files are written for.","required":["sortCode","accountNumber"],"properties":{"sortCode":{"type":"string","description":"Sort code of the account the payments are made from: 6 digits, dashes allowed.","example":"12-34-56"},"accountNumber":{"type":"string","description":"Account number of the account the payments are made from: 8 digits.","example":"12345678"},"serviceUserNumber":{"oneOf":[{"type":"string","description":"Your BACS service user number (SUN), when the format needs one.","example":"SUN123"},{"type":"null","description":"Your BACS service user number (SUN), when the format needs one.","example":"SUN123"}]},"accountName":{"oneOf":[{"type":"string","description":"Originating account name for Bacs Standard 18 files. Populates field 9 (positions 47-64) in payment records. Max 18 characters. Optional.","example":"ACME CORP LTD"},{"type":"null","description":"Originating account name for Bacs Standard 18 files. Populates field 9 (positions 47-64) in payment records. Max 18 characters. Optional.","example":"ACME CORP LTD"}]}},"example":{"sortCode":"12-34-56","accountNumber":"12345678","serviceUserNumber":"SUN123","accountName":"ACME CORP LTD"},"uniqueKey":"bacs.oneOf.1","typeLabel":"null"}],"uniqueKey":"bacs","typeLabel":"object | null"},"fileLayout":{"oneOf":[{"type":"object","description":"The file's layout, for the Custom format only, where it is required. Its extension is the file format.","required":["extension","columns"],"properties":{"extension":{"type":"string","enum":["csv","txt"],"description":"The file's extension: csv or txt. Independent of its content (a bank may want comma-separated values in a .txt file).","example":"csv","isRequired":true,"uniqueKey":"fileLayout.oneOf.0.extension","typeLabel":"enum\u003cstring>"},"columns":{"type":"array","items":{"type":"object","description":"One column of a payment row: the value it holds and how it is written. Only the options that apply to its field are read.","required":["field"],"properties":{"field":{"type":"string","enum":["PayeeSortCode","PayeeAccountNumber","PayeeAccountName","PayeeAccountNameAsEntered","Amount","Reference","PaymentDate","EmployeeId","Literal","Blank"],"description":"The value the column holds. New fields may be added; a client should show one it does not know by name rather than fail. PayeeAccountName is the name cleaned to upper-case Bacs characters; PayeeAccountNameAsEntered is the name as it was entered; Literal is fixed text; Blank is an empty column.","example":"PayeeSortCode","isRequired":true,"uniqueKey":"fileLayout.oneOf.0.columns.items.[INDEX].field","typeLabel":"enum\u003cstring>"},"heading":{"oneOf":[{"type":"string","description":"The column's heading, written in the heading row. At most 100 characters.","example":"Sort code","uniqueKey":"fileLayout.oneOf.0.columns.items.[INDEX].heading.oneOf.0","typeLabel":"string"},{"type":"null","description":"The column's heading, written in the heading row. At most 100 characters.","example":"Sort code","uniqueKey":"fileLayout.oneOf.0.columns.items.[INDEX].heading.oneOf.1","typeLabel":"null"}],"uniqueKey":"fileLayout.oneOf.0.columns.items.[INDEX].heading","typeLabel":"string | null"},"literal":{"oneOf":[{"type":"string","description":"The text a Literal column writes on every row. At most 100 characters.","example":"99","uniqueKey":"fileLayout.oneOf.0.columns.items.[INDEX].literal.oneOf.0","typeLabel":"string"},{"type":"null","description":"The text a Literal column writes on every row. At most 100 characters.","example":"99","uniqueKey":"fileLayout.oneOf.0.columns.items.[INDEX].literal.oneOf.1","typeLabel":"null"}],"uniqueKey":"fileLayout.oneOf.0.columns.items.[INDEX].literal","typeLabel":"string | null"},"sortCode":{"oneOf":[{"type":"string","enum":["Digits","Dashed","Spaced",null],"description":"How a sort code is written: Digits (309154), Dashed (30-91-54) or Spaced (30 91 54). Digits when left out.","example":"Dashed","uniqueKey":"fileLayout.oneOf.0.columns.items.[INDEX].sortCode.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["Digits","Dashed","Spaced",null],"description":"How a sort code is written: Digits (309154), Dashed (30-91-54) or Spaced (30 91 54). Digits when left out.","example":"Dashed","uniqueKey":"fileLayout.oneOf.0.columns.items.[INDEX].sortCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"fileLayout.oneOf.0.columns.items.[INDEX].sortCode","typeLabel":"enum\u003cstring> | null"},"accountNumber":{"oneOf":[{"type":"string","enum":["PaddedToEight","Digits",null],"description":"How an account number is written: PaddedToEight (01335816) or Digits as entered (1335816). PaddedToEight when left out.","example":"Digits","uniqueKey":"fileLayout.oneOf.0.columns.items.[INDEX].accountNumber.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["PaddedToEight","Digits",null],"description":"How an account number is written: PaddedToEight (01335816) or Digits as entered (1335816). PaddedToEight when left out.","example":"Digits","uniqueKey":"fileLayout.oneOf.0.columns.items.[INDEX].accountNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"fileLayout.oneOf.0.columns.items.[INDEX].accountNumber","typeLabel":"enum\u003cstring> | null"},"amount":{"oneOf":[{"type":"string","enum":["Pounds","PoundsTrimmed","Pence",null],"description":"How an amount is written: Pounds (100.50), PoundsTrimmed (100.5) or Pence (10050). Pounds when left out.","example":"Pounds","uniqueKey":"fileLayout.oneOf.0.columns.items.[INDEX].amount.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["Pounds","PoundsTrimmed","Pence",null],"description":"How an amount is written: Pounds (100.50), PoundsTrimmed (100.5) or Pence (10050). Pounds when left out.","example":"Pounds","uniqueKey":"fileLayout.oneOf.0.columns.items.[INDEX].amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"fileLayout.oneOf.0.columns.items.[INDEX].amount","typeLabel":"enum\u003cstring> | null"},"dateFormat":{"oneOf":[{"type":"string","enum":["DMY_COMPACT","DMY_SLASH","YMD_DASH","MDY_SLASH","DMY_DASH","DMY_DOT",null],"description":"How a PaymentDate column writes the date, as referenceDateFormat names it. DMY_SLASH when left out.","example":"DMY_SLASH","uniqueKey":"fileLayout.oneOf.0.columns.items.[INDEX].dateFormat.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["DMY_COMPACT","DMY_SLASH","YMD_DASH","MDY_SLASH","DMY_DASH","DMY_DOT",null],"description":"How a PaymentDate column writes the date, as referenceDateFormat names it. DMY_SLASH when left out.","example":"DMY_SLASH","uniqueKey":"fileLayout.oneOf.0.columns.items.[INDEX].dateFormat.oneOf.1","typeLabel":"null"}],"uniqueKey":"fileLayout.oneOf.0.columns.items.[INDEX].dateFormat","typeLabel":"enum\u003cstring> | null"},"case":{"oneOf":[{"type":"string","enum":["AsIs","Upper",null],"description":"AsIs or Upper. AsIs when left out.","example":"Upper","uniqueKey":"fileLayout.oneOf.0.columns.items.[INDEX].case.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["AsIs","Upper",null],"description":"AsIs or Upper. AsIs when left out.","example":"Upper","uniqueKey":"fileLayout.oneOf.0.columns.items.[INDEX].case.oneOf.1","typeLabel":"null"}],"uniqueKey":"fileLayout.oneOf.0.columns.items.[INDEX].case","typeLabel":"enum\u003cstring> | null"},"characterSet":{"oneOf":[{"type":"string","enum":["Any","Bacs",null],"description":"Any keeps every character; Bacs removes accents and keeps only letters, digits, space and . - / \u0026. Any when left out.","example":"Bacs","uniqueKey":"fileLayout.oneOf.0.columns.items.[INDEX].characterSet.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["Any","Bacs",null],"description":"Any keeps every character; Bacs removes accents and keeps only letters, digits, space and . - / \u0026. Any when left out.","example":"Bacs","uniqueKey":"fileLayout.oneOf.0.columns.items.[INDEX].characterSet.oneOf.1","typeLabel":"null"}],"uniqueKey":"fileLayout.oneOf.0.columns.items.[INDEX].characterSet","typeLabel":"enum\u003cstring> | null"},"trim":{"oneOf":[{"type":"boolean","description":"Whether spaces around the value are removed. True when left out.","example":true,"uniqueKey":"fileLayout.oneOf.0.columns.items.[INDEX].trim.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether spaces around the value are removed. True when left out.","example":true,"uniqueKey":"fileLayout.oneOf.0.columns.items.[INDEX].trim.oneOf.1","typeLabel":"null"}],"uniqueKey":"fileLayout.oneOf.0.columns.items.[INDEX].trim","typeLabel":"boolean | null"},"maxLength":{"oneOf":[{"type":"integer","format":"int32","description":"Text longer than this is cut: 1 to 1000. Never applied to a sort code, account number or amount.","example":18,"uniqueKey":"fileLayout.oneOf.0.columns.items.[INDEX].maxLength.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","description":"Text longer than this is cut: 1 to 1000. Never applied to a sort code, account number or amount.","example":18,"uniqueKey":"fileLayout.oneOf.0.columns.items.[INDEX].maxLength.oneOf.1","typeLabel":"null"}],"uniqueKey":"fileLayout.oneOf.0.columns.items.[INDEX].maxLength","typeLabel":"integer\u003cint32> | null"},"width":{"oneOf":[{"type":"integer","format":"int32","description":"The value is padded to this many characters: 1 to 1000. Text is cut to it. A sort code, account number or amount column must be wide enough for every value it can hold (sort code 6, or 8 with separators; account number 8; amount 11), so no payment can overflow it. Needed on every column of a FixedWidth layout except a Literal.","example":18,"uniqueKey":"fileLayout.oneOf.0.columns.items.[INDEX].width.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","description":"The value is padded to this many characters: 1 to 1000. Text is cut to it. A sort code, account number or amount column must be wide enough for every value it can hold (sort code 6, or 8 with separators; account number 8; amount 11), so no payment can overflow it. Needed on every column of a FixedWidth layout except a Literal.","example":18,"uniqueKey":"fileLayout.oneOf.0.columns.items.[INDEX].width.oneOf.1","typeLabel":"null"}],"uniqueKey":"fileLayout.oneOf.0.columns.items.[INDEX].width","typeLabel":"integer\u003cint32> | null"},"align":{"oneOf":[{"type":"string","enum":["Left","Right",null],"description":"Left or Right, when the value is padded to its width. Left when left out.","example":"Right","uniqueKey":"fileLayout.oneOf.0.columns.items.[INDEX].align.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["Left","Right",null],"description":"Left or Right, when the value is padded to its width. Left when left out.","example":"Right","uniqueKey":"fileLayout.oneOf.0.columns.items.[INDEX].align.oneOf.1","typeLabel":"null"}],"uniqueKey":"fileLayout.oneOf.0.columns.items.[INDEX].align","typeLabel":"enum\u003cstring> | null"},"pad":{"oneOf":[{"type":"string","description":"The single character a value is padded with. A space when left out.","example":"0","uniqueKey":"fileLayout.oneOf.0.columns.items.[INDEX].pad.oneOf.0","typeLabel":"string"},{"type":"null","description":"The single character a value is padded with. A space when left out.","example":"0","uniqueKey":"fileLayout.oneOf.0.columns.items.[INDEX].pad.oneOf.1","typeLabel":"null"}],"uniqueKey":"fileLayout.oneOf.0.columns.items.[INDEX].pad","typeLabel":"string | null"}},"example":{"field":"PayeeSortCode","sortCode":"Dashed","heading":"Sort code"},"uniqueKey":"fileLayout.oneOf.0.columns.items.[INDEX]","typeLabel":"object"},"description":"The columns of a payment row, in order: 1 to 100. Needs exactly one PayeeSortCode, PayeeAccountNumber and Amount column, and a payee name column.","isRequired":true,"uniqueKey":"fileLayout.oneOf.0.columns","typeLabel":"object[]"},"id":{"oneOf":[{"type":"string","description":"The preset's stable identifier, for a client to remember which bank format a layout started from. Set on the layouts `GET /available/config` lists; null on a pay schedule's own layout, and ignored when sent.","example":"barclays-csv","uniqueKey":"fileLayout.oneOf.0.id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The preset's stable identifier, for a client to remember which bank format a layout started from. Set on the layouts `GET /available/config` lists; null on a pay schedule's own layout, and ignored when sent.","example":"barclays-csv","uniqueKey":"fileLayout.oneOf.0.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"fileLayout.oneOf.0.id","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"A name for the layout, shown in settings. At most 100 characters.","example":"Our bank's bulk payments","uniqueKey":"fileLayout.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"A name for the layout, shown in settings. At most 100 characters.","example":"Our bank's bulk payments","uniqueKey":"fileLayout.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"fileLayout.oneOf.0.name","typeLabel":"string | null"},"rowFormat":{"oneOf":[{"type":"string","enum":["Delimited","FixedWidth",null],"description":"Delimited (values separated by the delimiter) or FixedWidth (every column padded to its width). Delimited when left out.","example":"Delimited","uniqueKey":"fileLayout.oneOf.0.rowFormat.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["Delimited","FixedWidth",null],"description":"Delimited (values separated by the delimiter) or FixedWidth (every column padded to its width). Delimited when left out.","example":"Delimited","uniqueKey":"fileLayout.oneOf.0.rowFormat.oneOf.1","typeLabel":"null"}],"uniqueKey":"fileLayout.oneOf.0.rowFormat","typeLabel":"enum\u003cstring> | null"},"delimiter":{"oneOf":[{"type":"string","description":"The text between values in a Delimited layout, at most 5 characters. A comma when left out; null in a FixedWidth layout, and ignored there when sent.","example":",","uniqueKey":"fileLayout.oneOf.0.delimiter.oneOf.0","typeLabel":"string"},{"type":"null","description":"The text between values in a Delimited layout, at most 5 characters. A comma when left out; null in a FixedWidth layout, and ignored there when sent.","example":",","uniqueKey":"fileLayout.oneOf.0.delimiter.oneOf.1","typeLabel":"null"}],"uniqueKey":"fileLayout.oneOf.0.delimiter","typeLabel":"string | null"},"headingRow":{"oneOf":[{"type":"boolean","description":"When true the first row holds each column's heading. False when left out.","example":false,"uniqueKey":"fileLayout.oneOf.0.headingRow.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"When true the first row holds each column's heading. False when left out.","example":false,"uniqueKey":"fileLayout.oneOf.0.headingRow.oneOf.1","typeLabel":"null"}],"uniqueKey":"fileLayout.oneOf.0.headingRow","typeLabel":"boolean | null"},"lineEnding":{"oneOf":[{"type":"string","enum":["Crlf","Lf",null],"description":"How each row ends: Crlf (Windows) or Lf. Crlf when left out.","example":"Crlf","uniqueKey":"fileLayout.oneOf.0.lineEnding.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["Crlf","Lf",null],"description":"How each row ends: Crlf (Windows) or Lf. Crlf when left out.","example":"Crlf","uniqueKey":"fileLayout.oneOf.0.lineEnding.oneOf.1","typeLabel":"null"}],"uniqueKey":"fileLayout.oneOf.0.lineEnding","typeLabel":"enum\u003cstring> | null"},"encoding":{"oneOf":[{"type":"string","enum":["Utf8","Utf8WithBom",null],"description":"Utf8, or Utf8WithBom when the bank needs a byte order mark. Utf8 when left out.","example":"Utf8","uniqueKey":"fileLayout.oneOf.0.encoding.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["Utf8","Utf8WithBom",null],"description":"Utf8, or Utf8WithBom when the bank needs a byte order mark. Utf8 when left out.","example":"Utf8","uniqueKey":"fileLayout.oneOf.0.encoding.oneOf.1","typeLabel":"null"}],"uniqueKey":"fileLayout.oneOf.0.encoding","typeLabel":"enum\u003cstring> | null"}},"example":{"id":null,"name":"Our bank's bulk payments","extension":"csv","rowFormat":"Delimited","delimiter":",","headingRow":false,"lineEnding":"Crlf","encoding":"Utf8","columns":[{"field":"PayeeSortCode","sortCode":"Dashed"},{"field":"PayeeAccountNumber","accountNumber":"Digits"},{"field":"PayeeAccountNameAsEntered","characterSet":"Bacs","maxLength":18},{"field":"Amount","amount":"Pounds"},{"field":"Blank"},{"field":"Reference","characterSet":"Bacs","maxLength":18}]},"uniqueKey":"fileLayout.oneOf.0","typeLabel":"object"},{"type":"null","description":"The file's layout, for the Custom format only, where it is required. Its extension is the file format.","required":["extension","columns"],"properties":{"id":{"oneOf":[{"type":"string","description":"The preset's stable identifier, for a client to remember which bank format a layout started from. Set on the layouts `GET /available/config` lists; null on a pay schedule's own layout, and ignored when sent.","example":"barclays-csv"},{"type":"null","description":"The preset's stable identifier, for a client to remember which bank format a layout started from. Set on the layouts `GET /available/config` lists; null on a pay schedule's own layout, and ignored when sent.","example":"barclays-csv"}]},"name":{"oneOf":[{"type":"string","description":"A name for the layout, shown in settings. At most 100 characters.","example":"Our bank's bulk payments"},{"type":"null","description":"A name for the layout, shown in settings. At most 100 characters.","example":"Our bank's bulk payments"}]},"extension":{"type":"string","enum":["csv","txt"],"description":"The file's extension: csv or txt. Independent of its content (a bank may want comma-separated values in a .txt file).","example":"csv"},"rowFormat":{"oneOf":[{"type":"string","enum":["Delimited","FixedWidth",null],"description":"Delimited (values separated by the delimiter) or FixedWidth (every column padded to its width). Delimited when left out.","example":"Delimited"},{"type":"null","enum":["Delimited","FixedWidth",null],"description":"Delimited (values separated by the delimiter) or FixedWidth (every column padded to its width). Delimited when left out.","example":"Delimited"}]},"delimiter":{"oneOf":[{"type":"string","description":"The text between values in a Delimited layout, at most 5 characters. A comma when left out; null in a FixedWidth layout, and ignored there when sent.","example":","},{"type":"null","description":"The text between values in a Delimited layout, at most 5 characters. A comma when left out; null in a FixedWidth layout, and ignored there when sent.","example":","}]},"headingRow":{"oneOf":[{"type":"boolean","description":"When true the first row holds each column's heading. False when left out.","example":false},{"type":"null","description":"When true the first row holds each column's heading. False when left out.","example":false}]},"lineEnding":{"oneOf":[{"type":"string","enum":["Crlf","Lf",null],"description":"How each row ends: Crlf (Windows) or Lf. Crlf when left out.","example":"Crlf"},{"type":"null","enum":["Crlf","Lf",null],"description":"How each row ends: Crlf (Windows) or Lf. Crlf when left out.","example":"Crlf"}]},"encoding":{"oneOf":[{"type":"string","enum":["Utf8","Utf8WithBom",null],"description":"Utf8, or Utf8WithBom when the bank needs a byte order mark. Utf8 when left out.","example":"Utf8"},{"type":"null","enum":["Utf8","Utf8WithBom",null],"description":"Utf8, or Utf8WithBom when the bank needs a byte order mark. Utf8 when left out.","example":"Utf8"}]},"columns":{"type":"array","items":{"type":"object","description":"One column of a payment row: the value it holds and how it is written. Only the options that apply to its field are read.","required":["field"],"properties":{"field":{"type":"string","enum":["PayeeSortCode","PayeeAccountNumber","PayeeAccountName","PayeeAccountNameAsEntered","Amount","Reference","PaymentDate","EmployeeId","Literal","Blank"],"description":"The value the column holds. New fields may be added; a client should show one it does not know by name rather than fail. PayeeAccountName is the name cleaned to upper-case Bacs characters; PayeeAccountNameAsEntered is the name as it was entered; Literal is fixed text; Blank is an empty column.","example":"PayeeSortCode"},"heading":{"oneOf":[{"type":"string","description":"The column's heading, written in the heading row. At most 100 characters.","example":"Sort code"},{"type":"null","description":"The column's heading, written in the heading row. At most 100 characters.","example":"Sort code"}]},"literal":{"oneOf":[{"type":"string","description":"The text a Literal column writes on every row. At most 100 characters.","example":"99"},{"type":"null","description":"The text a Literal column writes on every row. At most 100 characters.","example":"99"}]},"sortCode":{"oneOf":[{"type":"string","enum":["Digits","Dashed","Spaced",null],"description":"How a sort code is written: Digits (309154), Dashed (30-91-54) or Spaced (30 91 54). Digits when left out.","example":"Dashed"},{"type":"null","enum":["Digits","Dashed","Spaced",null],"description":"How a sort code is written: Digits (309154), Dashed (30-91-54) or Spaced (30 91 54). Digits when left out.","example":"Dashed"}]},"accountNumber":{"oneOf":[{"type":"string","enum":["PaddedToEight","Digits",null],"description":"How an account number is written: PaddedToEight (01335816) or Digits as entered (1335816). PaddedToEight when left out.","example":"Digits"},{"type":"null","enum":["PaddedToEight","Digits",null],"description":"How an account number is written: PaddedToEight (01335816) or Digits as entered (1335816). PaddedToEight when left out.","example":"Digits"}]},"amount":{"oneOf":[{"type":"string","enum":["Pounds","PoundsTrimmed","Pence",null],"description":"How an amount is written: Pounds (100.50), PoundsTrimmed (100.5) or Pence (10050). Pounds when left out.","example":"Pounds"},{"type":"null","enum":["Pounds","PoundsTrimmed","Pence",null],"description":"How an amount is written: Pounds (100.50), PoundsTrimmed (100.5) or Pence (10050). Pounds when left out.","example":"Pounds"}]},"dateFormat":{"oneOf":[{"type":"string","enum":["DMY_COMPACT","DMY_SLASH","YMD_DASH","MDY_SLASH","DMY_DASH","DMY_DOT",null],"description":"How a PaymentDate column writes the date, as referenceDateFormat names it. DMY_SLASH when left out.","example":"DMY_SLASH"},{"type":"null","enum":["DMY_COMPACT","DMY_SLASH","YMD_DASH","MDY_SLASH","DMY_DASH","DMY_DOT",null],"description":"How a PaymentDate column writes the date, as referenceDateFormat names it. DMY_SLASH when left out.","example":"DMY_SLASH"}]},"case":{"oneOf":[{"type":"string","enum":["AsIs","Upper",null],"description":"AsIs or Upper. AsIs when left out.","example":"Upper"},{"type":"null","enum":["AsIs","Upper",null],"description":"AsIs or Upper. AsIs when left out.","example":"Upper"}]},"characterSet":{"oneOf":[{"type":"string","enum":["Any","Bacs",null],"description":"Any keeps every character; Bacs removes accents and keeps only letters, digits, space and . - / \u0026. Any when left out.","example":"Bacs"},{"type":"null","enum":["Any","Bacs",null],"description":"Any keeps every character; Bacs removes accents and keeps only letters, digits, space and . - / \u0026. Any when left out.","example":"Bacs"}]},"trim":{"oneOf":[{"type":"boolean","description":"Whether spaces around the value are removed. True when left out.","example":true},{"type":"null","description":"Whether spaces around the value are removed. True when left out.","example":true}]},"maxLength":{"oneOf":[{"type":"integer","format":"int32","description":"Text longer than this is cut: 1 to 1000. Never applied to a sort code, account number or amount.","example":18},{"type":"null","format":"int32","description":"Text longer than this is cut: 1 to 1000. Never applied to a sort code, account number or amount.","example":18}]},"width":{"oneOf":[{"type":"integer","format":"int32","description":"The value is padded to this many characters: 1 to 1000. Text is cut to it. A sort code, account number or amount column must be wide enough for every value it can hold (sort code 6, or 8 with separators; account number 8; amount 11), so no payment can overflow it. Needed on every column of a FixedWidth layout except a Literal.","example":18},{"type":"null","format":"int32","description":"The value is padded to this many characters: 1 to 1000. Text is cut to it. A sort code, account number or amount column must be wide enough for every value it can hold (sort code 6, or 8 with separators; account number 8; amount 11), so no payment can overflow it. Needed on every column of a FixedWidth layout except a Literal.","example":18}]},"align":{"oneOf":[{"type":"string","enum":["Left","Right",null],"description":"Left or Right, when the value is padded to its width. Left when left out.","example":"Right"},{"type":"null","enum":["Left","Right",null],"description":"Left or Right, when the value is padded to its width. Left when left out.","example":"Right"}]},"pad":{"oneOf":[{"type":"string","description":"The single character a value is padded with. A space when left out.","example":"0"},{"type":"null","description":"The single character a value is padded with. A space when left out.","example":"0"}]}},"example":{"field":"PayeeSortCode","sortCode":"Dashed","heading":"Sort code"}},"description":"The columns of a payment row, in order: 1 to 100. Needs exactly one PayeeSortCode, PayeeAccountNumber and Amount column, and a payee name column."}},"example":{"id":null,"name":"Our bank's bulk payments","extension":"csv","rowFormat":"Delimited","delimiter":",","headingRow":false,"lineEnding":"Crlf","encoding":"Utf8","columns":[{"field":"PayeeSortCode","sortCode":"Dashed"},{"field":"PayeeAccountNumber","accountNumber":"Digits"},{"field":"PayeeAccountNameAsEntered","characterSet":"Bacs","maxLength":18},{"field":"Amount","amount":"Pounds"},{"field":"Blank"},{"field":"Reference","characterSet":"Bacs","maxLength":18}]},"uniqueKey":"fileLayout.oneOf.1","typeLabel":"null"}],"uniqueKey":"fileLayout","typeLabel":"object | null"}},"example":{"method":"BACS","format":"Barclays","reference":"Salary{separator:space}{payDate}","referenceDateFormat":"DMY_COMPACT","bacs":{"sortCode":"12-34-56","accountNumber":"12345678","serviceUserNumber":"SUN123"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"method":"BACS","format":"Barclays","reference":"Salary{separator:space}{payDate}","referenceDateFormat":"DMY_COMPACT","bacs":{"sortCode":"12-34-56","accountNumber":"12345678","serviceUserNumber":"SUN123"}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"30e3ad80-972f-404e-893e-360cedb352ac":{"description":"Payment configuration created.","content":{"application/json":{"schema":{"type":"object","description":"The envelope every answer is written in.","required":["message"],"properties":{"message":{"type":"object","description":"What happened, as text and as a token for translation.","required":["text","token"],"properties":{"text":{"type":"string","description":"Default human-readable message.","isRequired":true,"uniqueKey":"message.text","typeLabel":"string"},"token":{"type":"string","description":"Machine-readable message identifier (snake_case), for translation or your own wording.","isRequired":true,"uniqueKey":"message.token","typeLabel":"string"},"tokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","description":"A named value a message refers to.","required":["name"],"properties":{"name":{"type":"string","description":"The argument's name.","isRequired":true,"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].name","typeLabel":"string"},"value":{"oneOf":[{"type":"string","description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"number","description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value.oneOf.1","typeLabel":"number"},{"type":"boolean","description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value.oneOf.2","typeLabel":"boolean"},{"type":"array","items":{"type":"string","uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value.oneOf.3.items.[INDEX]","typeLabel":"string"},"description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value.oneOf.3","typeLabel":"string[]"},{"type":"null","uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value.oneOf.4","typeLabel":"null"}],"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value","typeLabel":"string | number | boolean | string[] | null"}},"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Values the message refers to, by name.","uniqueKey":"message.tokenArguments.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","description":"A named value a message refers to.","required":["name"],"properties":{"name":{"type":"string","description":"The argument's name."},"value":{"oneOf":[{"type":"string","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"number","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"boolean","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"array","items":{"type":"string"},"description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"null"}]}}},"description":"Values the message refers to, by name.","uniqueKey":"message.tokenArguments.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.tokenArguments","typeLabel":"object[] | null"}},"isRequired":true,"uniqueKey":"message","typeLabel":"object"},"content":{"type":"object","description":"The answer's data and how to read it. Left out when there is none.","required":["metadata"],"properties":{"metadata":{"type":"object","description":"How to read the dates in the data, and the next page's token on a paged list.","required":["dateFormat","dateTimeFormat"],"properties":{"dateFormat":{"type":"string","description":"The format of dates in the data.","isRequired":true,"uniqueKey":"content.metadata.dateFormat","typeLabel":"string"},"dateTimeFormat":{"type":"string","description":"The format of timestamps in the data.","isRequired":true,"uniqueKey":"content.metadata.dateTimeFormat","typeLabel":"string"},"paginationToken":{"oneOf":[{"type":"string","description":"The token for the next page, on a paged list that has one.","uniqueKey":"content.metadata.paginationToken.oneOf.0","typeLabel":"string"},{"type":"null","description":"The token for the next page, on a paged list that has one.","uniqueKey":"content.metadata.paginationToken.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.metadata.paginationToken","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"content.metadata","typeLabel":"object"},"data":{"type":"object","description":"A pay schedule's payment configuration.","required":["method","format","fileFormat","createdDate","createdBy"],"example":{"method":"BACS","format":"Barclays","fileFormat":"txt","reference":"Payroll May 2024","referenceDateFormat":"DMY_COMPACT","payrollConfigId":"org-payroll-123","bacs":{"sortCode":"12-34-56","accountNumber":"12345678","serviceUserNumber":"SUN123"},"createdDate":"2024-05-01T12:00:00Z","createdBy":"user-123","updatedDate":"2024-05-10T12:00:00Z","updatedBy":"user-456"},"properties":{"method":{"type":"string","description":"Payment method, as listed by `GET /available/config`.","example":"BACS","isRequired":true,"uniqueKey":"content.data.method","typeLabel":"string"},"format":{"type":"string","description":"Payment format within the method, as listed by `GET /available/config`.","example":"Barclays","isRequired":true,"uniqueKey":"content.data.format","typeLabel":"string"},"fileFormat":{"type":"string","description":"Always present. txt (fixed-width), or csv when supported for this method and format.","example":"txt","isRequired":true,"uniqueKey":"content.data.fileFormat","typeLabel":"string"},"createdDate":{"type":"string","format":"date-time","description":"When the configuration was created.","example":"2024-05-01T12:00:00Z","isRequired":true,"uniqueKey":"content.data.createdDate","typeLabel":"string\u003cdate-time>"},"createdBy":{"type":"string","description":"Who created the configuration.","example":"user-123","isRequired":true,"uniqueKey":"content.data.createdBy","typeLabel":"string"},"reference":{"oneOf":[{"type":"string","description":"Single reference expression. Supports static text and tokens in any order: {payDate}, {payPeriodStart}, {payPeriodEnd}, {year}, {period}, {frequency}, {separator:space}, {separator:dash}, {separator:underscore}, {separator:slash}, {separator:custom:\u003cvalue>}.","example":"Payroll May 2024","uniqueKey":"content.data.reference.oneOf.0","typeLabel":"string"},{"type":"null","description":"Single reference expression. Supports static text and tokens in any order: {payDate}, {payPeriodStart}, {payPeriodEnd}, {year}, {period}, {frequency}, {separator:space}, {separator:dash}, {separator:underscore}, {separator:slash}, {separator:custom:\u003cvalue>}.","example":"Payroll May 2024","uniqueKey":"content.data.reference.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.reference","typeLabel":"string | null"},"referenceDateFormat":{"oneOf":[{"type":"string","description":"Date format applied to date tokens ({payDate}, {payPeriodStart}, {payPeriodEnd}). DMY_COMPACT (01022026), DMY_SLASH (01/02/2026), YMD_DASH (2026-02-01), MDY_SLASH (02/01/2026), DMY_DASH (01-02-2026), DMY_DOT (01.02.2026). When none is set, DMY_SLASH applies.","example":"DMY_SLASH","uniqueKey":"content.data.referenceDateFormat.oneOf.0","typeLabel":"string"},{"type":"null","description":"Date format applied to date tokens ({payDate}, {payPeriodStart}, {payPeriodEnd}). DMY_COMPACT (01022026), DMY_SLASH (01/02/2026), YMD_DASH (2026-02-01), MDY_SLASH (02/01/2026), DMY_DASH (01-02-2026), DMY_DOT (01.02.2026). When none is set, DMY_SLASH applies.","example":"DMY_SLASH","uniqueKey":"content.data.referenceDateFormat.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.referenceDateFormat","typeLabel":"string | null"},"payrollConfigId":{"oneOf":[{"type":"string","description":"The pay schedule (payroll configuration) the settings are for.","example":"org-payroll-123","uniqueKey":"content.data.payrollConfigId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The pay schedule (payroll configuration) the settings are for.","example":"org-payroll-123","uniqueKey":"content.data.payrollConfigId.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.payrollConfigId","typeLabel":"string | null"},"bacs":{"oneOf":[{"type":"object","description":"The BACS source bank account and service user number the files are written for.","required":["sortCode","accountNumber"],"properties":{"sortCode":{"type":"string","description":"Sort code of the account the payments are made from.","example":"12-34-56","isRequired":true,"uniqueKey":"content.data.bacs.oneOf.0.sortCode","typeLabel":"string"},"accountNumber":{"type":"string","description":"Account number of the account the payments are made from.","example":"12345678","isRequired":true,"uniqueKey":"content.data.bacs.oneOf.0.accountNumber","typeLabel":"string"},"serviceUserNumber":{"oneOf":[{"type":"string","description":"Your BACS service user number (SUN), when the format needs one.","example":"SUN123","uniqueKey":"content.data.bacs.oneOf.0.serviceUserNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"Your BACS service user number (SUN), when the format needs one.","example":"SUN123","uniqueKey":"content.data.bacs.oneOf.0.serviceUserNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.bacs.oneOf.0.serviceUserNumber","typeLabel":"string | null"},"accountName":{"oneOf":[{"type":"string","description":"Originating account name for Bacs Standard 18 files. Populates field 9 (positions 47-64) in payment records. Max 18 characters. Optional.","example":"ACME CORP LTD","uniqueKey":"content.data.bacs.oneOf.0.accountName.oneOf.0","typeLabel":"string"},{"type":"null","description":"Originating account name for Bacs Standard 18 files. Populates field 9 (positions 47-64) in payment records. Max 18 characters. Optional.","example":"ACME CORP LTD","uniqueKey":"content.data.bacs.oneOf.0.accountName.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.bacs.oneOf.0.accountName","typeLabel":"string | null"}},"example":{"sortCode":"12-34-56","accountNumber":"12345678","serviceUserNumber":"SUN123","accountName":"ACME CORP LTD"},"uniqueKey":"content.data.bacs.oneOf.0","typeLabel":"object"},{"type":"null","description":"The BACS source bank account and service user number the files are written for.","required":["sortCode","accountNumber"],"properties":{"sortCode":{"type":"string","description":"Sort code of the account the payments are made from.","example":"12-34-56"},"accountNumber":{"type":"string","description":"Account number of the account the payments are made from.","example":"12345678"},"serviceUserNumber":{"oneOf":[{"type":"string","description":"Your BACS service user number (SUN), when the format needs one.","example":"SUN123"},{"type":"null","description":"Your BACS service user number (SUN), when the format needs one.","example":"SUN123"}]},"accountName":{"oneOf":[{"type":"string","description":"Originating account name for Bacs Standard 18 files. Populates field 9 (positions 47-64) in payment records. Max 18 characters. Optional.","example":"ACME CORP LTD"},{"type":"null","description":"Originating account name for Bacs Standard 18 files. Populates field 9 (positions 47-64) in payment records. Max 18 characters. Optional.","example":"ACME CORP LTD"}]}},"example":{"sortCode":"12-34-56","accountNumber":"12345678","serviceUserNumber":"SUN123","accountName":"ACME CORP LTD"},"uniqueKey":"content.data.bacs.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.bacs","typeLabel":"object | null"},"fileLayout":{"oneOf":[{"type":"object","description":"The file's layout, for the Custom format; null for every other format.","required":["extension","columns"],"properties":{"extension":{"type":"string","enum":["csv","txt"],"description":"The file's extension: csv or txt. Independent of its content (a bank may want comma-separated values in a .txt file).","example":"csv","isRequired":true,"uniqueKey":"content.data.fileLayout.oneOf.0.extension","typeLabel":"enum\u003cstring>"},"columns":{"type":"array","items":{"type":"object","description":"One column of a payment row: the value it holds and how it is written. Only the options that apply to its field are read.","required":["field"],"properties":{"field":{"type":"string","enum":["PayeeSortCode","PayeeAccountNumber","PayeeAccountName","PayeeAccountNameAsEntered","Amount","Reference","PaymentDate","EmployeeId","Literal","Blank"],"description":"The value the column holds. New fields may be added; a client should show one it does not know by name rather than fail. PayeeAccountName is the name cleaned to upper-case Bacs characters; PayeeAccountNameAsEntered is the name as it was entered; Literal is fixed text; Blank is an empty column.","example":"PayeeSortCode","isRequired":true,"uniqueKey":"content.data.fileLayout.oneOf.0.columns.items.[INDEX].field","typeLabel":"enum\u003cstring>"},"heading":{"oneOf":[{"type":"string","description":"The column's heading, written in the heading row. At most 100 characters.","example":"Sort code","uniqueKey":"content.data.fileLayout.oneOf.0.columns.items.[INDEX].heading.oneOf.0","typeLabel":"string"},{"type":"null","description":"The column's heading, written in the heading row. At most 100 characters.","example":"Sort code","uniqueKey":"content.data.fileLayout.oneOf.0.columns.items.[INDEX].heading.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.fileLayout.oneOf.0.columns.items.[INDEX].heading","typeLabel":"string | null"},"literal":{"oneOf":[{"type":"string","description":"The text a Literal column writes on every row. At most 100 characters.","example":"99","uniqueKey":"content.data.fileLayout.oneOf.0.columns.items.[INDEX].literal.oneOf.0","typeLabel":"string"},{"type":"null","description":"The text a Literal column writes on every row. At most 100 characters.","example":"99","uniqueKey":"content.data.fileLayout.oneOf.0.columns.items.[INDEX].literal.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.fileLayout.oneOf.0.columns.items.[INDEX].literal","typeLabel":"string | null"},"sortCode":{"oneOf":[{"type":"string","enum":["Digits","Dashed","Spaced",null],"description":"How a sort code is written: Digits (309154), Dashed (30-91-54) or Spaced (30 91 54). Digits when left out.","example":"Dashed","uniqueKey":"content.data.fileLayout.oneOf.0.columns.items.[INDEX].sortCode.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["Digits","Dashed","Spaced",null],"description":"How a sort code is written: Digits (309154), Dashed (30-91-54) or Spaced (30 91 54). Digits when left out.","example":"Dashed","uniqueKey":"content.data.fileLayout.oneOf.0.columns.items.[INDEX].sortCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.fileLayout.oneOf.0.columns.items.[INDEX].sortCode","typeLabel":"enum\u003cstring> | null"},"accountNumber":{"oneOf":[{"type":"string","enum":["PaddedToEight","Digits",null],"description":"How an account number is written: PaddedToEight (01335816) or Digits as entered (1335816). PaddedToEight when left out.","example":"Digits","uniqueKey":"content.data.fileLayout.oneOf.0.columns.items.[INDEX].accountNumber.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["PaddedToEight","Digits",null],"description":"How an account number is written: PaddedToEight (01335816) or Digits as entered (1335816). PaddedToEight when left out.","example":"Digits","uniqueKey":"content.data.fileLayout.oneOf.0.columns.items.[INDEX].accountNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.fileLayout.oneOf.0.columns.items.[INDEX].accountNumber","typeLabel":"enum\u003cstring> | null"},"amount":{"oneOf":[{"type":"string","enum":["Pounds","PoundsTrimmed","Pence",null],"description":"How an amount is written: Pounds (100.50), PoundsTrimmed (100.5) or Pence (10050). Pounds when left out.","example":"Pounds","uniqueKey":"content.data.fileLayout.oneOf.0.columns.items.[INDEX].amount.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["Pounds","PoundsTrimmed","Pence",null],"description":"How an amount is written: Pounds (100.50), PoundsTrimmed (100.5) or Pence (10050). Pounds when left out.","example":"Pounds","uniqueKey":"content.data.fileLayout.oneOf.0.columns.items.[INDEX].amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.fileLayout.oneOf.0.columns.items.[INDEX].amount","typeLabel":"enum\u003cstring> | null"},"dateFormat":{"oneOf":[{"type":"string","enum":["DMY_COMPACT","DMY_SLASH","YMD_DASH","MDY_SLASH","DMY_DASH","DMY_DOT",null],"description":"How a PaymentDate column writes the date, as referenceDateFormat names it. DMY_SLASH when left out.","example":"DMY_SLASH","uniqueKey":"content.data.fileLayout.oneOf.0.columns.items.[INDEX].dateFormat.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["DMY_COMPACT","DMY_SLASH","YMD_DASH","MDY_SLASH","DMY_DASH","DMY_DOT",null],"description":"How a PaymentDate column writes the date, as referenceDateFormat names it. DMY_SLASH when left out.","example":"DMY_SLASH","uniqueKey":"content.data.fileLayout.oneOf.0.columns.items.[INDEX].dateFormat.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.fileLayout.oneOf.0.columns.items.[INDEX].dateFormat","typeLabel":"enum\u003cstring> | null"},"case":{"oneOf":[{"type":"string","enum":["AsIs","Upper",null],"description":"AsIs or Upper. AsIs when left out.","example":"Upper","uniqueKey":"content.data.fileLayout.oneOf.0.columns.items.[INDEX].case.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["AsIs","Upper",null],"description":"AsIs or Upper. AsIs when left out.","example":"Upper","uniqueKey":"content.data.fileLayout.oneOf.0.columns.items.[INDEX].case.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.fileLayout.oneOf.0.columns.items.[INDEX].case","typeLabel":"enum\u003cstring> | null"},"characterSet":{"oneOf":[{"type":"string","enum":["Any","Bacs",null],"description":"Any keeps every character; Bacs removes accents and keeps only letters, digits, space and . - / \u0026. Any when left out.","example":"Bacs","uniqueKey":"content.data.fileLayout.oneOf.0.columns.items.[INDEX].characterSet.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["Any","Bacs",null],"description":"Any keeps every character; Bacs removes accents and keeps only letters, digits, space and . - / \u0026. Any when left out.","example":"Bacs","uniqueKey":"content.data.fileLayout.oneOf.0.columns.items.[INDEX].characterSet.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.fileLayout.oneOf.0.columns.items.[INDEX].characterSet","typeLabel":"enum\u003cstring> | null"},"trim":{"oneOf":[{"type":"boolean","description":"Whether spaces around the value are removed. True when left out.","example":true,"uniqueKey":"content.data.fileLayout.oneOf.0.columns.items.[INDEX].trim.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether spaces around the value are removed. True when left out.","example":true,"uniqueKey":"content.data.fileLayout.oneOf.0.columns.items.[INDEX].trim.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.fileLayout.oneOf.0.columns.items.[INDEX].trim","typeLabel":"boolean | null"},"maxLength":{"oneOf":[{"type":"integer","format":"int32","description":"Text longer than this is cut: 1 to 1000. Never applied to a sort code, account number or amount.","example":18,"uniqueKey":"content.data.fileLayout.oneOf.0.columns.items.[INDEX].maxLength.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","description":"Text longer than this is cut: 1 to 1000. Never applied to a sort code, account number or amount.","example":18,"uniqueKey":"content.data.fileLayout.oneOf.0.columns.items.[INDEX].maxLength.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.fileLayout.oneOf.0.columns.items.[INDEX].maxLength","typeLabel":"integer\u003cint32> | null"},"width":{"oneOf":[{"type":"integer","format":"int32","description":"The value is padded to this many characters: 1 to 1000. Text is cut to it. A sort code, account number or amount column must be wide enough for every value it can hold (sort code 6, or 8 with separators; account number 8; amount 11), so no payment can overflow it. Needed on every column of a FixedWidth layout except a Literal.","example":18,"uniqueKey":"content.data.fileLayout.oneOf.0.columns.items.[INDEX].width.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","description":"The value is padded to this many characters: 1 to 1000. Text is cut to it. A sort code, account number or amount column must be wide enough for every value it can hold (sort code 6, or 8 with separators; account number 8; amount 11), so no payment can overflow it. Needed on every column of a FixedWidth layout except a Literal.","example":18,"uniqueKey":"content.data.fileLayout.oneOf.0.columns.items.[INDEX].width.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.fileLayout.oneOf.0.columns.items.[INDEX].width","typeLabel":"integer\u003cint32> | null"},"align":{"oneOf":[{"type":"string","enum":["Left","Right",null],"description":"Left or Right, when the value is padded to its width. Left when left out.","example":"Right","uniqueKey":"content.data.fileLayout.oneOf.0.columns.items.[INDEX].align.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["Left","Right",null],"description":"Left or Right, when the value is padded to its width. Left when left out.","example":"Right","uniqueKey":"content.data.fileLayout.oneOf.0.columns.items.[INDEX].align.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.fileLayout.oneOf.0.columns.items.[INDEX].align","typeLabel":"enum\u003cstring> | null"},"pad":{"oneOf":[{"type":"string","description":"The single character a value is padded with. A space when left out.","example":"0","uniqueKey":"content.data.fileLayout.oneOf.0.columns.items.[INDEX].pad.oneOf.0","typeLabel":"string"},{"type":"null","description":"The single character a value is padded with. A space when left out.","example":"0","uniqueKey":"content.data.fileLayout.oneOf.0.columns.items.[INDEX].pad.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.fileLayout.oneOf.0.columns.items.[INDEX].pad","typeLabel":"string | null"}},"example":{"field":"PayeeSortCode","sortCode":"Dashed","heading":"Sort code"},"uniqueKey":"content.data.fileLayout.oneOf.0.columns.items.[INDEX]","typeLabel":"object"},"description":"The columns of a payment row, in order: 1 to 100. Needs exactly one PayeeSortCode, PayeeAccountNumber and Amount column, and a payee name column.","isRequired":true,"uniqueKey":"content.data.fileLayout.oneOf.0.columns","typeLabel":"object[]"},"id":{"oneOf":[{"type":"string","description":"The preset's stable identifier, for a client to remember which bank format a layout started from. Set on the layouts `GET /available/config` lists; null on a pay schedule's own layout, and ignored when sent.","example":"barclays-csv","uniqueKey":"content.data.fileLayout.oneOf.0.id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The preset's stable identifier, for a client to remember which bank format a layout started from. Set on the layouts `GET /available/config` lists; null on a pay schedule's own layout, and ignored when sent.","example":"barclays-csv","uniqueKey":"content.data.fileLayout.oneOf.0.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.fileLayout.oneOf.0.id","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"A name for the layout, shown in settings. At most 100 characters.","example":"Our bank's bulk payments","uniqueKey":"content.data.fileLayout.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"A name for the layout, shown in settings. At most 100 characters.","example":"Our bank's bulk payments","uniqueKey":"content.data.fileLayout.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.fileLayout.oneOf.0.name","typeLabel":"string | null"},"rowFormat":{"oneOf":[{"type":"string","enum":["Delimited","FixedWidth",null],"description":"Delimited (values separated by the delimiter) or FixedWidth (every column padded to its width). Delimited when left out.","example":"Delimited","uniqueKey":"content.data.fileLayout.oneOf.0.rowFormat.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["Delimited","FixedWidth",null],"description":"Delimited (values separated by the delimiter) or FixedWidth (every column padded to its width). Delimited when left out.","example":"Delimited","uniqueKey":"content.data.fileLayout.oneOf.0.rowFormat.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.fileLayout.oneOf.0.rowFormat","typeLabel":"enum\u003cstring> | null"},"delimiter":{"oneOf":[{"type":"string","description":"The text between values in a Delimited layout, at most 5 characters. A comma when left out; null in a FixedWidth layout, and ignored there when sent.","example":",","uniqueKey":"content.data.fileLayout.oneOf.0.delimiter.oneOf.0","typeLabel":"string"},{"type":"null","description":"The text between values in a Delimited layout, at most 5 characters. A comma when left out; null in a FixedWidth layout, and ignored there when sent.","example":",","uniqueKey":"content.data.fileLayout.oneOf.0.delimiter.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.fileLayout.oneOf.0.delimiter","typeLabel":"string | null"},"headingRow":{"oneOf":[{"type":"boolean","description":"When true the first row holds each column's heading. False when left out.","example":false,"uniqueKey":"content.data.fileLayout.oneOf.0.headingRow.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"When true the first row holds each column's heading. False when left out.","example":false,"uniqueKey":"content.data.fileLayout.oneOf.0.headingRow.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.fileLayout.oneOf.0.headingRow","typeLabel":"boolean | null"},"lineEnding":{"oneOf":[{"type":"string","enum":["Crlf","Lf",null],"description":"How each row ends: Crlf (Windows) or Lf. Crlf when left out.","example":"Crlf","uniqueKey":"content.data.fileLayout.oneOf.0.lineEnding.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["Crlf","Lf",null],"description":"How each row ends: Crlf (Windows) or Lf. Crlf when left out.","example":"Crlf","uniqueKey":"content.data.fileLayout.oneOf.0.lineEnding.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.fileLayout.oneOf.0.lineEnding","typeLabel":"enum\u003cstring> | null"},"encoding":{"oneOf":[{"type":"string","enum":["Utf8","Utf8WithBom",null],"description":"Utf8, or Utf8WithBom when the bank needs a byte order mark. Utf8 when left out.","example":"Utf8","uniqueKey":"content.data.fileLayout.oneOf.0.encoding.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["Utf8","Utf8WithBom",null],"description":"Utf8, or Utf8WithBom when the bank needs a byte order mark. Utf8 when left out.","example":"Utf8","uniqueKey":"content.data.fileLayout.oneOf.0.encoding.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.fileLayout.oneOf.0.encoding","typeLabel":"enum\u003cstring> | null"}},"example":{"id":null,"name":"Our bank's bulk payments","extension":"csv","rowFormat":"Delimited","delimiter":",","headingRow":false,"lineEnding":"Crlf","encoding":"Utf8","columns":[{"field":"PayeeSortCode","sortCode":"Dashed"},{"field":"PayeeAccountNumber","accountNumber":"Digits"},{"field":"PayeeAccountNameAsEntered","characterSet":"Bacs","maxLength":18},{"field":"Amount","amount":"Pounds"},{"field":"Blank"},{"field":"Reference","characterSet":"Bacs","maxLength":18}]},"uniqueKey":"content.data.fileLayout.oneOf.0","typeLabel":"object"},{"type":"null","description":"The file's layout, for the Custom format; null for every other format.","required":["extension","columns"],"properties":{"id":{"oneOf":[{"type":"string","description":"The preset's stable identifier, for a client to remember which bank format a layout started from. Set on the layouts `GET /available/config` lists; null on a pay schedule's own layout, and ignored when sent.","example":"barclays-csv"},{"type":"null","description":"The preset's stable identifier, for a client to remember which bank format a layout started from. Set on the layouts `GET /available/config` lists; null on a pay schedule's own layout, and ignored when sent.","example":"barclays-csv"}]},"name":{"oneOf":[{"type":"string","description":"A name for the layout, shown in settings. At most 100 characters.","example":"Our bank's bulk payments"},{"type":"null","description":"A name for the layout, shown in settings. At most 100 characters.","example":"Our bank's bulk payments"}]},"extension":{"type":"string","enum":["csv","txt"],"description":"The file's extension: csv or txt. Independent of its content (a bank may want comma-separated values in a .txt file).","example":"csv"},"rowFormat":{"oneOf":[{"type":"string","enum":["Delimited","FixedWidth",null],"description":"Delimited (values separated by the delimiter) or FixedWidth (every column padded to its width). Delimited when left out.","example":"Delimited"},{"type":"null","enum":["Delimited","FixedWidth",null],"description":"Delimited (values separated by the delimiter) or FixedWidth (every column padded to its width). Delimited when left out.","example":"Delimited"}]},"delimiter":{"oneOf":[{"type":"string","description":"The text between values in a Delimited layout, at most 5 characters. A comma when left out; null in a FixedWidth layout, and ignored there when sent.","example":","},{"type":"null","description":"The text between values in a Delimited layout, at most 5 characters. A comma when left out; null in a FixedWidth layout, and ignored there when sent.","example":","}]},"headingRow":{"oneOf":[{"type":"boolean","description":"When true the first row holds each column's heading. False when left out.","example":false},{"type":"null","description":"When true the first row holds each column's heading. False when left out.","example":false}]},"lineEnding":{"oneOf":[{"type":"string","enum":["Crlf","Lf",null],"description":"How each row ends: Crlf (Windows) or Lf. Crlf when left out.","example":"Crlf"},{"type":"null","enum":["Crlf","Lf",null],"description":"How each row ends: Crlf (Windows) or Lf. Crlf when left out.","example":"Crlf"}]},"encoding":{"oneOf":[{"type":"string","enum":["Utf8","Utf8WithBom",null],"description":"Utf8, or Utf8WithBom when the bank needs a byte order mark. Utf8 when left out.","example":"Utf8"},{"type":"null","enum":["Utf8","Utf8WithBom",null],"description":"Utf8, or Utf8WithBom when the bank needs a byte order mark. Utf8 when left out.","example":"Utf8"}]},"columns":{"type":"array","items":{"type":"object","description":"One column of a payment row: the value it holds and how it is written. Only the options that apply to its field are read.","required":["field"],"properties":{"field":{"type":"string","enum":["PayeeSortCode","PayeeAccountNumber","PayeeAccountName","PayeeAccountNameAsEntered","Amount","Reference","PaymentDate","EmployeeId","Literal","Blank"],"description":"The value the column holds. New fields may be added; a client should show one it does not know by name rather than fail. PayeeAccountName is the name cleaned to upper-case Bacs characters; PayeeAccountNameAsEntered is the name as it was entered; Literal is fixed text; Blank is an empty column.","example":"PayeeSortCode"},"heading":{"oneOf":[{"type":"string","description":"The column's heading, written in the heading row. At most 100 characters.","example":"Sort code"},{"type":"null","description":"The column's heading, written in the heading row. At most 100 characters.","example":"Sort code"}]},"literal":{"oneOf":[{"type":"string","description":"The text a Literal column writes on every row. At most 100 characters.","example":"99"},{"type":"null","description":"The text a Literal column writes on every row. At most 100 characters.","example":"99"}]},"sortCode":{"oneOf":[{"type":"string","enum":["Digits","Dashed","Spaced",null],"description":"How a sort code is written: Digits (309154), Dashed (30-91-54) or Spaced (30 91 54). Digits when left out.","example":"Dashed"},{"type":"null","enum":["Digits","Dashed","Spaced",null],"description":"How a sort code is written: Digits (309154), Dashed (30-91-54) or Spaced (30 91 54). Digits when left out.","example":"Dashed"}]},"accountNumber":{"oneOf":[{"type":"string","enum":["PaddedToEight","Digits",null],"description":"How an account number is written: PaddedToEight (01335816) or Digits as entered (1335816). PaddedToEight when left out.","example":"Digits"},{"type":"null","enum":["PaddedToEight","Digits",null],"description":"How an account number is written: PaddedToEight (01335816) or Digits as entered (1335816). PaddedToEight when left out.","example":"Digits"}]},"amount":{"oneOf":[{"type":"string","enum":["Pounds","PoundsTrimmed","Pence",null],"description":"How an amount is written: Pounds (100.50), PoundsTrimmed (100.5) or Pence (10050). Pounds when left out.","example":"Pounds"},{"type":"null","enum":["Pounds","PoundsTrimmed","Pence",null],"description":"How an amount is written: Pounds (100.50), PoundsTrimmed (100.5) or Pence (10050). Pounds when left out.","example":"Pounds"}]},"dateFormat":{"oneOf":[{"type":"string","enum":["DMY_COMPACT","DMY_SLASH","YMD_DASH","MDY_SLASH","DMY_DASH","DMY_DOT",null],"description":"How a PaymentDate column writes the date, as referenceDateFormat names it. DMY_SLASH when left out.","example":"DMY_SLASH"},{"type":"null","enum":["DMY_COMPACT","DMY_SLASH","YMD_DASH","MDY_SLASH","DMY_DASH","DMY_DOT",null],"description":"How a PaymentDate column writes the date, as referenceDateFormat names it. DMY_SLASH when left out.","example":"DMY_SLASH"}]},"case":{"oneOf":[{"type":"string","enum":["AsIs","Upper",null],"description":"AsIs or Upper. AsIs when left out.","example":"Upper"},{"type":"null","enum":["AsIs","Upper",null],"description":"AsIs or Upper. AsIs when left out.","example":"Upper"}]},"characterSet":{"oneOf":[{"type":"string","enum":["Any","Bacs",null],"description":"Any keeps every character; Bacs removes accents and keeps only letters, digits, space and . - / \u0026. Any when left out.","example":"Bacs"},{"type":"null","enum":["Any","Bacs",null],"description":"Any keeps every character; Bacs removes accents and keeps only letters, digits, space and . - / \u0026. Any when left out.","example":"Bacs"}]},"trim":{"oneOf":[{"type":"boolean","description":"Whether spaces around the value are removed. True when left out.","example":true},{"type":"null","description":"Whether spaces around the value are removed. True when left out.","example":true}]},"maxLength":{"oneOf":[{"type":"integer","format":"int32","description":"Text longer than this is cut: 1 to 1000. Never applied to a sort code, account number or amount.","example":18},{"type":"null","format":"int32","description":"Text longer than this is cut: 1 to 1000. Never applied to a sort code, account number or amount.","example":18}]},"width":{"oneOf":[{"type":"integer","format":"int32","description":"The value is padded to this many characters: 1 to 1000. Text is cut to it. A sort code, account number or amount column must be wide enough for every value it can hold (sort code 6, or 8 with separators; account number 8; amount 11), so no payment can overflow it. Needed on every column of a FixedWidth layout except a Literal.","example":18},{"type":"null","format":"int32","description":"The value is padded to this many characters: 1 to 1000. Text is cut to it. A sort code, account number or amount column must be wide enough for every value it can hold (sort code 6, or 8 with separators; account number 8; amount 11), so no payment can overflow it. Needed on every column of a FixedWidth layout except a Literal.","example":18}]},"align":{"oneOf":[{"type":"string","enum":["Left","Right",null],"description":"Left or Right, when the value is padded to its width. Left when left out.","example":"Right"},{"type":"null","enum":["Left","Right",null],"description":"Left or Right, when the value is padded to its width. Left when left out.","example":"Right"}]},"pad":{"oneOf":[{"type":"string","description":"The single character a value is padded with. A space when left out.","example":"0"},{"type":"null","description":"The single character a value is padded with. A space when left out.","example":"0"}]}},"example":{"field":"PayeeSortCode","sortCode":"Dashed","heading":"Sort code"}},"description":"The columns of a payment row, in order: 1 to 100. Needs exactly one PayeeSortCode, PayeeAccountNumber and Amount column, and a payee name column."}},"example":{"id":null,"name":"Our bank's bulk payments","extension":"csv","rowFormat":"Delimited","delimiter":",","headingRow":false,"lineEnding":"Crlf","encoding":"Utf8","columns":[{"field":"PayeeSortCode","sortCode":"Dashed"},{"field":"PayeeAccountNumber","accountNumber":"Digits"},{"field":"PayeeAccountNameAsEntered","characterSet":"Bacs","maxLength":18},{"field":"Amount","amount":"Pounds"},{"field":"Blank"},{"field":"Reference","characterSet":"Bacs","maxLength":18}]},"uniqueKey":"content.data.fileLayout.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.fileLayout","typeLabel":"object | null"},"updatedDate":{"oneOf":[{"type":"string","format":"date-time","description":"When the configuration was last changed.","example":"2024-05-10T12:00:00Z","uniqueKey":"content.data.updatedDate.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the configuration was last changed.","example":"2024-05-10T12:00:00Z","uniqueKey":"content.data.updatedDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.updatedDate","typeLabel":"string\u003cdate-time> | null"},"updatedBy":{"oneOf":[{"type":"string","description":"Who last changed the configuration.","example":"user-456","uniqueKey":"content.data.updatedBy.oneOf.0","typeLabel":"string"},{"type":"null","description":"Who last changed the configuration.","example":"user-456","uniqueKey":"content.data.updatedBy.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.data.updatedBy","typeLabel":"string | null"}},"uniqueKey":"content.data","typeLabel":"object"}},"uniqueKey":"content","typeLabel":"object"},"validationIssues":{"oneOf":[{"type":"array","items":{"type":"object","description":"Field validation item. `reasonToken` is a stable snake_case key for i18n or custom client messages; `reason` is the default English text from the API.","required":["field","reason","reasonToken"],"properties":{"field":{"type":"string","description":"Dot-path of the field (e.g. name.firstName, address.line1).","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].field","typeLabel":"string"},"reason":{"type":"string","description":"Default human-readable message.","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reason","typeLabel":"string"},"reasonToken":{"type":"string","description":"Machine-readable error identifier (snake_case).","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonToken","typeLabel":"string"},"reasonTokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","description":"A named value a message refers to.","required":["name"],"properties":{"name":{"type":"string","description":"The argument's name.","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].name","typeLabel":"string"},"value":{"oneOf":[{"type":"string","description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"number","description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value.oneOf.1","typeLabel":"number"},{"type":"boolean","description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value.oneOf.2","typeLabel":"boolean"},{"type":"array","items":{"type":"string","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value.oneOf.3.items.[INDEX]","typeLabel":"string"},"description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value.oneOf.3","typeLabel":"string[]"},{"type":"null","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value.oneOf.4","typeLabel":"null"}],"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value","typeLabel":"string | number | boolean | string[] | null"}},"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Values the reason refers to, by name.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","description":"A named value a message refers to.","required":["name"],"properties":{"name":{"type":"string","description":"The argument's name."},"value":{"oneOf":[{"type":"string","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"number","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"boolean","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"array","items":{"type":"string"},"description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"null"}]}}},"description":"Values the reason refers to, by name.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.1","typeLabel":"null"}],"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments","typeLabel":"object[] | null"}},"uniqueKey":"validationIssues.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"One entry per field the request got wrong. Left out when there are none.","uniqueKey":"validationIssues.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","description":"Field validation item. `reasonToken` is a stable snake_case key for i18n or custom client messages; `reason` is the default English text from the API.","required":["field","reason","reasonToken"],"properties":{"field":{"type":"string","description":"Dot-path of the field (e.g. name.firstName, address.line1)."},"reason":{"type":"string","description":"Default human-readable message."},"reasonToken":{"type":"string","description":"Machine-readable error identifier (snake_case)."},"reasonTokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","description":"A named value a message refers to.","required":["name"],"properties":{"name":{"type":"string","description":"The argument's name."},"value":{"oneOf":[{"type":"string","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"number","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"boolean","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"array","items":{"type":"string"},"description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"null"}]}}},"description":"Values the reason refers to, by name."},{"type":"null","items":{"type":"object","description":"A named value a message refers to.","required":["name"],"properties":{"name":{"type":"string","description":"The argument's name."},"value":{"oneOf":[{"type":"string","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"number","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"boolean","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"array","items":{"type":"string"},"description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"null"}]}}},"description":"Values the reason refers to, by name."}]}}},"description":"One entry per field the request got wrong. Left out when there are none.","uniqueKey":"validationIssues.oneOf.1","typeLabel":"null"}],"uniqueKey":"validationIssues","typeLabel":"object[] | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":{"text":"\u003cstring>","token":"\u003cstring>","tokenArguments":[{"name":"\u003cstring>","value":"\u003cstring>"}]},"content":{"metadata":{"dateFormat":"\u003cstring>","dateTimeFormat":"\u003cstring>","paginationToken":"\u003cstring>"},"data":{"method":"BACS","format":"Barclays","fileFormat":"txt","reference":"Payroll May 2024","referenceDateFormat":"DMY_COMPACT","payrollConfigId":"org-payroll-123","bacs":{"sortCode":"12-34-56","accountNumber":"12345678","serviceUserNumber":"SUN123"},"createdDate":"2024-05-01T12:00:00Z","createdBy":"user-123","updatedDate":"2024-05-10T12:00:00Z","updatedBy":"user-456"}},"validationIssues":[{"field":"\u003cstring>","reason":"\u003cstring>","reasonToken":"\u003cstring>","reasonTokenArguments":[{"name":"\u003cstring>","value":"\u003cstring>"}]}]}}},"exampleType":"generated"}},"exampleType":"generated"},"b9c943f2-b42f-449e-ae38-7db72f746690":{"description":"Invalid request: the method and format are not available, or a field is invalid. An invalid file layout lists every problem in validationIssues, each with its field (fileLayout.columns[2].width) and a stable reasonToken (fileLayoutColumnNeedsWidth, ...).","content":{"application/json":{"schema":{"type":"object","description":"The envelope every answer is written in.","required":["message"],"properties":{"message":{"type":"object","description":"What happened, as text and as a token for translation.","required":["text","token"],"properties":{"text":{"type":"string","description":"Default human-readable message.","isRequired":true,"uniqueKey":"message.text","typeLabel":"string"},"token":{"type":"string","description":"Machine-readable message identifier (snake_case), for translation or your own wording.","isRequired":true,"uniqueKey":"message.token","typeLabel":"string"},"tokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","description":"A named value a message refers to.","required":["name"],"properties":{"name":{"type":"string","description":"The argument's name.","isRequired":true,"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].name","typeLabel":"string"},"value":{"oneOf":[{"type":"string","description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"number","description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value.oneOf.1","typeLabel":"number"},{"type":"boolean","description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value.oneOf.2","typeLabel":"boolean"},{"type":"array","items":{"type":"string","uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value.oneOf.3.items.[INDEX]","typeLabel":"string"},"description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value.oneOf.3","typeLabel":"string[]"},{"type":"null","uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value.oneOf.4","typeLabel":"null"}],"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value","typeLabel":"string | number | boolean | string[] | null"}},"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Values the message refers to, by name.","uniqueKey":"message.tokenArguments.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","description":"A named value a message refers to.","required":["name"],"properties":{"name":{"type":"string","description":"The argument's name."},"value":{"oneOf":[{"type":"string","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"number","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"boolean","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"array","items":{"type":"string"},"description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"null"}]}}},"description":"Values the message refers to, by name.","uniqueKey":"message.tokenArguments.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.tokenArguments","typeLabel":"object[] | null"}},"isRequired":true,"uniqueKey":"message","typeLabel":"object"},"content":{"oneOf":[{"type":"object","required":["metadata"],"properties":{"metadata":{"type":"object","description":"How to read the dates in the data.","required":["dateFormat","dateTimeFormat"],"properties":{"dateFormat":{"type":"string","description":"The format of dates in the data.","isRequired":true,"uniqueKey":"content.oneOf.0.metadata.dateFormat","typeLabel":"string"},"dateTimeFormat":{"type":"string","description":"The format of timestamps in the data.","isRequired":true,"uniqueKey":"content.oneOf.0.metadata.dateTimeFormat","typeLabel":"string"},"paginationToken":{"oneOf":[{"type":"string","description":"The token for the next page, on a paged list that has one.","uniqueKey":"content.oneOf.0.metadata.paginationToken.oneOf.0","typeLabel":"string"},{"type":"null","description":"The token for the next page, on a paged list that has one.","uniqueKey":"content.oneOf.0.metadata.paginationToken.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.oneOf.0.metadata.paginationToken","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"content.oneOf.0.metadata","typeLabel":"object"},"data":{"oneOf":[{"type":"object","description":"The data the operation answers with.","uniqueKey":"content.oneOf.0.data.oneOf.0","typeLabel":"object"},{"type":"null","description":"The data the operation answers with.","uniqueKey":"content.oneOf.0.data.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.oneOf.0.data","typeLabel":"object | null"}},"description":"The answer's data and how to read it. Left out when there is none.","uniqueKey":"content.oneOf.0","typeLabel":"object"},{"type":"null","required":["metadata"],"properties":{"data":{"oneOf":[{"type":"object","description":"The data the operation answers with."},{"type":"null","description":"The data the operation answers with."}]},"metadata":{"type":"object","description":"How to read the dates in the data.","required":["dateFormat","dateTimeFormat"],"properties":{"dateFormat":{"type":"string","description":"The format of dates in the data."},"dateTimeFormat":{"type":"string","description":"The format of timestamps in the data."},"paginationToken":{"oneOf":[{"type":"string","description":"The token for the next page, on a paged list that has one."},{"type":"null","description":"The token for the next page, on a paged list that has one."}]}}}},"description":"The answer's data and how to read it. Left out when there is none.","uniqueKey":"content.oneOf.1","typeLabel":"null"}],"uniqueKey":"content","typeLabel":"object | null"},"validationIssues":{"oneOf":[{"type":"array","items":{"type":"object","description":"Field validation item. `reasonToken` is a stable snake_case key for i18n or custom client messages; `reason` is the default English text from the API.","required":["field","reason","reasonToken"],"properties":{"field":{"type":"string","description":"Dot-path of the field (e.g. name.firstName, address.line1).","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].field","typeLabel":"string"},"reason":{"type":"string","description":"Default human-readable message.","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reason","typeLabel":"string"},"reasonToken":{"type":"string","description":"Machine-readable error identifier (snake_case).","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonToken","typeLabel":"string"},"reasonTokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","description":"A named value a message refers to.","required":["name"],"properties":{"name":{"type":"string","description":"The argument's name.","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].name","typeLabel":"string"},"value":{"oneOf":[{"type":"string","description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"number","description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value.oneOf.1","typeLabel":"number"},{"type":"boolean","description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value.oneOf.2","typeLabel":"boolean"},{"type":"array","items":{"type":"string","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value.oneOf.3.items.[INDEX]","typeLabel":"string"},"description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value.oneOf.3","typeLabel":"string[]"},{"type":"null","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value.oneOf.4","typeLabel":"null"}],"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value","typeLabel":"string | number | boolean | string[] | null"}},"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Values the reason refers to, by name.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","description":"A named value a message refers to.","required":["name"],"properties":{"name":{"type":"string","description":"The argument's name."},"value":{"oneOf":[{"type":"string","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"number","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"boolean","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"array","items":{"type":"string"},"description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"null"}]}}},"description":"Values the reason refers to, by name.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.1","typeLabel":"null"}],"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments","typeLabel":"object[] | null"}},"uniqueKey":"validationIssues.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"One entry per field the request got wrong. Left out when there are none.","uniqueKey":"validationIssues.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","description":"Field validation item. `reasonToken` is a stable snake_case key for i18n or custom client messages; `reason` is the default English text from the API.","required":["field","reason","reasonToken"],"properties":{"field":{"type":"string","description":"Dot-path of the field (e.g. name.firstName, address.line1)."},"reason":{"type":"string","description":"Default human-readable message."},"reasonToken":{"type":"string","description":"Machine-readable error identifier (snake_case)."},"reasonTokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","description":"A named value a message refers to.","required":["name"],"properties":{"name":{"type":"string","description":"The argument's name."},"value":{"oneOf":[{"type":"string","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"number","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"boolean","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"array","items":{"type":"string"},"description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"null"}]}}},"description":"Values the reason refers to, by name."},{"type":"null","items":{"type":"object","description":"A named value a message refers to.","required":["name"],"properties":{"name":{"type":"string","description":"The argument's name."},"value":{"oneOf":[{"type":"string","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"number","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"boolean","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"array","items":{"type":"string"},"description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"null"}]}}},"description":"Values the reason refers to, by name."}]}}},"description":"One entry per field the request got wrong. Left out when there are none.","uniqueKey":"validationIssues.oneOf.1","typeLabel":"null"}],"uniqueKey":"validationIssues","typeLabel":"object[] | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":{"text":"\u003cstring>","token":"\u003cstring>","tokenArguments":[{"name":"\u003cstring>","value":"\u003cstring>"}]},"content":{"metadata":{"dateFormat":"\u003cstring>","dateTimeFormat":"\u003cstring>","paginationToken":"\u003cstring>"},"data":{}},"validationIssues":[{"field":"\u003cstring>","reason":"\u003cstring>","reasonToken":"\u003cstring>","reasonTokenArguments":[{"name":"\u003cstring>","value":"\u003cstring>"}]}]}}},"exampleType":"generated"}},"exampleType":"generated"},"4b6366a7-65ac-4fa3-9e81-a125ff0ab923":{"description":"The access token is missing, expired or not valid (token `invalid_token`). Get a new token and send the request again.","content":{"application/json":{"schema":{"type":"object","description":"The envelope every answer is written in.","required":["message"],"properties":{"message":{"type":"object","description":"What happened, as text and as a token for translation.","required":["text","token"],"properties":{"text":{"type":"string","description":"Default human-readable message.","isRequired":true,"uniqueKey":"message.text","typeLabel":"string"},"token":{"type":"string","description":"Machine-readable message identifier (snake_case), for translation or your own wording.","isRequired":true,"uniqueKey":"message.token","typeLabel":"string"},"tokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","description":"A named value a message refers to.","required":["name"],"properties":{"name":{"type":"string","description":"The argument's name.","isRequired":true,"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].name","typeLabel":"string"},"value":{"oneOf":[{"type":"string","description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"number","description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value.oneOf.1","typeLabel":"number"},{"type":"boolean","description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value.oneOf.2","typeLabel":"boolean"},{"type":"array","items":{"type":"string","uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value.oneOf.3.items.[INDEX]","typeLabel":"string"},"description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value.oneOf.3","typeLabel":"string[]"},{"type":"null","uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value.oneOf.4","typeLabel":"null"}],"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value","typeLabel":"string | number | boolean | string[] | null"}},"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Values the message refers to, by name.","uniqueKey":"message.tokenArguments.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","description":"A named value a message refers to.","required":["name"],"properties":{"name":{"type":"string","description":"The argument's name."},"value":{"oneOf":[{"type":"string","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"number","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"boolean","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"array","items":{"type":"string"},"description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"null"}]}}},"description":"Values the message refers to, by name.","uniqueKey":"message.tokenArguments.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.tokenArguments","typeLabel":"object[] | null"}},"isRequired":true,"uniqueKey":"message","typeLabel":"object"},"content":{"oneOf":[{"type":"object","required":["metadata"],"properties":{"metadata":{"type":"object","description":"How to read the dates in the data.","required":["dateFormat","dateTimeFormat"],"properties":{"dateFormat":{"type":"string","description":"The format of dates in the data.","isRequired":true,"uniqueKey":"content.oneOf.0.metadata.dateFormat","typeLabel":"string"},"dateTimeFormat":{"type":"string","description":"The format of timestamps in the data.","isRequired":true,"uniqueKey":"content.oneOf.0.metadata.dateTimeFormat","typeLabel":"string"},"paginationToken":{"oneOf":[{"type":"string","description":"The token for the next page, on a paged list that has one.","uniqueKey":"content.oneOf.0.metadata.paginationToken.oneOf.0","typeLabel":"string"},{"type":"null","description":"The token for the next page, on a paged list that has one.","uniqueKey":"content.oneOf.0.metadata.paginationToken.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.oneOf.0.metadata.paginationToken","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"content.oneOf.0.metadata","typeLabel":"object"},"data":{"oneOf":[{"type":"object","description":"The data the operation answers with.","uniqueKey":"content.oneOf.0.data.oneOf.0","typeLabel":"object"},{"type":"null","description":"The data the operation answers with.","uniqueKey":"content.oneOf.0.data.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.oneOf.0.data","typeLabel":"object | null"}},"description":"The answer's data and how to read it. Left out when there is none.","uniqueKey":"content.oneOf.0","typeLabel":"object"},{"type":"null","required":["metadata"],"properties":{"data":{"oneOf":[{"type":"object","description":"The data the operation answers with."},{"type":"null","description":"The data the operation answers with."}]},"metadata":{"type":"object","description":"How to read the dates in the data.","required":["dateFormat","dateTimeFormat"],"properties":{"dateFormat":{"type":"string","description":"The format of dates in the data."},"dateTimeFormat":{"type":"string","description":"The format of timestamps in the data."},"paginationToken":{"oneOf":[{"type":"string","description":"The token for the next page, on a paged list that has one."},{"type":"null","description":"The token for the next page, on a paged list that has one."}]}}}},"description":"The answer's data and how to read it. Left out when there is none.","uniqueKey":"content.oneOf.1","typeLabel":"null"}],"uniqueKey":"content","typeLabel":"object | null"},"validationIssues":{"oneOf":[{"type":"array","items":{"type":"object","description":"Field validation item. `reasonToken` is a stable snake_case key for i18n or custom client messages; `reason` is the default English text from the API.","required":["field","reason","reasonToken"],"properties":{"field":{"type":"string","description":"Dot-path of the field (e.g. name.firstName, address.line1).","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].field","typeLabel":"string"},"reason":{"type":"string","description":"Default human-readable message.","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reason","typeLabel":"string"},"reasonToken":{"type":"string","description":"Machine-readable error identifier (snake_case).","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonToken","typeLabel":"string"},"reasonTokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","description":"A named value a message refers to.","required":["name"],"properties":{"name":{"type":"string","description":"The argument's name.","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].name","typeLabel":"string"},"value":{"oneOf":[{"type":"string","description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"number","description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value.oneOf.1","typeLabel":"number"},{"type":"boolean","description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value.oneOf.2","typeLabel":"boolean"},{"type":"array","items":{"type":"string","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value.oneOf.3.items.[INDEX]","typeLabel":"string"},"description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value.oneOf.3","typeLabel":"string[]"},{"type":"null","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value.oneOf.4","typeLabel":"null"}],"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value","typeLabel":"string | number | boolean | string[] | null"}},"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Values the reason refers to, by name.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","description":"A named value a message refers to.","required":["name"],"properties":{"name":{"type":"string","description":"The argument's name."},"value":{"oneOf":[{"type":"string","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"number","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"boolean","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"array","items":{"type":"string"},"description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"null"}]}}},"description":"Values the reason refers to, by name.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.1","typeLabel":"null"}],"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments","typeLabel":"object[] | null"}},"uniqueKey":"validationIssues.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"One entry per field the request got wrong. Left out when there are none.","uniqueKey":"validationIssues.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","description":"Field validation item. `reasonToken` is a stable snake_case key for i18n or custom client messages; `reason` is the default English text from the API.","required":["field","reason","reasonToken"],"properties":{"field":{"type":"string","description":"Dot-path of the field (e.g. name.firstName, address.line1)."},"reason":{"type":"string","description":"Default human-readable message."},"reasonToken":{"type":"string","description":"Machine-readable error identifier (snake_case)."},"reasonTokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","description":"A named value a message refers to.","required":["name"],"properties":{"name":{"type":"string","description":"The argument's name."},"value":{"oneOf":[{"type":"string","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"number","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"boolean","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"array","items":{"type":"string"},"description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"null"}]}}},"description":"Values the reason refers to, by name."},{"type":"null","items":{"type":"object","description":"A named value a message refers to.","required":["name"],"properties":{"name":{"type":"string","description":"The argument's name."},"value":{"oneOf":[{"type":"string","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"number","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"boolean","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"array","items":{"type":"string"},"description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"null"}]}}},"description":"Values the reason refers to, by name."}]}}},"description":"One entry per field the request got wrong. Left out when there are none.","uniqueKey":"validationIssues.oneOf.1","typeLabel":"null"}],"uniqueKey":"validationIssues","typeLabel":"object[] | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":{"text":"\u003cstring>","token":"\u003cstring>","tokenArguments":[{"name":"\u003cstring>","value":"\u003cstring>"}]},"content":{"metadata":{"dateFormat":"\u003cstring>","dateTimeFormat":"\u003cstring>","paginationToken":"\u003cstring>"},"data":{}},"validationIssues":[{"field":"\u003cstring>","reason":"\u003cstring>","reasonToken":"\u003cstring>","reasonTokenArguments":[{"name":"\u003cstring>","value":"\u003cstring>"}]}]}}},"exampleType":"generated"}},"exampleType":"generated"},"383d7e61-8ad8-4764-9e8a-9c800fae1f0a":{"description":"The caller lacks the permission in x-flow-permission (token `insufficient_permissions`), or cannot reach the organisation (token `access_denied`).","content":{"application/json":{"schema":{"type":"object","description":"The envelope every answer is written in.","required":["message"],"properties":{"message":{"type":"object","description":"What happened, as text and as a token for translation.","required":["text","token"],"properties":{"text":{"type":"string","description":"Default human-readable message.","isRequired":true,"uniqueKey":"message.text","typeLabel":"string"},"token":{"type":"string","description":"Machine-readable message identifier (snake_case), for translation or your own wording.","isRequired":true,"uniqueKey":"message.token","typeLabel":"string"},"tokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","description":"A named value a message refers to.","required":["name"],"properties":{"name":{"type":"string","description":"The argument's name.","isRequired":true,"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].name","typeLabel":"string"},"value":{"oneOf":[{"type":"string","description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"number","description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value.oneOf.1","typeLabel":"number"},{"type":"boolean","description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value.oneOf.2","typeLabel":"boolean"},{"type":"array","items":{"type":"string","uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value.oneOf.3.items.[INDEX]","typeLabel":"string"},"description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value.oneOf.3","typeLabel":"string[]"},{"type":"null","uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value.oneOf.4","typeLabel":"null"}],"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value","typeLabel":"string | number | boolean | string[] | null"}},"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Values the message refers to, by name.","uniqueKey":"message.tokenArguments.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","description":"A named value a message refers to.","required":["name"],"properties":{"name":{"type":"string","description":"The argument's name."},"value":{"oneOf":[{"type":"string","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"number","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"boolean","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"array","items":{"type":"string"},"description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"null"}]}}},"description":"Values the message refers to, by name.","uniqueKey":"message.tokenArguments.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.tokenArguments","typeLabel":"object[] | null"}},"isRequired":true,"uniqueKey":"message","typeLabel":"object"},"content":{"oneOf":[{"type":"object","required":["metadata"],"properties":{"metadata":{"type":"object","description":"How to read the dates in the data.","required":["dateFormat","dateTimeFormat"],"properties":{"dateFormat":{"type":"string","description":"The format of dates in the data.","isRequired":true,"uniqueKey":"content.oneOf.0.metadata.dateFormat","typeLabel":"string"},"dateTimeFormat":{"type":"string","description":"The format of timestamps in the data.","isRequired":true,"uniqueKey":"content.oneOf.0.metadata.dateTimeFormat","typeLabel":"string"},"paginationToken":{"oneOf":[{"type":"string","description":"The token for the next page, on a paged list that has one.","uniqueKey":"content.oneOf.0.metadata.paginationToken.oneOf.0","typeLabel":"string"},{"type":"null","description":"The token for the next page, on a paged list that has one.","uniqueKey":"content.oneOf.0.metadata.paginationToken.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.oneOf.0.metadata.paginationToken","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"content.oneOf.0.metadata","typeLabel":"object"},"data":{"oneOf":[{"type":"object","description":"The data the operation answers with.","uniqueKey":"content.oneOf.0.data.oneOf.0","typeLabel":"object"},{"type":"null","description":"The data the operation answers with.","uniqueKey":"content.oneOf.0.data.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.oneOf.0.data","typeLabel":"object | null"}},"description":"The answer's data and how to read it. Left out when there is none.","uniqueKey":"content.oneOf.0","typeLabel":"object"},{"type":"null","required":["metadata"],"properties":{"data":{"oneOf":[{"type":"object","description":"The data the operation answers with."},{"type":"null","description":"The data the operation answers with."}]},"metadata":{"type":"object","description":"How to read the dates in the data.","required":["dateFormat","dateTimeFormat"],"properties":{"dateFormat":{"type":"string","description":"The format of dates in the data."},"dateTimeFormat":{"type":"string","description":"The format of timestamps in the data."},"paginationToken":{"oneOf":[{"type":"string","description":"The token for the next page, on a paged list that has one."},{"type":"null","description":"The token for the next page, on a paged list that has one."}]}}}},"description":"The answer's data and how to read it. Left out when there is none.","uniqueKey":"content.oneOf.1","typeLabel":"null"}],"uniqueKey":"content","typeLabel":"object | null"},"validationIssues":{"oneOf":[{"type":"array","items":{"type":"object","description":"Field validation item. `reasonToken` is a stable snake_case key for i18n or custom client messages; `reason` is the default English text from the API.","required":["field","reason","reasonToken"],"properties":{"field":{"type":"string","description":"Dot-path of the field (e.g. name.firstName, address.line1).","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].field","typeLabel":"string"},"reason":{"type":"string","description":"Default human-readable message.","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reason","typeLabel":"string"},"reasonToken":{"type":"string","description":"Machine-readable error identifier (snake_case).","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonToken","typeLabel":"string"},"reasonTokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","description":"A named value a message refers to.","required":["name"],"properties":{"name":{"type":"string","description":"The argument's name.","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].name","typeLabel":"string"},"value":{"oneOf":[{"type":"string","description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"number","description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value.oneOf.1","typeLabel":"number"},{"type":"boolean","description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value.oneOf.2","typeLabel":"boolean"},{"type":"array","items":{"type":"string","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value.oneOf.3.items.[INDEX]","typeLabel":"string"},"description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value.oneOf.3","typeLabel":"string[]"},{"type":"null","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value.oneOf.4","typeLabel":"null"}],"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value","typeLabel":"string | number | boolean | string[] | null"}},"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Values the reason refers to, by name.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","description":"A named value a message refers to.","required":["name"],"properties":{"name":{"type":"string","description":"The argument's name."},"value":{"oneOf":[{"type":"string","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"number","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"boolean","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"array","items":{"type":"string"},"description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"null"}]}}},"description":"Values the reason refers to, by name.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.1","typeLabel":"null"}],"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments","typeLabel":"object[] | null"}},"uniqueKey":"validationIssues.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"One entry per field the request got wrong. Left out when there are none.","uniqueKey":"validationIssues.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","description":"Field validation item. `reasonToken` is a stable snake_case key for i18n or custom client messages; `reason` is the default English text from the API.","required":["field","reason","reasonToken"],"properties":{"field":{"type":"string","description":"Dot-path of the field (e.g. name.firstName, address.line1)."},"reason":{"type":"string","description":"Default human-readable message."},"reasonToken":{"type":"string","description":"Machine-readable error identifier (snake_case)."},"reasonTokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","description":"A named value a message refers to.","required":["name"],"properties":{"name":{"type":"string","description":"The argument's name."},"value":{"oneOf":[{"type":"string","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"number","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"boolean","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"array","items":{"type":"string"},"description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"null"}]}}},"description":"Values the reason refers to, by name."},{"type":"null","items":{"type":"object","description":"A named value a message refers to.","required":["name"],"properties":{"name":{"type":"string","description":"The argument's name."},"value":{"oneOf":[{"type":"string","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"number","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"boolean","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"array","items":{"type":"string"},"description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"null"}]}}},"description":"Values the reason refers to, by name."}]}}},"description":"One entry per field the request got wrong. Left out when there are none.","uniqueKey":"validationIssues.oneOf.1","typeLabel":"null"}],"uniqueKey":"validationIssues","typeLabel":"object[] | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":{"text":"\u003cstring>","token":"\u003cstring>","tokenArguments":[{"name":"\u003cstring>","value":"\u003cstring>"}]},"content":{"metadata":{"dateFormat":"\u003cstring>","dateTimeFormat":"\u003cstring>","paginationToken":"\u003cstring>"},"data":{}},"validationIssues":[{"field":"\u003cstring>","reason":"\u003cstring>","reasonToken":"\u003cstring>","reasonTokenArguments":[{"name":"\u003cstring>","value":"\u003cstring>"}]}]}}},"exampleType":"generated"}},"exampleType":"generated"},"8e98002a-968d-417f-b7a2-32ebc8c6ae79":{"description":"Internal server error.","content":{"application/json":{"schema":{"type":"object","description":"The envelope every answer is written in.","required":["message"],"properties":{"message":{"type":"object","description":"What happened, as text and as a token for translation.","required":["text","token"],"properties":{"text":{"type":"string","description":"Default human-readable message.","isRequired":true,"uniqueKey":"message.text","typeLabel":"string"},"token":{"type":"string","description":"Machine-readable message identifier (snake_case), for translation or your own wording.","isRequired":true,"uniqueKey":"message.token","typeLabel":"string"},"tokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","description":"A named value a message refers to.","required":["name"],"properties":{"name":{"type":"string","description":"The argument's name.","isRequired":true,"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].name","typeLabel":"string"},"value":{"oneOf":[{"type":"string","description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"number","description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value.oneOf.1","typeLabel":"number"},{"type":"boolean","description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value.oneOf.2","typeLabel":"boolean"},{"type":"array","items":{"type":"string","uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value.oneOf.3.items.[INDEX]","typeLabel":"string"},"description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value.oneOf.3","typeLabel":"string[]"},{"type":"null","uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value.oneOf.4","typeLabel":"null"}],"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value","typeLabel":"string | number | boolean | string[] | null"}},"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Values the message refers to, by name.","uniqueKey":"message.tokenArguments.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","description":"A named value a message refers to.","required":["name"],"properties":{"name":{"type":"string","description":"The argument's name."},"value":{"oneOf":[{"type":"string","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"number","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"boolean","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"array","items":{"type":"string"},"description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"null"}]}}},"description":"Values the message refers to, by name.","uniqueKey":"message.tokenArguments.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.tokenArguments","typeLabel":"object[] | null"}},"isRequired":true,"uniqueKey":"message","typeLabel":"object"},"content":{"oneOf":[{"type":"object","required":["metadata"],"properties":{"metadata":{"type":"object","description":"How to read the dates in the data.","required":["dateFormat","dateTimeFormat"],"properties":{"dateFormat":{"type":"string","description":"The format of dates in the data.","isRequired":true,"uniqueKey":"content.oneOf.0.metadata.dateFormat","typeLabel":"string"},"dateTimeFormat":{"type":"string","description":"The format of timestamps in the data.","isRequired":true,"uniqueKey":"content.oneOf.0.metadata.dateTimeFormat","typeLabel":"string"},"paginationToken":{"oneOf":[{"type":"string","description":"The token for the next page, on a paged list that has one.","uniqueKey":"content.oneOf.0.metadata.paginationToken.oneOf.0","typeLabel":"string"},{"type":"null","description":"The token for the next page, on a paged list that has one.","uniqueKey":"content.oneOf.0.metadata.paginationToken.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.oneOf.0.metadata.paginationToken","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"content.oneOf.0.metadata","typeLabel":"object"},"data":{"oneOf":[{"type":"object","description":"The data the operation answers with.","uniqueKey":"content.oneOf.0.data.oneOf.0","typeLabel":"object"},{"type":"null","description":"The data the operation answers with.","uniqueKey":"content.oneOf.0.data.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.oneOf.0.data","typeLabel":"object | null"}},"description":"The answer's data and how to read it. Left out when there is none.","uniqueKey":"content.oneOf.0","typeLabel":"object"},{"type":"null","required":["metadata"],"properties":{"data":{"oneOf":[{"type":"object","description":"The data the operation answers with."},{"type":"null","description":"The data the operation answers with."}]},"metadata":{"type":"object","description":"How to read the dates in the data.","required":["dateFormat","dateTimeFormat"],"properties":{"dateFormat":{"type":"string","description":"The format of dates in the data."},"dateTimeFormat":{"type":"string","description":"The format of timestamps in the data."},"paginationToken":{"oneOf":[{"type":"string","description":"The token for the next page, on a paged list that has one."},{"type":"null","description":"The token for the next page, on a paged list that has one."}]}}}},"description":"The answer's data and how to read it. Left out when there is none.","uniqueKey":"content.oneOf.1","typeLabel":"null"}],"uniqueKey":"content","typeLabel":"object | null"},"validationIssues":{"oneOf":[{"type":"array","items":{"type":"object","description":"Field validation item. `reasonToken` is a stable snake_case key for i18n or custom client messages; `reason` is the default English text from the API.","required":["field","reason","reasonToken"],"properties":{"field":{"type":"string","description":"Dot-path of the field (e.g. name.firstName, address.line1).","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].field","typeLabel":"string"},"reason":{"type":"string","description":"Default human-readable message.","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reason","typeLabel":"string"},"reasonToken":{"type":"string","description":"Machine-readable error identifier (snake_case).","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonToken","typeLabel":"string"},"reasonTokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","description":"A named value a message refers to.","required":["name"],"properties":{"name":{"type":"string","description":"The argument's name.","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].name","typeLabel":"string"},"value":{"oneOf":[{"type":"string","description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"number","description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value.oneOf.1","typeLabel":"number"},{"type":"boolean","description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value.oneOf.2","typeLabel":"boolean"},{"type":"array","items":{"type":"string","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value.oneOf.3.items.[INDEX]","typeLabel":"string"},"description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value.oneOf.3","typeLabel":"string[]"},{"type":"null","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value.oneOf.4","typeLabel":"null"}],"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value","typeLabel":"string | number | boolean | string[] | null"}},"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Values the reason refers to, by name.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","description":"A named value a message refers to.","required":["name"],"properties":{"name":{"type":"string","description":"The argument's name."},"value":{"oneOf":[{"type":"string","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"number","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"boolean","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"array","items":{"type":"string"},"description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"null"}]}}},"description":"Values the reason refers to, by name.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.1","typeLabel":"null"}],"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments","typeLabel":"object[] | null"}},"uniqueKey":"validationIssues.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"One entry per field the request got wrong. Left out when there are none.","uniqueKey":"validationIssues.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","description":"Field validation item. `reasonToken` is a stable snake_case key for i18n or custom client messages; `reason` is the default English text from the API.","required":["field","reason","reasonToken"],"properties":{"field":{"type":"string","description":"Dot-path of the field (e.g. name.firstName, address.line1)."},"reason":{"type":"string","description":"Default human-readable message."},"reasonToken":{"type":"string","description":"Machine-readable error identifier (snake_case)."},"reasonTokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","description":"A named value a message refers to.","required":["name"],"properties":{"name":{"type":"string","description":"The argument's name."},"value":{"oneOf":[{"type":"string","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"number","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"boolean","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"array","items":{"type":"string"},"description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"null"}]}}},"description":"Values the reason refers to, by name."},{"type":"null","items":{"type":"object","description":"A named value a message refers to.","required":["name"],"properties":{"name":{"type":"string","description":"The argument's name."},"value":{"oneOf":[{"type":"string","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"number","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"boolean","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"array","items":{"type":"string"},"description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"null"}]}}},"description":"Values the reason refers to, by name."}]}}},"description":"One entry per field the request got wrong. Left out when there are none.","uniqueKey":"validationIssues.oneOf.1","typeLabel":"null"}],"uniqueKey":"validationIssues","typeLabel":"object[] | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":{"text":"\u003cstring>","token":"\u003cstring>","tokenArguments":[{"name":"\u003cstring>","value":"\u003cstring>"}]},"content":{"metadata":{"dateFormat":"\u003cstring>","dateTimeFormat":"\u003cstring>","paginationToken":"\u003cstring>"},"data":{}},"validationIssues":[{"field":"\u003cstring>","reason":"\u003cstring>","reasonToken":"\u003cstring>","reasonTokenArguments":[{"name":"\u003cstring>","value":"\u003cstring>"}]}]}}},"exampleType":"generated"}},"exampleType":"generated"},"687552c9-0184-4475-9c59-b123f7e4d48f":{"description":"Access could not be checked just now. Retry after the seconds in Retry-After.","content":{"application/json":{"schema":{"type":"object","description":"The envelope every answer is written in.","required":["message"],"properties":{"message":{"type":"object","description":"What happened, as text and as a token for translation.","required":["text","token"],"properties":{"text":{"type":"string","description":"Default human-readable message.","isRequired":true,"uniqueKey":"message.text","typeLabel":"string"},"token":{"type":"string","description":"Machine-readable message identifier (snake_case), for translation or your own wording.","isRequired":true,"uniqueKey":"message.token","typeLabel":"string"},"tokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","description":"A named value a message refers to.","required":["name"],"properties":{"name":{"type":"string","description":"The argument's name.","isRequired":true,"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].name","typeLabel":"string"},"value":{"oneOf":[{"type":"string","description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"number","description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value.oneOf.1","typeLabel":"number"},{"type":"boolean","description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value.oneOf.2","typeLabel":"boolean"},{"type":"array","items":{"type":"string","uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value.oneOf.3.items.[INDEX]","typeLabel":"string"},"description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value.oneOf.3","typeLabel":"string[]"},{"type":"null","uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value.oneOf.4","typeLabel":"null"}],"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX].value","typeLabel":"string | number | boolean | string[] | null"}},"uniqueKey":"message.tokenArguments.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Values the message refers to, by name.","uniqueKey":"message.tokenArguments.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","description":"A named value a message refers to.","required":["name"],"properties":{"name":{"type":"string","description":"The argument's name."},"value":{"oneOf":[{"type":"string","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"number","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"boolean","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"array","items":{"type":"string"},"description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"null"}]}}},"description":"Values the message refers to, by name.","uniqueKey":"message.tokenArguments.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.tokenArguments","typeLabel":"object[] | null"}},"isRequired":true,"uniqueKey":"message","typeLabel":"object"},"content":{"oneOf":[{"type":"object","required":["metadata"],"properties":{"metadata":{"type":"object","description":"How to read the dates in the data.","required":["dateFormat","dateTimeFormat"],"properties":{"dateFormat":{"type":"string","description":"The format of dates in the data.","isRequired":true,"uniqueKey":"content.oneOf.0.metadata.dateFormat","typeLabel":"string"},"dateTimeFormat":{"type":"string","description":"The format of timestamps in the data.","isRequired":true,"uniqueKey":"content.oneOf.0.metadata.dateTimeFormat","typeLabel":"string"},"paginationToken":{"oneOf":[{"type":"string","description":"The token for the next page, on a paged list that has one.","uniqueKey":"content.oneOf.0.metadata.paginationToken.oneOf.0","typeLabel":"string"},{"type":"null","description":"The token for the next page, on a paged list that has one.","uniqueKey":"content.oneOf.0.metadata.paginationToken.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.oneOf.0.metadata.paginationToken","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"content.oneOf.0.metadata","typeLabel":"object"},"data":{"oneOf":[{"type":"object","description":"The data the operation answers with.","uniqueKey":"content.oneOf.0.data.oneOf.0","typeLabel":"object"},{"type":"null","description":"The data the operation answers with.","uniqueKey":"content.oneOf.0.data.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.oneOf.0.data","typeLabel":"object | null"}},"description":"The answer's data and how to read it. Left out when there is none.","uniqueKey":"content.oneOf.0","typeLabel":"object"},{"type":"null","required":["metadata"],"properties":{"data":{"oneOf":[{"type":"object","description":"The data the operation answers with."},{"type":"null","description":"The data the operation answers with."}]},"metadata":{"type":"object","description":"How to read the dates in the data.","required":["dateFormat","dateTimeFormat"],"properties":{"dateFormat":{"type":"string","description":"The format of dates in the data."},"dateTimeFormat":{"type":"string","description":"The format of timestamps in the data."},"paginationToken":{"oneOf":[{"type":"string","description":"The token for the next page, on a paged list that has one."},{"type":"null","description":"The token for the next page, on a paged list that has one."}]}}}},"description":"The answer's data and how to read it. Left out when there is none.","uniqueKey":"content.oneOf.1","typeLabel":"null"}],"uniqueKey":"content","typeLabel":"object | null"},"validationIssues":{"oneOf":[{"type":"array","items":{"type":"object","description":"Field validation item. `reasonToken` is a stable snake_case key for i18n or custom client messages; `reason` is the default English text from the API.","required":["field","reason","reasonToken"],"properties":{"field":{"type":"string","description":"Dot-path of the field (e.g. name.firstName, address.line1).","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].field","typeLabel":"string"},"reason":{"type":"string","description":"Default human-readable message.","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reason","typeLabel":"string"},"reasonToken":{"type":"string","description":"Machine-readable error identifier (snake_case).","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonToken","typeLabel":"string"},"reasonTokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","description":"A named value a message refers to.","required":["name"],"properties":{"name":{"type":"string","description":"The argument's name.","isRequired":true,"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].name","typeLabel":"string"},"value":{"oneOf":[{"type":"string","description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"number","description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value.oneOf.1","typeLabel":"number"},{"type":"boolean","description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value.oneOf.2","typeLabel":"boolean"},{"type":"array","items":{"type":"string","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value.oneOf.3.items.[INDEX]","typeLabel":"string"},"description":"The argument's value: text, a number, true or false, or a list of text.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value.oneOf.3","typeLabel":"string[]"},{"type":"null","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value.oneOf.4","typeLabel":"null"}],"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX].value","typeLabel":"string | number | boolean | string[] | null"}},"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Values the reason refers to, by name.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","description":"A named value a message refers to.","required":["name"],"properties":{"name":{"type":"string","description":"The argument's name."},"value":{"oneOf":[{"type":"string","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"number","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"boolean","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"array","items":{"type":"string"},"description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"null"}]}}},"description":"Values the reason refers to, by name.","uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments.oneOf.1","typeLabel":"null"}],"uniqueKey":"validationIssues.oneOf.0.items.[INDEX].reasonTokenArguments","typeLabel":"object[] | null"}},"uniqueKey":"validationIssues.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"One entry per field the request got wrong. Left out when there are none.","uniqueKey":"validationIssues.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","description":"Field validation item. `reasonToken` is a stable snake_case key for i18n or custom client messages; `reason` is the default English text from the API.","required":["field","reason","reasonToken"],"properties":{"field":{"type":"string","description":"Dot-path of the field (e.g. name.firstName, address.line1)."},"reason":{"type":"string","description":"Default human-readable message."},"reasonToken":{"type":"string","description":"Machine-readable error identifier (snake_case)."},"reasonTokenArguments":{"oneOf":[{"type":"array","items":{"type":"object","description":"A named value a message refers to.","required":["name"],"properties":{"name":{"type":"string","description":"The argument's name."},"value":{"oneOf":[{"type":"string","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"number","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"boolean","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"array","items":{"type":"string"},"description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"null"}]}}},"description":"Values the reason refers to, by name."},{"type":"null","items":{"type":"object","description":"A named value a message refers to.","required":["name"],"properties":{"name":{"type":"string","description":"The argument's name."},"value":{"oneOf":[{"type":"string","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"number","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"boolean","description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"array","items":{"type":"string"},"description":"The argument's value: text, a number, true or false, or a list of text."},{"type":"null"}]}}},"description":"Values the reason refers to, by name."}]}}},"description":"One entry per field the request got wrong. Left out when there are none.","uniqueKey":"validationIssues.oneOf.1","typeLabel":"null"}],"uniqueKey":"validationIssues","typeLabel":"object[] | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":{"text":"\u003cstring>","token":"\u003cstring>","tokenArguments":[{"name":"\u003cstring>","value":"\u003cstring>"}]},"content":{"metadata":{"dateFormat":"\u003cstring>","dateTimeFormat":"\u003cstring>","paginationToken":"\u003cstring>"},"data":{}},"validationIssues":[{"field":"\u003cstring>","reason":"\u003cstring>","reasonToken":"\u003cstring>","reasonTokenArguments":[{"name":"\u003cstring>","value":"\u003cstring>"}]}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"be7247bc-e028-4592-b709-da83fdd43df0":{"XAuthToken":{"type":"apiKey","in":"header","name":"X-Auth-Token","description":"Access token obtained from OAuth2 client credentials flow","scopes":[],"schemeName":"XAuthToken"},"XOrgId":{"type":"apiKey","in":"header","name":"X-Org-Id","description":"Organisation to scope the request to. Required when the principal can access more than one organisation; optional for single-organisation principals (the authorizer resolves it automatically).","scopes":[],"schemeName":"XOrgId"}}},"servers":{"c1eab2ed-7b94-4273-bffb-8b6a6fb04830":{"url":"https://api.sandbox.flowpayroll.ai/v1/payment"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-Auth-Token","description":"Access token obtained from OAuth2 client credentials flow","scopes":[],"schemeName":"XAuthToken"},"schema":{"title":"X-Auth-Token","type":"string","description":"Access token obtained from OAuth2 client credentials flow","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"XAuthToken","name":"X-Auth-Token"},{"scheme":{"type":"apiKey","in":"header","name":"X-Org-Id","description":"Organisation to scope the request to. Required when the principal can access more than one organisation; optional for single-organisation principals (the authorizer resolves it automatically).","scopes":[],"schemeName":"XOrgId"},"schema":{"title":"X-Org-Id","type":"string","description":"Organisation to scope the request to. Required when the principal can access more than one organisation; optional for single-organisation principals (the authorizer resolves it automatically).","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"XOrgId","name":"X-Org-Id"}],"title":"XAuthToken \u0026 XOrgId"}]},"originalFileLocation":"api-reference/specs/payment.json"},"subdomain":"flowpayroll-1ca487e0","siteName":"Flow Payroll","title":"Create payment configuration for an organisation - Flow Payroll","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-26T16:51:37.113Z","originalFileLocation":"api-reference/payment/organisationpaymentconfig/create-payment-configuration-for-an-organisation.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=\"Needs permission payment:write.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Flow Payroll\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/flowpayroll-1ca487e0/zIWjxBHuf7oDNvih/_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/flowpayroll-1ca487e0/zIWjxBHuf7oDNvih/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/flowpayroll-1ca487e0/zIWjxBHuf7oDNvih/_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/flowpayroll-1ca487e0/zIWjxBHuf7oDNvih/_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/flowpayroll-1ca487e0/zIWjxBHuf7oDNvih/_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/flowpayroll-1ca487e0/zIWjxBHuf7oDNvih/_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/flowpayroll-1ca487e0/zIWjxBHuf7oDNvih/_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/flowpayroll-1ca487e0/zIWjxBHuf7oDNvih/_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/flowpayroll-1ca487e0/zIWjxBHuf7oDNvih/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create payment configuration for an organisation - Flow Payroll\">\u003cmeta data-mint-head property=\"og:description\" content=\"Needs permission payment:write.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Flow Payroll\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.flowpayroll.ai/api-reference/payment/organisationpaymentconfig/create-payment-configuration-for-an-organisation\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://flowpayroll-1ca487e0.mintlify.site/_mintlify/api/og/v2?division=OrganisationPaymentConfig\u0026amp;title=Create+payment+configuration+for+an+organisation\u0026amp;description=Needs+permission+payment%3Awrite.\u0026amp;theme=cd67eca79f792077d60a7663\u0026amp;signature=d111d579ed2a0b829f42aa316b67ed31784816377a3d84b1403bda8bc696c0d0\">\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 payment configuration for an organisation - Flow Payroll\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Needs permission payment:write.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://flowpayroll-1ca487e0.mintlify.site/_mintlify/api/og/v2?division=OrganisationPaymentConfig\u0026amp;title=Create+payment+configuration+for+an+organisation\u0026amp;description=Needs+permission+payment%3Awrite.\u0026amp;theme=cd67eca79f792077d60a7663\u0026amp;signature=d111d579ed2a0b829f42aa316b67ed31784816377a3d84b1403bda8bc696c0d0\">\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/flowpayroll-1ca487e0/zIWjxBHuf7oDNvih/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Flow Payroll\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#635BFF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.flowpayroll.ai/api-reference/payment/organisationpaymentconfig/create-payment-configuration-for-an-organisation\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/payment/organisationpaymentconfig/create-payment-configuration-for-an-organisation.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.flowpayroll.ai/#organization\",\"name\":\"Flow Payroll\",\"url\":\"https://docs.flowpayroll.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/flowpayroll-1ca487e0/ySOA_2Ay6nr7ISKu/logo/light.svg?fit=max\u0026auto=format\u0026n=ySOA_2Ay6nr7ISKu\u0026q=85\u0026s=a1a7d7d96acdc04b96f0d043180b6ae8\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.flowpayroll.ai#website\",\"name\":\"Flow Payroll\",\"url\":\"https://docs.flowpayroll.ai\",\"publisher\":{\"@id\":\"https://docs.flowpayroll.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.flowpayroll.ai/api-reference/payment/organisationpaymentconfig/create-payment-configuration-for-an-organisation#webpage\",\"url\":\"https://docs.flowpayroll.ai/api-reference/payment/organisationpaymentconfig/create-payment-configuration-for-an-organisation\",\"name\":\"Create payment configuration for an organisation\",\"description\":\"Needs permission payment:write.\",\"dateModified\":\"2026-11-26T16:51:37.113Z\",\"isPartOf\":{\"@id\":\"https://docs.flowpayroll.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.flowpayroll.ai/api-reference/payment/organisationpaymentconfig/create-payment-configuration-for-an-organisation#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.flowpayroll.ai/api-reference/payment/organisationpaymentconfig/create-payment-configuration-for-an-organisation#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Payment\",\"item\":\"https://docs.flowpayroll.ai/api-reference/payment/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"OrganisationPaymentConfig\",\"item\":\"https://docs.flowpayroll.ai/api-reference/payment/organisationpaymentconfig/get-payment-configuration-for-an-organisation\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create payment configuration for an organisation\",\"item\":\"https://docs.flowpayroll.ai/api-reference/payment/organisationpaymentconfig/create-payment-configuration-for-an-organisation\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.flowpayroll.ai/api-reference/payment/organisationpaymentconfig/create-payment-configuration-for-an-organisation#apireference\",\"headline\":\"Create payment configuration for an organisation\",\"name\":\"Create payment configuration for an organisation\",\"description\":\"Needs permission payment:write.\",\"url\":\"https://docs.flowpayroll.ai/api-reference/payment/organisationpaymentconfig/create-payment-configuration-for-an-organisation\",\"mainEntityOfPage\":{\"@id\":\"https://docs.flowpayroll.ai/api-reference/payment/organisationpaymentconfig/create-payment-configuration-for-an-organisation#webpage\"},\"dateModified\":\"2026-11-26T16:51:37.113Z\",\"publisher\":{\"@id\":\"https://docs.flowpayroll.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.flowpayroll.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Flow Payroll\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Flow Payroll\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/payment/organisationpaymentconfig/create-payment-configuration-for-an-organisation.md","siteName":"Flow Payroll","nav":{"global":{"anchors":[{"anchor":"Dashboard","icon":"gauge","href":"https://app.flowpayroll.ai"},{"anchor":"Download OpenAPI","icon":"download","href":"/api-reference/use-in-postman"},{"anchor":"Support","icon":"envelope","href":"mailto:hello@flowpayroll.ai"}]},"tabs":[{"tab":"Overview","pages":[{"title":"Overview","href":""}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/guides/welcome"}]},{"tab":"Onboarding","pages":[{"title":"Onboarding","href":"/onboarding/overview"}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"title":"UK payroll API","sidebarTitle":"API reference","icon":"code","href":"/api-reference/introduction"},{"title":"Build an integration","sidebarTitle":"Integration patterns","icon":"plug","href":"/api-reference/integration-patterns"},{"title":"What's new in the API","sidebarTitle":"What's new","icon":"sparkles","href":"/api-reference/whats-new"},{"title":"Deprecations","icon":"clock-rotate-left","href":"/api-reference/deprecations"},{"title":"Authentication","icon":"key","href":"/api-reference/authentication"},{"title":"Response format","icon":"brackets-curly","href":"/api-reference/response-format"},{"title":"Use in Postman","icon":"download","href":"/api-reference/use-in-postman"},{"title":"MCP server","icon":"plug","href":"/api-reference/mcp-server"},{"title":"Payroll for AI agents","sidebarTitle":"AI agents","icon":"sparkles","href":"/api-reference/agentic-payroll"}]},{"group":"Administration API","pages":[{"title":"Administration API overview","sidebarTitle":"Overview","href":"/api-reference/administration/overview"},{"title":"Users, roles and permissions","href":"/api-reference/administration/users-roles-and-permissions"},{"title":"Permission errors","href":"/api-reference/administration/permission-errors"},{"title":"Provisioning users with SCIM 2.0","href":"/api-reference/administration/scim-provisioning"},{"title":"Show your own support inside Flow Payroll","sidebarTitle":"Support panel","href":"/api-reference/administration/partner-support-panel"},{"title":"Tell your people what to do when their role can't change something","sidebarTitle":"Access messages","href":"/api-reference/administration/access-messages"},{"group":"Activity","pages":[{"title":"List recent administration activity","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /activity","href":"/api-reference/administration/activity/list-recent-administration-activity"},{"title":"List changes to who has access","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /access-changes","href":"/api-reference/administration/activity/list-changes-to-who-has-access"}]},{"group":"API tokens","pages":[{"title":"List your API tokens","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /api-tokens","href":"/api-reference/administration/api-tokens/list-your-api-tokens"},{"title":"Create an API token","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json post /api-tokens","href":"/api-reference/administration/api-tokens/create-an-api-token"},{"title":"Get an API token and its access","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /api-tokens/{clientId}","href":"/api-reference/administration/api-tokens/get-an-api-token-and-its-access"},{"title":"Revoke an API token","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json delete /api-tokens/{clientId}","href":"/api-reference/administration/api-tokens/revoke-an-api-token"},{"title":"Rename an API token, or change where it may be used from","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json patch /api-tokens/{clientId}","href":"/api-reference/administration/api-tokens/rename-an-api-token-or-change-where-it-may-be-used-from"},{"title":"Rotate an API token's secret","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json post /api-tokens/{clientId}/rotate","href":"/api-reference/administration/api-tokens/rotate-an-api-tokens-secret"},{"title":"List the organisations an API token reaches","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /api-tokens/{clientId}/organisations","href":"/api-reference/administration/api-tokens/list-the-organisations-an-api-token-reaches"},{"title":"Replace the organisations an API token reaches","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json put /api-tokens/{clientId}/organisations","href":"/api-reference/administration/api-tokens/replace-the-organisations-an-api-token-reaches"},{"title":"Grant an API token one organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json put /api-tokens/{clientId}/organisations/{organisationId}","href":"/api-reference/administration/api-tokens/grant-an-api-token-one-organisation"},{"title":"Remove an API token's grant on one organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json delete /api-tokens/{clientId}/organisations/{organisationId}","href":"/api-reference/administration/api-tokens/remove-an-api-tokens-grant-on-one-organisation"},{"title":"Check whether an API token has account-wide access","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /api-tokens/{clientId}/customer-access","href":"/api-reference/administration/api-tokens/check-whether-an-api-token-has-account-wide-access"},{"title":"Grant an API token account-wide access","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json put /api-tokens/{clientId}/customer-access","href":"/api-reference/administration/api-tokens/grant-an-api-token-account-wide-access"},{"title":"Remove an API token's account-wide access","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json delete /api-tokens/{clientId}/customer-access","href":"/api-reference/administration/api-tokens/remove-an-api-tokens-account-wide-access"}]},{"group":"Branding","pages":[{"title":"Get your published brand","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /customer/branding","href":"/api-reference/administration/branding/get-your-published-brand"},{"title":"Go back to the Flow brand","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json delete /customer/branding","href":"/api-reference/administration/branding/go-back-to-the-flow-brand"},{"title":"Get your brand draft","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /customer/branding/draft","href":"/api-reference/administration/branding/get-your-brand-draft"},{"title":"Start your brand again","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json delete /customer/branding/draft","href":"/api-reference/administration/branding/start-your-brand-again"},{"title":"Change your brand draft","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json patch /customer/branding/draft","href":"/api-reference/administration/branding/change-your-brand-draft"},{"title":"List your published brand history","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /customer/branding/revisions","href":"/api-reference/administration/branding/list-your-published-brand-history"},{"title":"Publish your brand","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json post /customer/branding/revisions","href":"/api-reference/administration/branding/publish-your-brand"},{"title":"Upload a logo, icon or font","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json post /customer/branding/assets","href":"/api-reference/administration/branding/upload-a-logo-icon-or-font"},{"title":"Check an upload","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /customer/branding/assets/{uploadId}","href":"/api-reference/administration/branding/check-an-upload"},{"title":"List your web addresses","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /customer/branding/domains","href":"/api-reference/administration/branding/list-your-web-addresses"},{"title":"List your email sending domains","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /customer/branding/sending-domains","href":"/api-reference/administration/branding/list-your-email-sending-domains"}]},{"group":"Customer","pages":[{"title":"Transfer ownership of your account","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json put /customer/owner","href":"/api-reference/administration/customer/transfer-ownership-of-your-account"},{"title":"Get your account","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /customer","href":"/api-reference/administration/customer/get-your-account"},{"title":"Rename your account","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json patch /customer","href":"/api-reference/administration/customer/rename-your-account"}]},{"group":"Organisation groups","pages":[{"title":"Give a person access through an organisation group","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json put /users/{userId}/organisation-groups/{groupId}","href":"/api-reference/administration/organisation-groups/give-a-person-access-through-an-organisation-group"},{"title":"End a person's access through an organisation group","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json delete /users/{userId}/organisation-groups/{groupId}","href":"/api-reference/administration/organisation-groups/end-a-persons-access-through-an-organisation-group"},{"title":"Give an API token access through an organisation group","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json put /api-tokens/{clientId}/organisation-groups/{groupId}","href":"/api-reference/administration/organisation-groups/give-an-api-token-access-through-an-organisation-group"},{"title":"End an API token's access through an organisation group","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json delete /api-tokens/{clientId}/organisation-groups/{groupId}","href":"/api-reference/administration/organisation-groups/end-an-api-tokens-access-through-an-organisation-group"},{"title":"List your organisation groups","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /organisation-groups","href":"/api-reference/administration/organisation-groups/list-your-organisation-groups"},{"title":"Create an organisation group","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json post /organisation-groups","href":"/api-reference/administration/organisation-groups/create-an-organisation-group"},{"title":"Get an organisation group","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /organisation-groups/{groupId}","href":"/api-reference/administration/organisation-groups/get-an-organisation-group"},{"title":"Delete an organisation group","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json delete /organisation-groups/{groupId}","href":"/api-reference/administration/organisation-groups/delete-an-organisation-group"},{"title":"Rename an organisation group","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json patch /organisation-groups/{groupId}","href":"/api-reference/administration/organisation-groups/rename-an-organisation-group"},{"title":"List the organisations in a group","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /organisation-groups/{groupId}/organisations","href":"/api-reference/administration/organisation-groups/list-the-organisations-in-a-group"},{"title":"Add an organisation to a group","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json put /organisation-groups/{groupId}/organisations/{organisationId}","href":"/api-reference/administration/organisation-groups/add-an-organisation-to-a-group"},{"title":"Take an organisation out of a group","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json delete /organisation-groups/{groupId}/organisations/{organisationId}","href":"/api-reference/administration/organisation-groups/take-an-organisation-out-of-a-group"},{"title":"List who has access through an organisation group","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /organisation-groups/{groupId}/access","href":"/api-reference/administration/organisation-groups/list-who-has-access-through-an-organisation-group"}]},{"group":"Organisations","pages":[{"title":"List the organisations you can see","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /organisations","href":"/api-reference/administration/organisations/list-the-organisations-you-can-see"},{"title":"Add an organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json post /organisations","href":"/api-reference/administration/organisations/add-an-organisation"},{"title":"Add up the organisations you can see","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /organisations/summary","href":"/api-reference/administration/organisations/add-up-the-organisations-you-can-see"},{"title":"Add several organisations at once","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json post /organisations/bulk","href":"/api-reference/administration/organisations/add-several-organisations-at-once"},{"title":"Get an organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /organisations/{organisationId}","href":"/api-reference/administration/organisations/get-an-organisation"},{"title":"Change what your account records about an organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json patch /organisations/{organisationId}","href":"/api-reference/administration/organisations/change-what-your-account-records-about-an-organisation"},{"title":"List who has access to an organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /organisations/{organisationId}/access","href":"/api-reference/administration/organisations/list-who-has-access-to-an-organisation"},{"title":"Name who did something in an organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /organisations/{organisationId}/people","href":"/api-reference/administration/organisations/name-who-did-something-in-an-organisation"},{"title":"Get several organisations' company logos","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /organisations/branding","href":"/api-reference/administration/organisations/get-several-organisations-company-logos"},{"title":"Get an organisation's branding","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /organisations/{organisationId}/branding","href":"/api-reference/administration/organisations/get-an-organisations-branding"},{"title":"Change an organisation's company logo","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json patch /organisations/{organisationId}/branding","href":"/api-reference/administration/organisations/change-an-organisations-company-logo"},{"title":"Upload a company logo","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json post /organisations/{organisationId}/branding/assets","href":"/api-reference/administration/organisations/upload-a-company-logo"},{"title":"Check a company logo upload","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /organisations/{organisationId}/branding/assets/{uploadId}","href":"/api-reference/administration/organisations/check-a-company-logo-upload"},{"title":"Get the brand the app shows for an organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /organisations/{organisationId}/resolved-branding","href":"/api-reference/administration/organisations/get-the-brand-the-app-shows-for-an-organisation"},{"title":"Start a support session for an organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json post /organisations/{organisationId}/support-sessions","href":"/api-reference/administration/organisations/start-a-support-session-for-an-organisation"}]},{"group":"Roles","pages":[{"title":"List the roles you can give","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /roles","href":"/api-reference/administration/roles/list-the-roles-you-can-give"},{"title":"Create a role of your own","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json post /roles","href":"/api-reference/administration/roles/create-a-role-of-your-own"},{"title":"Get a role","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /roles/{roleId}","href":"/api-reference/administration/roles/get-a-role"},{"title":"Delete one of your own roles","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json delete /roles/{roleId}","href":"/api-reference/administration/roles/delete-one-of-your-own-roles"},{"title":"Change one of your own roles","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json patch /roles/{roleId}","href":"/api-reference/administration/roles/change-one-of-your-own-roles"},{"title":"See how a role has changed","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /roles/{roleId}/revisions","href":"/api-reference/administration/roles/see-how-a-role-has-changed"},{"title":"Get your access settings","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /customer/access-settings","href":"/api-reference/administration/roles/get-your-access-settings"},{"title":"Choose your default role","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json patch /customer/access-settings","href":"/api-reference/administration/roles/choose-your-default-role"}]},{"group":"SCIM","pages":[{"title":"List or find users","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /scim/v2/Users","href":"/api-reference/administration/scim/list-or-find-users"},{"title":"Provision a user","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json post /scim/v2/Users","href":"/api-reference/administration/scim/provision-a-user"},{"title":"Get a user","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /scim/v2/Users/{id}","href":"/api-reference/administration/scim/get-a-user"},{"title":"Replace a user","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json put /scim/v2/Users/{id}","href":"/api-reference/administration/scim/replace-a-user"},{"title":"Remove a user","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json delete /scim/v2/Users/{id}","href":"/api-reference/administration/scim/remove-a-user"},{"title":"Change a user","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json patch /scim/v2/Users/{id}","href":"/api-reference/administration/scim/change-a-user"},{"title":"List roles as groups","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /scim/v2/Groups","href":"/api-reference/administration/scim/list-roles-as-groups"},{"title":"Not supported","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json post /scim/v2/Groups","href":"/api-reference/administration/scim/not-supported"},{"title":"Get a role as a group","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /scim/v2/Groups/{id}","href":"/api-reference/administration/scim/get-a-role-as-a-group"},{"title":"Replace the members","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json put /scim/v2/Groups/{id}","href":"/api-reference/administration/scim/replace-the-members"},{"title":"Not supported","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json delete /scim/v2/Groups/{id}","href":"/api-reference/administration/scim/not-supported-1"},{"title":"Add or remove members","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json patch /scim/v2/Groups/{id}","href":"/api-reference/administration/scim/add-or-remove-members"},{"title":"What SCIM features are supported","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /scim/v2/ServiceProviderConfig","href":"/api-reference/administration/scim/what-scim-features-are-supported"},{"title":"The resource types","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /scim/v2/ResourceTypes","href":"/api-reference/administration/scim/the-resource-types"},{"title":"One resource type","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /scim/v2/ResourceTypes/{id}","href":"/api-reference/administration/scim/one-resource-type"},{"title":"The schemas","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /scim/v2/Schemas","href":"/api-reference/administration/scim/the-schemas"},{"title":"One schema","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /scim/v2/Schemas/{id}","href":"/api-reference/administration/scim/one-schema"}]},{"group":"Users","pages":[{"title":"Get yourself and your access","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /users/me","href":"/api-reference/administration/users/get-yourself-and-your-access"},{"title":"List the people in your account","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /users","href":"/api-reference/administration/users/list-the-people-in-your-account"},{"title":"Invite somebody, or give somebody more access","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json post /users","href":"/api-reference/administration/users/invite-somebody-or-give-somebody-more-access"},{"title":"Invite several people at once","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json post /users/bulk","href":"/api-reference/administration/users/invite-several-people-at-once"},{"title":"Get a person and their access","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /users/{principalId}","href":"/api-reference/administration/users/get-a-person-and-their-access"},{"title":"Remove somebody from your account","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json delete /users/{principalId}","href":"/api-reference/administration/users/remove-somebody-from-your-account"},{"title":"Change what your account records about a person","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json patch /users/{principalId}","href":"/api-reference/administration/users/change-what-your-account-records-about-a-person"},{"title":"List the organisations a person reaches","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /users/{principalId}/organisations","href":"/api-reference/administration/users/list-the-organisations-a-person-reaches"},{"title":"Replace a person's direct grants","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json put /users/{principalId}/organisations","href":"/api-reference/administration/users/replace-a-persons-direct-grants"},{"title":"Grant a person one organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json put /users/{principalId}/organisations/{organisationId}","href":"/api-reference/administration/users/grant-a-person-one-organisation"},{"title":"Remove a person's grant on one organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json delete /users/{principalId}/organisations/{organisationId}","href":"/api-reference/administration/users/remove-a-persons-grant-on-one-organisation"},{"title":"Check whether a person has account-wide access","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /users/{principalId}/customer-access","href":"/api-reference/administration/users/check-whether-a-person-has-account-wide-access"},{"title":"Grant a person account-wide access","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json put /users/{principalId}/customer-access","href":"/api-reference/administration/users/grant-a-person-account-wide-access"},{"title":"Remove a person's account-wide access","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json delete /users/{principalId}/customer-access","href":"/api-reference/administration/users/remove-a-persons-account-wide-access"},{"title":"Resend an invitation","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json post /users/{principalId}/resend-invitation","href":"/api-reference/administration/users/resend-an-invitation"},{"title":"Stop managing a guest","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json post /users/{principalId}/release","href":"/api-reference/administration/users/stop-managing-a-guest"},{"title":"Upload your profile photo","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json post /users/me/photo/uploads","href":"/api-reference/administration/users/upload-your-profile-photo"},{"title":"Check a profile photo upload","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /users/me/photo/uploads/{uploadId}","href":"/api-reference/administration/users/check-a-profile-photo-upload"},{"title":"Get your profile photo","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /users/me/photo","href":"/api-reference/administration/users/get-your-profile-photo"},{"title":"Remove your profile photo","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json delete /users/me/photo","href":"/api-reference/administration/users/remove-your-profile-photo"},{"title":"Get your preferences","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json get /users/me/preferences","href":"/api-reference/administration/users/get-your-preferences"},{"title":"Change your preferences","deprecated":null,"version":null,"openapi":"/api-reference/specs/administration.json patch /users/me/preferences","href":"/api-reference/administration/users/change-your-preferences"}]}]},{"group":"Email Wording API","pages":[{"title":"Email Wording API overview","sidebarTitle":"Overview","href":"/api-reference/email-wording/overview"},{"group":"Account emails","pages":[{"title":"List your account's email wording","deprecated":null,"version":null,"openapi":"/api-reference/specs/notification.json get /customer/email-settings","href":"/api-reference/email-wording/account-emails/list-your-accounts-email-wording"},{"title":"Get your account's wording for one email","deprecated":null,"version":null,"openapi":"/api-reference/specs/notification.json get /customer/email-settings/{eventType}","href":"/api-reference/email-wording/account-emails/get-your-accounts-wording-for-one-email"},{"title":"Change your account's wording for one email","deprecated":null,"version":null,"openapi":"/api-reference/specs/notification.json patch /customer/email-settings/{eventType}","href":"/api-reference/email-wording/account-emails/change-your-accounts-wording-for-one-email"},{"title":"Preview your account's wording for one email","deprecated":null,"version":null,"openapi":"/api-reference/specs/notification.json post /customer/email-settings/{eventType}/previews","href":"/api-reference/email-wording/account-emails/preview-your-accounts-wording-for-one-email"},{"title":"Preview your account's email as it would be sent","deprecated":null,"version":null,"openapi":"/api-reference/specs/notification.json post /customer/email-settings/{eventType}/rendered-previews","href":"/api-reference/email-wording/account-emails/preview-your-accounts-email-as-it-would-be-sent"},{"title":"List the saved versions of your account's wording for one email","deprecated":null,"version":null,"openapi":"/api-reference/specs/notification.json get /customer/email-settings/{eventType}/revisions","href":"/api-reference/email-wording/account-emails/list-the-saved-versions-of-your-accounts-wording-for-one-email"},{"title":"Restore a saved version of your account's wording for one email","deprecated":null,"version":null,"openapi":"/api-reference/specs/notification.json post /customer/email-settings/{eventType}/revisions/{revisionId}/restorations","href":"/api-reference/email-wording/account-emails/restore-a-saved-version-of-your-accounts-wording-for-one-email"},{"title":"Send yourself a test of one email (account)","deprecated":null,"version":null,"openapi":"/api-reference/specs/notification.json post /customer/email-settings/{eventType}/test-sends","href":"/api-reference/email-wording/account-emails/send-yourself-a-test-of-one-email-account"}]},{"group":"Organisation emails","pages":[{"title":"List an organisation's email wording","deprecated":null,"version":null,"openapi":"/api-reference/specs/notification.json get /organisations/{organisationId}/email-settings","href":"/api-reference/email-wording/organisation-emails/list-an-organisations-email-wording"},{"title":"Get an organisation's wording for one email","deprecated":null,"version":null,"openapi":"/api-reference/specs/notification.json get /organisations/{organisationId}/email-settings/{eventType}","href":"/api-reference/email-wording/organisation-emails/get-an-organisations-wording-for-one-email"},{"title":"Change an organisation's wording for one email","deprecated":null,"version":null,"openapi":"/api-reference/specs/notification.json patch /organisations/{organisationId}/email-settings/{eventType}","href":"/api-reference/email-wording/organisation-emails/change-an-organisations-wording-for-one-email"},{"title":"Preview an organisation's wording for one email","deprecated":null,"version":null,"openapi":"/api-reference/specs/notification.json post /organisations/{organisationId}/email-settings/{eventType}/previews","href":"/api-reference/email-wording/organisation-emails/preview-an-organisations-wording-for-one-email"},{"title":"Preview an organisation's email as it would be sent","deprecated":null,"version":null,"openapi":"/api-reference/specs/notification.json post /organisations/{organisationId}/email-settings/{eventType}/rendered-previews","href":"/api-reference/email-wording/organisation-emails/preview-an-organisations-email-as-it-would-be-sent"},{"title":"List the saved versions of an organisation's wording for one email","deprecated":null,"version":null,"openapi":"/api-reference/specs/notification.json get /organisations/{organisationId}/email-settings/{eventType}/revisions","href":"/api-reference/email-wording/organisation-emails/list-the-saved-versions-of-an-organisations-wording-for-one-email"},{"title":"Restore a saved version of an organisation's wording for one email","deprecated":null,"version":null,"openapi":"/api-reference/specs/notification.json post /organisations/{organisationId}/email-settings/{eventType}/revisions/{revisionId}/restorations","href":"/api-reference/email-wording/organisation-emails/restore-a-saved-version-of-an-organisations-wording-for-one-email"},{"title":"Send yourself a test of one email","deprecated":null,"version":null,"openapi":"/api-reference/specs/notification.json post /organisations/{organisationId}/email-settings/{eventType}/test-sends","href":"/api-reference/email-wording/organisation-emails/send-yourself-a-test-of-one-email"}]}]},{"group":"Authentication API","pages":[{"title":"Authentication API overview","sidebarTitle":"Overview","href":"/api-reference/authentication-api/overview"},{"group":"Organisations","pages":[{"title":"List the organisations the authenticated principal can act on","deprecated":null,"version":null,"openapi":"/api-reference/specs/authentication.json get /my-organisations","href":"/api-reference/authentication-api/organisations/list-the-organisations-the-authenticated-principal-can-act-on"}]}]},{"group":"Billing","pages":[{"title":"Billing API overview","sidebarTitle":"Overview","href":"/api-reference/billing/overview"},{"group":"Accounting Sync","pages":[{"title":"Push invoice to accounting provider","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /clients/{clientId}/invoices/{invoiceId}/sync","href":"/api-reference/billing/accounting-sync/push-invoice-to-accounting-provider"},{"title":"Push client and contacts to accounting provider","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /clients/{clientId}/sync","href":"/api-reference/billing/accounting-sync/push-client-and-contacts-to-accounting-provider"},{"title":"Push credit note to accounting provider","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /clients/{clientId}/credit-notes/{creditNoteId}/sync","href":"/api-reference/billing/accounting-sync/push-credit-note-to-accounting-provider"},{"title":"Download invoice PDF from provider","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /clients/{clientId}/invoices/{invoiceId}/external-pdf","href":"/api-reference/billing/accounting-sync/download-invoice-pdf-from-provider"},{"title":"Download credit note PDF from provider","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /clients/{clientId}/credit-notes/{creditNoteId}/external-pdf","href":"/api-reference/billing/accounting-sync/download-credit-note-pdf-from-provider"},{"title":"List tax rates from connected provider (paginated, no import)","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /finance/tax-rates/provider-rates","href":"/api-reference/billing/accounting-sync/list-tax-rates-from-connected-provider-paginated-no-import"},{"title":"Import selected tax rates from connected provider","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /finance/tax-rates/import-from-provider","href":"/api-reference/billing/accounting-sync/import-selected-tax-rates-from-connected-provider"},{"title":"List account codes from connected provider (paginated, no import)","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /finance/accounts/provider-accounts","href":"/api-reference/billing/accounting-sync/list-account-codes-from-connected-provider-paginated-no-import"},{"title":"Import selected account codes from connected provider","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /finance/accounts/import-from-provider","href":"/api-reference/billing/accounting-sync/import-selected-account-codes-from-connected-provider"},{"title":"List contacts from connected provider (paginated, no import)","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /clients/provider-contacts","href":"/api-reference/billing/accounting-sync/list-contacts-from-connected-provider-paginated-no-import"},{"title":"Import selected contacts from connected provider","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /clients/import-from-provider","href":"/api-reference/billing/accounting-sync/import-selected-contacts-from-connected-provider"}]},{"group":"Clients","pages":[{"title":"List Invoices for Client","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /clients/{clientId}/invoices","href":"/api-reference/billing/clients/list-invoices-for-client"},{"title":"Get Client Finance Settings","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /clients/{clientId}/finance-settings","href":"/api-reference/billing/clients/get-client-finance-settings"},{"title":"Update Client Finance Settings","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json put /clients/{clientId}/finance-settings","href":"/api-reference/billing/clients/update-client-finance-settings"},{"title":"Get Client by Id","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /clients/{clientId}","href":"/api-reference/billing/clients/get-client-by-id"},{"title":"Update Client","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json put /clients/{clientId}","href":"/api-reference/billing/clients/update-client"},{"title":"Delete Client","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json delete /clients/{clientId}","href":"/api-reference/billing/clients/delete-client"},{"title":"List Clients","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /clients","href":"/api-reference/billing/clients/list-clients"},{"title":"Create Client","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /clients","href":"/api-reference/billing/clients/create-client"},{"title":"Unarchive Client","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json patch /clients/{clientId}/unarchive","href":"/api-reference/billing/clients/unarchive-client"}]},{"group":"Credit Notes","pages":[{"title":"List Credit Notes for Organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /credit-notes","href":"/api-reference/billing/credit-notes/list-credit-notes-for-organisation"},{"title":"Create Draft Credit Note","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /credit-notes","href":"/api-reference/billing/credit-notes/create-draft-credit-note"},{"title":"List Credit Notes for Client","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /clients/{clientId}/credit-notes","href":"/api-reference/billing/credit-notes/list-credit-notes-for-client"},{"title":"Get Credit Note by ID","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /clients/{clientId}/credit-notes/{creditNoteId}","href":"/api-reference/billing/credit-notes/get-credit-note-by-id"},{"title":"Update Draft Credit Note","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json put /clients/{clientId}/credit-notes/{creditNoteId}","href":"/api-reference/billing/credit-notes/update-draft-credit-note"},{"title":"Delete Draft Credit Note","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json delete /clients/{clientId}/credit-notes/{creditNoteId}","href":"/api-reference/billing/credit-notes/delete-draft-credit-note"},{"title":"List Credit Note Line Items","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /clients/{clientId}/credit-notes/{creditNoteId}/line-items","href":"/api-reference/billing/credit-notes/list-credit-note-line-items"},{"title":"Add Credit Note Attachments","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /clients/{clientId}/credit-notes/{creditNoteId}/attachments","href":"/api-reference/billing/credit-notes/add-credit-note-attachments"},{"title":"Delete Credit Note Attachment","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json delete /clients/{clientId}/credit-notes/{creditNoteId}/attachments/{attachmentId}","href":"/api-reference/billing/credit-notes/delete-credit-note-attachment"},{"title":"Authorise Credit Note","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /clients/{clientId}/credit-notes/{creditNoteId}/authorise","href":"/api-reference/billing/credit-notes/authorise-credit-note"},{"title":"Void Credit Note","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /clients/{clientId}/credit-notes/{creditNoteId}/void","href":"/api-reference/billing/credit-notes/void-credit-note"},{"title":"Allocate Credit to Invoice","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /clients/{clientId}/credit-notes/{creditNoteId}/allocations","href":"/api-reference/billing/credit-notes/allocate-credit-to-invoice"},{"title":"Remove Credit Allocation","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json delete /clients/{clientId}/credit-notes/{creditNoteId}/allocations/{allocationId}","href":"/api-reference/billing/credit-notes/remove-credit-allocation"}]},{"group":"Tax rates","pages":[{"title":"List Tax Rates","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /finance/tax-rates","href":"/api-reference/billing/tax-rates/list-tax-rates"},{"title":"Create Custom Tax Rate","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /finance/tax-rates","href":"/api-reference/billing/tax-rates/create-custom-tax-rate"},{"title":"Update Tax Rate","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json put /finance/tax-rates/{taxType}","href":"/api-reference/billing/tax-rates/update-tax-rate"},{"title":"Delete Tax Rate","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json delete /finance/tax-rates/{taxType}","href":"/api-reference/billing/tax-rates/delete-tax-rate"},{"title":"Archive Tax Rate","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /finance/tax-rates/{taxType}/archive","href":"/api-reference/billing/tax-rates/archive-tax-rate"},{"title":"Unarchive Tax Rate","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /finance/tax-rates/{taxType}/unarchive","href":"/api-reference/billing/tax-rates/unarchive-tax-rate"}]},{"group":"Account codes","pages":[{"title":"List Account Codes","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /finance/accounts","href":"/api-reference/billing/account-codes/list-account-codes"},{"title":"Create Account Code","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /finance/accounts","href":"/api-reference/billing/account-codes/create-account-code"},{"title":"Update Account Code","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json put /finance/accounts/{code}","href":"/api-reference/billing/account-codes/update-account-code"},{"title":"Delete Account Code","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json delete /finance/accounts/{code}","href":"/api-reference/billing/account-codes/delete-account-code"},{"title":"Archive Account Code","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /finance/accounts/{code}/archive","href":"/api-reference/billing/account-codes/archive-account-code"},{"title":"Unarchive Account Code","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /finance/accounts/{code}/unarchive","href":"/api-reference/billing/account-codes/unarchive-account-code"}]},{"group":"Finance defaults","pages":[{"title":"Get organisation pay element mappings","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /finance/pay-element-mappings","href":"/api-reference/billing/finance-defaults/get-organisation-pay-element-mappings"},{"title":"Update organisation pay element mappings","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json put /finance/pay-element-mappings","href":"/api-reference/billing/finance-defaults/update-organisation-pay-element-mappings"},{"title":"Get organisation finance defaults","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /finance/finance-defaults","href":"/api-reference/billing/finance-defaults/get-organisation-finance-defaults"},{"title":"Update organisation finance defaults","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json put /finance/finance-defaults","href":"/api-reference/billing/finance-defaults/update-organisation-finance-defaults"},{"title":"Get attachment limits for connected provider","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /finance/attachment-limits","href":"/api-reference/billing/finance-defaults/get-attachment-limits-for-connected-provider"}]},{"group":"Invoice \u0026 credit note templates","pages":[{"title":"Get organisation invoice template","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /finance/invoice-template","href":"/api-reference/billing/invoice-\u0026-credit-note-templates/get-organisation-invoice-template"},{"title":"Update organisation invoice template","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json put /finance/invoice-template","href":"/api-reference/billing/invoice-\u0026-credit-note-templates/update-organisation-invoice-template"},{"title":"Get organisation credit note template","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /finance/credit-note-template","href":"/api-reference/billing/invoice-\u0026-credit-note-templates/get-organisation-credit-note-template"},{"title":"Update organisation credit note template","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json put /finance/credit-note-template","href":"/api-reference/billing/invoice-\u0026-credit-note-templates/update-organisation-credit-note-template"},{"title":"Get line item description formula placeholders","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /finance/line-item-description-fields","href":"/api-reference/billing/invoice-\u0026-credit-note-templates/get-line-item-description-formula-placeholders"},{"title":"Get invoice reference formula tokens for a given invoice format","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /finance/invoice-reference-fields","href":"/api-reference/billing/invoice-\u0026-credit-note-templates/get-invoice-reference-formula-tokens-for-a-given-invoice-format"}]},{"group":"Invoices","pages":[{"title":"List Invoices for Organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /invoices","href":"/api-reference/billing/invoices/list-invoices-for-organisation"},{"title":"Get Invoice by Id","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /invoices/{clientId}/{invoiceId}","href":"/api-reference/billing/invoices/get-invoice-by-id"},{"title":"Update open invoice","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json put /invoices/{clientId}/{invoiceId}","href":"/api-reference/billing/invoices/update-open-invoice"},{"title":"Update Invoice (e.g. close)","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json patch /invoices/{clientId}/{invoiceId}","href":"/api-reference/billing/invoices/update-invoice-eg-close"},{"title":"Get Invoice Line Items","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json get /invoices/{clientId}/{invoiceId}/line-items","href":"/api-reference/billing/invoices/get-invoice-line-items"},{"title":"Add Invoice Attachments","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /invoices/{clientId}/{invoiceId}/attachments","href":"/api-reference/billing/invoices/add-invoice-attachments"},{"title":"Delete Invoice Attachment","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json delete /invoices/{clientId}/{invoiceId}/attachments/{attachmentId}","href":"/api-reference/billing/invoices/delete-invoice-attachment"},{"title":"Void Invoice","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /invoices/{clientId}/{invoiceId}/void","href":"/api-reference/billing/invoices/void-invoice"},{"title":"Refresh line item mappings","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /invoices/{clientId}/{invoiceId}/refresh-line-item-mappings","href":"/api-reference/billing/invoices/refresh-line-item-mappings"},{"title":"Credit Entire Invoice","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /invoices/{clientId}/{invoiceId}/full-credit","href":"/api-reference/billing/invoices/credit-entire-invoice"},{"title":"Bulk invoice action","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /invoices/bulk-action","href":"/api-reference/billing/invoices/bulk-invoice-action"},{"title":"Email Invoice","deprecated":null,"version":null,"openapi":"/api-reference/specs/billing.json post /invoices/{clientId}/{invoiceId}/email","href":"/api-reference/billing/invoices/email-invoice"}]}]},{"group":"Court orders","pages":[{"title":"Court orders API overview","sidebarTitle":"Overview","href":"/api-reference/court-orders/overview"},{"group":"Court orders","pages":[{"title":"Get court orders by organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/court-orders.json get /orders","href":"/api-reference/court-orders/court-orders/get-court-orders-by-organisation"},{"title":"Create court order","deprecated":null,"version":null,"openapi":"/api-reference/specs/court-orders.json post /orders","href":"/api-reference/court-orders/court-orders/create-court-order"},{"title":"Get court order","deprecated":null,"version":null,"openapi":"/api-reference/specs/court-orders.json get /orders/{orderId}","href":"/api-reference/court-orders/court-orders/get-court-order"},{"title":"Update court order","deprecated":null,"version":null,"openapi":"/api-reference/specs/court-orders.json put /orders/{orderId}","href":"/api-reference/court-orders/court-orders/update-court-order"},{"title":"Delete court order","deprecated":null,"version":null,"openapi":"/api-reference/specs/court-orders.json delete /orders/{orderId}","href":"/api-reference/court-orders/court-orders/delete-court-order"},{"title":"Get court orders by employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/court-orders.json get /orders/employees/{employeeId}","href":"/api-reference/court-orders/court-orders/get-court-orders-by-employee"},{"title":"Reconcile court orders","deprecated":null,"version":null,"openapi":"/api-reference/specs/court-orders.json post /orders/reconcile","href":"/api-reference/court-orders/court-orders/reconcile-court-orders"}]},{"group":"Attachments","pages":[{"title":"Add court order attachments","deprecated":null,"version":null,"openapi":"/api-reference/specs/court-orders.json post /orders/{orderId}/attachments","href":"/api-reference/court-orders/attachments/add-court-order-attachments"},{"title":"Delete court order attachment","deprecated":null,"version":null,"openapi":"/api-reference/specs/court-orders.json delete /orders/{orderId}/attachments/{attachmentId}","href":"/api-reference/court-orders/attachments/delete-court-order-attachment"}]},{"group":"Reference data","pages":[{"title":"List tax years with court order constants","deprecated":null,"version":null,"openapi":"/api-reference/specs/court-orders.json get /orders/constants/available-years","href":"/api-reference/court-orders/reference-data/list-tax-years-with-court-order-constants"},{"title":"Get court order constants for a tax year","deprecated":null,"version":null,"openapi":"/api-reference/specs/court-orders.json get /orders/constants/{taxYear}","href":"/api-reference/court-orders/reference-data/get-court-order-constants-for-a-tax-year"}]},{"group":"Payees","pages":[{"title":"Get all payees","deprecated":null,"version":null,"openapi":"/api-reference/specs/court-orders.json get /payees","href":"/api-reference/court-orders/payees/get-all-payees"},{"title":"Create payee","deprecated":null,"version":null,"openapi":"/api-reference/specs/court-orders.json post /payees","href":"/api-reference/court-orders/payees/create-payee"},{"title":"Get payee","deprecated":null,"version":null,"openapi":"/api-reference/specs/court-orders.json get /payees/{payeeId}","href":"/api-reference/court-orders/payees/get-payee"},{"title":"Update payee","deprecated":null,"version":null,"openapi":"/api-reference/specs/court-orders.json put /payees/{payeeId}","href":"/api-reference/court-orders/payees/update-payee"},{"title":"Delete payee","deprecated":null,"version":null,"openapi":"/api-reference/specs/court-orders.json delete /payees/{payeeId}","href":"/api-reference/court-orders/payees/delete-payee"}]}]},{"group":"HMRC DPS","pages":[{"title":"HMRC DPS API overview","sidebarTitle":"Overview","href":"/api-reference/hmrc-dps/overview"},{"group":"Notifications","pages":[{"title":"Get stored notifications","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-dps.json get /notifications","href":"/api-reference/hmrc-dps/notifications/get-stored-notifications"},{"title":"Get notification","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-dps.json get /notifications/{notificationId}","href":"/api-reference/hmrc-dps/notifications/get-notification"},{"title":"Update notification status","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-dps.json put /notifications/{notificationId}/status","href":"/api-reference/hmrc-dps/notifications/update-notification-status"},{"title":"Apply notification","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-dps.json post /notifications/{notificationId}/apply","href":"/api-reference/hmrc-dps/notifications/apply-notification"},{"title":"Dismiss notification","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-dps.json post /notifications/{notificationId}/ignore","href":"/api-reference/hmrc-dps/notifications/dismiss-notification"},{"title":"Assign employee to notification","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-dps.json put /notifications/{notificationId}/employee","href":"/api-reference/hmrc-dps/notifications/assign-employee-to-notification"},{"title":"Get notification counts","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-dps.json get /notifications/counts","href":"/api-reference/hmrc-dps/notifications/get-notification-counts"}]},{"group":"Bulk actions","pages":[{"title":"Start bulk apply of notifications","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-dps.json post /notifications/bulk-apply-async","href":"/api-reference/hmrc-dps/bulk-actions/start-bulk-apply-of-notifications"},{"title":"Start bulk dismiss of notifications","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-dps.json post /notifications/bulk-dismiss-async","href":"/api-reference/hmrc-dps/bulk-actions/start-bulk-dismiss-of-notifications"},{"title":"Retry matching for unmatched notifications","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-dps.json post /notifications/retry-matching","href":"/api-reference/hmrc-dps/bulk-actions/retry-matching-for-unmatched-notifications"},{"title":"Start retrieving all notifications","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-dps.json post /notifications/retrieve-all","href":"/api-reference/hmrc-dps/bulk-actions/start-retrieving-all-notifications"}]},{"group":"Pagination","pages":[{"title":"Initialize pagination states for all data types","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-dps.json post /notifications/pagination/initialise","href":"/api-reference/hmrc-dps/pagination/initialize-pagination-states-for-all-data-types"},{"title":"Get all pagination states for the organization","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-dps.json get /notifications/pagination","href":"/api-reference/hmrc-dps/pagination/get-all-pagination-states-for-the-organization"}]},{"group":"Jobs","pages":[{"title":"Get job status","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-dps.json get /notifications/jobs/{jobId}/status","href":"/api-reference/hmrc-dps/jobs/get-job-status"},{"title":"Get jobs","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-dps.json get /notifications/jobs","href":"/api-reference/hmrc-dps/jobs/get-jobs"},{"title":"Get the last job of a specific type for the organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-dps.json get /notifications/jobs/last/{jobType}","href":"/api-reference/hmrc-dps/jobs/get-the-last-job-of-a-specific-type-for-the-organisation"},{"title":"Cancel job","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-dps.json post /notifications/jobs/{jobId}/cancel","href":"/api-reference/hmrc-dps/jobs/cancel-job"}]}]},{"group":"HMRC P-forms","pages":[{"title":"HMRC P-forms API overview","sidebarTitle":"Overview","href":"/api-reference/hmrc-p-forms/overview"},{"group":"P32","pages":[{"title":"Download a P32 PDF","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml get /p32/{year}/{month}/pdf","href":"/api-reference/hmrc-p-forms/p32/download-a-p32-pdf"},{"title":"Get P32 for a tax month","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml get /p32/{year}/{month}","href":"/api-reference/hmrc-p-forms/p32/get-p32-for-a-tax-month"},{"title":"Get all P32s for a tax year","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml get /p32/{year}","href":"/api-reference/hmrc-p-forms/p32/get-all-p32s-for-a-tax-year"}]},{"group":"P45","pages":[{"title":"List tax years with available P45s","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml get /p45/tax-years","href":"/api-reference/hmrc-p-forms/p45/list-tax-years-with-available-p45s"},{"title":"List finalised P45s for a tax year","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml get /p45/list/{taxYear}/finalised","href":"/api-reference/hmrc-p-forms/p45/list-finalised-p45s-for-a-tax-year"},{"title":"List finalised P45s for a payroll config and tax year","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml get /p45/list/{payrollConfigId}/{taxYear}/finalised","href":"/api-reference/hmrc-p-forms/p45/list-finalised-p45s-for-a-payroll-config-and-tax-year"},{"title":"Get the P45 document","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml get /p45/{employeeId}/file","href":"/api-reference/hmrc-p-forms/p45/get-the-p45-document"},{"title":"List the earlier versions of the P45","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml get /p45/{employeeId}/versions","href":"/api-reference/hmrc-p-forms/p45/list-the-earlier-versions-of-the-p45"},{"title":"Preview an employee's P45 PDF","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml get /p45/{employeeId}/preview","href":"/api-reference/hmrc-p-forms/p45/preview-an-employees-p45-pdf"},{"title":"Create a P45 replacement","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml post /p45/{employeeId}/replacements","href":"/api-reference/hmrc-p-forms/p45/create-a-p45-replacement"},{"title":"Send P45 emails to one or more employees","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml post /p45/send-notification","href":"/api-reference/hmrc-p-forms/p45/send-p45-emails-to-one-or-more-employees"},{"title":"Get P45 data for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml get /p45/{employeeId}","href":"/api-reference/hmrc-p-forms/p45/get-p45-data-for-an-employee"}]},{"group":"P60","pages":[{"title":"Get a P60 for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml get /p60/{employeeId}/{taxYear}","href":"/api-reference/hmrc-p-forms/p60/get-a-p60-for-an-employee"},{"title":"Download a P60 PDF","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml get /p60/{employeeId}/{taxYear}/file","href":"/api-reference/hmrc-p-forms/p60/download-a-p60-pdf"},{"title":"List tax years with available P60s","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml get /p60/tax-years","href":"/api-reference/hmrc-p-forms/p60/list-tax-years-with-available-p60s"},{"title":"List preview P60 tax years for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml get /p60/{employeeId}/preview-years","href":"/api-reference/hmrc-p-forms/p60/list-preview-p60-tax-years-for-an-employee"},{"title":"List finalised P60 tax years for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml get /p60/{employeeId}/finalised-years","href":"/api-reference/hmrc-p-forms/p60/list-finalised-p60-tax-years-for-an-employee"},{"title":"List preview P60s for a tax year","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml get /p60/list/{taxYear}/preview","href":"/api-reference/hmrc-p-forms/p60/list-preview-p60s-for-a-tax-year"},{"title":"List finalised P60s for a tax year","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml get /p60/list/{taxYear}/finalised","href":"/api-reference/hmrc-p-forms/p60/list-finalised-p60s-for-a-tax-year"},{"title":"List finalised P60s for a payroll config and tax year","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml get /p60/list/{payrollConfigId}/{taxYear}/finalised","href":"/api-reference/hmrc-p-forms/p60/list-finalised-p60s-for-a-payroll-config-and-tax-year"},{"title":"Regenerate a finalised P60","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml post /p60/{employeeId}/{taxYear}/regenerate","href":"/api-reference/hmrc-p-forms/p60/regenerate-a-finalised-p60"},{"title":"Send P60 emails to one or more employees","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml post /p60/send-notification","href":"/api-reference/hmrc-p-forms/p60/send-p60-emails-to-one-or-more-employees"}]},{"group":"PFormBulkSend","pages":[{"title":"Check a P45 or P60 email send","deprecated":null,"version":null,"openapi":"/api-reference/specs/hmrc-p-forms.yaml get /pforms/send-notification/jobs/{jobId}","href":"/api-reference/hmrc-p-forms/pformbulksend/check-a-p45-or-p60-email-send"}]}]},{"group":"Holiday \u0026 leave","pages":[{"title":"Holiday \u0026 leave API overview","sidebarTitle":"Overview","href":"/api-reference/holiday/overview"},{"group":"Holiday Employee Configuration","pages":[{"title":"Get employee holiday configuration","deprecated":null,"version":null,"openapi":"/api-reference/specs/holiday.json get /employees/{employeeId}","href":"/api-reference/holiday/holiday-employee-configuration/get-employee-holiday-configuration"},{"title":"Update employee holiday configuration","deprecated":null,"version":null,"openapi":"/api-reference/specs/holiday.json put /employees/{employeeId}","href":"/api-reference/holiday/holiday-employee-configuration/update-employee-holiday-configuration"},{"title":"Create employee holiday configuration","deprecated":null,"version":null,"openapi":"/api-reference/specs/holiday.json post /employees/{employeeId}","href":"/api-reference/holiday/holiday-employee-configuration/create-employee-holiday-configuration"},{"title":"Delete employee holiday configuration","deprecated":null,"version":null,"openapi":"/api-reference/specs/holiday.json delete /employees/{employeeId}","href":"/api-reference/holiday/holiday-employee-configuration/delete-employee-holiday-configuration"}]},{"group":"Holiday History","pages":[{"title":"Get holiday history for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/holiday.json get /employees/{employeeId}/history","href":"/api-reference/holiday/holiday-history/get-holiday-history-for-an-employee"},{"title":"Get 52-week average rate for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/holiday.json get /employees/{employeeId}/average-rate","href":"/api-reference/holiday/holiday-history/get-52-week-average-rate-for-an-employee"}]},{"group":"Holiday Organisation Configuration","pages":[{"title":"Get the holiday configuration","deprecated":null,"version":null,"openapi":"/api-reference/specs/holiday.json get /organisation","href":"/api-reference/holiday/holiday-organisation-configuration/get-the-holiday-configuration"},{"title":"Update the holiday configuration","deprecated":null,"version":null,"openapi":"/api-reference/specs/holiday.json put /organisation","href":"/api-reference/holiday/holiday-organisation-configuration/update-the-holiday-configuration"},{"title":"Create a holiday configuration","deprecated":null,"version":null,"openapi":"/api-reference/specs/holiday.json post /organisation","href":"/api-reference/holiday/holiday-organisation-configuration/create-a-holiday-configuration"},{"title":"Delete the holiday configuration","deprecated":null,"version":null,"openapi":"/api-reference/specs/holiday.json delete /organisation","href":"/api-reference/holiday/holiday-organisation-configuration/delete-the-holiday-configuration"}]},{"group":"Holiday Taken","pages":[{"title":"Get a holiday taken record","deprecated":null,"version":null,"openapi":"/api-reference/specs/holiday.json get /employees/{employeeId}/taken/{id}","href":"/api-reference/holiday/holiday-taken/get-a-holiday-taken-record"},{"title":"Update holiday taken record","deprecated":null,"version":null,"openapi":"/api-reference/specs/holiday.json put /employees/{employeeId}/taken/{id}","href":"/api-reference/holiday/holiday-taken/update-holiday-taken-record"},{"title":"Delete holiday taken record","deprecated":null,"version":null,"openapi":"/api-reference/specs/holiday.json delete /employees/{employeeId}/taken/{id}","href":"/api-reference/holiday/holiday-taken/delete-holiday-taken-record"},{"title":"Record holiday taken","deprecated":null,"version":null,"openapi":"/api-reference/specs/holiday.json post /employees/{employeeId}/taken","href":"/api-reference/holiday/holiday-taken/record-holiday-taken"}]},{"group":"Opening Balance","pages":[{"title":"Get opening balance","deprecated":null,"version":null,"openapi":"/api-reference/specs/holiday.json get /employees/{employeeId}/opening-balance","href":"/api-reference/holiday/opening-balance/get-opening-balance"},{"title":"Update opening balance","deprecated":null,"version":null,"openapi":"/api-reference/specs/holiday.json put /employees/{employeeId}/opening-balance","href":"/api-reference/holiday/opening-balance/update-opening-balance"},{"title":"Create opening balance","deprecated":null,"version":null,"openapi":"/api-reference/specs/holiday.json post /employees/{employeeId}/opening-balance","href":"/api-reference/holiday/opening-balance/create-opening-balance"},{"title":"Delete opening balance","deprecated":null,"version":null,"openapi":"/api-reference/specs/holiday.json delete /employees/{employeeId}/opening-balance","href":"/api-reference/holiday/opening-balance/delete-opening-balance"}]}]},{"group":"Integrations","pages":[{"title":"Integrations API overview","sidebarTitle":"Overview","href":"/api-reference/integrations/overview"},{"group":"Scheme links","pages":[{"title":"Read which connection a record is linked to","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json get /bindings/{consumer}/{resourceType}/{resourceId}","href":"/api-reference/integrations/scheme-links/read-which-connection-a-record-is-linked-to"},{"title":"Link a record to a connection","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json put /bindings/{consumer}/{resourceType}/{resourceId}","href":"/api-reference/integrations/scheme-links/link-a-record-to-a-connection"},{"title":"Unlink a record from its connection","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json delete /bindings/{consumer}/{resourceType}/{resourceId}","href":"/api-reference/integrations/scheme-links/unlink-a-record-from-its-connection"}]},{"group":"Connections","pages":[{"title":"List your connections","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json get /connections","href":"/api-reference/integrations/connections/list-your-connections"},{"title":"Create a connection","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json post /connections","href":"/api-reference/integrations/connections/create-a-connection"},{"title":"Get a connection","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json get /connections/{connectionId}","href":"/api-reference/integrations/connections/get-a-connection"},{"title":"Rename or pause a connection","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json put /connections/{connectionId}","href":"/api-reference/integrations/connections/rename-or-pause-a-connection"},{"title":"Delete a connection for good","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json delete /connections/{connectionId}","href":"/api-reference/integrations/connections/delete-a-connection-for-good"},{"title":"Disconnect a connection, removing this organisation's access","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json post /connections/{connectionId}/disconnect","href":"/api-reference/integrations/connections/disconnect-a-connection-removing-this-organisations-access"},{"title":"Start signing in at the provider","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json post /connections/{connectionId}/authorise","href":"/api-reference/integrations/connections/start-signing-in-at-the-provider"},{"title":"Finish connecting with the provider's authorisation code","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json post /connections/{connectionId}/exchange","href":"/api-reference/integrations/connections/finish-connecting-with-the-providers-authorisation-code"},{"title":"List the organisations this sign-in can reach","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json get /connections/{connectionId}/tenants","href":"/api-reference/integrations/connections/list-the-organisations-this-sign-in-can-reach"},{"title":"Choose which provider organisation this connection uses","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json put /connections/{connectionId}/tenant","href":"/api-reference/integrations/connections/choose-which-provider-organisation-this-connection-uses"},{"title":"Save the provider sign-in details","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json put /connections/{connectionId}/credentials","href":"/api-reference/integrations/connections/save-the-provider-sign-in-details"},{"title":"Test the connection with the provider","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json post /connections/{connectionId}/test","href":"/api-reference/integrations/connections/test-the-connection-with-the-provider"},{"title":"List what is linked to a connection","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json get /connections/{connectionId}/bindings","href":"/api-reference/integrations/connections/list-what-is-linked-to-a-connection"},{"title":"Groups and payment sources held by the provider","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json get /connections/{connectionId}/pension/setup","href":"/api-reference/integrations/connections/groups-and-payment-sources-held-by-the-provider"},{"title":"Read the chart of accounts","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json get /connections/{connectionId}/accounting/accounts","href":"/api-reference/integrations/connections/read-the-chart-of-accounts"},{"title":"Read the analysis dimensions","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json get /connections/{connectionId}/accounting/tracking-categories","href":"/api-reference/integrations/connections/read-the-analysis-dimensions"},{"title":"Read the tax rates","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json get /connections/{connectionId}/accounting/tax-rates","href":"/api-reference/integrations/connections/read-the-tax-rates"},{"title":"One page of the provider's contacts","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json get /connections/{connectionId}/accounting/contacts","href":"/api-reference/integrations/connections/one-page-of-the-providers-contacts"},{"title":"The provider's own rendering of a document","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json get /connections/{connectionId}/accounting/documents/{documentType}/{externalId}/pdf","href":"/api-reference/integrations/connections/the-providers-own-rendering-of-a-document"},{"title":"How many files the document already holds","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json get /connections/{connectionId}/accounting/documents/{documentType}/{externalId}/attachment-count","href":"/api-reference/integrations/connections/how-many-files-the-document-already-holds"}]},{"group":"Provider data","pages":[{"title":"How fresh the connection's provider data is","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json get /connections/{connectionId}/imports","href":"/api-reference/integrations/provider-data/how-fresh-the-connections-provider-data-is"},{"title":"Refresh the connection's provider data","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json post /connections/{connectionId}/imports","href":"/api-reference/integrations/provider-data/refresh-the-connections-provider-data"}]},{"group":"Activity","pages":[{"title":"List activity","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json get /operations","href":"/api-reference/integrations/activity/list-activity"},{"title":"Get one operation","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json get /operations/{operationId}","href":"/api-reference/integrations/activity/get-one-operation"},{"title":"Retry a failed operation","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json post /operations/{operationId}/retry","href":"/api-reference/integrations/activity/retry-a-failed-operation"},{"title":"Cancel a queued operation","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json post /operations/{operationId}/cancel","href":"/api-reference/integrations/activity/cancel-a-queued-operation"}]},{"group":"Providers","pages":[{"title":"List the providers you can connect","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json get /providers","href":"/api-reference/integrations/providers/list-the-providers-you-can-connect"},{"title":"Get one provider","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json get /providers/{slug}","href":"/api-reference/integrations/providers/get-one-provider"}]},{"group":"Initial import","pages":[{"title":"Import the connection's existing provider data","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json post /connections/{connectionId}/sync-sessions","href":"/api-reference/integrations/initial-import/import-the-connections-existing-provider-data"},{"title":"Progress of the connection's latest import","deprecated":null,"version":null,"openapi":"/api-reference/specs/integrations.json get /connections/{connectionId}/sync-sessions/latest","href":"/api-reference/integrations/initial-import/progress-of-the-connections-latest-import"}]}]},{"group":"Pay API","pages":[{"title":"Pay API overview","sidebarTitle":"Overview","href":"/api-reference/pay-api/overview"},{"group":"Calculator","pages":[{"title":"Calculate gross to net values","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /calculator/grosstonet","href":"/api-reference/pay-api/calculator/calculate-gross-to-net-values"}]},{"group":"Employees","pages":[{"title":"List every employee field your role can read","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /employee-fields","href":"/api-reference/pay-api/employees/list-every-employee-field-your-role-can-read"},{"title":"List employees with pagination","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /employees","href":"/api-reference/pay-api/employees/list-employees-with-pagination"},{"title":"Create a new employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /employees","href":"/api-reference/pay-api/employees/create-a-new-employee"},{"title":"Find employee by National Insurance Number","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /employees/by-ni/{nationalInsuranceNumber}","href":"/api-reference/pay-api/employees/find-employee-by-national-insurance-number"},{"title":"Find employee by Payroll ID","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /employees/by-payroll-id/{payrollId}","href":"/api-reference/pay-api/employees/find-employee-by-payroll-id"},{"title":"List the organisation's latest employee exports","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /employees/exports","href":"/api-reference/pay-api/employees/list-the-organisations-latest-employee-exports"},{"title":"Export the employees a search matches as a CSV","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /employees/exports","href":"/api-reference/pay-api/employees/export-the-employees-a-search-matches-as-a-csv"},{"title":"Get one of the organisation's employee exports","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /employees/exports/{exportId}","href":"/api-reference/pay-api/employees/get-one-of-the-organisations-employee-exports"},{"title":"Count the organisation's employees: total, active, leavers and future leavers","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /employees/headcounts","href":"/api-reference/pay-api/employees/count-the-organisations-employees:-total-active-leavers-and-future-leavers"},{"title":"Send a CSV of changes to existing employees","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /employees/imports","href":"/api-reference/pay-api/employees/send-a-csv-of-changes-to-existing-employees"},{"title":"Get one of your employee imports","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /employees/imports/{importId}","href":"/api-reference/pay-api/employees/get-one-of-your-employee-imports"},{"title":"Apply one of your employee imports","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /employees/imports/{importId}/apply","href":"/api-reference/pay-api/employees/apply-one-of-your-employee-imports"},{"title":"Search the organisation's employees on any field","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /employees/search","href":"/api-reference/pay-api/employees/search-the-organisations-employees-on-any-field"},{"title":"Get employee data","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /employees/{employeeId}","href":"/api-reference/pay-api/employees/get-employee-data"},{"title":"Update an existing employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml put /employees/{employeeId}","href":"/api-reference/pay-api/employees/update-an-existing-employee"},{"title":"Delete an existing employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml delete /employees/{employeeId}","href":"/api-reference/pay-api/employees/delete-an-existing-employee"},{"title":"Partially update an existing employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml patch /employees/{employeeId}","href":"/api-reference/pay-api/employees/partially-update-an-existing-employee"}]},{"group":"Starters \u0026 leavers","pages":[{"title":"Set leaver details for many employees in one call","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml put /employees/leaver/bulk","href":"/api-reference/pay-api/starters-\u0026-leavers/set-leaver-details-for-many-employees-in-one-call"},{"title":"Cancel leaver details for many employees in one call","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml delete /employees/leaver/bulk","href":"/api-reference/pay-api/starters-\u0026-leavers/cancel-leaver-details-for-many-employees-in-one-call"},{"title":"Update the leaver details for a specific employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml put /employees/{employeeId}/leaver","href":"/api-reference/pay-api/starters-\u0026-leavers/update-the-leaver-details-for-a-specific-employee"},{"title":"Cancel (clear) the leaver details for a specific employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml delete /employees/{employeeId}/leaver","href":"/api-reference/pay-api/starters-\u0026-leavers/cancel-clear-the-leaver-details-for-a-specific-employee"},{"title":"Update the starter details for a specific employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml put /employees/{employeeId}/starter","href":"/api-reference/pay-api/starters-\u0026-leavers/update-the-starter-details-for-a-specific-employee"}]},{"group":"Tax codes","pages":[{"title":"Get the effective tax code and NI category for an employee on a specific date","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /employees/{employeeId}/effective-tax-info","href":"/api-reference/pay-api/tax-codes/get-the-effective-tax-code-and-ni-category-for-an-employee-on-a-specific-date"},{"title":"Add or update a tax code for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /employees/{employeeId}/tax-code","href":"/api-reference/pay-api/tax-codes/add-or-update-a-tax-code-for-an-employee"},{"title":"Get all tax codes for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /employees/{employeeId}/tax-codes","href":"/api-reference/pay-api/tax-codes/get-all-tax-codes-for-an-employee"},{"title":"Delete a specific tax code for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml delete /employees/{employeeId}/tax-codes/{year}/{effectiveDate}","href":"/api-reference/pay-api/tax-codes/delete-a-specific-tax-code-for-an-employee"}]},{"group":"NI \u0026 identifiers","pages":[{"title":"Get all NI categories for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /employees/{employeeId}/ni-categories","href":"/api-reference/pay-api/ni-\u0026-identifiers/get-all-ni-categories-for-an-employee"},{"title":"Delete a specific NI category for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml delete /employees/{employeeId}/ni-categories/{year}/{effectiveDate}","href":"/api-reference/pay-api/ni-\u0026-identifiers/delete-a-specific-ni-category-for-an-employee"},{"title":"Add or update an NI category for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /employees/{employeeId}/ni-category","href":"/api-reference/pay-api/ni-\u0026-identifiers/add-or-update-an-ni-category-for-an-employee"},{"title":"Update an employee's National Insurance Number","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml put /employees/{employeeId}/nino","href":"/api-reference/pay-api/ni-\u0026-identifiers/update-an-employees-national-insurance-number"},{"title":"Update an employee's Payroll ID","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml put /employees/{employeeId}/payroll-id","href":"/api-reference/pay-api/ni-\u0026-identifiers/update-an-employees-payroll-id"}]},{"group":"Payroll setup","pages":[{"title":"Update the opening balance for a specific employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml put /employees/{employeeId}/opening-balance","href":"/api-reference/pay-api/payroll-setup/update-the-opening-balance-for-a-specific-employee"},{"title":"Update an employee's payroll config assignment","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml put /employees/{employeeId}/payroll-config","href":"/api-reference/pay-api/payroll-setup/update-an-employees-payroll-config-assignment"}]},{"group":"Student loans","pages":[{"title":"End a postgraduate loan for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /employees/{employeeId}/postgraduate-loan/end","href":"/api-reference/pay-api/student-loans/end-a-postgraduate-loan-for-an-employee"},{"title":"Start a postgraduate loan for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /employees/{employeeId}/postgraduate-loan/start","href":"/api-reference/pay-api/student-loans/start-a-postgraduate-loan-for-an-employee"},{"title":"End a student loan for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /employees/{employeeId}/student-loan/end","href":"/api-reference/pay-api/student-loans/end-a-student-loan-for-an-employee"},{"title":"Start a student loan for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /employees/{employeeId}/student-loan/start","href":"/api-reference/pay-api/student-loans/start-a-student-loan-for-an-employee"}]},{"group":"Working patterns","pages":[{"title":"Get the effective-dated SSP qualifying-day policy history","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /employees/{employeeId}/qualifying-day-policy","href":"/api-reference/pay-api/working-patterns/get-the-effective-dated-ssp-qualifying-day-policy-history"},{"title":"Set the employee's SSP qualifying-day policy from an effective date","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml put /employees/{employeeId}/qualifying-day-policy","href":"/api-reference/pay-api/working-patterns/set-the-employees-ssp-qualifying-day-policy-from-an-effective-date"},{"title":"Remove an employee's whole qualifying-day policy history","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml delete /employees/{employeeId}/qualifying-day-policy","href":"/api-reference/pay-api/working-patterns/remove-an-employees-whole-qualifying-day-policy-history"},{"title":"Remove an SSP qualifying-day policy version from an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml delete /employees/{employeeId}/qualifying-day-policy/{effectiveFrom}","href":"/api-reference/pay-api/working-patterns/remove-an-ssp-qualifying-day-policy-version-from-an-employee"},{"title":"Get the effective-dated working-pattern history for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /employees/{employeeId}/working-pattern","href":"/api-reference/pay-api/working-patterns/get-the-effective-dated-working-pattern-history-for-an-employee"},{"title":"Set the employee's working pattern from an effective date","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml put /employees/{employeeId}/working-pattern","href":"/api-reference/pay-api/working-patterns/set-the-employees-working-pattern-from-an-effective-date"},{"title":"Remove an employee's whole working-pattern history","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml delete /employees/{employeeId}/working-pattern","href":"/api-reference/pay-api/working-patterns/remove-an-employees-whole-working-pattern-history"},{"title":"Remove a working-pattern version from an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml delete /employees/{employeeId}/working-pattern/{effectiveFrom}","href":"/api-reference/pay-api/working-patterns/remove-a-working-pattern-version-from-an-employee"},{"title":"Feed a batch of scheduled weeks (merged idempotently by week)","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml put /employees/{employeeId}/working-schedule","href":"/api-reference/pay-api/working-patterns/feed-a-batch-of-scheduled-weeks-merged-idempotently-by-week"}]},{"group":"Salary","pages":[{"title":"Get the effective-dated salary history for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /employees/{employeeId}/salary","href":"/api-reference/pay-api/salary/get-the-effective-dated-salary-history-for-an-employee"},{"title":"Set the employee's annual salary from an effective date","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml put /employees/{employeeId}/salary","href":"/api-reference/pay-api/salary/set-the-employees-annual-salary-from-an-effective-date"},{"title":"Remove a salary version from an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml delete /employees/{employeeId}/salary/{effectiveFrom}","href":"/api-reference/pay-api/salary/remove-a-salary-version-from-an-employee"}]},{"group":"Payslip","pages":[{"title":"Send payslip notification emails to employees","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /notification/email/payslip/{payrollConfigId}/{year}/{period}","href":"/api-reference/pay-api/payslip/send-payslip-notification-emails-to-employees"},{"title":"Get all payslip data for an employee within a date range","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /payslip/data/{employeeId}","href":"/api-reference/pay-api/payslip/get-all-payslip-data-for-an-employee-within-a-date-range"},{"title":"Get payslip data for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /payslip/data/{employeeId}/{year}/{period}","href":"/api-reference/pay-api/payslip/get-payslip-data-for-an-employee"},{"title":"Create or update payslip metadata such as notes and payment date overwrite","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /payslip/data/{employeeId}/{year}/{period}","href":"/api-reference/pay-api/payslip/create-or-update-payslip-metadata-such-as-notes-and-payment-date-overwrite"},{"title":"Download the payslip as a PDF","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /payslip/data/{employeeId}/{year}/{period}/file","href":"/api-reference/pay-api/payslip/download-the-payslip-as-a-pdf"},{"title":"List the earlier versions of a payslip","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /payslip/data/{employeeId}/{year}/{period}/versions","href":"/api-reference/pay-api/payslip/list-the-earlier-versions-of-a-payslip"},{"title":"Get a payslip as it stood for a lock cycle","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /payslip/data/{employeeId}/{year}/{period}/versions/{lockCycle}","href":"/api-reference/pay-api/payslip/get-a-payslip-as-it-stood-for-a-lock-cycle"},{"title":"Get all payslips by pay run","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /payslip/payrun/{payrollConfigId}/{year}/{period}","href":"/api-reference/pay-api/payslip/get-all-payslips-by-pay-run"},{"title":"Recalculate payslips for employees in the open pay run","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /payslip/recalculate","href":"/api-reference/pay-api/payslip/recalculate-payslips-for-employees-in-the-open-pay-run"},{"title":"Make a sample payslip in your brand draft","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /payslip/samples","href":"/api-reference/pay-api/payslip/make-a-sample-payslip-in-your-brand-draft"}]},{"group":"Organisation","pages":[{"title":"Get organisation opening balances by tax year","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /organisation/balances/opening/{taxYear}","href":"/api-reference/pay-api/organisation/get-organisation-opening-balances-by-tax-year"},{"title":"Update organisation opening balances by tax year","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /organisation/balances/opening/{taxYear}","href":"/api-reference/pay-api/organisation/update-organisation-opening-balances-by-tax-year"},{"title":"Get tax years with PAYE liability data","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /organisation/balances/paye-liability/tax-years","href":"/api-reference/pay-api/organisation/get-tax-years-with-paye-liability-data"},{"title":"Get PAYE liability summary by tax year","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /organisation/balances/paye-liability/{taxYear}","href":"/api-reference/pay-api/organisation/get-paye-liability-summary-by-tax-year"},{"title":"Update a PAYE payment for a specific tax year and payment ID","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml put /organisation/balances/paye-payments/{taxYear}/payment/{paymentId}","href":"/api-reference/pay-api/organisation/update-a-paye-payment-for-a-specific-tax-year-and-payment-id"},{"title":"Delete a PAYE payment for a specific tax year, period, and payment ID","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml delete /organisation/balances/paye-payments/{taxYear}/payment/{paymentId}","href":"/api-reference/pay-api/organisation/delete-a-paye-payment-for-a-specific-tax-year-period-and-payment-id"},{"title":"Record a PAYE payment for a specific tax year and period","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /organisation/balances/paye-payments/{taxYear}/period/{period}","href":"/api-reference/pay-api/organisation/record-a-paye-payment-for-a-specific-tax-year-and-period"},{"title":"Get year-to-date running balances by tax year","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /organisation/balances/running/{taxYear}","href":"/api-reference/pay-api/organisation/get-year-to-date-running-balances-by-tax-year"},{"title":"Get month to date running balances by tax year and month","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /organisation/balances/running/{taxYear}/month/{month}","href":"/api-reference/pay-api/organisation/get-month-to-date-running-balances-by-tax-year-and-month"},{"title":"Get the HMRC settings for the current organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /organisation/hmrc/settings","href":"/api-reference/pay-api/organisation/get-the-hmrc-settings-for-the-current-organisation"},{"title":"Update the HMRC settings for the current organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /organisation/hmrc/settings","href":"/api-reference/pay-api/organisation/update-the-hmrc-settings-for-the-current-organisation"},{"title":"Get organisation information","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /organisation/information","href":"/api-reference/pay-api/organisation/get-organisation-information"},{"title":"Update organisation information","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /organisation/information","href":"/api-reference/pay-api/organisation/update-organisation-information"},{"title":"Get multiple organisation information","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /organisation/information/multiple","href":"/api-reference/pay-api/organisation/get-multiple-organisation-information"},{"title":"Get the organisation's default working pattern and qualifying-day policy","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /organisation/working-pattern-defaults","href":"/api-reference/pay-api/organisation/get-the-organisations-default-working-pattern-and-qualifying-day-policy"},{"title":"Set the organisation's default working pattern and qualifying-day policy","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /organisation/working-pattern-defaults","href":"/api-reference/pay-api/organisation/set-the-organisations-default-working-pattern-and-qualifying-day-policy"}]},{"group":"Pay Elements","pages":[{"title":"Get the pay elements for the current organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /organisation/pay-element","href":"/api-reference/pay-api/pay-elements/get-the-pay-elements-for-the-current-organisation"},{"title":"Create a new pay element for the current organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /organisation/pay-element","href":"/api-reference/pay-api/pay-elements/create-a-new-pay-element-for-the-current-organisation"},{"title":"Get a specific pay element by ID","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /organisation/pay-element/{payElementId}","href":"/api-reference/pay-api/pay-elements/get-a-specific-pay-element-by-id"},{"title":"Update a specific pay element by ID","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml put /organisation/pay-element/{payElementId}","href":"/api-reference/pay-api/pay-elements/update-a-specific-pay-element-by-id"},{"title":"Delete a specific pay element by ID","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml delete /organisation/pay-element/{payElementId}","href":"/api-reference/pay-api/pay-elements/delete-a-specific-pay-element-by-id"}]},{"group":"Payroll lines","pages":[{"title":"Upload payroll lines","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /payroll/line/{employeeId}","href":"/api-reference/pay-api/payroll-lines/upload-payroll-lines"},{"title":"Delete a payroll line","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml delete /payroll/line/{employeeId}/{lineId}","href":"/api-reference/pay-api/payroll-lines/delete-a-payroll-line"},{"title":"Add attachments to a payroll line item","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /payroll/line/{employeeId}/{lineId}/attachments","href":"/api-reference/pay-api/payroll-lines/add-attachments-to-a-payroll-line-item"},{"title":"Delete an attachment from a payroll line item","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml delete /payroll/line/{employeeId}/{lineId}/attachments/{attachmentId}","href":"/api-reference/pay-api/payroll-lines/delete-an-attachment-from-a-payroll-line-item"}]},{"group":"Payroll","pages":[{"title":"Get tax years with pay runs","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /payroll/runs/tax-years-with-pay-runs","href":"/api-reference/pay-api/payroll/get-tax-years-with-pay-runs"},{"title":"List payroll runs by tax year","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /payroll/runs/{year}","href":"/api-reference/pay-api/payroll/list-payroll-runs-by-tax-year"},{"title":"Create the next payroll run for a given payroll configuration","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /payroll/{payrollConfigId}/next","href":"/api-reference/pay-api/payroll/create-the-next-payroll-run-for-a-given-payroll-configuration"},{"title":"Get payroll run(lock) data","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /payroll/{payrollConfigId}/{year}/{period}","href":"/api-reference/pay-api/payroll/get-payroll-runlock-data"},{"title":"Create a payroll run","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /payroll/{payrollConfigId}/{year}/{period}","href":"/api-reference/pay-api/payroll/create-a-payroll-run"},{"title":"Add a former employee to an open pay run","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /payroll/{payrollConfigId}/{year}/{period}/employees","href":"/api-reference/pay-api/payroll/add-a-former-employee-to-an-open-pay-run"},{"title":"Remove a former employee from an open pay run","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml delete /payroll/{payrollConfigId}/{year}/{period}/employees/{employeeId}","href":"/api-reference/pay-api/payroll/remove-a-former-employee-from-an-open-pay-run"},{"title":"List the lock history of a payroll run","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /payroll/{payrollConfigId}/{year}/{period}/history","href":"/api-reference/pay-api/payroll/list-the-lock-history-of-a-payroll-run"},{"title":"Locks a payroll","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /payroll/{payrollConfigId}/{year}/{period}/lock","href":"/api-reference/pay-api/payroll/locks-a-payroll"},{"title":"List the payslips of a pay run still being calculated","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /payroll/{payrollConfigId}/{year}/{period}/processing","href":"/api-reference/pay-api/payroll/list-the-payslips-of-a-pay-run-still-being-calculated"},{"title":"Unlock a locked payroll run","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /payroll/{payrollConfigId}/{year}/{period}/unlock","href":"/api-reference/pay-api/payroll/unlock-a-locked-payroll-run"}]},{"group":"YearEnd","pages":[{"title":"List all year-end finalisations for an organisation in a tax year","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /payroll/year-end/{taxYear}","href":"/api-reference/pay-api/yearend/list-all-year-end-finalisations-for-an-organisation-in-a-tax-year"},{"title":"Read year-end finalisation for a payroll configuration","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /payroll/year-end/{taxYear}/{payrollConfigId}","href":"/api-reference/pay-api/yearend/read-year-end-finalisation-for-a-payroll-configuration"},{"title":"Finalise year-end for a payroll configuration","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /payroll/year-end/{taxYear}/{payrollConfigId}/finalise","href":"/api-reference/pay-api/yearend/finalise-year-end-for-a-payroll-configuration"}]},{"group":"PayrollConfig","pages":[{"title":"Read all payroll configurations","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /payrollconfig","href":"/api-reference/pay-api/payrollconfig/read-all-payroll-configurations"},{"title":"Create a new payroll configuration","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /payrollconfig","href":"/api-reference/pay-api/payrollconfig/create-a-new-payroll-configuration"},{"title":"Read a payroll configuration","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /payrollconfig/{payrollConfigId}","href":"/api-reference/pay-api/payrollconfig/read-a-payroll-configuration"},{"title":"Update a payroll configuration","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml put /payrollconfig/{payrollConfigId}","href":"/api-reference/pay-api/payrollconfig/update-a-payroll-configuration"},{"title":"Delete a payroll configuration","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml delete /payrollconfig/{payrollConfigId}","href":"/api-reference/pay-api/payrollconfig/delete-a-payroll-configuration"},{"title":"Get a payroll config's default working pattern (overrides the organisation default)","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /payrollconfig/{payrollConfigId}/working-pattern-defaults","href":"/api-reference/pay-api/payrollconfig/get-a-payroll-configs-default-working-pattern-overrides-the-organisation-default"},{"title":"Set a payroll config's default working pattern (overrides the organisation default)","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /payrollconfig/{payrollConfigId}/working-pattern-defaults","href":"/api-reference/pay-api/payrollconfig/set-a-payroll-configs-default-working-pattern-overrides-the-organisation-default"}]},{"group":"RTI","pages":[{"title":"Submit EPS from monthly balances","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /rti/eps/monthly-balances/{taxYear}/{taxMonth}","href":"/api-reference/pay-api/rti/submit-eps-from-monthly-balances"},{"title":"Get tax years with EPS submissions","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /rti/eps/tax-years-with-submissions","href":"/api-reference/pay-api/rti/get-tax-years-with-eps-submissions"},{"title":"Submit EPS manually","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /rti/eps/{taxYear}/manual","href":"/api-reference/pay-api/rti/submit-eps-manually"},{"title":"Resubmit EPS manually","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /rti/eps/{taxYear}/manual/{submissionId}/resubmit","href":"/api-reference/pay-api/rti/resubmit-eps-manually"},{"title":"Get all EPS submissions by tax year","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /rti/eps/{taxYear}/submissions","href":"/api-reference/pay-api/rti/get-all-eps-submissions-by-tax-year"},{"title":"Get EPS submission by tax year and submission ID","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /rti/eps/{taxYear}/submissions/{submissionId}","href":"/api-reference/pay-api/rti/get-eps-submission-by-tax-year-and-submission-id"},{"title":"Get HMRC RTI FPS for payroll run","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml get /rti/fps/{payrollConfigId}/{taxYear}/{period}","href":"/api-reference/pay-api/rti/get-hmrc-rti-fps-for-payroll-run"},{"title":"Trigger send HMRC RTI FPS for payroll run","deprecated":null,"version":null,"openapi":"/api-reference/specs/pay-api.yaml post /rti/fps/{payrollConfigId}/{taxYear}/{period}","href":"/api-reference/pay-api/rti/trigger-send-hmrc-rti-fps-for-payroll-run"}]}]},{"group":"Payment","pages":[{"title":"Payment API overview","sidebarTitle":"Overview","href":"/api-reference/payment/overview"},{"group":"AvailablePaymentConfig","pages":[{"title":"List all available payment configurations","deprecated":null,"version":null,"openapi":"/api-reference/specs/payment.json get /available/config","href":"/api-reference/payment/availablepaymentconfig/list-all-available-payment-configurations"}]},{"group":"OrganisationPaymentConfig","pages":[{"title":"Get payment configuration for an organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/payment.json get /config/{payrollConfigId}","href":"/api-reference/payment/organisationpaymentconfig/get-payment-configuration-for-an-organisation"},{"title":"Update payment configuration for an organisation","description":"Needs permission payment:write.","deprecated":null,"version":null,"openapi":"/api-reference/specs/payment.json put /config/{payrollConfigId}","href":"/api-reference/payment/organisationpaymentconfig/update-payment-configuration-for-an-organisation"},{"title":"Create payment configuration for an organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/payment.json post /config/{payrollConfigId}","href":"/api-reference/payment/organisationpaymentconfig/create-payment-configuration-for-an-organisation"},{"title":"Delete payment configuration for an organisation","description":"Needs permission payment:write.","deprecated":null,"version":null,"openapi":"/api-reference/specs/payment.json delete /config/{payrollConfigId}","href":"/api-reference/payment/organisationpaymentconfig/delete-payment-configuration-for-an-organisation"}]},{"group":"PaymentFile","pages":[{"title":"Get payment file for a pay run","deprecated":null,"version":null,"openapi":"/api-reference/specs/payment.json get /file/run/{payrollConfigId}/year/{year}/frequency/{frequency}/period/{period}","href":"/api-reference/payment/paymentfile/get-payment-file-for-a-pay-run"},{"title":"Create the payment file of a locked pay run that has none","deprecated":null,"version":null,"openapi":"/api-reference/specs/payment.json post /file/run/{payrollConfigId}/year/{year}/frequency/{frequency}/period/{period}/generate","href":"/api-reference/payment/paymentfile/create-the-payment-file-of-a-locked-pay-run-that-has-none"},{"title":"Get the payment file history of a pay run","deprecated":null,"version":null,"openapi":"/api-reference/specs/payment.json get /file/run/{payrollConfigId}/year/{year}/frequency/{frequency}/period/{period}/history","href":"/api-reference/payment/paymentfile/get-the-payment-file-history-of-a-pay-run"},{"title":"Rebuild a pay run's payment file with the current payment settings","deprecated":null,"version":null,"openapi":"/api-reference/specs/payment.json post /file/run/{payrollConfigId}/year/{year}/frequency/{frequency}/period/{period}/rebuild","href":"/api-reference/payment/paymentfile/rebuild-a-pay-runs-payment-file-with-the-current-payment-settings"},{"title":"Retry failed payment file generation with refreshed employee data","deprecated":null,"version":null,"openapi":"/api-reference/specs/payment.json post /file/run/{payrollConfigId}/year/{year}/frequency/{frequency}/period/{period}/retry","href":"/api-reference/payment/paymentfile/retry-failed-payment-file-generation-with-refreshed-employee-data"}]}]},{"group":"Payroll journals","pages":[{"title":"Payroll journals API overview","sidebarTitle":"Overview","href":"/api-reference/journal/overview"},{"group":"Control account mappings","pages":[{"title":"Get a control account mapping","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /templates/{templateId}/control-account-mappings/{account}","href":"/api-reference/journal/control-account-mappings/get-a-control-account-mapping"},{"title":"Create or update a control account mapping","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json put /templates/{templateId}/control-account-mappings/{account}","href":"/api-reference/journal/control-account-mappings/create-or-update-a-control-account-mapping"},{"title":"Delete a control account mapping","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json delete /templates/{templateId}/control-account-mappings/{account}","href":"/api-reference/journal/control-account-mappings/delete-a-control-account-mapping"},{"title":"List control account mappings","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /templates/{templateId}/control-account-mappings","href":"/api-reference/journal/control-account-mappings/list-control-account-mappings"}]},{"group":"Journal export metadata","pages":[{"title":"List date-format presets","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /export-options/date-format-presets","href":"/api-reference/journal/journal-export-metadata/list-date-format-presets"},{"title":"List narration tokens","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /export-options/narration-tokens","href":"/api-reference/journal/journal-export-metadata/list-narration-tokens"},{"title":"List reference tokens","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /export-options/reference-tokens","href":"/api-reference/journal/journal-export-metadata/list-reference-tokens"},{"title":"List export presets","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /export-options/presets","href":"/api-reference/journal/journal-export-metadata/list-export-presets"},{"title":"List split sources and their known values","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /export-options/split-sources","href":"/api-reference/journal/journal-export-metadata/list-split-sources-and-their-known-values"},{"title":"List export formats","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /export-options/formats","href":"/api-reference/journal/journal-export-metadata/list-export-formats"},{"title":"List account-code separators","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /export-options/account-code-separators","href":"/api-reference/journal/journal-export-metadata/list-account-code-separators"}]},{"group":"Journal templates","pages":[{"title":"List journal templates","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /templates","href":"/api-reference/journal/journal-templates/list-journal-templates"},{"title":"Create a journal template","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json post /templates","href":"/api-reference/journal/journal-templates/create-a-journal-template"},{"title":"Get a journal template","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /templates/{templateId}","href":"/api-reference/journal/journal-templates/get-a-journal-template"},{"title":"Delete a journal template","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json delete /templates/{templateId}","href":"/api-reference/journal/journal-templates/delete-a-journal-template"},{"title":"Update a journal template","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json patch /templates/{templateId}","href":"/api-reference/journal/journal-templates/update-a-journal-template"},{"title":"Preview a journal template","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json post /templates/{templateId}/preview","href":"/api-reference/journal/journal-templates/preview-a-journal-template"},{"title":"Clone a journal template","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json post /templates/{templateId}/clone","href":"/api-reference/journal/journal-templates/clone-a-journal-template"},{"title":"Export a journal template","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /templates/{templateId}/export","href":"/api-reference/journal/journal-templates/export-a-journal-template"},{"title":"Import a journal template","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json post /templates/import","href":"/api-reference/journal/journal-templates/import-a-journal-template"},{"title":"Import journal template mappings","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json post /templates/{templateId}/imports/mappings","href":"/api-reference/journal/journal-templates/import-journal-template-mappings"},{"title":"Get a journal template's history","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /templates/{templateId}/history","href":"/api-reference/journal/journal-templates/get-a-journal-templates-history"},{"title":"Preview a journal template as CSV","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json post /templates/{templateId}/preview/exports/csv","href":"/api-reference/journal/journal-templates/preview-a-journal-template-as-csv"},{"title":"Preview a journal template as PDF","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json post /templates/{templateId}/preview/exports/pdf","href":"/api-reference/journal/journal-templates/preview-a-journal-template-as-pdf"}]},{"group":"Journals","pages":[{"title":"List journals","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /journals","href":"/api-reference/journal/journals/list-journals"},{"title":"Get the latest journal for a pay run","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /journals/latest","href":"/api-reference/journal/journals/get-the-latest-journal-for-a-pay-run"},{"title":"List journal versions for a pay run","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /journals/versions","href":"/api-reference/journal/journals/list-journal-versions-for-a-pay-run"},{"title":"Get a journal","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /journals/{journalId}","href":"/api-reference/journal/journals/get-a-journal"},{"title":"Get a page of a journal's lines","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /journals/{journalId}/lines","href":"/api-reference/journal/journals/get-a-page-of-a-journals-lines"},{"title":"Download a journal export","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /journals/{journalId}/exports/{format}","href":"/api-reference/journal/journals/download-a-journal-export"},{"title":"Get a journal export download link","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /journals/{journalId}/exports/{format}/download-url","href":"/api-reference/journal/journals/get-a-journal-export-download-link"},{"title":"Rebuild a journal for a pay run","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json post /journals/rebuild","href":"/api-reference/journal/journals/rebuild-a-journal-for-a-pay-run"},{"title":"Reissue a journal for a pay run (async)","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json post /journals/reissue","href":"/api-reference/journal/journals/reissue-a-journal-for-a-pay-run-async"},{"title":"Get a journal's history","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /journals/{journalId}/history","href":"/api-reference/journal/journals/get-a-journals-history"},{"title":"Get a journal's rebuild/re-issue progress","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /journals/{journalId}/reissue-progress","href":"/api-reference/journal/journals/get-a-journals-rebuildre-issue-progress"},{"title":"List this journal's sends","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /journals/{journalId}/postings","href":"/api-reference/journal/journals/list-this-journals-sends"},{"title":"Send a journal to your accounting system","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json post /journals/{journalId}/postings","href":"/api-reference/journal/journals/send-a-journal-to-your-accounting-system"}]},{"group":"Org journal settings","pages":[{"title":"Get organisation journal settings","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /org-journal-settings","href":"/api-reference/journal/org-journal-settings/get-organisation-journal-settings"},{"title":"Create or update organisation journal settings","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json put /org-journal-settings","href":"/api-reference/journal/org-journal-settings/create-or-update-organisation-journal-settings"}]},{"group":"Pay element mappings","pages":[{"title":"Get a pay element mapping","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /templates/{templateId}/pay-element-mappings/{payElementId}","href":"/api-reference/journal/pay-element-mappings/get-a-pay-element-mapping"},{"title":"Create or update a pay element mapping","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json put /templates/{templateId}/pay-element-mappings/{payElementId}","href":"/api-reference/journal/pay-element-mappings/create-or-update-a-pay-element-mapping"},{"title":"Delete a pay element mapping","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json delete /templates/{templateId}/pay-element-mappings/{payElementId}","href":"/api-reference/journal/pay-element-mappings/delete-a-pay-element-mapping"},{"title":"List pay element mappings","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /templates/{templateId}/pay-element-mappings","href":"/api-reference/journal/pay-element-mappings/list-pay-element-mappings"}]},{"group":"Split dimensions","pages":[{"title":"List split dimensions","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /templates/{templateId}/split-dimensions","href":"/api-reference/journal/split-dimensions/list-split-dimensions"},{"title":"Create a split dimension","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json post /templates/{templateId}/split-dimensions","href":"/api-reference/journal/split-dimensions/create-a-split-dimension"},{"title":"Get a split dimension","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /templates/{templateId}/split-dimensions/{sequence}","href":"/api-reference/journal/split-dimensions/get-a-split-dimension"},{"title":"Delete a split dimension","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json delete /templates/{templateId}/split-dimensions/{sequence}","href":"/api-reference/journal/split-dimensions/delete-a-split-dimension"},{"title":"Update a split dimension","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json patch /templates/{templateId}/split-dimensions/{sequence}","href":"/api-reference/journal/split-dimensions/update-a-split-dimension"}]},{"group":"Split value mappings","pages":[{"title":"Get a split value mapping","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /templates/{templateId}/split-dimensions/{sequence}/values/{splitValueKey}","href":"/api-reference/journal/split-value-mappings/get-a-split-value-mapping"},{"title":"Create or update a split value mapping","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json put /templates/{templateId}/split-dimensions/{sequence}/values/{splitValueKey}","href":"/api-reference/journal/split-value-mappings/create-or-update-a-split-value-mapping"},{"title":"Delete a split value mapping","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json delete /templates/{templateId}/split-dimensions/{sequence}/values/{splitValueKey}","href":"/api-reference/journal/split-value-mappings/delete-a-split-value-mapping"},{"title":"List split value mappings","deprecated":null,"version":null,"openapi":"/api-reference/specs/journal.json get /templates/{templateId}/split-dimensions/{sequence}/values","href":"/api-reference/journal/split-value-mappings/list-split-value-mappings"}]}]},{"group":"Pensions","pages":[{"title":"Pensions API overview","sidebarTitle":"Overview","href":"/api-reference/pensions-v2/overview"},{"group":"AdditionalVoluntaryContribution","pages":[{"title":"Get the additional voluntary contribution for a pay period","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /employee-pension/{employeeId}/additional-voluntary-contributions/{taxYear}/{period}","href":"/api-reference/pensions-v2/additionalvoluntarycontribution/get-the-additional-voluntary-contribution-for-a-pay-period"},{"title":"Set an additional voluntary contribution for a pay period","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json put /employee-pension/{employeeId}/additional-voluntary-contributions/{taxYear}/{period}","href":"/api-reference/pensions-v2/additionalvoluntarycontribution/set-an-additional-voluntary-contribution-for-a-pay-period"},{"title":"Remove the additional voluntary contribution for a pay period","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json delete /employee-pension/{employeeId}/additional-voluntary-contributions/{taxYear}/{period}","href":"/api-reference/pensions-v2/additionalvoluntarycontribution/remove-the-additional-voluntary-contribution-for-a-pay-period"},{"title":"List an employee's additional voluntary contributions","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /employee-pension/{employeeId}/additional-voluntary-contributions","href":"/api-reference/pensions-v2/additionalvoluntarycontribution/list-an-employees-additional-voluntary-contributions"}]},{"group":"Auto-enrolment","pages":[{"title":"List statutory pension letters still to be given","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /auto-enrolment/enrolment-information/outstanding","href":"/api-reference/pensions-v2/auto-enrolment/list-statutory-pension-letters-still-to-be-given"},{"title":"List statutory pension letters that have been given","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /auto-enrolment/enrolment-information/sent","href":"/api-reference/pensions-v2/auto-enrolment/list-statutory-pension-letters-that-have-been-given"},{"title":"List incomplete auto-enrolments","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /auto-enrolment/not-complete","href":"/api-reference/pensions-v2/auto-enrolment/list-incomplete-auto-enrolments"},{"title":"List incomplete auto-enrolments for a pay run","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /auto-enrolment/not-complete/payrun/{payrollConfigId}/{year}/{frequency}/{period}","href":"/api-reference/pensions-v2/auto-enrolment/list-incomplete-auto-enrolments-for-a-pay-run"},{"title":"List completed auto-enrolments for a pay run","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /auto-enrolment/complete/payrun/{payrollConfigId}/{year}/{frequency}/{period}","href":"/api-reference/pensions-v2/auto-enrolment/list-completed-auto-enrolments-for-a-pay-run"},{"title":"List employees not in auto-enrolment","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /auto-enrolment/not-auto-enrolments","href":"/api-reference/pensions-v2/auto-enrolment/list-employees-not-in-auto-enrolment"},{"title":"List employees not in auto-enrolment for a pay run","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /auto-enrolment/not-auto-enrolments/payrun/{payrollConfigId}/{year}/{frequency}/{period}","href":"/api-reference/pensions-v2/auto-enrolment/list-employees-not-in-auto-enrolment-for-a-pay-run"},{"title":"List assessments for a pay run","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /auto-enrolment/assessments/payrun/{payrollConfigId}/{year}/{frequency}/{period}","href":"/api-reference/pensions-v2/auto-enrolment/list-assessments-for-a-pay-run"},{"title":"Preview an assessment","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json post /auto-enrolment/assessments/preview","href":"/api-reference/pensions-v2/auto-enrolment/preview-an-assessment"}]},{"group":"AutoEnrolmentExemption","pages":[{"title":"Get an employee's auto-enrolment exemption","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /auto-enrolment-exemption/{employeeId}","href":"/api-reference/pensions-v2/autoenrolmentexemption/get-an-employees-auto-enrolment-exemption"},{"title":"Remove an employee's auto-enrolment exemption","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json delete /auto-enrolment-exemption/{employeeId}","href":"/api-reference/pensions-v2/autoenrolmentexemption/remove-an-employees-auto-enrolment-exemption"},{"title":"Set an employee's auto-enrolment exemption","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json put /auto-enrolment-exemption","href":"/api-reference/pensions-v2/autoenrolmentexemption/set-an-employees-auto-enrolment-exemption"}]},{"group":"ContributionOverride","pages":[{"title":"Get the contribution override for one pay period","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /employee-pension/{employeeId}/contribution-overrides/{taxYear}/{period}","href":"/api-reference/pensions-v2/contributionoverride/get-the-contribution-override-for-one-pay-period"},{"title":"Set a contribution override for one pay period","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json put /employee-pension/{employeeId}/contribution-overrides/{taxYear}/{period}","href":"/api-reference/pensions-v2/contributionoverride/set-a-contribution-override-for-one-pay-period"},{"title":"Remove the contribution override for one pay period","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json delete /employee-pension/{employeeId}/contribution-overrides/{taxYear}/{period}","href":"/api-reference/pensions-v2/contributionoverride/remove-the-contribution-override-for-one-pay-period"},{"title":"List an employee's contribution overrides","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /employee-pension/{employeeId}/contribution-overrides","href":"/api-reference/pensions-v2/contributionoverride/list-an-employees-contribution-overrides"}]},{"group":"Employee enrolment","pages":[{"title":"List the opt-out notices kept for one membership ending","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /employee-pension/{employeeId}/opt-out-notices","href":"/api-reference/pensions-v2/employee-enrolment/list-the-opt-out-notices-kept-for-one-membership-ending"},{"title":"Get somewhere to put a member's opt-out notice","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json post /employee-pension/{employeeId}/opt-out-notices","href":"/api-reference/pensions-v2/employee-enrolment/get-somewhere-to-put-a-members-opt-out-notice"},{"title":"Enrol an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json post /employee-pension","href":"/api-reference/pensions-v2/employee-enrolment/enrol-an-employee"},{"title":"Get an employee's enrolment","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /employee-pension/{employeeId}","href":"/api-reference/pensions-v2/employee-enrolment/get-an-employees-enrolment"},{"title":"Remove an employee from their pension","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json delete /employee-pension/{employeeId}","href":"/api-reference/pensions-v2/employee-enrolment/remove-an-employee-from-their-pension"},{"title":"List enrolments in batch","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /employee-pension/batch","href":"/api-reference/pensions-v2/employee-enrolment/list-enrolments-in-batch"},{"title":"Preview an opt-out refund","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /employee-pension/{employeeId}/refund-preview","href":"/api-reference/pensions-v2/employee-enrolment/preview-an-opt-out-refund"},{"title":"Get an opt-out refund","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /employee-pension/{employeeId}/opt-out-refunds/{membershipEndDate}","href":"/api-reference/pensions-v2/employee-enrolment/get-an-opt-out-refund"},{"title":"Decide an opt-out refund","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json put /employee-pension/{employeeId}/opt-out-refunds/{membershipEndDate}/decision","href":"/api-reference/pensions-v2/employee-enrolment/decide-an-opt-out-refund"},{"title":"List an employee's membership endings","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /employee-pension/{employeeId}/membership-ends","href":"/api-reference/pensions-v2/employee-enrolment/list-an-employees-membership-endings"},{"title":"Send an enrolment letter","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json post /employee-pension/{employeeId}/enrolment-letter","href":"/api-reference/pensions-v2/employee-enrolment/send-an-enrolment-letter"},{"title":"Send pension letters","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json post /employee-pension/letters/{letterType}","href":"/api-reference/pensions-v2/employee-enrolment/send-pension-letters"},{"title":"Get a pension letter job","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /employee-pension/letters/jobs/{jobId}","href":"/api-reference/pensions-v2/employee-enrolment/get-a-pension-letter-job"},{"title":"Choose how pension letters are sent","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json put /employee-pension/letters/{letterType}/sending","href":"/api-reference/pensions-v2/employee-enrolment/choose-how-pension-letters-are-sent"},{"title":"List one employee's pension letters","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /employee-pension/{employeeId}/letters","href":"/api-reference/pensions-v2/employee-enrolment/list-one-employees-pension-letters"}]},{"group":"Pension calculations","pages":[{"title":"Retrieve export files","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /export-file-retrieval/pension-calculation/year/{year}/period/{period}/frequency/{frequency}/payroll-config/{payrollConfigId}","href":"/api-reference/pensions-v2/pension-calculations/retrieve-export-files"},{"title":"List calculations for a month","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /pension-calculation/by-year/{year}/by-month/{month}","href":"/api-reference/pensions-v2/pension-calculations/list-calculations-for-a-month"},{"title":"List calculations for a provider","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /pension-calculation/pension-provider/{pensionProviderId}/by-year/{year}/by-month/{month}","href":"/api-reference/pensions-v2/pension-calculations/list-calculations-for-a-provider"},{"title":"Download the contributions CSV","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /pension-calculation/csv/year/{year}/period/{period}/frequency/{frequency}/payroll-config/{payrollConfigId}","href":"/api-reference/pensions-v2/pension-calculations/download-the-contributions-csv"},{"title":"Generate provider export files","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json post /pension-calculation/export","href":"/api-reference/pensions-v2/pension-calculations/generate-provider-export-files"},{"title":"List generated export files","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /pension-calculation/export/year/{year}/period/{period}/frequency/{frequency}/payroll-config/{payrollConfigId}","href":"/api-reference/pensions-v2/pension-calculations/list-generated-export-files"},{"title":"Record a calculation","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json post /pension-calculation","href":"/api-reference/pensions-v2/pension-calculations/record-a-calculation"}]},{"group":"Organisation defaults","pages":[{"title":"Get organisation pension defaults","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /organisation","href":"/api-reference/pensions-v2/organisation-defaults/get-organisation-pension-defaults"},{"title":"Update postponement defaults","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json put /organisation/pension-default/postponement-settings","href":"/api-reference/pensions-v2/organisation-defaults/update-postponement-defaults"},{"title":"Update auto-enrolment settings","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json put /organisation/pension-default/auto-enrolment-settings","href":"/api-reference/pensions-v2/organisation-defaults/update-auto-enrolment-settings"},{"title":"List opt-out refunds","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /organisation/opt-out-refunds","href":"/api-reference/pensions-v2/organisation-defaults/list-opt-out-refunds"},{"title":"List pension membership endings (refunds report)","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /organisation/pension-membership-ends","href":"/api-reference/pensions-v2/organisation-defaults/list-pension-membership-endings-refunds-report"}]},{"group":"Pension groups","pages":[{"title":"Create a pension group","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json post /pension-group","href":"/api-reference/pensions-v2/pension-groups/create-a-pension-group"},{"title":"Get a pension group","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /pension-group/{id}","href":"/api-reference/pensions-v2/pension-groups/get-a-pension-group"},{"title":"Update a pension group","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json put /pension-group/{id}","href":"/api-reference/pensions-v2/pension-groups/update-a-pension-group"},{"title":"Delete a pension group","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json delete /pension-group/{id}","href":"/api-reference/pensions-v2/pension-groups/delete-a-pension-group"},{"title":"List allowed contribution bases","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /pension-group/allowed-bases","href":"/api-reference/pensions-v2/pension-groups/list-allowed-contribution-bases"}]},{"group":"Pension information","pages":[{"title":"Get an employee's pension information","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /pension-information/{employeeId}","href":"/api-reference/pensions-v2/pension-information/get-an-employees-pension-information"}]},{"group":"Pension providers","pages":[{"title":"List pension providers","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /pension-provider","href":"/api-reference/pensions-v2/pension-providers/list-pension-providers"},{"title":"Get a pension provider","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /pension-provider/{id}","href":"/api-reference/pensions-v2/pension-providers/get-a-pension-provider"},{"title":"Get a pension provider by slug","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /pension-provider/slug/{slug}","href":"/api-reference/pensions-v2/pension-providers/get-a-pension-provider-by-slug"}]},{"group":"Pension schemes","pages":[{"title":"Create a pension scheme","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json post /pension-schema","href":"/api-reference/pensions-v2/pension-schemes/create-a-pension-scheme"},{"title":"Get a pension scheme","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /pension-schema/{id}","href":"/api-reference/pensions-v2/pension-schemes/get-a-pension-scheme"},{"title":"Update a pension scheme","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json put /pension-schema/{id}","href":"/api-reference/pensions-v2/pension-schemes/update-a-pension-scheme"},{"title":"Delete a pension scheme","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json delete /pension-schema/{id}","href":"/api-reference/pensions-v2/pension-schemes/delete-a-pension-scheme"},{"title":"List pension schemes","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /pension-schema/organisation","href":"/api-reference/pensions-v2/pension-schemes/list-pension-schemes"}]},{"group":"Postponement","pages":[{"title":"Get an employee's postponement","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /postponement/{employeeId}","href":"/api-reference/pensions-v2/postponement/get-an-employees-postponement"},{"title":"Remove an employee's postponement","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json delete /postponement/{employeeId}","href":"/api-reference/pensions-v2/postponement/remove-an-employees-postponement"},{"title":"Set an employee's postponement","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json put /postponement","href":"/api-reference/pensions-v2/postponement/set-an-employees-postponement"}]},{"group":"Provider submissions","pages":[{"title":"Check the scheme matches its pension provider","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /provider-sync/reconciliation","href":"/api-reference/pensions-v2/provider-submissions/check-the-scheme-matches-its-pension-provider"},{"title":"List what pension providers sent back","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /provider-sync/returns","href":"/api-reference/pensions-v2/provider-submissions/list-what-pension-providers-sent-back"},{"title":"Changes a pension provider has reported about members","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /provider-sync/member-changes","href":"/api-reference/pensions-v2/provider-submissions/changes-a-pension-provider-has-reported-about-members"},{"title":"How many provider changes are waiting","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /provider-sync/member-changes/summary","href":"/api-reference/pensions-v2/provider-submissions/how-many-provider-changes-are-waiting"},{"title":"Apply a provider's reported change to the member's pension","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json post /provider-sync/member-changes/{changeId}/apply","href":"/api-reference/pensions-v2/provider-submissions/apply-a-providers-reported-change-to-the-members-pension"},{"title":"Record that a provider's reported change was not applied","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json post /provider-sync/member-changes/{changeId}/dismiss","href":"/api-reference/pensions-v2/provider-submissions/record-that-a-providers-reported-change-was-not-applied"},{"title":"Mark a provider's reported change as seen","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json post /provider-sync/member-changes/{changeId}/acknowledge","href":"/api-reference/pensions-v2/provider-submissions/mark-a-providers-reported-change-as-seen"},{"title":"Remove a provider's reported change from the lists","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json post /provider-sync/member-changes/{changeId}/delete","href":"/api-reference/pensions-v2/provider-submissions/remove-a-providers-reported-change-from-the-lists"},{"title":"List provider submissions for a pay run","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /provider-sync/{payrollConfigId}/{year}/{frequency}/{period}","href":"/api-reference/pensions-v2/provider-submissions/list-provider-submissions-for-a-pay-run"},{"title":"Find the provider submission an operation belongs to","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /provider-sync/operations/{operationId}","href":"/api-reference/pensions-v2/provider-submissions/find-the-provider-submission-an-operation-belongs-to"},{"title":"List the pay run's schemes that can be sent to a provider","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /provider-sync/{payrollConfigId}/{year}/{frequency}/{period}/sendable","href":"/api-reference/pensions-v2/provider-submissions/list-the-pay-runs-schemes-that-can-be-sent-to-a-provider"},{"title":"Everything the provider refused about one submission","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json get /provider-sync/{payrollConfigId}/{year}/{frequency}/{period}/issues","href":"/api-reference/pensions-v2/provider-submissions/everything-the-provider-refused-about-one-submission"},{"title":"Send the pay run to the connected pension providers","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json post /provider-sync/{payrollConfigId}/{year}/{frequency}/{period}/send","href":"/api-reference/pensions-v2/provider-submissions/send-the-pay-run-to-the-connected-pension-providers"},{"title":"Approve the pay run's contribution schedule for payment","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json post /provider-sync/{payrollConfigId}/{year}/{frequency}/{period}/approve-payment","href":"/api-reference/pensions-v2/provider-submissions/approve-the-pay-runs-contribution-schedule-for-payment"},{"title":"Re-read named members' details so a refused submission can be corrected","deprecated":null,"version":null,"openapi":"/api-reference/specs/pension-v2.json post /provider-sync/{payrollConfigId}/{year}/{frequency}/{period}/refresh-members","href":"/api-reference/pensions-v2/provider-submissions/re-read-named-members-details-so-a-refused-submission-can-be-corrected"}]}]},{"group":"Recurring line items","pages":[{"title":"Recurring line items API overview","sidebarTitle":"Overview","href":"/api-reference/recurring-line-items/overview"},{"group":"Recurring Line Items","pages":[{"title":"List recurring line items for an organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/recurring-line-items.json get /","href":"/api-reference/recurring-line-items/recurring-line-items/list-recurring-line-items-for-an-organisation"},{"title":"Create a recurring line item","deprecated":null,"version":null,"openapi":"/api-reference/specs/recurring-line-items.json post /","href":"/api-reference/recurring-line-items/recurring-line-items/create-a-recurring-line-item"},{"title":"List recurring line items for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/recurring-line-items.json get /employees/{employeeId}","href":"/api-reference/recurring-line-items/recurring-line-items/list-recurring-line-items-for-an-employee"},{"title":"Get a recurring line item","deprecated":null,"version":null,"openapi":"/api-reference/specs/recurring-line-items.json get /{id}","href":"/api-reference/recurring-line-items/recurring-line-items/get-a-recurring-line-item"},{"title":"Delete a recurring line item","deprecated":null,"version":null,"openapi":"/api-reference/specs/recurring-line-items.json delete /{id}/employees/{employeeId}","href":"/api-reference/recurring-line-items/recurring-line-items/delete-a-recurring-line-item"},{"title":"Update a recurring line item","deprecated":null,"version":null,"openapi":"/api-reference/specs/recurring-line-items.json patch /{id}/employees/{employeeId}","href":"/api-reference/recurring-line-items/recurring-line-items/update-a-recurring-line-item"},{"title":"List tax years for a recurring line item","deprecated":null,"version":null,"openapi":"/api-reference/specs/recurring-line-items.json get /{id}/employees/{employeeId}/tax-years","href":"/api-reference/recurring-line-items/recurring-line-items/list-tax-years-for-a-recurring-line-item"},{"title":"List periods for a recurring line item","deprecated":null,"version":null,"openapi":"/api-reference/specs/recurring-line-items.json get /{id}/employees/{employeeId}/periods","href":"/api-reference/recurring-line-items/recurring-line-items/list-periods-for-a-recurring-line-item"},{"title":"Skip a single period of a recurring line item","deprecated":null,"version":null,"openapi":"/api-reference/specs/recurring-line-items.json delete /{id}/employees/{employeeId}/periods/{taxYear}/{sequence}","href":"/api-reference/recurring-line-items/recurring-line-items/skip-a-single-period-of-a-recurring-line-item"},{"title":"Update a single period of a recurring line item","deprecated":null,"version":null,"openapi":"/api-reference/specs/recurring-line-items.json patch /{id}/employees/{employeeId}/periods/{taxYear}/{sequence}","href":"/api-reference/recurring-line-items/recurring-line-items/update-a-single-period-of-a-recurring-line-item"}]}]},{"group":"Reports","tag":"Beta","pages":[{"title":"Reports API overview","sidebarTitle":"Overview","href":"/api-reference/reports/overview"},{"group":"Datasets","pages":[{"title":"List queryable datasets","deprecated":null,"version":null,"openapi":"/api-reference/specs/report.json get /datasets","href":"/api-reference/reports/datasets/list-queryable-datasets"},{"title":"Get a dataset's full field catalog","deprecated":null,"version":null,"openapi":"/api-reference/specs/report.json get /datasets/{name}","href":"/api-reference/reports/datasets/get-a-datasets-full-field-catalog"}]},{"group":"Exports","pages":[{"title":"Queue an asynchronous CSV or JSONL export (row cap 5,000,000)","deprecated":null,"version":null,"openapi":"/api-reference/specs/report.json post /exports","href":"/api-reference/reports/exports/queue-an-asynchronous-csv-or-jsonl-export-row-cap-5000000"},{"title":"Export status; a download link when COMPLETED (12-hour expiry, refetch to re-issue)","deprecated":null,"version":null,"openapi":"/api-reference/specs/report.json get /exports/{id}","href":"/api-reference/reports/exports/export-status;-a-download-link-when-completed-12-hour-expiry-refetch-to-re-issue"}]},{"group":"Report definitions","pages":[{"title":"List the organisation's saved report definitions","deprecated":null,"version":null,"openapi":"/api-reference/specs/report.json get /report-definitions","href":"/api-reference/reports/report-definitions/list-the-organisations-saved-report-definitions"},{"title":"Save a report definition","deprecated":null,"version":null,"openapi":"/api-reference/specs/report.json post /report-definitions","href":"/api-reference/reports/report-definitions/save-a-report-definition"},{"title":"Get a saved report definition","deprecated":null,"version":null,"openapi":"/api-reference/specs/report.json get /report-definitions/{id}","href":"/api-reference/reports/report-definitions/get-a-saved-report-definition"},{"title":"Replace a saved report definition","deprecated":null,"version":null,"openapi":"/api-reference/specs/report.json put /report-definitions/{id}","href":"/api-reference/reports/report-definitions/replace-a-saved-report-definition"},{"title":"Delete a saved report definition (refuses while schedules reference it)","deprecated":null,"version":null,"openapi":"/api-reference/specs/report.json delete /report-definitions/{id}","href":"/api-reference/reports/report-definitions/delete-a-saved-report-definition-refuses-while-schedules-reference-it"}]},{"group":"report-settings","pages":[{"title":"The reports the pay run's Reports step shows","deprecated":null,"version":null,"openapi":"/api-reference/specs/report.json get /report-settings/pay-run","href":"/api-reference/reports/report-settings/the-reports-the-pay-runs-reports-step-shows"},{"title":"Choose the reports the pay run's Reports step shows","deprecated":null,"version":null,"openapi":"/api-reference/specs/report.json put /report-settings/pay-run","href":"/api-reference/reports/report-settings/choose-the-reports-the-pay-runs-reports-step-shows"}]},{"group":"Run reports","pages":[{"title":"Run an inline report definition synchronously","deprecated":null,"version":null,"openapi":"/api-reference/specs/report.json post /reports/run","href":"/api-reference/reports/run-reports/run-an-inline-report-definition-synchronously"},{"title":"Run a saved report definition synchronously","deprecated":null,"version":null,"openapi":"/api-reference/specs/report.json post /report-definitions/{id}/run","href":"/api-reference/reports/run-reports/run-a-saved-report-definition-synchronously"},{"title":"Run a report over one pay run","deprecated":null,"version":null,"openapi":"/api-reference/specs/report.json post /payroll-runs/{payrollConfigId}/{year}/{period}/{frequency}/reports/{definitionId}/run","href":"/api-reference/reports/run-reports/run-a-report-over-one-pay-run"},{"title":"Try a report on one pay run","deprecated":null,"version":null,"openapi":"/api-reference/specs/report.json post /payroll-runs/{payrollConfigId}/{year}/{period}/{frequency}/reports/run","href":"/api-reference/reports/run-reports/try-a-report-on-one-pay-run"},{"title":"A page of a report over one pay run","deprecated":null,"version":null,"openapi":"/api-reference/specs/report.json get /payroll-runs/{payrollConfigId}/{year}/{period}/{frequency}/reports/{definitionId}/rows","href":"/api-reference/reports/run-reports/a-page-of-a-report-over-one-pay-run"}]},{"group":"Run history","pages":[{"title":"Run history / audit (most recent first)","deprecated":null,"version":null,"openapi":"/api-reference/specs/report.json get /runs","href":"/api-reference/reports/run-history/run-history-audit-most-recent-first"}]},{"group":"Schedules","pages":[{"title":"List a definition's schedules","deprecated":null,"version":null,"openapi":"/api-reference/specs/report.json get /report-definitions/{definitionId}/schedules","href":"/api-reference/reports/schedules/list-a-definitions-schedules"},{"title":"Schedule recurring exports of a saved definition","deprecated":null,"version":null,"openapi":"/api-reference/specs/report.json post /report-definitions/{definitionId}/schedules","href":"/api-reference/reports/schedules/schedule-recurring-exports-of-a-saved-definition"},{"title":"Delete a schedule","deprecated":null,"version":null,"openapi":"/api-reference/specs/report.json delete /schedules/{id}","href":"/api-reference/reports/schedules/delete-a-schedule"}]}]},{"group":"Salary","pages":[{"title":"Salary API overview","sidebarTitle":"Overview","href":"/api-reference/salary/overview"},{"group":"Salary employee configuration","pages":[{"title":"Get an employee's salary configuration","deprecated":null,"version":null,"openapi":"/api-reference/specs/salary.json get /employees/{employeeId}","href":"/api-reference/salary/salary-employee-configuration/get-an-employees-salary-configuration"},{"title":"Set an employee's calculation-method override","deprecated":null,"version":null,"openapi":"/api-reference/specs/salary.json put /employees/{employeeId}","href":"/api-reference/salary/salary-employee-configuration/set-an-employees-calculation-method-override"},{"title":"Remove an employee's calculation-method override","deprecated":null,"version":null,"openapi":"/api-reference/specs/salary.json delete /employees/{employeeId}","href":"/api-reference/salary/salary-employee-configuration/remove-an-employees-calculation-method-override"}]},{"group":"Salary lines","pages":[{"title":"Calculate the salary lines for a pay period","deprecated":null,"version":null,"openapi":"/api-reference/specs/salary.json post /employees/{employeeId}/calculate","href":"/api-reference/salary/salary-lines/calculate-the-salary-lines-for-a-pay-period"}]},{"group":"Salary organisation configuration","pages":[{"title":"Get the organisation's salary configuration","deprecated":null,"version":null,"openapi":"/api-reference/specs/salary.json get /organisation","href":"/api-reference/salary/salary-organisation-configuration/get-the-organisations-salary-configuration"},{"title":"Create or replace the organisation's salary configuration","deprecated":null,"version":null,"openapi":"/api-reference/specs/salary.json put /organisation","href":"/api-reference/salary/salary-organisation-configuration/create-or-replace-the-organisations-salary-configuration"},{"title":"Delete the organisation's salary configuration","deprecated":null,"version":null,"openapi":"/api-reference/specs/salary.json delete /organisation","href":"/api-reference/salary/salary-organisation-configuration/delete-the-organisations-salary-configuration"}]},{"group":"Statutory leave policies","pages":[{"title":"Get the organisation's statutory leave policies","deprecated":null,"version":null,"openapi":"/api-reference/specs/salary.json get /organisation/leave","href":"/api-reference/salary/statutory-leave-policies/get-the-organisations-statutory-leave-policies"},{"title":"Replace the organisation's statutory leave policies","deprecated":null,"version":null,"openapi":"/api-reference/specs/salary.json put /organisation/leave","href":"/api-reference/salary/statutory-leave-policies/replace-the-organisations-statutory-leave-policies"},{"title":"Remove the organisation's statutory leave policies","deprecated":null,"version":null,"openapi":"/api-reference/specs/salary.json delete /organisation/leave","href":"/api-reference/salary/statutory-leave-policies/remove-the-organisations-statutory-leave-policies"},{"title":"Get an employee's statutory leave policies","deprecated":null,"version":null,"openapi":"/api-reference/specs/salary.json get /employees/{employeeId}/leave","href":"/api-reference/salary/statutory-leave-policies/get-an-employees-statutory-leave-policies"},{"title":"Replace an employee's statutory leave override","deprecated":null,"version":null,"openapi":"/api-reference/specs/salary.json put /employees/{employeeId}/leave","href":"/api-reference/salary/statutory-leave-policies/replace-an-employees-statutory-leave-override"},{"title":"Remove an employee's statutory leave override","deprecated":null,"version":null,"openapi":"/api-reference/specs/salary.json delete /employees/{employeeId}/leave","href":"/api-reference/salary/statutory-leave-policies/remove-an-employees-statutory-leave-override"}]}]},{"group":"Statutory pay","pages":[{"title":"Statutory pay API overview","sidebarTitle":"Overview","href":"/api-reference/statutory-pay/overview"},{"group":"Statutory Calculations","pages":[{"title":"Preview statutory pay for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json post /calculations/employees/{employeeId}","href":"/api-reference/statutory-pay/statutory-calculations/preview-statutory-pay-for-an-employee"},{"title":"Preview statutory pay from the details you send","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json post /calculations/preview","href":"/api-reference/statutory-pay/statutory-calculations/preview-statutory-pay-from-the-details-you-send"},{"title":"Check whether a sickness absence links to an earlier one","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json post /calculations/employees/{employeeId}/linking","href":"/api-reference/statutory-pay/statutory-calculations/check-whether-a-sickness-absence-links-to-an-earlier-one"},{"title":"Get an employee's statutory pay history used in calculations","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json get /calculations/employees/{employeeId}/history","href":"/api-reference/statutory-pay/statutory-calculations/get-an-employees-statutory-pay-history-used-in-calculations"}]},{"group":"Statutory payments","pages":[{"title":"List an employee's statutory payments","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json get /payments/employees/{employeeId}","href":"/api-reference/statutory-pay/statutory-payments/list-an-employees-statutory-payments"},{"title":"Create a statutory payment for an employee","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json post /payments/employees/{employeeId}","href":"/api-reference/statutory-pay/statutory-payments/create-a-statutory-payment-for-an-employee"},{"title":"List the organisation's statutory payments","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json get /payments/organisations","href":"/api-reference/statutory-pay/statutory-payments/list-the-organisations-statutory-payments"},{"title":"Get a statutory payment","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json get /payments/employees/{employeeId}/{statutoryPayId}","href":"/api-reference/statutory-pay/statutory-payments/get-a-statutory-payment"},{"title":"Update a statutory payment","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json put /payments/employees/{employeeId}/{statutoryPayId}","href":"/api-reference/statutory-pay/statutory-payments/update-a-statutory-payment"},{"title":"Delete a statutory payment","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json delete /payments/employees/{employeeId}/{statutoryPayId}","href":"/api-reference/statutory-pay/statutory-payments/delete-a-statutory-payment"},{"title":"Get a statutory payment's change history","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json get /payments/employees/{employeeId}/{statutoryPayId}/history","href":"/api-reference/statutory-pay/statutory-payments/get-a-statutory-payments-change-history"}]},{"group":"Alabaster \u0026 earnings","pages":[{"title":"Calculate an employee's average weekly earnings","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json get /payments/calculations/employees/{employeeId}/average-earnings","href":"/api-reference/statutory-pay/alabaster-\u0026-earnings/calculate-an-employees-average-weekly-earnings"},{"title":"Find pay rises that should increase maternity pay","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json get /payments/employees/{employeeId}/{statutoryPayId}/alabaster-detection","href":"/api-reference/statutory-pay/alabaster-\u0026-earnings/find-pay-rises-that-should-increase-maternity-pay"},{"title":"Recalculate maternity pay after a pay rise","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json post /payments/employees/{employeeId}/{statutoryPayId}/alabaster-recalculate","href":"/api-reference/statutory-pay/alabaster-\u0026-earnings/recalculate-maternity-pay-after-a-pay-rise"},{"title":"Apply an Alabaster adjustment to unpaid lines (not available yet)","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json post /payments/employees/{employeeId}/{statutoryPayId}/alabaster-update-line-items","href":"/api-reference/statutory-pay/alabaster-\u0026-earnings/apply-an-alabaster-adjustment-to-unpaid-lines-not-available-yet"}]},{"group":"Line items \u0026 schedule","pages":[{"title":"List a statutory payment's payslip lines","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json get /payments/employees/{employeeId}/{statutoryPayId}/line-items","href":"/api-reference/statutory-pay/line-items-\u0026-schedule/list-a-statutory-payments-payslip-lines"},{"title":"Change the amount for one unpaid week","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json patch /payments/employees/{employeeId}/{statutoryPayId}/weeks/{weekNumber}","href":"/api-reference/statutory-pay/line-items-\u0026-schedule/change-the-amount-for-one-unpaid-week"},{"title":"Change the amount on one unpaid payslip line","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json patch /payments/employees/{employeeId}/{statutoryPayId}/line-items/{lineItemSequence}","href":"/api-reference/statutory-pay/line-items-\u0026-schedule/change-the-amount-on-one-unpaid-payslip-line"},{"title":"Download the payment schedule as CSV or PDF","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json get /payments/employees/{employeeId}/{statutoryPayId}/schedule/export","href":"/api-reference/statutory-pay/line-items-\u0026-schedule/download-the-payment-schedule-as-csv-or-pdf"}]},{"group":"External payments","pages":[{"title":"List payments made outside Flow Payroll","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json get /payments/employees/{employeeId}/{statutoryPayId}/external-payments","href":"/api-reference/statutory-pay/external-payments/list-payments-made-outside-flow-payroll"},{"title":"Record a payment made outside Flow Payroll","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json post /payments/employees/{employeeId}/{statutoryPayId}/external-payments","href":"/api-reference/statutory-pay/external-payments/record-a-payment-made-outside-flow-payroll"},{"title":"Remove a payment made outside Flow Payroll","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json delete /payments/employees/{employeeId}/{statutoryPayId}/external-payments/{lineItemSequence}","href":"/api-reference/statutory-pay/external-payments/remove-a-payment-made-outside-flow-payroll"}]},{"group":"Attachments","pages":[{"title":"List a statutory payment's supporting documents","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json get /payments/employees/{employeeId}/{statutoryPayId}/attachments","href":"/api-reference/statutory-pay/attachments/list-a-statutory-payments-supporting-documents"},{"title":"Add supporting documents to a statutory payment","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json post /payments/employees/{employeeId}/{statutoryPayId}/attachments","href":"/api-reference/statutory-pay/attachments/add-supporting-documents-to-a-statutory-payment"},{"title":"Delete a supporting document","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json delete /payments/employees/{employeeId}/{statutoryPayId}/attachments/{attachmentId}","href":"/api-reference/statutory-pay/attachments/delete-a-supporting-document"}]},{"group":"Import \u0026 reconcile","pages":[{"title":"Reconcile unpaid statutory payslip lines with pay runs","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json post /payments/reconcile","href":"/api-reference/statutory-pay/import-\u0026-reconcile/reconcile-unpaid-statutory-payslip-lines-with-pay-runs"},{"title":"Import a statutory payment from a previous provider","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json post /payments/import/{employeeId}","href":"/api-reference/statutory-pay/import-\u0026-reconcile/import-a-statutory-payment-from-a-previous-provider"}]},{"group":"Statutory Rates","pages":[{"title":"List the tax years that have statutory rates","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json get /statutory-rates/available-years","href":"/api-reference/statutory-pay/statutory-rates/list-the-tax-years-that-have-statutory-rates"},{"title":"Get the statutory rates for a tax year","deprecated":null,"version":null,"openapi":"/api-reference/specs/statutory-pay.json get /statutory-rates/{taxYear}","href":"/api-reference/statutory-pay/statutory-rates/get-the-statutory-rates-for-a-tax-year"}]}]},{"group":"Webhooks","pages":[{"title":"Webhooks overview","sidebarTitle":"Overview","href":"/api-reference/webhooks/overview"},{"title":"Webhooks quickstart","sidebarTitle":"Quickstart","href":"/api-reference/webhooks/quickstart"},{"title":"Manage endpoints","href":"/api-reference/webhooks/manage-endpoints"},{"title":"Verify signatures","href":"/api-reference/webhooks/verify-signatures"},{"title":"Standard Webhooks","href":"/api-reference/webhooks/standard-webhooks"},{"title":"Event types","href":"/api-reference/webhooks/event-types"},{"title":"Delivery and retries","href":"/api-reference/webhooks/delivery-and-retries"},{"title":"Best practices","href":"/api-reference/webhooks/best-practices"},{"title":"Replay and recovery","href":"/api-reference/webhooks/replay-and-recovery"},{"title":"Bureaux and many organisations","href":"/api-reference/webhooks/account-wide-endpoints"},{"title":"Testing webhooks","href":"/api-reference/webhooks/testing"},{"group":"API","pages":[{"group":"Alert contacts","pages":[{"title":"List default alert contacts","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json get /alert-contacts","href":"/api-reference/webhooks/alert-contacts/list-default-alert-contacts"},{"title":"Add default alert contacts","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json post /alert-contacts","href":"/api-reference/webhooks/alert-contacts/add-default-alert-contacts"},{"title":"Replace default alert contacts","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json put /alert-contacts","href":"/api-reference/webhooks/alert-contacts/replace-default-alert-contacts"},{"title":"Remove default alert contacts","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json delete /alert-contacts","href":"/api-reference/webhooks/alert-contacts/remove-default-alert-contacts"},{"title":"Remove one default alert contact","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json delete /alert-contacts/{email}","href":"/api-reference/webhooks/alert-contacts/remove-one-default-alert-contact"},{"title":"List an endpoint's alert contacts","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json get /endpoints/{endpointId}/alert-contacts","href":"/api-reference/webhooks/alert-contacts/list-an-endpoints-alert-contacts"},{"title":"Add alert contacts to an endpoint","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json post /endpoints/{endpointId}/alert-contacts","href":"/api-reference/webhooks/alert-contacts/add-alert-contacts-to-an-endpoint"},{"title":"Replace an endpoint's alert contacts","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json put /endpoints/{endpointId}/alert-contacts","href":"/api-reference/webhooks/alert-contacts/replace-an-endpoints-alert-contacts"},{"title":"Remove alert contacts from an endpoint","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json delete /endpoints/{endpointId}/alert-contacts","href":"/api-reference/webhooks/alert-contacts/remove-alert-contacts-from-an-endpoint"},{"title":"Remove one alert contact from an endpoint","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json delete /endpoints/{endpointId}/alert-contacts/{email}","href":"/api-reference/webhooks/alert-contacts/remove-one-alert-contact-from-an-endpoint"}]},{"group":"Delivery log","pages":[{"title":"List deliveries","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json get /deliveries","href":"/api-reference/webhooks/delivery-log/list-deliveries"},{"title":"Retrieve a delivery","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json get /deliveries/{deliveryId}","href":"/api-reference/webhooks/delivery-log/retrieve-a-delivery"},{"title":"List delivery attempts","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json get /deliveries/{deliveryId}/attempts","href":"/api-reference/webhooks/delivery-log/list-delivery-attempts"},{"title":"Resend a delivery","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json post /deliveries/{deliveryId}/replays","href":"/api-reference/webhooks/delivery-log/resend-a-delivery"}]},{"group":"Endpoint subscriptions","pages":[{"title":"List subscribed event types","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json get /endpoints/{endpointId}/event-types","href":"/api-reference/webhooks/endpoint-subscriptions/list-subscribed-event-types"},{"title":"Subscribe to event types","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json post /endpoints/{endpointId}/event-types","href":"/api-reference/webhooks/endpoint-subscriptions/subscribe-to-event-types"},{"title":"Replace subscribed event types","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json put /endpoints/{endpointId}/event-types","href":"/api-reference/webhooks/endpoint-subscriptions/replace-subscribed-event-types"},{"title":"Unsubscribe from event types","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json delete /endpoints/{endpointId}/event-types","href":"/api-reference/webhooks/endpoint-subscriptions/unsubscribe-from-event-types"},{"title":"Unsubscribe from one event type","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json delete /endpoints/{endpointId}/event-types/{eventType}","href":"/api-reference/webhooks/endpoint-subscriptions/unsubscribe-from-one-event-type"},{"title":"List filtered organisations","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json get /endpoints/{endpointId}/organisations","href":"/api-reference/webhooks/endpoint-subscriptions/list-filtered-organisations"},{"title":"Add organisations to the filter","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json post /endpoints/{endpointId}/organisations","href":"/api-reference/webhooks/endpoint-subscriptions/add-organisations-to-the-filter"},{"title":"Replace the organisation filter","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json put /endpoints/{endpointId}/organisations","href":"/api-reference/webhooks/endpoint-subscriptions/replace-the-organisation-filter"},{"title":"Remove organisations from the filter","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json delete /endpoints/{endpointId}/organisations","href":"/api-reference/webhooks/endpoint-subscriptions/remove-organisations-from-the-filter"},{"title":"Remove one organisation from the filter","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json delete /endpoints/{endpointId}/organisations/{organisationId}","href":"/api-reference/webhooks/endpoint-subscriptions/remove-one-organisation-from-the-filter"},{"title":"List excluded organisations","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json get /endpoints/{endpointId}/excluded-organisations","href":"/api-reference/webhooks/endpoint-subscriptions/list-excluded-organisations"},{"title":"Exclude organisations","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json post /endpoints/{endpointId}/excluded-organisations","href":"/api-reference/webhooks/endpoint-subscriptions/exclude-organisations"},{"title":"Replace the excluded organisations","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json put /endpoints/{endpointId}/excluded-organisations","href":"/api-reference/webhooks/endpoint-subscriptions/replace-the-excluded-organisations"},{"title":"Stop excluding organisations","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json delete /endpoints/{endpointId}/excluded-organisations","href":"/api-reference/webhooks/endpoint-subscriptions/stop-excluding-organisations"},{"title":"Stop excluding one organisation","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json delete /endpoints/{endpointId}/excluded-organisations/{organisationId}","href":"/api-reference/webhooks/endpoint-subscriptions/stop-excluding-one-organisation"}]},{"group":"Endpoints","pages":[{"title":"List endpoints","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json get /endpoints","href":"/api-reference/webhooks/endpoints/list-endpoints"},{"title":"Create an endpoint","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json post /endpoints","href":"/api-reference/webhooks/endpoints/create-an-endpoint"},{"title":"Retrieve an endpoint","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json get /endpoints/{endpointId}","href":"/api-reference/webhooks/endpoints/retrieve-an-endpoint"},{"title":"Update an endpoint","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json patch /endpoints/{endpointId}","href":"/api-reference/webhooks/endpoints/update-an-endpoint"},{"title":"Delete an endpoint","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json delete /endpoints/{endpointId}","href":"/api-reference/webhooks/endpoints/delete-an-endpoint"},{"title":"Send a test event","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json post /endpoints/{endpointId}/test-deliveries","href":"/api-reference/webhooks/endpoints/send-a-test-event"},{"title":"List signing secrets","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json get /endpoints/{endpointId}/secrets","href":"/api-reference/webhooks/endpoints/list-signing-secrets"},{"title":"Rotate the signing secret","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json post /endpoints/{endpointId}/secrets","href":"/api-reference/webhooks/endpoints/rotate-the-signing-secret"},{"title":"Retrieve a signing secret","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json get /endpoints/{endpointId}/secrets/{secretId}","href":"/api-reference/webhooks/endpoints/retrieve-a-signing-secret"},{"title":"Revoke a signing secret","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json delete /endpoints/{endpointId}/secrets/{secretId}","href":"/api-reference/webhooks/endpoints/revoke-a-signing-secret"}]},{"group":"Event types","pages":[{"title":"List event types","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json get /event-types","href":"/api-reference/webhooks/event-types/list-event-types"}]},{"group":"Events","pages":[{"title":"List events","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json get /events","href":"/api-reference/webhooks/events/list-events"},{"title":"Retrieve an event","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json get /events/{eventId}","href":"/api-reference/webhooks/events/retrieve-an-event"}]},{"group":"Replays","pages":[{"title":"List replays","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json get /replays","href":"/api-reference/webhooks/replays/list-replays"},{"title":"Replay deliveries","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json post /replays","href":"/api-reference/webhooks/replays/replay-deliveries"},{"title":"Retrieve a replay","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json get /replays/{replayId}","href":"/api-reference/webhooks/replays/retrieve-a-replay"},{"title":"Cancel a replay","deprecated":null,"version":null,"openapi":"/api-reference/specs/webhooks.json patch /replays/{replayId}","href":"/api-reference/webhooks/replays/cancel-a-replay"}]}]},{"group":"Events you receive","pages":[{"group":"Billing your clients","pages":[{"title":"invoice.issued","openapi":"api-reference/specs/webhooks.json webhook invoice.issued","href":"/api-reference/webhooks/events/invoice-issued"},{"title":"invoice.emailed","openapi":"api-reference/specs/webhooks.json webhook invoice.emailed","href":"/api-reference/webhooks/events/invoice-emailed"},{"title":"invoice.paid","openapi":"api-reference/specs/webhooks.json webhook invoice.paid","href":"/api-reference/webhooks/events/invoice-paid"},{"title":"invoice.reopened","openapi":"api-reference/specs/webhooks.json webhook invoice.reopened","href":"/api-reference/webhooks/events/invoice-reopened"},{"title":"invoice.voided","openapi":"api-reference/specs/webhooks.json webhook invoice.voided","href":"/api-reference/webhooks/events/invoice-voided"},{"title":"credit_note.authorised","openapi":"api-reference/specs/webhooks.json webhook credit_note.authorised","href":"/api-reference/webhooks/events/credit-note-authorised"},{"title":"credit_note.allocated","openapi":"api-reference/specs/webhooks.json webhook credit_note.allocated","href":"/api-reference/webhooks/events/credit-note-allocated"},{"title":"credit_note.allocation_removed","openapi":"api-reference/specs/webhooks.json webhook credit_note.allocation_removed","href":"/api-reference/webhooks/events/credit-note-allocation-removed"},{"title":"credit_note.voided","openapi":"api-reference/specs/webhooks.json webhook credit_note.voided","href":"/api-reference/webhooks/events/credit-note-voided"},{"title":"billing_client.created","openapi":"api-reference/specs/webhooks.json webhook billing_client.created","href":"/api-reference/webhooks/events/billing-client-created"},{"title":"billing_client.updated","openapi":"api-reference/specs/webhooks.json webhook billing_client.updated","href":"/api-reference/webhooks/events/billing-client-updated"},{"title":"billing_client.archived","openapi":"api-reference/specs/webhooks.json webhook billing_client.archived","href":"/api-reference/webhooks/events/billing-client-archived"},{"title":"billing_client.restored","openapi":"api-reference/specs/webhooks.json webhook billing_client.restored","href":"/api-reference/webhooks/events/billing-client-restored"},{"title":"billing_client.deleted","openapi":"api-reference/specs/webhooks.json webhook billing_client.deleted","href":"/api-reference/webhooks/events/billing-client-deleted"}]},{"group":"Connections","pages":[{"title":"integration_connection.connected","openapi":"api-reference/specs/webhooks.json webhook integration_connection.connected","href":"/api-reference/webhooks/events/integration-connection-connected"},{"title":"integration_connection.disconnected","openapi":"api-reference/specs/webhooks.json webhook integration_connection.disconnected","href":"/api-reference/webhooks/events/integration-connection-disconnected"},{"title":"integration_connection.reauthorisation_required","openapi":"api-reference/specs/webhooks.json webhook integration_connection.reauthorisation_required","href":"/api-reference/webhooks/events/integration-connection-reauthorisation-required"},{"title":"integration_connection.deleted","openapi":"api-reference/specs/webhooks.json webhook integration_connection.deleted","href":"/api-reference/webhooks/events/integration-connection-deleted"}]},{"group":"Court orders","pages":[{"title":"court_order.created","openapi":"api-reference/specs/webhooks.json webhook court_order.created","href":"/api-reference/webhooks/events/court-order-created"},{"title":"court_order.updated","openapi":"api-reference/specs/webhooks.json webhook court_order.updated","href":"/api-reference/webhooks/events/court-order-updated"},{"title":"court_order.deleted","openapi":"api-reference/specs/webhooks.json webhook court_order.deleted","href":"/api-reference/webhooks/events/court-order-deleted"},{"title":"court_order.status_changed","openapi":"api-reference/specs/webhooks.json webhook court_order.status_changed","href":"/api-reference/webhooks/events/court-order-status-changed"},{"title":"court_order.deduction_applied","openapi":"api-reference/specs/webhooks.json webhook court_order.deduction_applied","href":"/api-reference/webhooks/events/court-order-deduction-applied"},{"title":"court_order.deduction_skipped","openapi":"api-reference/specs/webhooks.json webhook court_order.deduction_skipped","href":"/api-reference/webhooks/events/court-order-deduction-skipped"}]},{"group":"Emails we send for you","pages":[{"title":"payslip.emailed","openapi":"api-reference/specs/webhooks.json webhook payslip.emailed","href":"/api-reference/webhooks/events/payslip-emailed"},{"title":"payslip.email_failed","openapi":"api-reference/specs/webhooks.json webhook payslip.email_failed","href":"/api-reference/webhooks/events/payslip-email-failed"},{"title":"payslip.delivered","openapi":"api-reference/specs/webhooks.json webhook payslip.delivered","href":"/api-reference/webhooks/events/payslip-delivered"},{"title":"payslip.bounced","openapi":"api-reference/specs/webhooks.json webhook payslip.bounced","href":"/api-reference/webhooks/events/payslip-bounced"},{"title":"payslip.complained","openapi":"api-reference/specs/webhooks.json webhook payslip.complained","href":"/api-reference/webhooks/events/payslip-complained"},{"title":"p45.emailed","openapi":"api-reference/specs/webhooks.json webhook p45.emailed","href":"/api-reference/webhooks/events/p45-emailed"},{"title":"p45.email_failed","openapi":"api-reference/specs/webhooks.json webhook p45.email_failed","href":"/api-reference/webhooks/events/p45-email-failed"},{"title":"p45.delivered","openapi":"api-reference/specs/webhooks.json webhook p45.delivered","href":"/api-reference/webhooks/events/p45-delivered"},{"title":"p45.bounced","openapi":"api-reference/specs/webhooks.json webhook p45.bounced","href":"/api-reference/webhooks/events/p45-bounced"},{"title":"p45.complained","openapi":"api-reference/specs/webhooks.json webhook p45.complained","href":"/api-reference/webhooks/events/p45-complained"},{"title":"p60.emailed","openapi":"api-reference/specs/webhooks.json webhook p60.emailed","href":"/api-reference/webhooks/events/p60-emailed"},{"title":"p60.email_failed","openapi":"api-reference/specs/webhooks.json webhook p60.email_failed","href":"/api-reference/webhooks/events/p60-email-failed"},{"title":"p60.delivered","openapi":"api-reference/specs/webhooks.json webhook p60.delivered","href":"/api-reference/webhooks/events/p60-delivered"},{"title":"p60.bounced","openapi":"api-reference/specs/webhooks.json webhook p60.bounced","href":"/api-reference/webhooks/events/p60-bounced"},{"title":"p60.complained","openapi":"api-reference/specs/webhooks.json webhook p60.complained","href":"/api-reference/webhooks/events/p60-complained"},{"title":"pension_enrolment_letter.delivered","openapi":"api-reference/specs/webhooks.json webhook pension_enrolment_letter.delivered","href":"/api-reference/webhooks/events/pension-enrolment-letter-delivered"},{"title":"pension_enrolment_letter.bounced","openapi":"api-reference/specs/webhooks.json webhook pension_enrolment_letter.bounced","href":"/api-reference/webhooks/events/pension-enrolment-letter-bounced"},{"title":"pension_enrolment_letter.complained","openapi":"api-reference/specs/webhooks.json webhook pension_enrolment_letter.complained","href":"/api-reference/webhooks/events/pension-enrolment-letter-complained"},{"title":"pension_re_enrolment_letter.delivered","openapi":"api-reference/specs/webhooks.json webhook pension_re_enrolment_letter.delivered","href":"/api-reference/webhooks/events/pension-re-enrolment-letter-delivered"},{"title":"pension_re_enrolment_letter.bounced","openapi":"api-reference/specs/webhooks.json webhook pension_re_enrolment_letter.bounced","href":"/api-reference/webhooks/events/pension-re-enrolment-letter-bounced"},{"title":"pension_re_enrolment_letter.complained","openapi":"api-reference/specs/webhooks.json webhook pension_re_enrolment_letter.complained","href":"/api-reference/webhooks/events/pension-re-enrolment-letter-complained"},{"title":"pension_postponement_notice.delivered","openapi":"api-reference/specs/webhooks.json webhook pension_postponement_notice.delivered","href":"/api-reference/webhooks/events/pension-postponement-notice-delivered"},{"title":"pension_postponement_notice.bounced","openapi":"api-reference/specs/webhooks.json webhook pension_postponement_notice.bounced","href":"/api-reference/webhooks/events/pension-postponement-notice-bounced"},{"title":"pension_postponement_notice.complained","openapi":"api-reference/specs/webhooks.json webhook pension_postponement_notice.complained","href":"/api-reference/webhooks/events/pension-postponement-notice-complained"},{"title":"pension_opt_in_information.delivered","openapi":"api-reference/specs/webhooks.json webhook pension_opt_in_information.delivered","href":"/api-reference/webhooks/events/pension-opt-in-information-delivered"},{"title":"pension_opt_in_information.bounced","openapi":"api-reference/specs/webhooks.json webhook pension_opt_in_information.bounced","href":"/api-reference/webhooks/events/pension-opt-in-information-bounced"},{"title":"pension_opt_in_information.complained","openapi":"api-reference/specs/webhooks.json webhook pension_opt_in_information.complained","href":"/api-reference/webhooks/events/pension-opt-in-information-complained"},{"title":"pension_opt_in_confirmation.delivered","openapi":"api-reference/specs/webhooks.json webhook pension_opt_in_confirmation.delivered","href":"/api-reference/webhooks/events/pension-opt-in-confirmation-delivered"},{"title":"pension_opt_in_confirmation.bounced","openapi":"api-reference/specs/webhooks.json webhook pension_opt_in_confirmation.bounced","href":"/api-reference/webhooks/events/pension-opt-in-confirmation-bounced"},{"title":"pension_opt_in_confirmation.complained","openapi":"api-reference/specs/webhooks.json webhook pension_opt_in_confirmation.complained","href":"/api-reference/webhooks/events/pension-opt-in-confirmation-complained"},{"title":"pension_join_confirmation.delivered","openapi":"api-reference/specs/webhooks.json webhook pension_join_confirmation.delivered","href":"/api-reference/webhooks/events/pension-join-confirmation-delivered"},{"title":"pension_join_confirmation.bounced","openapi":"api-reference/specs/webhooks.json webhook pension_join_confirmation.bounced","href":"/api-reference/webhooks/events/pension-join-confirmation-bounced"},{"title":"pension_join_confirmation.complained","openapi":"api-reference/specs/webhooks.json webhook pension_join_confirmation.complained","href":"/api-reference/webhooks/events/pension-join-confirmation-complained"},{"title":"report.emailed","openapi":"api-reference/specs/webhooks.json webhook report.emailed","href":"/api-reference/webhooks/events/report-emailed"},{"title":"report.email_failed","openapi":"api-reference/specs/webhooks.json webhook report.email_failed","href":"/api-reference/webhooks/events/report-email-failed"},{"title":"report.delivered","openapi":"api-reference/specs/webhooks.json webhook report.delivered","href":"/api-reference/webhooks/events/report-delivered"},{"title":"report.bounced","openapi":"api-reference/specs/webhooks.json webhook report.bounced","href":"/api-reference/webhooks/events/report-bounced"},{"title":"report.complained","openapi":"api-reference/specs/webhooks.json webhook report.complained","href":"/api-reference/webhooks/events/report-complained"}]},{"group":"Employees","pages":[{"title":"employee.created","openapi":"api-reference/specs/webhooks.json webhook employee.created","href":"/api-reference/webhooks/events/employee-created"},{"title":"employee.updated","openapi":"api-reference/specs/webhooks.json webhook employee.updated","href":"/api-reference/webhooks/events/employee-updated"},{"title":"employee.deleted","openapi":"api-reference/specs/webhooks.json webhook employee.deleted","href":"/api-reference/webhooks/events/employee-deleted"},{"title":"employee.tax_code_changed","openapi":"api-reference/specs/webhooks.json webhook employee.tax_code_changed","href":"/api-reference/webhooks/events/employee-tax-code-changed"},{"title":"employee.ni_category_changed","openapi":"api-reference/specs/webhooks.json webhook employee.ni_category_changed","href":"/api-reference/webhooks/events/employee-ni-category-changed"},{"title":"employee.salary_changed","openapi":"api-reference/specs/webhooks.json webhook employee.salary_changed","href":"/api-reference/webhooks/events/employee-salary-changed"},{"title":"employee.student_loan_changed","openapi":"api-reference/specs/webhooks.json webhook employee.student_loan_changed","href":"/api-reference/webhooks/events/employee-student-loan-changed"},{"title":"employee.working_pattern_changed","openapi":"api-reference/specs/webhooks.json webhook employee.working_pattern_changed","href":"/api-reference/webhooks/events/employee-working-pattern-changed"},{"title":"employee.payroll_config_changed","openapi":"api-reference/specs/webhooks.json webhook employee.payroll_config_changed","href":"/api-reference/webhooks/events/employee-payroll-config-changed"}]},{"group":"HMRC notices","pages":[{"title":"hmrc_notice.received","openapi":"api-reference/specs/webhooks.json webhook hmrc_notice.received","href":"/api-reference/webhooks/events/hmrc-notice-received"},{"title":"hmrc_notice.employee_matched","openapi":"api-reference/specs/webhooks.json webhook hmrc_notice.employee_matched","href":"/api-reference/webhooks/events/hmrc-notice-employee-matched"},{"title":"hmrc_notice.applied","openapi":"api-reference/specs/webhooks.json webhook hmrc_notice.applied","href":"/api-reference/webhooks/events/hmrc-notice-applied"},{"title":"hmrc_notice.dismissed","openapi":"api-reference/specs/webhooks.json webhook hmrc_notice.dismissed","href":"/api-reference/webhooks/events/hmrc-notice-dismissed"},{"title":"hmrc_notice.reopened","openapi":"api-reference/specs/webhooks.json webhook hmrc_notice.reopened","href":"/api-reference/webhooks/events/hmrc-notice-reopened"},{"title":"hmrc_notice_job.completed","openapi":"api-reference/specs/webhooks.json webhook hmrc_notice_job.completed","href":"/api-reference/webhooks/events/hmrc-notice-job-completed"},{"title":"hmrc_notice_job.failed","openapi":"api-reference/specs/webhooks.json webhook hmrc_notice_job.failed","href":"/api-reference/webhooks/events/hmrc-notice-job-failed"},{"title":"hmrc_notice_job.cancelled","openapi":"api-reference/specs/webhooks.json webhook hmrc_notice_job.cancelled","href":"/api-reference/webhooks/events/hmrc-notice-job-cancelled"}]},{"group":"HMRC RTI","pages":[{"title":"rti.fps_accepted","openapi":"api-reference/specs/webhooks.json webhook rti.fps_accepted","href":"/api-reference/webhooks/events/rti-fps-accepted"},{"title":"rti.fps_rejected","openapi":"api-reference/specs/webhooks.json webhook rti.fps_rejected","href":"/api-reference/webhooks/events/rti-fps-rejected"},{"title":"rti.eps_accepted","openapi":"api-reference/specs/webhooks.json webhook rti.eps_accepted","href":"/api-reference/webhooks/events/rti-eps-accepted"},{"title":"rti.eps_rejected","openapi":"api-reference/specs/webhooks.json webhook rti.eps_rejected","href":"/api-reference/webhooks/events/rti-eps-rejected"}]},{"group":"Holiday and leave","pages":[{"title":"holiday_leave.recorded","openapi":"api-reference/specs/webhooks.json webhook holiday_leave.recorded","href":"/api-reference/webhooks/events/holiday-leave-recorded"},{"title":"holiday_leave.updated","openapi":"api-reference/specs/webhooks.json webhook holiday_leave.updated","href":"/api-reference/webhooks/events/holiday-leave-updated"},{"title":"holiday_leave.deleted","openapi":"api-reference/specs/webhooks.json webhook holiday_leave.deleted","href":"/api-reference/webhooks/events/holiday-leave-deleted"},{"title":"holiday_accrual.recorded","openapi":"api-reference/specs/webhooks.json webhook holiday_accrual.recorded","href":"/api-reference/webhooks/events/holiday-accrual-recorded"},{"title":"holiday_rolled_up_pay.recorded","openapi":"api-reference/specs/webhooks.json webhook holiday_rolled_up_pay.recorded","href":"/api-reference/webhooks/events/holiday-rolled-up-pay-recorded"},{"title":"holiday_opening_balance.recorded","openapi":"api-reference/specs/webhooks.json webhook holiday_opening_balance.recorded","href":"/api-reference/webhooks/events/holiday-opening-balance-recorded"},{"title":"holiday_opening_balance.updated","openapi":"api-reference/specs/webhooks.json webhook holiday_opening_balance.updated","href":"/api-reference/webhooks/events/holiday-opening-balance-updated"},{"title":"holiday_opening_balance.deleted","openapi":"api-reference/specs/webhooks.json webhook holiday_opening_balance.deleted","href":"/api-reference/webhooks/events/holiday-opening-balance-deleted"},{"title":"holiday_employee_config.created","openapi":"api-reference/specs/webhooks.json webhook holiday_employee_config.created","href":"/api-reference/webhooks/events/holiday-employee-config-created"},{"title":"holiday_employee_config.updated","openapi":"api-reference/specs/webhooks.json webhook holiday_employee_config.updated","href":"/api-reference/webhooks/events/holiday-employee-config-updated"},{"title":"holiday_employee_config.deleted","openapi":"api-reference/specs/webhooks.json webhook holiday_employee_config.deleted","href":"/api-reference/webhooks/events/holiday-employee-config-deleted"},{"title":"holiday_organisation_config.created","openapi":"api-reference/specs/webhooks.json webhook holiday_organisation_config.created","href":"/api-reference/webhooks/events/holiday-organisation-config-created"},{"title":"holiday_organisation_config.updated","openapi":"api-reference/specs/webhooks.json webhook holiday_organisation_config.updated","href":"/api-reference/webhooks/events/holiday-organisation-config-updated"},{"title":"holiday_organisation_config.deleted","openapi":"api-reference/specs/webhooks.json webhook holiday_organisation_config.deleted","href":"/api-reference/webhooks/events/holiday-organisation-config-deleted"}]},{"group":"Journals","pages":[{"title":"journal.finalised","openapi":"api-reference/specs/webhooks.json webhook journal.finalised","href":"/api-reference/webhooks/events/journal-finalised"},{"title":"journal.reissued","openapi":"api-reference/specs/webhooks.json webhook journal.reissued","href":"/api-reference/webhooks/events/journal-reissued"},{"title":"journal.reissue_failed","openapi":"api-reference/specs/webhooks.json webhook journal.reissue_failed","href":"/api-reference/webhooks/events/journal-reissue-failed"},{"title":"journal.posted","openapi":"api-reference/specs/webhooks.json webhook journal.posted","href":"/api-reference/webhooks/events/journal-posted"},{"title":"journal.post_failed","openapi":"api-reference/specs/webhooks.json webhook journal.post_failed","href":"/api-reference/webhooks/events/journal-post-failed"},{"title":"journal.voided","openapi":"api-reference/specs/webhooks.json webhook journal.voided","href":"/api-reference/webhooks/events/journal-voided"},{"title":"journal.void_failed","openapi":"api-reference/specs/webhooks.json webhook journal.void_failed","href":"/api-reference/webhooks/events/journal-void-failed"}]},{"group":"Leavers","pages":[{"title":"employee.leaver.recorded","openapi":"api-reference/specs/webhooks.json webhook employee.leaver.recorded","href":"/api-reference/webhooks/events/employee-leaver-recorded"},{"title":"employee.leaver.reverted","openapi":"api-reference/specs/webhooks.json webhook employee.leaver.reverted","href":"/api-reference/webhooks/events/employee-leaver-reverted"}]},{"group":"P45s and P60s","pages":[{"title":"p45.issued","openapi":"api-reference/specs/webhooks.json webhook p45.issued","href":"/api-reference/webhooks/events/p45-issued"},{"title":"p45.replaced","openapi":"api-reference/specs/webhooks.json webhook p45.replaced","href":"/api-reference/webhooks/events/p45-replaced"},{"title":"p45.revoked","openapi":"api-reference/specs/webhooks.json webhook p45.revoked","href":"/api-reference/webhooks/events/p45-revoked"},{"title":"p60.issued","openapi":"api-reference/specs/webhooks.json webhook p60.issued","href":"/api-reference/webhooks/events/p60-issued"},{"title":"p60.replaced","openapi":"api-reference/specs/webhooks.json webhook p60.replaced","href":"/api-reference/webhooks/events/p60-replaced"},{"title":"p60.revoked","openapi":"api-reference/specs/webhooks.json webhook p60.revoked","href":"/api-reference/webhooks/events/p60-revoked"},{"title":"p_form_bulk_send.completed","openapi":"api-reference/specs/webhooks.json webhook p_form_bulk_send.completed","href":"/api-reference/webhooks/events/p-form-bulk-send-completed"},{"title":"p_form_bulk_send.failed","openapi":"api-reference/specs/webhooks.json webhook p_form_bulk_send.failed","href":"/api-reference/webhooks/events/p-form-bulk-send-failed"}]},{"group":"Pay run line items","pages":[{"title":"payroll_line_item.created","openapi":"api-reference/specs/webhooks.json webhook payroll_line_item.created","href":"/api-reference/webhooks/events/payroll-line-item-created"},{"title":"payroll_line_item.updated","openapi":"api-reference/specs/webhooks.json webhook payroll_line_item.updated","href":"/api-reference/webhooks/events/payroll-line-item-updated"},{"title":"payroll_line_item.deleted","openapi":"api-reference/specs/webhooks.json webhook payroll_line_item.deleted","href":"/api-reference/webhooks/events/payroll-line-item-deleted"}]},{"group":"Pay runs","pages":[{"title":"payroll_run.opened","openapi":"api-reference/specs/webhooks.json webhook payroll_run.opened","href":"/api-reference/webhooks/events/payroll-run-opened"},{"title":"payroll_run.locked","openapi":"api-reference/specs/webhooks.json webhook payroll_run.locked","href":"/api-reference/webhooks/events/payroll-run-locked"},{"title":"payroll_run.completed","openapi":"api-reference/specs/webhooks.json webhook payroll_run.completed","href":"/api-reference/webhooks/events/payroll-run-completed"},{"title":"payroll_run.reopened","openapi":"api-reference/specs/webhooks.json webhook payroll_run.reopened","href":"/api-reference/webhooks/events/payroll-run-reopened"},{"title":"tax_year.finalised","openapi":"api-reference/specs/webhooks.json webhook tax_year.finalised","href":"/api-reference/webhooks/events/tax-year-finalised"}]},{"group":"Payments","pages":[{"title":"payment_file.generated","openapi":"api-reference/specs/webhooks.json webhook payment_file.generated","href":"/api-reference/webhooks/events/payment-file-generated"},{"title":"payment_file.failed","openapi":"api-reference/specs/webhooks.json webhook payment_file.failed","href":"/api-reference/webhooks/events/payment-file-failed"},{"title":"payment_settings.created","openapi":"api-reference/specs/webhooks.json webhook payment_settings.created","href":"/api-reference/webhooks/events/payment-settings-created"},{"title":"payment_settings.updated","openapi":"api-reference/specs/webhooks.json webhook payment_settings.updated","href":"/api-reference/webhooks/events/payment-settings-updated"},{"title":"payment_settings.deleted","openapi":"api-reference/specs/webhooks.json webhook payment_settings.deleted","href":"/api-reference/webhooks/events/payment-settings-deleted"}]},{"group":"Payslips","pages":[{"title":"payslip.created","openapi":"api-reference/specs/webhooks.json webhook payslip.created","href":"/api-reference/webhooks/events/payslip-created"},{"title":"payslip.updated","openapi":"api-reference/specs/webhooks.json webhook payslip.updated","href":"/api-reference/webhooks/events/payslip-updated"},{"title":"payslip.finalised","openapi":"api-reference/specs/webhooks.json webhook payslip.finalised","href":"/api-reference/webhooks/events/payslip-finalised"},{"title":"payslip.reopened","openapi":"api-reference/specs/webhooks.json webhook payslip.reopened","href":"/api-reference/webhooks/events/payslip-reopened"},{"title":"payslip.deleted","openapi":"api-reference/specs/webhooks.json webhook payslip.deleted","href":"/api-reference/webhooks/events/payslip-deleted"}]},{"group":"Pensions","pages":[{"title":"pension.employee_assessed","openapi":"api-reference/specs/webhooks.json webhook pension.employee_assessed","href":"/api-reference/webhooks/events/pension-employee-assessed"},{"title":"pension.employee_enrolled","openapi":"api-reference/specs/webhooks.json webhook pension.employee_enrolled","href":"/api-reference/webhooks/events/pension-employee-enrolled"},{"title":"pension.employee_enrolment_reversed","openapi":"api-reference/specs/webhooks.json webhook pension.employee_enrolment_reversed","href":"/api-reference/webhooks/events/pension-employee-enrolment-reversed"},{"title":"pension.employee_group_changed","openapi":"api-reference/specs/webhooks.json webhook pension.employee_group_changed","href":"/api-reference/webhooks/events/pension-employee-group-changed"},{"title":"pension.employee_opted_out","openapi":"api-reference/specs/webhooks.json webhook pension.employee_opted_out","href":"/api-reference/webhooks/events/pension-employee-opted-out"},{"title":"pension.employee_ceased","openapi":"api-reference/specs/webhooks.json webhook pension.employee_ceased","href":"/api-reference/webhooks/events/pension-employee-ceased"},{"title":"pension.opt_out_refund_decided","openapi":"api-reference/specs/webhooks.json webhook pension.opt_out_refund_decided","href":"/api-reference/webhooks/events/pension-opt-out-refund-decided"},{"title":"pension.postponement_applied","openapi":"api-reference/specs/webhooks.json webhook pension.postponement_applied","href":"/api-reference/webhooks/events/pension-postponement-applied"},{"title":"pension.enrolment_letter_sent","openapi":"api-reference/specs/webhooks.json webhook pension.enrolment_letter_sent","href":"/api-reference/webhooks/events/pension-enrolment-letter-sent"},{"title":"pension.enrolment_letter_failed","openapi":"api-reference/specs/webhooks.json webhook pension.enrolment_letter_failed","href":"/api-reference/webhooks/events/pension-enrolment-letter-failed"},{"title":"pension.re_enrolment_letter_sent","openapi":"api-reference/specs/webhooks.json webhook pension.re_enrolment_letter_sent","href":"/api-reference/webhooks/events/pension-re-enrolment-letter-sent"},{"title":"pension.re_enrolment_letter_failed","openapi":"api-reference/specs/webhooks.json webhook pension.re_enrolment_letter_failed","href":"/api-reference/webhooks/events/pension-re-enrolment-letter-failed"},{"title":"pension.postponement_notice_sent","openapi":"api-reference/specs/webhooks.json webhook pension.postponement_notice_sent","href":"/api-reference/webhooks/events/pension-postponement-notice-sent"},{"title":"pension.postponement_notice_failed","openapi":"api-reference/specs/webhooks.json webhook pension.postponement_notice_failed","href":"/api-reference/webhooks/events/pension-postponement-notice-failed"},{"title":"pension.opt_in_information_sent","openapi":"api-reference/specs/webhooks.json webhook pension.opt_in_information_sent","href":"/api-reference/webhooks/events/pension-opt-in-information-sent"},{"title":"pension.opt_in_information_failed","openapi":"api-reference/specs/webhooks.json webhook pension.opt_in_information_failed","href":"/api-reference/webhooks/events/pension-opt-in-information-failed"},{"title":"pension.opt_in_confirmation_sent","openapi":"api-reference/specs/webhooks.json webhook pension.opt_in_confirmation_sent","href":"/api-reference/webhooks/events/pension-opt-in-confirmation-sent"},{"title":"pension.opt_in_confirmation_failed","openapi":"api-reference/specs/webhooks.json webhook pension.opt_in_confirmation_failed","href":"/api-reference/webhooks/events/pension-opt-in-confirmation-failed"},{"title":"pension.join_confirmation_sent","openapi":"api-reference/specs/webhooks.json webhook pension.join_confirmation_sent","href":"/api-reference/webhooks/events/pension-join-confirmation-sent"},{"title":"pension.join_confirmation_failed","openapi":"api-reference/specs/webhooks.json webhook pension.join_confirmation_failed","href":"/api-reference/webhooks/events/pension-join-confirmation-failed"},{"title":"pension.employee_exemption_recorded","openapi":"api-reference/specs/webhooks.json webhook pension.employee_exemption_recorded","href":"/api-reference/webhooks/events/pension-employee-exemption-recorded"},{"title":"pension.employee_exemption_removed","openapi":"api-reference/specs/webhooks.json webhook pension.employee_exemption_removed","href":"/api-reference/webhooks/events/pension-employee-exemption-removed"},{"title":"pension.contributions_submitted","openapi":"api-reference/specs/webhooks.json webhook pension.contributions_submitted","href":"/api-reference/webhooks/events/pension-contributions-submitted"},{"title":"pension.contributions_accepted","openapi":"api-reference/specs/webhooks.json webhook pension.contributions_accepted","href":"/api-reference/webhooks/events/pension-contributions-accepted"},{"title":"pension.contribution_submission_failed","openapi":"api-reference/specs/webhooks.json webhook pension.contribution_submission_failed","href":"/api-reference/webhooks/events/pension-contribution-submission-failed"},{"title":"pension.member_enrolments_submitted","openapi":"api-reference/specs/webhooks.json webhook pension.member_enrolments_submitted","href":"/api-reference/webhooks/events/pension-member-enrolments-submitted"},{"title":"pension.member_enrolments_accepted","openapi":"api-reference/specs/webhooks.json webhook pension.member_enrolments_accepted","href":"/api-reference/webhooks/events/pension-member-enrolments-accepted"},{"title":"pension.member_enrolment_submission_failed","openapi":"api-reference/specs/webhooks.json webhook pension.member_enrolment_submission_failed","href":"/api-reference/webhooks/events/pension-member-enrolment-submission-failed"},{"title":"pension.contribution_payment_approved","openapi":"api-reference/specs/webhooks.json webhook pension.contribution_payment_approved","href":"/api-reference/webhooks/events/pension-contribution-payment-approved"},{"title":"pension.contribution_payment_confirmed","openapi":"api-reference/specs/webhooks.json webhook pension.contribution_payment_confirmed","href":"/api-reference/webhooks/events/pension-contribution-payment-confirmed"},{"title":"pension.contribution_payment_approval_failed","openapi":"api-reference/specs/webhooks.json webhook pension.contribution_payment_approval_failed","href":"/api-reference/webhooks/events/pension-contribution-payment-approval-failed"}]},{"group":"Recurring deductions and payments","pages":[{"title":"recurring_line_item.created","openapi":"api-reference/specs/webhooks.json webhook recurring_line_item.created","href":"/api-reference/webhooks/events/recurring-line-item-created"},{"title":"recurring_line_item.updated","openapi":"api-reference/specs/webhooks.json webhook recurring_line_item.updated","href":"/api-reference/webhooks/events/recurring-line-item-updated"},{"title":"recurring_line_item.suspended","openapi":"api-reference/specs/webhooks.json webhook recurring_line_item.suspended","href":"/api-reference/webhooks/events/recurring-line-item-suspended"},{"title":"recurring_line_item.resumed","openapi":"api-reference/specs/webhooks.json webhook recurring_line_item.resumed","href":"/api-reference/webhooks/events/recurring-line-item-resumed"},{"title":"recurring_line_item.cancelled","openapi":"api-reference/specs/webhooks.json webhook recurring_line_item.cancelled","href":"/api-reference/webhooks/events/recurring-line-item-cancelled"},{"title":"recurring_line_item.completed","openapi":"api-reference/specs/webhooks.json webhook recurring_line_item.completed","href":"/api-reference/webhooks/events/recurring-line-item-completed"},{"title":"recurring_line_item.deleted","openapi":"api-reference/specs/webhooks.json webhook recurring_line_item.deleted","href":"/api-reference/webhooks/events/recurring-line-item-deleted"},{"title":"recurring_line_item.period_paid","openapi":"api-reference/specs/webhooks.json webhook recurring_line_item.period_paid","href":"/api-reference/webhooks/events/recurring-line-item-period-paid"},{"title":"recurring_line_item.period_part_paid","openapi":"api-reference/specs/webhooks.json webhook recurring_line_item.period_part_paid","href":"/api-reference/webhooks/events/recurring-line-item-period-part-paid"},{"title":"recurring_line_item.period_skipped","openapi":"api-reference/specs/webhooks.json webhook recurring_line_item.period_skipped","href":"/api-reference/webhooks/events/recurring-line-item-period-skipped"},{"title":"recurring_line_item.period_amount_changed","openapi":"api-reference/specs/webhooks.json webhook recurring_line_item.period_amount_changed","href":"/api-reference/webhooks/events/recurring-line-item-period-amount-changed"}]},{"group":"Reports","pages":[{"title":"report_export.completed","openapi":"api-reference/specs/webhooks.json webhook report_export.completed","href":"/api-reference/webhooks/events/report-export-completed"},{"title":"report_export.failed","openapi":"api-reference/specs/webhooks.json webhook report_export.failed","href":"/api-reference/webhooks/events/report-export-failed"}]},{"group":"Salary settings","pages":[{"title":"salary_organisation_config.created","openapi":"api-reference/specs/webhooks.json webhook salary_organisation_config.created","href":"/api-reference/webhooks/events/salary-organisation-config-created"},{"title":"salary_organisation_config.updated","openapi":"api-reference/specs/webhooks.json webhook salary_organisation_config.updated","href":"/api-reference/webhooks/events/salary-organisation-config-updated"},{"title":"salary_organisation_config.deleted","openapi":"api-reference/specs/webhooks.json webhook salary_organisation_config.deleted","href":"/api-reference/webhooks/events/salary-organisation-config-deleted"},{"title":"salary_employee_config.created","openapi":"api-reference/specs/webhooks.json webhook salary_employee_config.created","href":"/api-reference/webhooks/events/salary-employee-config-created"},{"title":"salary_employee_config.updated","openapi":"api-reference/specs/webhooks.json webhook salary_employee_config.updated","href":"/api-reference/webhooks/events/salary-employee-config-updated"},{"title":"salary_employee_config.deleted","openapi":"api-reference/specs/webhooks.json webhook salary_employee_config.deleted","href":"/api-reference/webhooks/events/salary-employee-config-deleted"},{"title":"salary_organisation_statutory_leave_policy.created","openapi":"api-reference/specs/webhooks.json webhook salary_organisation_statutory_leave_policy.created","href":"/api-reference/webhooks/events/salary-organisation-statutory-leave-policy-created"},{"title":"salary_organisation_statutory_leave_policy.updated","openapi":"api-reference/specs/webhooks.json webhook salary_organisation_statutory_leave_policy.updated","href":"/api-reference/webhooks/events/salary-organisation-statutory-leave-policy-updated"},{"title":"salary_organisation_statutory_leave_policy.deleted","openapi":"api-reference/specs/webhooks.json webhook salary_organisation_statutory_leave_policy.deleted","href":"/api-reference/webhooks/events/salary-organisation-statutory-leave-policy-deleted"},{"title":"salary_employee_statutory_leave_policy.created","openapi":"api-reference/specs/webhooks.json webhook salary_employee_statutory_leave_policy.created","href":"/api-reference/webhooks/events/salary-employee-statutory-leave-policy-created"},{"title":"salary_employee_statutory_leave_policy.updated","openapi":"api-reference/specs/webhooks.json webhook salary_employee_statutory_leave_policy.updated","href":"/api-reference/webhooks/events/salary-employee-statutory-leave-policy-updated"},{"title":"salary_employee_statutory_leave_policy.deleted","openapi":"api-reference/specs/webhooks.json webhook salary_employee_statutory_leave_policy.deleted","href":"/api-reference/webhooks/events/salary-employee-statutory-leave-policy-deleted"}]},{"group":"Statutory pay","pages":[{"title":"statutory_pay.created","openapi":"api-reference/specs/webhooks.json webhook statutory_pay.created","href":"/api-reference/webhooks/events/statutory-pay-created"},{"title":"statutory_pay.updated","openapi":"api-reference/specs/webhooks.json webhook statutory_pay.updated","href":"/api-reference/webhooks/events/statutory-pay-updated"},{"title":"statutory_pay.recalculated","openapi":"api-reference/specs/webhooks.json webhook statutory_pay.recalculated","href":"/api-reference/webhooks/events/statutory-pay-recalculated"},{"title":"statutory_pay.completed","openapi":"api-reference/specs/webhooks.json webhook statutory_pay.completed","href":"/api-reference/webhooks/events/statutory-pay-completed"},{"title":"statutory_pay.deleted","openapi":"api-reference/specs/webhooks.json webhook statutory_pay.deleted","href":"/api-reference/webhooks/events/statutory-pay-deleted"}]},{"group":"Webhook health","pages":[{"title":"webhook.endpoint.failing","openapi":"api-reference/specs/webhooks.json webhook webhook.endpoint.failing","href":"/api-reference/webhooks/events/webhook-endpoint-failing"},{"title":"webhook.endpoint.disabled","openapi":"api-reference/specs/webhooks.json webhook webhook.endpoint.disabled","href":"/api-reference/webhooks/events/webhook-endpoint-disabled"},{"title":"webhook.delivery.exhausted","openapi":"api-reference/specs/webhooks.json webhook webhook.delivery.exhausted","href":"/api-reference/webhooks/events/webhook-delivery-exhausted"}]}]}]}]},{"tab":"Releases","pages":[{"title":"Releases","href":"/releases/whats-new"}]}]},"basePath":"","title":"Create payment configuration for an organisation - Flow Payroll","deploymentId":"dpl_4dgnk6TA5fUgboKHTvWWyeqm3idh","buildId":"dpl_4dgnk6TA5fUgboKHTvWWyeqm3idh","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-5zXlUUV6.js","snippetPresets-D3m2eL-0.js","utils-u8TSWPiZ.js","style-to-object-BY3JEAdk.js","utils-D3TDKJCH.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Om0Y4Ijd.js","conditional-requirements-CFM0id0Q.js","cloneDeep-Cyl7LOol.js","_Uint8Array-BuOv0f5_.js","isObject-FP1Yky1u.js","Page-DdEXfHxg.js","api-description-markdown-DDasI_tu.js","DynamicMarkdown-DoPsKgYC.js","CodeSnippet-CuGpPhIN.js","use-playground-group-access-DYZiRN3l.js","SectionHeading-CKObOTcn.js","ApiExamples-BnqLE2Kf.js","usePlaygroundInputsStore-DhQKVH9n.js","shallow-BOCfJNQU.js","isEqual-BrbSa25D.js","CodeSnippets-DUGBlB-S.js","MethodPill-D_DqPuJw.js","getPastedJson-DWfa7n0M.js","Check2Icon-CEquKboc.js","axios-CsQoIw0U.js","Markdown-CIbHOmUi.js","AssistantPageLink-C0oSAXp0.js","dist-Bp7AI3M8.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}