Changes for page account

Last modified by David Persson on 2024/02/21 07:42
From version 32.1
edited by Simon Melin
on 2022/04/28 10:54
To version 33.1
edited by Simon Melin
on 2022/04/28 10:57
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -74,42 +74,42 @@
74 74  HTTP/1.1 200 OK
75 75  Content-Type: application/json
76 76  {
77 -"items": [
78 -{
79 - "@id": "/ledger/account/v1/XXX/accounts/NNN",
80 - "accountNo": "1234567",
81 - "startDate": "2018-05-21",
82 - "description": null,
83 - "accountProfileType": "accountType1 | accountType2 | accountType3 etc.",
84 - "accountAlias" : "accountAlias1 | accountAlias2 etc.",
85 - "customerNo" : "123789654",
86 - "status" : "Open | PendingClose | Closed",
87 - "creditLimit": 2000.00,
88 - "totalBalance" : -1900.0,
89 - "reservedAmount": 50.0,
90 - "availableAmount": 3850.0,
91 - "maxPaymentAmount": 51900.0,
92 - "openBill" : "/ledger/account/v1/XXX/accounts/NNN/bills/reminder-456",
93 - "charityDonation": true,
94 - "interestRate": {
95 - "debtInterest" : 10.00,
96 - "penaltyInterest": 15.00
97 - },
98 - "bankPayment": {
99 - "bankAccountNo": "123",
100 - "bankAccountType": "BGSE",
101 - "bic": "123456",
102 - "iban": "SE12345678945631",
103 - "paymentReference": "54867165675646"
104 - },
105 - "activePaymentOrders": "/ledger/account/v1/XXX/accounts/NNN/active-payment-orders",
106 - "recurringPaymentConfiguration": "/ledger/account/v1/XXX/accounts/NNN/recurring-payment-configuration",
107 - "cards": "/ledger/account/v1/XXX/accounts/123456/cards",
108 - "transactions": "/ledger/account/v1/XXX/accounts/NNN/transactions",
109 - "currency": "sek",
110 - "bills": "/ledger/account/v1/XXX/accounts/NNN/bills",
111 - "customer": "/ledger/customers/v1/XXX/customer/123456",
112 - "operation" : [
77 + "items": [
78 + {
79 + "@id": "/ledger/account/v1/XXX/accounts/NNN",
80 + "accountNo": "1234567",
81 + "startDate": "2018-05-21",
82 + "description": null,
83 + "accountProfileType": "accountType1 | accountType2 | accountType3 etc.",
84 + "accountAlias" : "accountAlias1 | accountAlias2 etc.",
85 + "customerNo" : "123789654",
86 + "status" : "Open | PendingClose | Closed",
87 + "creditLimit": 2000.00,
88 + "totalBalance" : -1900.0,
89 + "reservedAmount": 50.0,
90 + "availableAmount": 3850.0,
91 + "maxPaymentAmount": 51900.0,
92 + "openBill" : "/ledger/account/v1/XXX/accounts/NNN/bills/reminder-456",
93 + "charityDonation": true,
94 + "interestRate": {
95 + "debtInterest" : 10.00,
96 + "penaltyInterest": 15.00
97 + },
98 + "bankPayment": {
99 + "bankAccountNo": "123",
100 + "bankAccountType": "BGSE",
101 + "bic": "123456",
102 + "iban": "SE12345678945631",
103 + "paymentReference": "54867165675646"
104 + },
105 + "activePaymentOrders": "/ledger/account/v1/XXX/accounts/NNN/active-payment-orders",
106 + "recurringPaymentConfiguration": "/ledger/account/v1/XXX/accounts/NNN/recurring-payment-configuration",
107 + "cards": "/ledger/account/v1/XXX/accounts/123456/cards",
108 + "transactions": "/ledger/account/v1/XXX/accounts/NNN/transactions",
109 + "currency": "sek",
110 + "bills": "/ledger/account/v1/XXX/accounts/NNN/bills",
111 + "customer": "/ledger/customers/v1/XXX/customer/123456",
112 + "operation" : [
113 113   {
114 114   "rel" : "add-card-info",
115 115   "method" : "post",
... ... @@ -130,15 +130,15 @@
130 130   "method" : "patch",
131 131   "href" : "/ledger/account-onboardings/v1/XXX/accounts/NNN"
132 132   }
133 - ]
133 + ]
134 + }
135 + ],
136 + "navigation": {
137 + "@id": "/ledger/account/v1/19260/accounts",
138 + "first": "/ledger/account/v1/19260/accounts?skip=0",
139 + "previous": "/ledger/account/v1/19260/accounts?skip=0"
140 + }
134 134  }
135 -],
136 -"navigation": {
137 - "@id": "/ledger/account/v1/19260/accounts",
138 - "first": "/ledger/account/v1/19260/accounts?skip=0",
139 - "previous": "/ledger/account/v1/19260/accounts?skip=0"
140 -}
141 -}
142 142  {{/code}}
143 143  
144 144  ==== Get a specific account ====