API Reference
/- Get payment lines by batchId
Get payments by messageId
Get payments by batchId
Get payment by sourceReference
Get summary of payments for company
Gets booked payments for company
Gets booked payments for settlement
Dismiss payments
Approves payments by message id.
Get payment approval data
Submits payments for an account.
The AccountNumber MUST be owned by the company and in an account group that the user has access to.
Get payment lines by batc...
Security
client_credentials(Required scopes: openidprofilebankservice) or implicit(Required scopes: openidprofilebankservice) or client_credentials_dev(Required scopes: openidprofilebankservice) or implicit_dev(Required scopes: openidprofilebankservice)
- Mock serverhttps://developer.aritma.com/_mock/apis/banking/v3/openapi/bankservice-openapi/api/v3/payments/{companyId}/batches/{batchId}
- Open Banking APIhttps://bankservice.zdata.no/api/v3/payments/{companyId}/batches/{batchId}
- Open Banking API (Dev)https://bankservicedemo.zdata.no/api/v3/payments/{companyId}/batches/{batchId}
curl -i -X GET \
'https://developer.aritma.com/_mock/apis/banking/v3/openapi/bankservice-openapi/api/v3/payments/{companyId}/batches/{batchId}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'OK
Array []
TransactionState
- 0 - Submitted
- 1 - Queued for approval
- 2 - Dismissed by user
- 3 - Ready for transfer
- 4 - Pending bank
- 5 - Rejected by bank
- 6 - Accepted bank
- 7 - Completed
- 8 - Dismissed by ZData
Enum:012345678
Response
[
{
"paymentId": "472e651e-5a1e-424d-8098-23858bf03ad7",
"status": 0,
"rejectionCode": "string",
"rejectionMessage": "string",
"sourceReference": "string",
"amount": 0.1,
"currency": "string",
"executionDate": "2019-08-24T14:15:22Z",
"debtorAccountNumber": "string",
"creditorName": "string",
"creditorAccountNumber": "string",
"creditorAccountCurrency": "string",
"chargeAmount": 0.1,
"chargeCurrency": "string",
"description": "string",
"invoiceNumber": "string",
"structuredReference": "string",
"settlement": {
"bookingDate": "2019-08-24T14:15:22Z",
"valueDate": "2019-08-24T14:15:22Z",
"exchangeRate": 0.1,
"reference": "string"
}
}
]