Changes for page account

Last modified by David Persson on 2024/02/21 07:42
From version 19.1
edited by Rasmus Enekvist
on 2021/09/27 08:00
To version 20.1
edited by Rasmus Enekvist
on 2021/09/27 08:08
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -220,10 +220,10 @@
220 220  
221 221  ----
222 222  
223 -===== update-legal-address-from-population-register =====
223 +===== register-psp-payment =====
224 224  
225 225  Method: POST
226 -Execution of this operation will result in an attempt to retrieve (and replace) the customer's legal address from the population registry.
226 +Execution of this operation will result in an attempt to deposit the amount on the given account.
227 227  
228 228  (% class="box infomessage" %)
229 229  (((
... ... @@ -231,27 +231,27 @@
231 231  )))
232 232  
233 233  {{code language="http" title="**Request**"}}
234 -POST /ledger/customer/v1/XXX/customers/NNN/legal-address/update-legal-address-from-population-register HTTP/1.1
234 +POST /ledger/account/v1/XXX/accounts/NNN/register-psp-payment HTTP/1.1
235 235  Host: -
236 236  Authorization: Bearer <Token>
237 237  Content-Type: application/json
238 238  
239 239  {
240 + "Amount": 2000.00,
241 + "PaymentDate": "2021-01-01",
242 + "sourcePspPaymentTransactionId": "123456789"
240 240  }
241 241  {{/code}}
242 242  
243 243  ----
244 244  
245 -==== Legal-address resource properties ====
248 +==== Register-psp-payment ====
246 246  
247 247  (% class="table-bordered table-striped" %)
248 248  |=(% style="width: 161px;" %)Property|=(% style="width: 121px;" %)Data type|=(% style="width: 195px;" %)Format|=(% style="width: 1309px;" %)Description
249 -|(% style="width:161px" %)addressee|(% style="width:121px" %)string|(% style="width:195px" %)Maxlength: 72|(% style="width:1309px" %)Fullname
250 -|(% style="width:161px" %)streetAddress|(% style="width:121px" %)string|(% style="width:195px" %)Maxlength: 35|(% style="width:1309px" %)
251 -|(% style="width:161px" %)coAddress|(% style="width:121px" %)string|(% style="width:195px" %)Maxlength: 35|(% style="width:1309px" %)Care of (C/O) name. This is optional.
252 -|(% style="width:161px" %)city|(% style="width:121px" %)string|(% style="width:195px" %)Maxlength: 30|(% style="width:1309px" %)
253 -|(% style="width:161px" %)zipCode|(% style="width:121px" %)string|(% style="width:195px" %)Maxlength: 9|(% style="width:1309px" %)ZipCode without whitespaces
254 -|(% style="width:161px" %)countryCode|(% style="width:121px" %)string|(% style="width:195px" %)[[ISO 3166-1 alpha-2>>url:https://sv.wikipedia.org/wiki/ISO_3166]]|(% style="width:1309px" %)
252 +|(% style="width:161px" %)Amount|(% style="width:121px" %)Decimal|(% style="width:195px" %) |(% style="width:1309px" %)Amount to deposit on account, max value is found on the account resource in the property "MaxPaymentAmount".
253 +|(% style="width:161px" %)PaymentDate|(% style="width:121px" %)Date|(% style="width:195px" %)[[ISO 8601>>url:http://en.wikipedia.org/wiki/ISO_8601||rel="noreferrer" title="ISO8601 on Wikipedia"]]|(% style="width:1309px" %)Date of the actual payment
254 +|(% style="width:161px" %)sourcePspPaymentTransactionId|(% style="width:121px" %)String|(% style="width:195px" %)Maxlength: 50|(% style="width:1309px" %)Unique identifier for the payment
255 255  
256 256  ----
257 257