Download OpenAPI specification:Download
Returns account id. Request added for ZData approval
Invalid model
User not authorized
{- "Bic": "DNBANOKK",
- "Currency": "NOK",
- "Ledger": "1920",
- "Aliases": {
- "Iban": "NO22123456789012",
- "PlusGirot": "1234567",
- "BankGirot": "1234567",
- "GiroKonto": "1234567"
}, - "CompanyId": "59e4d74b-a477-49c9-908d-b177146b9cda",
- "AccountNumber": "123456789012"
}
A list of accounts
Unauthorized
Accounts for company not found
{ "CompanyId": "767405cf-aedf-4964-8231-0aea37005bac", "Accounts": [ { "AccountId": "ad723eaa-ea73-434e-8d98-5c202c37c1db", "AccountNumber": "123456789012", "Bic": "DNBANOKK", "Currency": "NOK", "AccountGroupId": "ee2b7278-997c-4b31-93cd-bd0a22864170", "Ledger": "1920", "Aliases": { "Iban": "NO22123456789012", "PlusGirot": "1234567", "BankGirot": "1234567", "GiroKonto": "1234567" }, "ReadyForPayments": true } ] }
The account status for creating payments
Unauthorized
Account not found
The account details
Unauthorized
Account not found
{ "AccountId": "d5922057-641b-4d32-adcc-d1c7a7f25360", "AccountNumber": "123456789012", "Bic": "DNBANOKK", "Currency": "NOK", "AccountGroupId": "0910b680-5a3a-46ba-8a06-d680362ae40b", "Ledger": "1920", "Aliases": { "Iban": "NO22123456789012", "PlusGirot": "1234567", "BankGirot": "1234567", "GiroKonto": "1234567" } }
The updated account details
Invalid update request
Unauthorized
Account not found
{- "Bic": "DNBANOKK",
- "Currency": "NOK",
- "Ledger": "1920",
- "Aliases": {
- "Iban": "NO22123456789012",
- "PlusGirot": "1234567",
- "BankGirot": "1234567",
- "GiroKonto": "1234567"
}
}
{ "AccountId": "95ba53ab-de4f-4958-aebf-de364c431bce", "AccountNumber": "123456789012", "Bic": "DNBANOKK", "Currency": "NOK", "AccountGroupId": "114c9db0-e123-4d72-9516-18bac3c72bd9", "Ledger": "1920", "Aliases": { "Iban": "NO22123456789012", "PlusGirot": "1234567", "BankGirot": "1234567", "GiroKonto": "1234567" } }
Deleted
Account connected to statement, balance, receivable or payment
Unauthorized
Action not permitted for user
Account not found
Success
Bad Request
Unauthorized
Account not found
{- "companyId": "8bb73d03-06b4-47c7-80c7-59301f770eda"
}
{ "AccountId": "ce30a503-bd40-486a-b037-d3ac66a0badc", "AccountNumber": "123456789012", "Bic": "DNBANOKK", "Currency": "NOK", "AccountGroupId": "48cd3bae-eace-457f-bce1-67b93c18c9d4", "Ledger": "1920", "Aliases": { "Iban": "NO22123456789012", "PlusGirot": "1234567", "BankGirot": "1234567", "GiroKonto": "1234567" } }
Account groups for company
Unauthorized
Action not permitted for user
Company not found
Account groups
Unauthorized
Action not permitted for user
Account group not found
Unauthorized
Action not permitted for user
Account group not found
{- "name": "string"
}
Unauthorized
Action not permitted for user
Account group not found
Unauthorized
Action not permitted for user
Company not found
{- "companyId": "8bb73d03-06b4-47c7-80c7-59301f770eda",
- "name": "string"
}
Unauthorized
Action not permitted for user
User/Account group not found
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
Unauthorized
Action not permitted for user
User/Account group not found
Unauthorized
Action not permitted for user
AccountGroup/Account not found
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
Unauthorized
Action not permitted for user
AccountGroup/Account not found
Success
Invalid state
User not authorized
Balance not found
Subject to change. Data may be migrated to another API
Flat list of valid companies
Company model
"Company id"
Unauthorized
User not authorized for parent company
Not Found
{- "CompanyId": "7df4c3b2-895a-4787-a606-1d291a92764f",
- "Name": "Duck corp",
- "Address": "Apalveien 222",
- "ZipCode": "0010",
- "ZipArea": "Oslo",
- "Country": "Norway"
}
Subject to change. Data may be migrated to another API
Company dto
Unauthorized
Company not found
{ "Name": "Z Data AS", "Address": "Damsgårdsveien 167", "ZipCode": "5160", "ZipArea": "Laksevåg", "Country": "Norge", "OrganizationNumber": "976197976", "CompanyId": "1cd9a29c-e681-43d0-aeb0-c69eb58a3812", "State": 1 }
Subject to change. Data may be migrated to another API
Subsidiary dto's
Unauthorized
Company not found
Subject to change. Data may be migrated to another API
"Company id"
Unauthorized
Company not found
Success
Unauthorized
No dead letter events found for company
Success
Unauthorized
No dead letter events found for subscription
Success
Bad request
Unauthorized
Subscription not found
Success
Bad request
Unauthorized
{- "eventTypes": [
- "string"
], - "destination": {
- "endpointUrl": "string",
- "maxEventsPerBatch": 0,
- "preferredBatchSizeInKilobytes": 0,
- "azureActiveDirectoryApplicationIdOrUri": "string",
- "azureActiveDirectoryTenantId": "string"
}
}
Success
Bad request
Unauthorized
Event subscription not found
Success
{- "companyIds": [
- "string"
], - "eventTypes": [
- "string"
], - "destination": {
- "endpointUrl": "string",
- "maxEventsPerBatch": 0,
- "preferredBatchSizeInKilobytes": 0,
- "azureActiveDirectoryApplicationIdOrUri": "string",
- "azureActiveDirectoryTenantId": "string"
}
}
Onboarding instructions as HTML
Invalid grant type/client
Success
User not authorized
Account not found
Success
User not authorized
Invalid messageId
{ "Payments": [ { "PaymentId": "06aab9f0-d9ad-423e-b664-4dae4063ecda", "SourceReference": "100;101;22;6", "Status": 6, "ExecutionDate": "0001-01-01T00:00:00", "Links": [ { "Rel": "payment", "Href": "https://bankservice.zdata.no/api/v3/payments/8043f884-0a70-40f9-9e57-58347102412a/c4dc6968-5161-4666-bd21-cee1a3c3ea72" } ] } ], "Total": 15, "Links": [ { "Rel": "first", "Href": "https://bankservice.zdata.no/api/v3/payments/8043f884-0a70-40f9-9e57-58347102412a?skip=0&take=100" } ] }
Success
User not authorized
Invalid messageId
{ "Payments": [ { "PaymentId": "4f4daa3b-5536-4411-a096-fce46afa7da0", "SourceReference": "100;101;22;6", "Status": 6, "ExecutionDate": "0001-01-01T00:00:00", "Links": [ { "Rel": "payment", "Href": "https://bankservice.zdata.no/api/v3/payments/8043f884-0a70-40f9-9e57-58347102412a/c4dc6968-5161-4666-bd21-cee1a3c3ea72" } ] } ], "Total": 15, "Links": [ { "Rel": "first", "Href": "https://bankservice.zdata.no/api/v3/payments/8043f884-0a70-40f9-9e57-58347102412a?skip=0&take=100" } ] }
Success
User not authorized
Invalid messageId
{ "PaymentId": "93092bef-6428-404b-9bfd-b00091c6d443", "Status": 0, "RejectionCode": "RR09", "RejectionMessage": "ISO Invalid Structured Creditor Reference", "Amount": 50, "Currency": "NOK", "ExecutionDate": "0001-01-01T00:00:00", "DebtorAccountNumber": "5337431043", "CreditorName": "Kreditor AS", "CreditorAccountNumber": "123456789012", "CreditorAccountCurrency": "NOK", "ChargeAmount": 70, "ChargeCurrency": "NOK", "Description": "Invoice number 32", "InvoiceNumber": "Something", "Settlement": { "BookingDate": "2024-09-10T16:48:46.0745129+02:00", "ValueDate": "2024-09-10T16:48:46.0745131+02:00", "ExchangeRate": 1.2, "Reference": "12345" } }
Success
User not authorized
Invalid companyId
{ "Summaries": [ { "MessageId": "7b0d5359-e83d-4825-be5f-a0fc738b5c82", "Timestamp": "2024-09-10T16:48:46.0771265+02:00", "FirstExecutionDate": "2024-09-10T16:48:46.0771248+02:00", "LastExecutionDate": "2024-09-10T16:48:46.077125+02:00", "Amounts": { "NOK": 55 }, "Links": [ { "Rel": "payments", "Href": "https://bankservice.zdata.no/api/v3/payments/0a8f02d5-24e1-4ea5-be46-135c2fa4f8c9" } ] } ], "Total": 0 }
Success
User not authorized
Invalid messageId/sourceReference
{ "BookedPayments": [ { "BookedAmount": 55, "AccountCurrency": "NOK", "ExchangeRate": 0, "BookingDate": "2024-09-10T16:48:46.0806988+02:00", "BankReference": "123321", "ChargeAmount": 66, "ChargeCurrency": "NOK", "Payments": [ { "PaymentId": "00000000-0000-0000-0000-000000000000", "MessageId": "00000000-0000-0000-0000-000000000000", "Links": [ { "Rel": "payment", "Href": "http://bankservice.zdata.no/api/v3/payments/5cfd18e2-f37b-4d67-9661-f897b152d459/d0bde9d1-569d-4f5c-aaa7-f8197631fe23" } ] } ] } ], "Total": 0 }
Success
User not authorized
Invalid companyId/settlementId
{ "BookedPayments": [ { "BookedAmount": 55, "AccountCurrency": "NOK", "ExchangeRate": 0, "BookingDate": "2024-09-10T16:48:46.0817886+02:00", "BankReference": "123321", "ChargeAmount": 66, "ChargeCurrency": "NOK", "Payments": [ { "PaymentId": "00000000-0000-0000-0000-000000000000", "MessageId": "00000000-0000-0000-0000-000000000000", "Links": [ { "Rel": "payment", "Href": "http://bankservice.zdata.no/api/v3/payments/5cfd18e2-f37b-4d67-9661-f897b152d459/d0bde9d1-569d-4f5c-aaa7-f8197631fe23" } ] } ] } ], "Total": 0 }
Tokens provided to this endpoint must use implicit or authorization code grant type flows.
Success
Already approved, Missing access to bankaccounts
User not authorized
Remittance not found
{- "reason": "string"
}
Tokens provided to this endpoint must use implicit or authorization code grant type flows.
Success
Already reviewed, Payments were approved
User not authorized
Remittance not found
Success
{- "MessageId": "c8a8918e-4a75-47d4-bc04-39925574f413",
- "AccountNumber": "52011976166",
- "SinglePayments": false,
- "PaymentLines": [
- {
- "PaymentMethod": 1,
- "Priority": 1,
- "PaymentPurpose": 0,
- "ExecutionDate": "2024-09-17T00:00:00+02:00",
- "SourceReference": "12346",
- "RegulatoryReportingCode": 14,
- "RegulatoryReportingInfo": "Kjøp og salg",
- "Amount": 1,
- "Currency": "NOK",
- "InvoiceNo": "21515",
- "Creditor": {
- "Name": "Ola Nordmann",
- "CountryCode": "NO",
- "AccountNumber": "NO8595220610722",
- "Bic": "HANDNOKK",
- "AccountType": 0,
- "Address": "Veien 4",
- "Address2": "Veien 2",
- "Address3": "Veien 3",
- "ZipCode": "4250",
- "ZipArea": "Kopervik"
}
}
]
}
Success
"Invalid state"
User not authorized
{ "State": 0, "Receivables": [ { "ReceivableId": "057fbee4-9867-4eda-be9d-8f95b640f478", "EntryId": "af47575b-ba8d-4051-aef3-22efb2bb5c7b", "AccountNumber": "123456789012", "DebtorAccountNumber": "098765432112", "DebtorName": "Donald Duck", "DebtorAddress": "Veien 12A", "ArchiveReference": "1234", "Description": "Submitted to Onkel Skrue", "InvoiceNumber": "12345", "BookingDate": "2024-09-10T16:48:46.0936651+02:00", "ValueDate": "2024-09-10T16:48:46.0936675+02:00", "Amount": 55, "Currency": "NOK", "BookedAmount": 65, "AccountCurrency": "NOK", "ChargeAmount": 10, "ChargeCurrency": "NOK", "Type": 0, "BankTransactionCode": "PMNT-ICDT-DMCT" } ], "Total": 0 }
Success
User not authorized
Id not found
{ "TotalCount": 1, "Skip": 0, "Take": 10, "Items": [ { "ReceivableId": "3e9a381c-5d8e-47ab-b5d7-ad4a773daa4e", "EntryId": "19c3dab1-9704-4567-9487-9f6994dc37db", "AccountNumber": "123456789012", "DebtorAccountNumber": "098765432112", "DebtorName": "Donald Duck", "DebtorAddress": "Veien 12A", "ArchiveReference": "1234", "Description": "Submitted to Onkel Skrue", "InvoiceNumber": "12345", "BookingDate": "2024-09-10T16:48:46.095272+02:00", "ValueDate": "2024-09-10T16:48:46.0952745+02:00", "Amount": 55, "Currency": "NOK", "BookedAmount": 65, "AccountCurrency": "NOK", "ChargeAmount": 10, "ChargeCurrency": "NOK", "Type": 0, "BankTransactionCode": "PMNT-ICDT-DMCT" } ] }
Success
User not authorized
Id not found
{- "state": 0,
- "errorMessage": "string"
}
Updated states
"Invalid model"
User not authorized
Incoming payment id not found
{- "State": 2,
- "ErrorMessage": "Something failed",
- "Id": "2c1b027b-c86e-4cf2-8d57-bad26e39c43e"
}