|
2 | 2 | sidebar_position: 6
|
3 | 3 | ---
|
4 | 4 |
|
5 |
| -# from v1 and v2 |
| 5 | +:::caution |
6 | 6 |
|
7 |
| -As the reporting evolves, APIs are periodically reorganized, upgraded and improved. When APIs evolve, the old API is deprecated and eventually removed. |
8 |
| -This page contains information you need to know when migrating from [**Transaction Reporting API (v1 and v2)**](https://mobilepaydev.github.io/MobilePay-TransactionReporting-API/index#overview) to newer and more stable [**Reporting API v3**](/docs/reporting). |
| 7 | +Please notice that as part of the merger between MobilePay and Norwegian Vipps, we will consolidate products on one joint platform. |
| 8 | +This product is now closed. Please visit our new developer documentation to see the new APIs we offer https://developer.vippsmobilepay.com/ |
9 | 9 |
|
10 |
| - |
11 |
| -## Migration from V1 endpoints |
12 |
| - |
13 |
| -### Payment points |
14 |
| - |
15 |
| -GET [`/transaction-reporting/api/merchant/v1/paymentpoints`](https://mobilepaydev.github.io/MobilePay-TransactionReporting-API/index#payment_points_endpoint) |
16 |
| - |
17 |
| -This endpoint is replaced by: |
18 |
| - |
19 |
| -GET [`v3/reporting/paymentpoints`](/docs/reporting/payment-points) |
20 |
| - |
21 |
| -#### List of breaking changes |
22 |
| - |
23 |
| -- Paging was implemented with new `pagesize` and `pagenumber` query parameters |
24 |
| -- Properties that were removed from response body: |
25 |
| - * `merchantId` |
26 |
| - * `merchantName` |
27 |
| -- Properties that were renamed in response body: |
28 |
| - * `paymentPoints[i].paymentPointId` to `paymentPoints[i].id` |
29 |
| - * `paymentPoints[i].paymentPointName` to `paymentPoints[i].name` |
30 |
| - |
31 |
| -### Transfer references |
32 |
| - |
33 |
| -GET [`/transaction-reporting/api/merchant/v1/paymentpoints/{paymentpointid}/transfer-references`](https://mobilepaydev.github.io/MobilePay-TransactionReporting-API/index#transfer_references_endpoint) |
34 |
| - |
35 |
| -This endpoint is replaced by: |
36 |
| - |
37 |
| -GET [`v3/reporting/transfers`](/docs/reporting/transfers#retrieve-a-list-of-transfers) |
38 |
| - |
39 |
| -#### List of breaking changes |
40 |
| - |
41 |
| -- Paging was implemented with new `pagesize` and `pagenumber` query parameters |
42 |
| -- Properties that were renamed in response body: |
43 |
| - * `transferReferences[i].transferReference` to `transfers[i].reference` |
44 |
| - * `transferReferences[i].transferReferenceDate` to `transfers[i].date` |
45 |
| -- Request parameters that were changed: |
46 |
| - * `paymentpointid` - in the old version of the endpoint, this property was a path parameter, it has now been changed to the query parameter. So to get the same result as it was returned from an old endpoint, provide this query parameter. |
47 |
| - * `from` was renamed to `startdate` |
48 |
| - * `to` was renamed to `enddate` |
49 |
| -- Response was changed from a JSON array to a JSON object that contains an array |
50 |
| - |
51 |
| -### Transactions |
52 |
| - |
53 |
| -GET [`/transaction-reporting/api/merchant/v1/paymentpoints/{paymentpointid}/transactions`](https://mobilepaydev.github.io/MobilePay-TransactionReporting-API/index#transactions_v1_endpoint) |
54 |
| - |
55 |
| -This endpoint is replaced by: |
56 |
| - |
57 |
| -GET [`v3/reporting/transactions`](/docs/reporting/transactions) |
58 |
| - |
59 |
| -#### List of breaking changes |
60 |
| - |
61 |
| -- Paging was implemented with new `pagesize` and `pagenumber` query parameters. |
62 |
| -- Properties that were removed from response body |
63 |
| - * `merchantId` |
64 |
| - * `merchantName` |
65 |
| - * `paymentPointId` |
66 |
| - * `paymentPointName` |
67 |
| - * `transferReference` |
68 |
| - * `transferReferenceDate` |
69 |
| - * `receiverAccount` |
70 |
| - * `transactions[i].paymentTransactionId` |
71 |
| - * `transactions[i].senderComment` |
72 |
| - * `transactions[i].externalTransactionId` |
73 |
| - * `transactions[i].externalBulkId` |
74 |
| - * `nextPageToken` |
75 |
| -- Properties that were renamed: |
76 |
| - * `transactions[i].transferReferenceDate` renamed to `transactions[i].transferDate` |
77 |
| - |
78 |
| -- Request parameters that were changed |
79 |
| - * `paymentpointid` - in the old version of the endpoint, this property was a path parameter, it has now been changed to the query parameter. So to get same result as it was returned from old endpoint, provide this query parameter. |
80 |
| - * `from` was renamed to `startdate` |
81 |
| - * `to` was renamed to `enddate` |
82 |
| - * `pageToken` removed |
83 |
| - |
84 |
| -### Transferred transactions |
85 |
| - |
86 |
| -[`/transaction-reporting/api/merchant/v1/paymentpoints/{paymentpointid}/transfers/{transferreference}`](https://mobilepaydev.github.io/MobilePay-TransactionReporting-API/index#transferred_transactions_v1_endpoint) |
87 |
| - |
88 |
| -This endpoint was deprecated. |
89 |
| - |
90 |
| -:::tip |
91 |
| -You could achieve similar results by using `transferid` in new transfers endpoint, more information [here](/docs/reporting/transactions). |
92 |
| -::: |
93 |
| - |
94 |
| -## Migration from V2 endpoints |
95 |
| - |
96 |
| -### Transactions |
97 |
| - |
98 |
| -[`/transaction-reporting/api/merchant/v2/paymentpoints/{paymentpointid}/transactions`](https://mobilepaydev.github.io/MobilePay-TransactionReporting-API/index#transactions_v2_endpoint) |
99 |
| - |
100 |
| -This endpoint is replaced by: |
101 |
| - |
102 |
| -GET [`v3/reporting/transactions`](/docs/reporting/transactions#retrieve-a-list-of-transactions) |
103 |
| - |
104 |
| -#### List of breaking changes |
105 |
| - |
106 |
| -- Paging was implemented with new `pagesize` and `pagenumber` query parameters |
107 |
| -- Properties that were removed from response body |
108 |
| - * `companyRegNo` |
109 |
| - * `merchantName` |
110 |
| - * `paymentPointId` |
111 |
| - * `paymentPointName` |
112 |
| - * `receiverAccount` |
113 |
| - * `transactions[i].userIndicator` |
114 |
| - * `nextPageToken` |
115 |
| -- Request parameters that were changed: |
116 |
| - * `paymentpointid` - in the old version of the endpoint, this property was a path parameter, it has now been changed to the query parameter. So to get same result as it was returned from old endpoint, provide this query parameter. |
117 |
| - * `from` was renamed to `startdate` |
118 |
| - * `to` was renamed to `enddate` |
119 |
| - * `transaction[i].transferReferenceDate` was renamed to `transactions[i].transferDate` |
120 |
| - * `transaction[i].merchantPayerReference` was renamed to `transactions[i].agreementExternalId` |
121 |
| - * `pageToken` was removed |
122 |
| - |
123 |
| -### Transferred transactions |
124 |
| - |
125 |
| -GET [`/transaction-reporting/api/merchant/v2/paymentpoints/{paymentpointid}/transfers/{transferreference}`](https://mobilepaydev.github.io/MobilePay-TransactionReporting-API/index#transferred_transactions_v2_endpoint) |
126 |
| - |
127 |
| -This endpoint was deprecated. |
128 |
| - |
129 |
| -:::tip |
130 |
| -You could achieve similar results by using `transferid` in new transfers endpoint, more information [here](/docs/reporting/transactions). |
131 |
| -::: |
132 |
| - |
133 |
| -### Transferred transactions by merchant |
134 |
| - |
135 |
| -GET [`/transaction-reporting/api/merchant/v2/paymentpoints/transfers`](https://mobilepaydev.github.io/MobilePay-TransactionReporting-API/index#transferred_transactions_by_merchant_endpoint) |
136 |
| - |
137 |
| -This endpoint was deprecated. |
138 |
| - |
139 |
| -:::tip |
140 |
| -You could achieve similar results with the new transfers endpoint, more information [here](/docs/reporting/transactions). |
141 | 10 | :::
|
0 commit comments