openapi: 3.2.0 info: title: Atlar API (v2) Counterparties API description: Atlar API (v2) version: '0.1' contact: email: support@atlar.com license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.txt servers: - url: https://api.atlar.com tags: - name: Counterparties description: Counterparties are entities that the account holder has a relationship with. x-displayName: Counterparties paths: /payments/v2/counterparties: post: summary: Create counterparty description: Create a new counterparty. tags: - Counterparties requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateCounterpartyRequest' responses: '201': description: The created counterparty. content: application/json: schema: $ref: '#/components/schemas/Counterparty' '400': $ref: '#/components/responses/BadRequest' security: - basicAuth: - counterparties:create operationId: postPaymentsV2Counterparties x-operation-id-source: derived get: summary: List counterparties description: Returns a list of counterparties. For further details on Pagination, see general section above. tags: - Counterparties parameters: - description: Free text search query term for counterparty name, account identifiers and external metadata. Must be at least 3 characters. in: query name: query schema: type: string minLength: 3 maxLength: 255 - in: query name: entityIdsIn explode: true schema: type: array items: type: string - $ref: '#/components/parameters/QueryLimit' - $ref: '#/components/parameters/PaginationToken' responses: '200': description: List of counterparties. content: application/json: schema: allOf: - $ref: '#/components/schemas/ListResponse' - properties: items: items: $ref: '#/components/schemas/Counterparty' type: array type: object '400': $ref: '#/components/responses/BadRequest' security: - basicAuth: - counterparties:read operationId: getPaymentsV2Counterparties x-operation-id-source: derived /payments/v2/counterparties/{id}: get: summary: Get counterparty description: Retrieve a specific counterparty. tags: - Counterparties parameters: - $ref: '#/components/parameters/ResourceIDOrExternalID' responses: '200': description: A counterparty. content: application/json: schema: $ref: '#/components/schemas/Counterparty' '404': $ref: '#/components/responses/NotFound' security: - basicAuth: - counterparties:read operationId: getPaymentsV2CounterpartiesById x-operation-id-source: derived patch: summary: Update counterparty description: Update a counterparty. tags: - Counterparties parameters: - $ref: '#/components/parameters/ResourceIDOrExternalID' - $ref: '#/components/parameters/IfMatchETag' requestBody: content: application/json-patch+json: schema: $ref: '#/components/schemas/CounterpartyJSONPatchRequest' examples: UpdateLegalName: summary: Update legal name value: - op: replace path: /legalName value: Acme Inc UpdateNationalID: summary: Update national identifier value: - op: replace path: /nationalIdentifier value: market: SE type: CIVIC number: '2012121212' UpdateEmail: summary: Update email address value: - op: replace path: /email value: john.smith@example.com UpdatePhone: summary: Update phone number value: - op: replace path: /phone value: '+12505550199' UpdateAddress: summary: Update postal address value: - op: replace path: /address value: country: US city: New York postalCode: '10017' streetName: E 42nd St streetNumber: '89' UpdateExternalID: summary: Update external ID. value: - op: replace path: /externalId value: my-counterparty-id responses: '200': description: The updated counterparty. content: application/json: schema: $ref: '#/components/schemas/Counterparty' '400': $ref: '#/components/responses/BadRequest' '404': $ref: '#/components/responses/NotFound' security: - basicAuth: - counterparties:update operationId: patchPaymentsV2CounterpartiesById x-operation-id-source: derived delete: summary: Delete counterparty description: Deletes the specified counterparty. tags: - Counterparties parameters: - $ref: '#/components/parameters/ResourceIDOrExternalID' responses: '204': $ref: '#/components/responses/NoContent' '404': $ref: '#/components/responses/NotFound' security: - basicAuth: - counterparties:delete - external_accounts:delete operationId: deletePaymentsV2CounterpartiesById x-operation-id-source: derived /payments/v2/counterparties/{id}/events: get: summary: List counterparty events description: Retrieve events for a specific counterparty. Returns a list of events. For further details on Pagination, see the section above. tags: - Counterparties parameters: - $ref: '#/components/parameters/ResourceID' - $ref: '#/components/parameters/QueryLimit' - $ref: '#/components/parameters/PaginationToken' responses: '200': description: List of counterparty events. content: application/json: schema: allOf: - $ref: '#/components/schemas/ListResponse' - properties: items: items: $ref: '#/components/schemas/Event' type: array type: object '400': $ref: '#/components/responses/NotFound' security: - basicAuth: - counterparties:read operationId: getPaymentsV2CounterpartiesByIdEvents x-operation-id-source: derived components: responses: BadRequest: description: Bad request. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' example: status: 400 message: There is some problem with the data you submitted. NoContent: description: No content. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' example: status: 204 NotFound: description: Resource not found. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' example: status: 404 message: Resource not found. schemas: RoutingIdentifierType: type: string enum: - BIC - AT_BLZ - AU_BSB - BD_BRN - BR_BRANCH - BR_COMPE - BR_ISP - CA_CPA - CH_BCC - CH_SIC - CL_SBIF - CN_APS - CZ_NBC - DE_BLZ - ES_NCC - GB_DSC - GR_BIC - HK_NCC - IE_NCC - IL_NCC - IN_FSC - IT_NCC - JP_ZGN - KR_BOK - KR_KFTC - MX_ABM - MY_NCC - NZ_NCC - PH_BRSTN - PL_KNR - PT_NCC - RU_CBC - SE_SBA - SG_IBG - TH_CBC - TW_NCC - US_ABA - US_PID - VN_CITAD - ZA_NCC description: A routing identifier of type `BIC` must be provided to support cross-border/SWIFT payments. example: BIC CreateCounterpartyRequest: type: object properties: legalName: description: Legal name of the counterparty. E.g. a company's legal business name, or an individual's full legal name. type: string maxLength: 96 example: Example Company GmbH alias: description: An additional name, an alias, for the counterparty. type: string maxLength: 255 example: 'Customer #123' partyType: $ref: '#/components/schemas/PartyType' address: description: Address details for the counterparty. $ref: '#/components/schemas/Address' email: description: Email of the counterparty. example: john.smith@example.com type: string maxLength: 256 phone: description: Phone number of the counterparty. example: '+46123456789' type: string maxLength: 64 accounts: type: array description: An optional list of external accounts to create for this counterparty. Note that external account is a separate API resource. One counterparty can have multiple external accounts. items: $ref: '#/components/schemas/CreateEmbeddedExternalAccountRequest' x-omitempty: true externalId: $ref: '#/components/schemas/ExternalID' metadata: $ref: '#/components/schemas/Metadata' nationalIdentifier: description: The national identifier of the counterparty. $ref: '#/components/schemas/NationalIdentifier' entityIds: type: array description: An optional list of entity IDs that this counterparty belongs to. If empty, the counterparty is not associated with any specific entity and can be used by all in the organization. items: $ref: '#/components/schemas/ResourceID' maxItems: 100 uniqueItems: true x-omitempty: true required: - legalName Counterparty: type: object description: A counterparty represents a person or a legal business entity. properties: id: $ref: '#/components/schemas/ResourceID' example: f3efbb73-4e5b-4b22-adeb-918bbf1dfbd8 organizationId: $ref: '#/components/schemas/OrganizationID' legalName: description: Legal name of the counterparty. E.g. a company's legal business name, or an individual's full legal name. type: string readOnly: true examples: - Example Company GmbH - John Smith partyType: $ref: '#/components/schemas/PartyType' readOnly: true alias: description: An additional name, an alias, for the counterparty. example: 'Customer #123' type: string readOnly: true address: description: Address details for the counterparty. $ref: '#/components/schemas/Address' readOnly: true accounts: type: array items: $ref: '#/components/schemas/ExternalAccount' maxItems: 10 readOnly: true x-omitempty: true email: description: Email of the counterparty. example: john.smith@example.com type: string readOnly: true phone: description: Phone number of the counterparty. example: '+46123456789' type: string readOnly: true nationalIdentifier: description: The national identifier of the counterparty. $ref: '#/components/schemas/NationalIdentifier' externalId: $ref: '#/components/schemas/ExternalID' readOnly: true metadata: $ref: '#/components/schemas/Metadata' readOnly: true created: $ref: '#/components/schemas/CreatedTimestamp' updated: $ref: '#/components/schemas/UpdatedTimestamp' version: $ref: '#/components/schemas/ResourceVersion' etag: $ref: '#/components/schemas/ETag' entityIds: type: array description: An optional list of entity IDs that this counterparty belongs to. If empty, the counterparty is not associated with any specific entity and can be used by all in the organization. items: $ref: '#/components/schemas/ResourceID' maxItems: 100 uniqueItems: true readOnly: true x-omitempty: true required: - id - organizationId - legalName - created - updated - version - etag CounterpartyJSONPatchReplaceAddress: description: Set postal address. type: object properties: op: type: string enum: - replace path: type: string enum: - /address value: $ref: '#/components/schemas/Address' additionalProperties: false required: - op - path - value CounterpartyJSONPatchReplaceEmail: description: Set email address. type: object properties: op: type: string enum: - replace path: type: string enum: - /email value: type: string maxLength: 256 additionalProperties: false required: - op - path - value Address: description: Postal address. type: object properties: country: $ref: '#/components/schemas/CountryCode' x-go-type-skip-optional-pointer: true countrySubdivision: $ref: '#/components/schemas/CountrySubdivision' x-go-type-skip-optional-pointer: true city: example: Stockholm type: string maxLength: 64 postalCode: example: '11111' type: string maxLength: 16 streetName: example: Example street type: string maxLength: 64 streetNumber: example: '47' type: string maxLength: 16 CounterpartyJSONPatchRemoveEmail: description: Remove email. type: object properties: op: type: string enum: - remove path: type: string enum: - /email additionalProperties: false required: - op - path PartyType: type: string description: The legal type of a party enum: - INDIVIDUAL - COMPANY example: INDIVIDUAL ExternalAccount: type: object description: An `ExternalAccount` represents an account that does not belong to your organization. A `Counterparty` can have multiple external accounts. properties: id: $ref: '#/components/schemas/ResourceID' examples: - eac2d761-c984-4072-ae39-018d6e77c24e organizationId: $ref: '#/components/schemas/OrganizationID' counterpartyId: example: c151b61e-33cc-4f89-ac8d-328f9efa59e9 type: string description: The ID of the counterparty to which this external account belongs. readOnly: true entityIds: type: array items: $ref: '#/components/schemas/ResourceID' maxItems: 100 uniqueItems: true readOnly: true x-omitempty: true market: $ref: '#/components/schemas/MarketCode' readOnly: true name: description: 'Name of the account. This is a read-only derived property. It will take the value of `alias` if `alias` is set, otherwise it will be a display name derived from the account number(s).' example: My Business Account type: string maxLength: 255 readOnly: true alias: description: An additional name, an alias, for the account. example: My Business Account type: string maxLength: 255 readOnly: true identifiers: type: array items: $ref: '#/components/schemas/AccountIdentifier' minItems: 1 uniqueItems: true readOnly: true routing: type: array items: $ref: '#/components/schemas/RoutingIdentifier' uniqueItems: true readOnly: true x-omitempty: true externalId: $ref: '#/components/schemas/ExternalID' readOnly: true metadata: $ref: '#/components/schemas/Metadata' readOnly: true created: $ref: '#/components/schemas/CreatedTimestamp' updated: $ref: '#/components/schemas/UpdatedTimestamp' version: $ref: '#/components/schemas/ResourceVersion' etag: $ref: '#/components/schemas/ETag' required: - id - organizationId - counterpartyId - market - name - identifiers - created - updated - version - etag CounterpartyJSONPatchRemoveAlias: description: Remove alias. type: object properties: op: type: string enum: - remove path: type: string enum: - /alias additionalProperties: false required: - op - path UpdatedTimestamp: type: string format: date-time description: Time at which the resource was last updated. example: '2022-05-04T18:47:32.213842599Z' readOnly: true CounterpartyJSONPatchRemoveEntityIds: description: Remove entities. type: object properties: op: type: string enum: - remove path: type: string enum: - /entityIds additionalProperties: false required: - op - path ETag: type: string description: '[ETag](https://en.wikipedia.org/wiki/HTTP_ETag) based on the resource version. This can be passed along in `If-Match` HTTP header when updating a resource to perform a conditional update.' pattern: ^version:\d{1,4}$ example: version:3 readOnly: true externalDocs: url: https://en.wikipedia.org/wiki/HTTP_ETag ListResponse: type: object properties: items: description: A list of resources. nextToken: description: 'Pagination token for next page. The value will be a non-empty string if there are more resources to be fetched. The value will be an empty string if there are no more resources to be fetched.' type: string example: eyIxIjogIlRoaXMgaXMgYSBkdW1teSBwYWdpbmF0aW9uIHRva2VuLiJ9 token: description: 'The pagination token that was used for this request. The value will be an empty string if no `token` query parameter was provided with the request.' type: string example: eyIwIjogIlRoaXMgaXMgYSBkdW1teSBwYWdpbmF0aW9uIHRva2VuLiJ9 limit: description: The page limit that was used for this request. example: 100 type: integer required: - items - nextToken - token - limit ResourceID: type: string description: Unique resource identifier. minLength: 32 maxLength: 64 examples: - 2ed9a3ee-60aa-4f9f-a858-2eed4eefbbc8 CounterpartyJSONPatchRemoveNationalIdentifier: description: Remove national identifier. type: object properties: op: type: string enum: - remove path: type: string enum: - /nationalIdentifier additionalProperties: false required: - op - path CounterpartyJSONPatchReplacePartyType: description: Set party type. type: object properties: op: type: string enum: - replace path: type: string enum: - /partyType value: type: string $ref: '#/components/schemas/PartyType' additionalProperties: false required: - op - path - value CounterpartyJSONPatchRequest: description: JSON Patch request to update a counterparty. externalDocs: url: https://jsonpatch.com/ type: array items: oneOf: - $ref: '#/components/schemas/CounterpartyJSONPatchReplaceLegalName' - $ref: '#/components/schemas/CounterpartyJSONPatchReplaceAlias' - $ref: '#/components/schemas/CounterpartyJSONPatchRemoveAlias' - $ref: '#/components/schemas/CounterpartyJSONPatchReplaceNationalIdentifier' - $ref: '#/components/schemas/CounterpartyJSONPatchRemoveNationalIdentifier' - $ref: '#/components/schemas/CounterpartyJSONPatchReplaceEmail' - $ref: '#/components/schemas/CounterpartyJSONPatchRemoveEmail' - $ref: '#/components/schemas/CounterpartyJSONPatchReplaceAddress' - $ref: '#/components/schemas/CounterpartyJSONPatchReplaceAddressCity' - $ref: '#/components/schemas/CounterpartyJSONPatchReplaceAddressCountry' - $ref: '#/components/schemas/CounterpartyJSONPatchReplacePhone' - $ref: '#/components/schemas/CounterpartyJSONPatchRemovePhone' - $ref: '#/components/schemas/CounterpartyJSONPatchReplacePartyType' - $ref: '#/components/schemas/CounterpartyJSONPatchRemovePartyType' - $ref: '#/components/schemas/CounterpartyJSONPatchReplaceEntityIds' - $ref: '#/components/schemas/CounterpartyJSONPatchRemoveEntityIds' - $ref: '#/components/schemas/CounterpartyJSONPatchReplaceExternalId' - $ref: '#/components/schemas/CounterpartyJSONPatchRemoveExternalId' MarketCode: type: string description: Two-letter ISO 3166-1 alpha2 country code. example: DE minLength: 2 maxLength: 2 pattern: ^[A-Z]{2,2}$ RoutingConstraints: description: Constraints on a `RoutingIdentifier`. type: object properties: accountNumberType: $ref: '#/components/schemas/AccountIdentifierType' x-go-type-skip-optional-pointer: true scheme: type: string AccountIdentifierType: type: string enum: - IBAN - NUMBER - ADYEN - AU_BPAY_BILLER_CODE - DK_FIK - INVESTMENT_NUMBER - NATIONAL_ID_NUMBER - PAYPAL - PROPRIETARY - SE_BANKGIRO - SE_PLUSGIRO - SOLDO - WALLET_ADYEN_BALANCE_PLATFORM - WALLET_AIRWALLEX - WALLET_AIRWALLEX_NUMBER - WALLET_CURRENCYCLOUD - WALLET_FLASH_PAYMENTS - WALLET_FREEMARKET - WALLET_HYPERWALLET - WALLET_INPAY - WALLET_LEAD - WALLET_MERCURY - WALLET_MONEYCORP - WALLET_PAYHAWK - WALLET_REVOLUT - WALLET_SKRILL - WALLET_STRIPE - WALLET_SWISSQUOTE - WALLET_UNIT description: 'Account Identifier type. Choose among: For further information please refer to Account Identifiers' example: IBAN RoutingIdentifier: type: object properties: type: $ref: '#/components/schemas/RoutingIdentifierType' number: type: string description: The form of the routing number depends on `type`. E.g. for `BIC` the value should be an 8 or 11 character BIC/SWIFT code. For `GB_DSC` (UK domestic routing) the value should be a six digit sort code. minLength: 1 maxLength: 255 invalid: type: boolean description: Will be `true` if the routing identifier is invalid according to Atlar validation rules. readOnly: true constraints: $ref: '#/components/schemas/RoutingConstraints' required: - type - number examples: - type: BIC number: BUKBGB22 - type: US_ABA number: '123456789' - type: DE_BLZ number: '12345678' - type: SE_SBA number: '9960' - type: BIC number: '123' invalid: true ErrorDetails: type: object description: Error detail. properties: code: description: An error code for this error. Not always present. example: invalid_value type: string error: description: A description of this specific error. example: Must be one of [direct_debits mandates payments] type: string field: description: The field which has an error. This only set if the error has to do with a specific field, such as for validation errors. Nested fields are concatenated with `.`, as well as indexed fields in lists. example: filter.0.resource type: string CountrySubdivision: type: string description: 'Country subdivision code (second part of the ISO 3166-2 code). E.g. state code `CA` for the state of California in the USA, `ON` for the province of Ontario in Canada, `NSW` for the state of New South Wales in Australia. ISO 3166-2 codes can be found on the ISO website, for example, for the USA: https://www.iso.org/obp/ui/#iso:code:3166:US. In the USA the state code is required for domestic payments, in Canada the province code is required for domestic payments.' example: US-CA maxLength: 6 pattern: ^[A-Z]{2,2}-[A-Z0-9]{1,3}$ CreatedTimestamp: type: string format: date-time description: Time at which the resource was created. example: '2022-05-04T18:31:12.889104898Z' readOnly: true CounterpartyJSONPatchReplaceExternalId: description: Set external ID. type: object properties: op: type: string enum: - replace path: type: string enum: - /externalId value: type: string additionalProperties: false required: - op - path - value CounterpartyJSONPatchReplaceEntityIds: description: Set entities. type: object properties: op: type: string enum: - replace path: type: string enum: - /entityIds value: type: array items: $ref: '#/components/schemas/ResourceID' maxItems: 100 uniqueItems: true additionalProperties: false required: - op - path - value CounterpartyJSONPatchReplaceNationalIdentifier: description: Set national identifier. type: object properties: op: type: string enum: - replace path: type: string enum: - /nationalIdentifier value: $ref: '#/components/schemas/NationalIdentifier' additionalProperties: false required: - op - path - value CountryCode: type: string description: Two-letter ISO 3166-1 alpha2 country code. example: DE minLength: 2 maxLength: 2 pattern: ^[A-Z]{2,2}$ ResourceVersion: type: integer description: 'Resource version. Starts at value `1` when the resource is created and increases by one for each successive update.' example: 1 minimum: 1 readOnly: true EventType: type: string description: Event type. enum: - CREATED - UPDATED - DELETED CounterpartyJSONPatchRemoveExternalId: description: Remove external ID. type: object properties: op: type: string enum: - remove path: type: string enum: - /externalId additionalProperties: false required: - op - path CounterpartyJSONPatchRemovePhone: description: Remove phone number. type: object properties: op: type: string enum: - remove path: type: string enum: - /phone additionalProperties: false required: - op - path ErrorResponse: type: object description: Error response. properties: status: description: The HTTP status code. example: 400 type: integer readOnly: true message: description: A top-level message describing the error(s). example: There is some problem with the data you submitted. type: string readOnly: true details: description: A list of details for each error that occurred. items: $ref: '#/components/schemas/ErrorDetails' type: array readOnly: true x-omitempty: true CounterpartyJSONPatchRemovePartyType: description: Remove party type. type: object properties: op: type: string enum: - remove path: type: string enum: - /partyType additionalProperties: false required: - op - path CounterpartyJSONPatchReplaceAddressCity: description: Set address city. type: object properties: op: type: string enum: - replace path: type: string enum: - /address/city value: type: string minLength: 1 maxLength: 64 additionalProperties: false required: - op - path - value CreateEmbeddedExternalAccountRequest: type: object properties: market: $ref: '#/components/schemas/MarketCode' identifiers: type: array items: $ref: '#/components/schemas/AccountIdentifier' minItems: 1 maxItems: 1 uniqueItems: true routing: type: array items: $ref: '#/components/schemas/RoutingIdentifier' maxItems: 5 uniqueItems: true x-omitempty: true alias: description: An additional name, an alias, for the account. type: string maxLength: 255 externalId: $ref: '#/components/schemas/ExternalID' metadata: $ref: '#/components/schemas/Metadata' required: - market - identifiers OrganizationID: type: string description: Unique resource identifier for an Organization. examples: - 0160f6ab-5741-49e1-af46-9138927e547e CounterpartyJSONPatchReplaceAddressCountry: description: Set address country. type: object properties: op: type: string enum: - replace path: type: string enum: - /address/country value: $ref: '#/components/schemas/CountryCode' additionalProperties: false required: - op - path - value Metadata: type: - object - 'null' additionalProperties: type: string description: 'Metadata is a `string-string` key-value container that can be used to store information known at the time of resource creation. This can be retrieved later on, for instance when a payment or expected transaction is reconciled with the booked transaction on the bank statement. Metadata can have at most 20 entries. Keys may have a maximum length of 64 chars and values a maximum length of 512 chars. By default, this field is optional. It is possible to make it required in the Atlar Dashboard by visiting the [Metadata keys page](https://app.atlar.com/metadata-keys). Requirement rules can be specified per API resource. Both the Dashboard and the API will then enforce these rules and give validation errors when the required fields are not set.' maxProperties: 20 example: my_metadata_key: 2a9a79b9-601c-449b-aa05-432f41dbbc4a x-omitempty: true AccountIdentifier: type: object properties: type: $ref: '#/components/schemas/AccountIdentifierType' market: $ref: '#/components/schemas/MarketCode' description: 'The market of the `AccountIdentifier` specifies in which market-context the identifier should be treated. A `NUMBER` from Sweden does not look and does not validate in the same way as a `NUMBER` from GB. The market code is, in most cases, the same as where the account itself is domiciled, but not necessarily. An examples of this discrepancy is Jersey which may have domiciled accounts with market `JE`, but the account identifier would be an `IBAN` with country code `GB`.' number: type: string description: The unformatted identifier itself. For type `NUMBER` the structure of the account number is country-specific. minLength: 1 maxLength: 255 invalid: type: boolean description: Will be `true` if the account identifier is invalid according to Atlar account identifier validation rules. readOnly: true required: - type - market - number examples: - type: IBAN market: DE number: DE75512108001245126199 - type: NUMBER market: GB number: '12345678' - type: NUMBER market: SE number: '6114517182351' - type: IBAN market: DE number: '123' invalid: true CounterpartyJSONPatchReplaceAlias: description: Set alias. type: object properties: op: type: string enum: - replace path: type: string enum: - /alias value: type: string minLength: 1 maxLength: 255 additionalProperties: false required: - op - path - value Event: type: object description: A resource event. properties: id: type: integer description: The ID of the event. example: 1 organizationId: $ref: '#/components/schemas/OrganizationID' entityId: description: The ID of the API resource that this event belongs to. $ref: '#/components/schemas/ResourceID' type: $ref: '#/components/schemas/EventType' name: type: string description: The event name. Different resources have different sets of event names. example: CREATED timestamp: description: When the event happened. type: string format: date-time example: '2022-08-20T12:20:40.866061374Z' details: description: Additional details describing this event. type: object additionalProperties: type: string examples: - approvalStepId: e741c062-19f6-46a0-be31-63dded5b0341 message: type: string description: A message which could either be a message from the bank or an explanation of the event. originator: description: The originator of the event which could be either a user ID, BANK or ATLAR. type: string example: ATLAR required: - id - organizationId - entityId - type - name - originator - timestamp NationalIdentifier: type: object properties: type: type: string description: Type of the national identifier. enum: - CIVIC - COMPANY example: CIVIC market: $ref: '#/components/schemas/MarketCode' number: type: string description: The identifier itself. example: '2012121212' required: - type - market - number ExternalID: type: string pattern: ^[a-zA-Z0-9._\-+=]{1,64}$ description: External ID is optional to use, but if used, the Atlar platform will persist it, index it, as well as require it to be unique across all resources. It is possible to retrieve a resource using the external ID using the prefix `external:`. example: walVNuin6X5Mvte4xhg1ibTAVSACfN4Q9hl x-omitempty: true CounterpartyJSONPatchReplaceLegalName: description: Set legal name. type: object properties: op: type: string enum: - replace path: type: string enum: - /legalName value: type: string minLength: 1 maxLength: 255 additionalProperties: false required: - op - path - value CounterpartyJSONPatchReplacePhone: description: Set phone number. type: object properties: op: type: string enum: - replace path: type: string enum: - /phone value: type: string maxLength: 64 additionalProperties: false required: - op - path - value parameters: PaginationToken: in: query name: token description: If a query response contains a non-empty `nextToken`, use that value as `token` query parameter to continue pagination. schema: type: string ResourceIDOrExternalID: in: path name: id description: Atlar resource ID or External ID. Prefix External IDs with `external:`. schema: type: string pattern: ^external:[a-zA-Z0-9._\-+=]{1,64}$|^[a-zA-Z0-9\-]{1,256}$ required: true ResourceID: in: path name: id description: Atlar resource ID. schema: type: string pattern: ^[a-zA-Z0-9\-]{1,256}$ required: true IfMatchETag: in: header name: If-Match description: ETag (version) of resource to be updated. schema: type: string pattern: ^version:\d{1,4}$ examples: versionNumberETag: value: version:1 QueryLimit: in: query name: limit description: Limit the number of items in resulting query response. schema: type: integer default: 100 minimum: 1 maximum: 500 securitySchemes: basicAuth: type: http scheme: basic x-tagGroups: - name: Atlar Accounting API tags: - Documents - GL Entities - GL Accounts - name: Atlar Analytics API tags: - Forecasted Transactions - name: Atlar Connectivity API tags: - Connections - name: Atlar Payments API tags: - Credit Transfers - Direct Debits - External Accounts - Counterparties - Mandates - Events (webhooks) - Regulatory Reporting - name: Atlar Financial Data API tags: - Accounts - Transactions - Pending Transactions - Entities - Investments - name: Atlar IAM API tags: - OAuth - Audit logs - name: Atlar Platform API tags: - Webhooks x-provenance: method: searched source: https://docs.atlar.com/reference harvested: '2026-10-14' tool: harvest-readme-openapi.py note: Assembled verbatim from the OpenAPI definition ReadMe embeds in each operation page of the provider's developer portal; paths and components merged by API title, nothing authored. assembled_from: - https://docs.atlar.com/reference/delete_accounting-v2beta-documents-id.md - https://docs.atlar.com/reference/delete_analytics-v2beta-forecasted-transactions-id.md - https://docs.atlar.com/reference/delete_financial-data-v2-entities-id-1.md - https://docs.atlar.com/reference/delete_payments-v2-counterparties-id-1.md - https://docs.atlar.com/reference/delete_payments-v2-external-accounts-id-1.md - https://docs.atlar.com/reference/delete_platform-v2beta-webhooks-id-keys-kid.md - https://docs.atlar.com/reference/delete_platform-v2beta-webhooks-id.md - https://docs.atlar.com/reference/get_accounting-v2beta-documents-batch.md - https://docs.atlar.com/reference/get_accounting-v2beta-documents-id.md - https://docs.atlar.com/reference/get_accounting-v2beta-documents.md - https://docs.atlar.com/reference/get_accounting-v2beta-gl-accounts-id.md - https://docs.atlar.com/reference/get_accounting-v2beta-gl-accounts.md - https://docs.atlar.com/reference/get_accounting-v2beta-gl-entities-id.md - https://docs.atlar.com/reference/get_accounting-v2beta-gl-entities.md - https://docs.atlar.com/reference/get_analytics-v2beta-forecasted-transactions-id-events.md - https://docs.atlar.com/reference/get_analytics-v2beta-forecasted-transactions-id.md - https://docs.atlar.com/reference/get_analytics-v2beta-forecasted-transactions.md - https://docs.atlar.com/reference/get_connectivity-v2beta-connections-1.md - https://docs.atlar.com/reference/get_connectivity-v2beta-connections-cid-reports-1.md - https://docs.atlar.com/reference/get_connectivity-v2beta-connections-cid-reports-id-bank-statements-1.md - https://docs.atlar.com/reference/get_connectivity-v2beta-connections-cid-reports-id-content-1.md - https://docs.atlar.com/reference/get_connectivity-v2beta-connections-cid-reports-rid-bank-statements-id-content-1.md - https://docs.atlar.com/reference/get_financial-data-v2-accounts-1.md - https://docs.atlar.com/reference/get_financial-data-v2-accounts-id-1.md - https://docs.atlar.com/reference/get_financial-data-v2-accounts-id-balances-1.md - https://docs.atlar.com/reference/get_financial-data-v2-entities-1.md - https://docs.atlar.com/reference/get_financial-data-v2-entities-id-1.md - https://docs.atlar.com/reference/get_financial-data-v2-pending-transactions-1.md - https://docs.atlar.com/reference/get_financial-data-v2-pending-transactions-id-1.md - https://docs.atlar.com/reference/get_financial-data-v2-pending-transactions-id-events-1.md - https://docs.atlar.com/reference/get_financial-data-v2-transactions-1.md - https://docs.atlar.com/reference/get_financial-data-v2-transactions-id-1.md - https://docs.atlar.com/reference/get_financial-data-v2-transactions-id-events.md - https://docs.atlar.com/reference/get_financial-data-v2beta-accounts-id-end-of-day-summaries.md - https://docs.atlar.com/reference/get_financial-data-v2beta-internal-transfers-id.md - https://docs.atlar.com/reference/get_financial-data-v2beta-internal-transfers.md - https://docs.atlar.com/reference/get_financial-data-v2beta-portfolios-id-holdings.md - https://docs.atlar.com/reference/get_financial-data-v2beta-portfolios-id.md - https://docs.atlar.com/reference/get_financial-data-v2beta-portfolios-pid-holdings-hid-activities-id.md - https://docs.atlar.com/reference/get_financial-data-v2beta-portfolios-pid-holdings-hid-activities.md - https://docs.atlar.com/reference/get_financial-data-v2beta-portfolios-pid-holdings-hid-positions-id.md - https://docs.atlar.com/reference/get_financial-data-v2beta-portfolios-pid-holdings-hid-positions.md - https://docs.atlar.com/reference/get_financial-data-v2beta-portfolios-pid-holdings-id.md - https://docs.atlar.com/reference/get_financial-data-v2beta-portfolios.md - https://docs.atlar.com/reference/get_iam-v2beta-audit-log-entries.md - https://docs.atlar.com/reference/get_payments-v2-counterparties-1.md - https://docs.atlar.com/reference/get_payments-v2-counterparties-id-1.md - https://docs.atlar.com/reference/get_payments-v2-counterparties-id-events-1.md - https://docs.atlar.com/reference/get_payments-v2-credit-transfers-1.md - https://docs.atlar.com/reference/get_payments-v2-credit-transfers-id-1.md - https://docs.atlar.com/reference/get_payments-v2-credit-transfers-id-events-1.md - https://docs.atlar.com/reference/get_payments-v2-direct-debits-1.md - https://docs.atlar.com/reference/get_payments-v2-direct-debits-id-1.md - https://docs.atlar.com/reference/get_payments-v2-direct-debits-id-events-1.md - https://docs.atlar.com/reference/get_payments-v2-external-accounts-1.md - https://docs.atlar.com/reference/get_payments-v2-external-accounts-id-1.md - https://docs.atlar.com/reference/get_payments-v2-mandates-1.md - https://docs.atlar.com/reference/get_payments-v2-mandates-id-1.md - https://docs.atlar.com/reference/get_payments-v2-mandates-id-events-1.md - https://docs.atlar.com/reference/get_payments-v2-regulatory-reporting-codes.md - https://docs.atlar.com/reference/get_payments-v2beta-credit-transfer-batches-1.md - https://docs.atlar.com/reference/get_payments-v2beta-credit-transfer-batches-id-1.md - https://docs.atlar.com/reference/get_payments-v2beta-credit-transfer-batches-id-results-1.md - https://docs.atlar.com/reference/get_payments-v2beta-direct-debit-batches-id-results.md - https://docs.atlar.com/reference/get_payments-v2beta-direct-debit-batches-id.md - https://docs.atlar.com/reference/get_payments-v2beta-direct-debit-batches.md - https://docs.atlar.com/reference/get_platform-v2beta-webhooks-id-keys.md - https://docs.atlar.com/reference/get_platform-v2beta-webhooks-id.md - https://docs.atlar.com/reference/get_platform-v2beta-webhooks.md - https://docs.atlar.com/reference/patch_accounting-v2beta-documents-id.md - https://docs.atlar.com/reference/patch_accounting-v2beta-gl-accounts-id.md - https://docs.atlar.com/reference/patch_accounting-v2beta-gl-entities-id.md - https://docs.atlar.com/reference/patch_analytics-v2beta-forecasted-transactions-id.md - https://docs.atlar.com/reference/patch_financial-data-v2-accounts-id-1.md - https://docs.atlar.com/reference/patch_financial-data-v2-entities-id-1.md - https://docs.atlar.com/reference/patch_financial-data-v2-transactions-id-1.md - https://docs.atlar.com/reference/patch_financial-data-v2beta-pending-transactions-id.md - https://docs.atlar.com/reference/patch_payments-v2-counterparties-id-1.md - https://docs.atlar.com/reference/patch_payments-v2-credit-transfers-id-1.md - https://docs.atlar.com/reference/patch_payments-v2-external-accounts-id-1.md - https://docs.atlar.com/reference/patch_platform-v2beta-webhooks-id.md - https://docs.atlar.com/reference/post_accounting-v2beta-documents.md - https://docs.atlar.com/reference/post_accounting-v2beta-gl-accounts.md - https://docs.atlar.com/reference/post_accounting-v2beta-gl-entities.md - https://docs.atlar.com/reference/post_analytics-v2beta-forecasted-transactions.md - https://docs.atlar.com/reference/post_connectivity-v2beta-connections-cid-reports.md - https://docs.atlar.com/reference/post_financial-data-v2-entities-1.md - https://docs.atlar.com/reference/post_iam-v2-oauth2-token.md - https://docs.atlar.com/reference/post_payments-v2-counterparties-1.md - https://docs.atlar.com/reference/post_payments-v2-credit-transfers-1.md - https://docs.atlar.com/reference/post_payments-v2-credit-transfers-id-approve-1.md - https://docs.atlar.com/reference/post_payments-v2-credit-transfers-id-reject-1.md - https://docs.atlar.com/reference/post_payments-v2-direct-debits-1.md - https://docs.atlar.com/reference/post_payments-v2-direct-debits-id-approve-1.md - https://docs.atlar.com/reference/post_payments-v2-direct-debits-id-reject-1.md - https://docs.atlar.com/reference/post_payments-v2-external-accounts-1.md - https://docs.atlar.com/reference/post_payments-v2-mandates-1.md - https://docs.atlar.com/reference/post_payments-v2-mandates-id-cancel-1.md - https://docs.atlar.com/reference/post_payments-v2beta-credit-transfer-batches-1.md - https://docs.atlar.com/reference/post_payments-v2beta-credit-transfer-batches-id-approve.md - https://docs.atlar.com/reference/post_payments-v2beta-credit-transfer-batches-id-reject.md - https://docs.atlar.com/reference/post_payments-v2beta-direct-debit-batches-id-approve.md - https://docs.atlar.com/reference/post_payments-v2beta-direct-debit-batches-id-reject.md - https://docs.atlar.com/reference/post_payments-v2beta-direct-debit-batches.md - https://docs.atlar.com/reference/post_platform-v2beta-webhooks-id-keys.md - https://docs.atlar.com/reference/post_platform-v2beta-webhooks.md merge: pages: 106 deduped: 3049 conflicts_kept_first: 0