Download OpenAPI specification:Download
Contains functionality around Funding Services.
For endpoints that support localization the language can be passed either as a query string parameter (using the name 'language') or in the 'accept-language' header.
If no language is passed to such endpoints then the default configured language will be used.
Deletes (logically) a funding.
contactId required | integer <int32> The id of the contact. |
fundingId required | integer <int32> The id of the funding. |
Accept-Language | string The ISO 639-1 language to use for localizable data. |
No Content
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "code": "General",
- "subCode": "string",
- "message": "string",
- "correlationId": "string",
- "properties": {
- "property1": null,
- "property2": null
}
}
Gets a funding.
contactId required | integer <int32> The id of the contact. |
fundingId required | integer <int32> The id of the funding. |
Accept-Language | string The ISO 639-1 language to use for localizable data. |
OK
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "targetAccountUId": "3471b71d-e1fe-4648-a90e-43b6db21e973",
- "sourceAccountUId": "f2c1f931-cd20-4268-a185-7ed11a7443a7",
- "currencyUId": "2f87cc20-5347-43ea-a083-3122f16cbdb0",
- "goalUId": "d691adea-b291-447b-83fe-6857f3a75f70",
- "cronExpression": "0 0 6 ? * MON",
- "id": 8,
- "typeId": 1,
- "targetAccountId": 2,
- "sourceAccountId": 1,
- "amount": 250,
- "currencyId": 2,
- "isActive": true,
- "createDate": "2022-10-21T06:31:09",
- "endDate": "2025-10-20T06:31:09",
- "firstExecutionDate": "2022-10-31T06:31:09",
- "goalId": 16,
- "recurrenceTypeId": 2,
- "isLockedForProcessing": false
}
Modifies a funding by deleting (logically) the existing funding and creating a new one.
contactId required | integer <int32> The id of the contact. |
fundingId required | integer <int32> The id of the funding. |
Accept-Language | string The ISO 639-1 language to use for localizable data. |
Properties of the funding to update.
typeId | integer <int32> Nullable |
amount | number <double> Nullable |
createDate | string <date-time> Nullable |
endDate | string <date-time> Nullable |
firstExecutionDate | string <date-time> Nullable |
recurrenceTypeId | integer <int32> Nullable |
attributes | string Nullable |
OK
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "typeId": 2,
- "amount": 5001,
- "createDate": "2020-02-28T00:00:00",
- "endDate": "2021-03-05T00:00:00",
- "firstExecutionDate": "2021-03-05T00:00:00",
- "recurrenceTypeId": 3,
- "attributes": "{ \"Description\" : \"Recurring\" }"
}
{- "id": 62,
- "typeId": 2,
- "targetAccountId": 1,
- "sourceAccountId": 2,
- "amount": 5001,
- "currencyId": 2,
- "isActive": true,
- "createDate": "2020-02-28T00:00:00",
- "endDate": "2021-03-05T00:00:00",
- "firstExecutionDate": "2021-03-05T00:00:00",
- "goalId": 12,
- "recurrenceTypeId": 3,
- "isLockedForProcessing": false,
- "scheduledJobId": "12345",
- "attributes": "{ \"Description\" : \"Recurring\" }"
}
Creates a funding.
contactId required | integer <int32> The id of the contact. |
Accept-Language | string The ISO 639-1 language to use for localizable data. |
New funding.
fundingTypeId | integer <int32> Nullable |
targetAccountId | integer <int32> Nullable |
sourceAccountId | integer <int32> Nullable |
amount | number <double> Nullable |
currencyId | integer <int32> Nullable |
isActive | boolean Nullable |
createDate | string <date-time> Nullable |
endDate | string <date-time> Nullable |
firstExecutionDate | string <date-time> Nullable |
goalId | integer <int32> Nullable |
recurrenceTypeId | integer <int32> Nullable |
isLockedForProcessing | boolean Nullable |
attributes | string Nullable |
OK
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "fundingTypeId": 1,
- "targetAccountId": 1,
- "sourceAccountId": 2,
- "amount": 1337,
- "currencyId": 2,
- "isActive": true,
- "createDate": "2021-02-28T00:00:00",
- "endDate": "2021-03-05T00:00:00",
- "firstExecutionDate": "2021-03-05T00:00:00",
- "goalId": 12,
- "recurrenceTypeId": 2,
- "isLockedForProcessing": false,
- "attributes": "{ \"Description\" : \"(Test) Top up\" }"
}
{- "id": 7,
- "typeId": 1,
- "targetAccountId": 1,
- "sourceAccountId": 2,
- "amount": 1337,
- "currencyId": 2,
- "isActive": true,
- "createDate": "2021-02-28T00:00:00",
- "endDate": "2021-03-05T00:00:00",
- "firstExecutionDate": "2021-03-05T00:00:00",
- "goalId": 12,
- "recurrenceTypeId": 2,
- "isLockedForProcessing": false,
- "scheduledJobId": "12345",
- "attributes": "{ \"Description\" : \"(Test) Top up\" }"
}
Allows the User to search for Fundings of an authenticated Contact for a given set of criteria.
contactId required | integer <int32> The id of the contact. |
Accept-Language | string The ISO 639-1 language to use for localizable data. |
The search parameters.
page | integer <int32> |
pageSize | integer <int32> |
typeIds | Array of integers <int32> Nullable |
targetAccountIds | Array of integers <int32> Nullable |
sourceAccountIds | Array of integers <int32> Nullable |
goalIds | Array of integers <int32> Nullable |
recurrenceTypeIds | Array of integers <int32> Nullable |
isActive | boolean Nullable |
scheduledJobIds | Array of strings Nullable |
OK
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "page": 1,
- "pageSize": 3,
- "typeIds": [
- 1,
- 2
], - "targetAccountIds": [
- 1,
- 11,
- 111
], - "sourceAccountIds": [
- 2,
- 22,
- 222
], - "goalIds": [
- 11,
- 12,
- 67
], - "recurrenceTypeIds": [
- 1,
- 2
], - "isActive": true,
- "scheduledJobIds": [
- "12345",
- "56789"
]
}
{- "fundings": [
- {
- "targetAccountUId": "f2c1f931-cd20-4268-a185-7ed11a7443a7",
- "sourceAccountUId": "3471b71d-e1fe-4648-a90e-43b6db21e973",
- "currencyUId": "2f87cc20-5347-43ea-a083-3122f16cbdb0",
- "goalUId": "bb01484f-2728-4cec-a252-f5fe8df1b9ba",
- "cronExpression": "0 0 0 ? * FRI",
- "id": 3,
- "typeId": 1,
- "targetAccountId": 1,
- "sourceAccountId": 2,
- "amount": 300,
- "currencyId": 2,
- "isActive": true,
- "createDate": "2023-03-21T15:44:06.322+00:00",
- "endDate": "2023-03-21T15:44:06.322+00:00",
- "firstExecutionDate": "2023-03-21T15:44:06.322+00:00",
- "nextExecutionDate": "2023-03-22T15:44:06.322+00:00",
- "goalId": 12,
- "recurrenceTypeId": 2,
- "isLockedForProcessing": false,
- "scheduledJobId": "12345",
- "attributes": "{ \"Description\" : \"Top up\" }"
}
], - "totalNumberOfResults": 1
}
Searches for fundings and returns a list with fundings (and key attributes) matching the passed request parameters.
Accept-Language | string The ISO 639-1 language to use for localizable data. |
The request DTO
page | integer <int32> |
pageSize | integer <int32> |
sortBy | string Nullable |
sortOrder | string (SortOrder) Enum: "Ascending" "Descending" |
ids | Array of integers <int32> Nullable |
typeIds | Array of integers <int32> Nullable |
targetAccountIds | Array of integers <int32> Nullable |
sourceAccountIds | Array of integers <int32> Nullable |
currencyIds | Array of integers <int32> Nullable |
goalIds | Array of integers <int32> Nullable |
recurrenceTypeIds | Array of integers <int32> Nullable |
isActive | boolean Nullable |
isLockedForProcessing | boolean Nullable |
scheduledJobIds | Array of strings Nullable |
createDateFrom | string <date-time> Nullable |
createDateTo | string <date-time> Nullable |
firstExecutionDateFrom | string <date-time> Nullable |
firstExecutionDateTo | string <date-time> Nullable |
nextExecutionDateFrom | string <date-time> Nullable |
nextExecutionDateTo | string <date-time> Nullable |
endDateFrom | string <date-time> Nullable |
endDateTo | string <date-time> Nullable |
OK
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "isActive": true,
- "isLockedForProcessing": false,
- "sortBy": "id",
- "sortOrder": "Ascending",
- "page": 1,
- "pageSize": 10
}
{- "results": [
- {
- "cronExpression": "0 0 0 ? * FRI",
- "id": 1,
- "typeId": 1,
- "targetAccountId": 1,
- "sourceAccountId": 2,
- "amount": 250,
- "currencyId": 2,
- "isActive": true,
- "createDate": "2021-02-28T00:00:00",
- "endDate": "2025-03-05T00:00:00",
- "firstExecutionDate": "2021-03-05T00:00:00",
- "nextExecutionDate": "2021-03-06T00:00:00",
- "recurrenceTypeId": 2,
- "isLockedForProcessing": false,
- "attributes": "{ \"Description\" : \"Top up\" }"
}, - {
- "cronExpression": "0 0 6 ? * MON",
- "id": 8,
- "typeId": 1,
- "targetAccountId": 2,
- "sourceAccountId": 1,
- "amount": 250,
- "currencyId": 2,
- "isActive": true,
- "createDate": "2022-10-21T06:31:09",
- "endDate": "2025-10-20T06:31:09",
- "firstExecutionDate": "2022-10-31T06:31:09",
- "nextExecutionDate": "2022-11-01T06:31:09",
- "goalId": 16,
- "recurrenceTypeId": 2,
- "isLockedForProcessing": false
}
], - "page": 1,
- "pageSize": 10,
- "pageCount": 1,
- "totalCount": 2
}