Changes for page card-transaction

Last modified by David Persson on 2024/02/21 07:48
From version 11.2
edited by David Persson
on 2020/02/21 01:52
To version 11.3
edited by David Persson
on 2020/02/21 01:55
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -229,7 +229,7 @@
229 229  ==== Post cash-withdrawals ====
230 230  
231 231  {{code language="http" title="**Request**"}}
232 -POST /ledger/credit-account-acquiring/v1/XXX/purchases HTTP/1.1
232 +POST /ledger/credit-account-acquiring/v1/XXX/cash-withdrawals HTTP/1.1
233 233  Host: -
234 234  Authorization: Bearer <Token>
235 235  Content-Type: application/json
... ... @@ -236,7 +236,7 @@
236 236  
237 237  {
238 238   "authorizationId" : "AUTH71",
239 - "sourcePurchaseTransactionId" : "534313",
239 + "sourceCashWithdrawalTransactionId" : "534313",
240 240   "sellerReceiptId": "2019-11-28",
241 241   "additionalReferences":{
242 242   "acquirerBatchId": "fdsfsdfsd",
... ... @@ -249,7 +249,7 @@
249 249  ==== Get cash-withdrawals ====
250 250  
251 251  {{code language="http" title="**Request**"}}
252 -GET /ledger/credit-account-acquiring/v1/XXX/purchases/YYY HTTP/1.1
252 +GET /ledger/credit-account-acquiring/v1/XXX/cash-withdrawals/YYY HTTP/1.1
253 253  Host: -
254 254  Authorization: Bearer <Token>
255 255  Content-Type: application/json
... ... @@ -259,7 +259,7 @@
259 259  ==== List cash-withdrawals ====
260 260  
261 261  {{code language="http" title="**Request**"}}
262 -GET /ledger/credit-account-acquiring/v1/XXX/purchases HTTP/1.1
262 +GET /ledger/credit-account-acquiring/v1/XXX/cash-withdrawals HTTP/1.1
263 263  Host: -
264 264  Authorization: Bearer <Token>
265 265  Content-Type: application/json
... ... @@ -275,7 +275,7 @@
275 275  {
276 276   "description": "stora butiken test, köpref. 12345689",
277 277   "authorizationId" : "AUTH71",
278 - "sourcePurchaseTransactionId" : "534313",
278 + "sourceCashWithdrawalTransactionId" : "534313",
279 279   "sellerReceiptId": "2019-11-28",
280 280   "additionalReferences":{
281 281   "acquirerBatchId": "fdsfsdfsd",
... ... @@ -282,28 +282,28 @@
282 282   "acquirerTransactionId" : "534313"
283 283   },
284 284   "amount": 200.0,
285 - "corrections": "/ledger/credit-account-acquiring/v1/XXX/purchases/YYY/corrections",
286 - "@id": "/ledger/credit-account-acquiring/v1/XXX/purchases/YYY",
285 + "corrections": "/ledger/credit-account-acquiring/v1/XXX/cash-withdrawals/YYY/corrections",
286 + "@id": "/ledger/credit-account-acquiring/v1/XXX/cash-withdrawals/YYY",
287 287   "operations": [
288 288   {
289 289   "rel": "create-correction",
290 290   "method": "post",
291 - "href": "/ledger/credit-account-acquiring/v1/XXX/purchases/YYY/corrections"
291 + "href": "/ledger/credit-account-acquiring/v1/XXX/cash-withdrawals/YYY/corrections"
292 292   }
293 293   ]
294 294  }
295 295  {{/code}}
296 296  
297 -==== Resource properties purchases ====
297 +==== Resource properties cash-withdrawals ====
298 298  
299 299  (% class="table-bordered table-striped" %)
300 300  |=(% style="width: 337px;" %)Property|=(% style="width: 121px;" %)Data type|=(% style="width: 164px;" %)Format|=(% style="width: 1156px;" %)Description
301 301  |(% style="width:337px" %)@id |(% style="width:121px" %)string|(% style="width:164px" %)Uri|(% style="width:1156px" %)
302 -|(% style="width:337px" %)description|(% style="width:121px" %)string|(% style="width:164px" %)Maxlength: 200|(% style="width:1156px" %)Describes the current Purchase (derives from info sent in the authorization), may be printed on the bill, output only
303 -|(% style="width:337px" %)authorizationId|(% style="width:121px" %)string|(% style="width:164px" %)Maxlength: 6|(% style="width:1156px" %)The id of the authorization from which this purchase originated from (not required if the purchase was made offline)
302 +|(% style="width:337px" %)description|(% style="width:121px" %)string|(% style="width:164px" %)Maxlength: 200|(% style="width:1156px" %)Describes the current cash-withdrawals (derives from info sent in the authorization), may be printed on the bill, output only
303 +|(% style="width:337px" %)authorizationId|(% style="width:121px" %)string|(% style="width:164px" %)Maxlength: 6|(% style="width:1156px" %)The id of the authorization from which this cash-withdrawal originated from
304 304  |(% style="width:337px" %)(((
305 -(% style="background-color:transparent" %)sourcePurchaseTransactionId
306 -)))|(% style="width:121px" %)string|(% style="width:164px" %)Maxlength: 50|(% style="width:1156px" %)Unique identifier of the Purchase transaction
305 +(% style="background-color:transparent" %)sourceCashWithdrawalTransactionId
306 +)))|(% style="width:121px" %)string|(% style="width:164px" %)Maxlength: 50|(% style="width:1156px" %)Unique identifier of the cash-withdrawal transaction
307 307  |(% style="width:337px" %)(((
308 308  additionalReferences.acquirerBatchId
309 309  )))|(% style="width:121px" %)string|(% style="width:164px" %)Maxlength: 50|(% style="width:1156px" %)Used for reconciling acquirer transactions. See [[RKHA21>>||anchor="HRKHA21format"]] section on this page for more information
... ... @@ -311,7 +311,7 @@
311 311  |(% style="width:337px" %)sellerReceiptId|(% style="width:121px" %)string|(% style="width:164px" %)Maxlength: 50|(% style="width:1156px" %)
312 312  |(% style="width:337px" %)amount|(% style="width:121px" %)decimal|(% style="width:164px" %) |(% style="width:1156px" %)
313 313  |(% style="width:337px" %)offlineInfo.pointOfSale|(% style="width:121px" %)string|(% style="width:164px" %)Maxlength: 50|(% style="width:1156px" %)Name of the location/point/shop of sale, will be returned in reservation resource
314 -|(% style="width:337px" %)offlineInfo.cardToken|(% style="width:121px" %)string|(% style="width:164px" %) |(% style="width:1156px" %)Identifier of the card. The purchase will be made on the account that the card is linked to
314 +|(% style="width:337px" %)offlineInfo.cardToken|(% style="width:121px" %)string|(% style="width:164px" %) |(% style="width:1156px" %)Identifier of the card. The cash-withdrawal will be made on the account that the card is linked to
315 315  |(% style="width:337px" %)offlineInfo.sellerNumber|(% style="width:121px" %)string|(% style="width:164px" %)Maxlength: 15|(% style="width:1156px" %)Identifier of the current seller/merchant
316 316  |(% style="width:337px" %)corrections|(% style="width:121px" %)string|(% style="width:164px" %)Uri|(% style="width:1156px" %)
317 317