e2e

View State of Account

Retrieve account information for customers using the IVR service. These endpoints can be called in any order, but the identity and verification step must happen first.

1

GetAccountBalances

Retrieve balance details including any pending debit or credit movements by providing an accountId.

get
/accounts/{accountId}/balances
See API reference
2

GetBillingPeriods

Retrieve billing periods for the given account by providing an accountId.

3

GetBillingPeriodDetails

Retrieve billing period details such as balances and balance type breakdown by providing an accountId.

4

GetAuthorisations

Retrieves authorisations in a single response by providing an accountId.

5

TransactionsSearch

Retrieves transactions in a single response by providing an accountId. This endpoint supports various search filters.

Request Example

Request

1curl --request GET \
2  --url https://dapi.stg-newdaytechnology.net/core-credit/accounts/%7BaccountId%7D/balances \
3  --header 'api-version: SOME_STRING_VALUE' \
4  --header 'context-channel: Mobile' \
5  --header 'context-obo: example@customer.com' \
6  --header 'context-sub: example@customer-service.com' \
7  --header 'context-tenantid: f3a5e968b6de4b2380a76afd187cadf3'

Response Example

Response

JSON

1{
2  "total": {
3    "value": 123.45,
4    "currencyCode": "GBP"
5  },
6  "pendingCredits": {
7    "value": 123.45,
8    "currencyCode": "GBP"
9  },
10  "pendingDebits": {
11    "value": 123.45,
12    "currencyCode": "GBP"
13  },
14  "previousBillingPeriod": {
15    "value": 123.45,
16    "currencyCode": "GBP"
17  }
18}