Skip to content

Commit ab78dbf

Browse files
Update transition-to-one-platform.md
1 parent 7949282 commit ab78dbf

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

docs/app-payments/transition-to-one-platform.md

+14-4
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ There is no need to reintegrate into the new solution yet as the existing App Pa
2020
- **2024** Plan and integrate new [ePayments API](https://developer.vippsmobilepay.com/docs/APIs/epayment-api/)
2121
- **2025Q1** Be ready with your API integration to the App Payments API. The facade will be switched off.
2222

23-
## Test options
23+
## Test
2424
The first version of the new test environment is ready for the App Payments facade. All features except Refund is available.
2525

2626
### Test credentials
@@ -30,9 +30,20 @@ The first version of the new test environment is ready for the App Payments faca
3030

3131
Please note: If you want to reuse your App Payments test data you will need to recreate your test data. Please note that all test data, including payments, refunds, and so on, created on the old platform will not be migrated from the sandbox to the merchant test environment.
3232

33-
**Authentication**
33+
#### Authentication
34+
3435
You will have to integrate with the new and simplified Access Token API designed for the merchant test environment. The old MobilePay-issued API key for the sandbox will cease to function. [Access token API guide](https://developer.vippsmobilepay.com/docs/APIs/access-token-api/) Prod API keys will continue to work.
3536

37+
### Headers and endpoints
38+
You must include these headers for all requests to the API
39+
```
40+
-H 'Authorization: Bearer {API_KEY or JWT}' \
41+
-H 'Content-Type: application/json' \
42+
-H 'Ocp-Apim-Subscription-Key: {subscriptions key}' \
43+
-H 'Merchant-Serial-Number: {MSN}'
44+
```
45+
The endpoints have not changed. Please find them in the [API specification](https://developer.mobilepay.dk/api/app-payments).
46+
3647
### UserSimulation endpoint
3748
The request to the userSimulation endpoint will be simplified.
3849
```bash title="Old MobilePay request"
@@ -54,8 +65,7 @@ curl https://api.sandbox.mobilepay.dk/v1/integration-test/payments/{PAYMENT_ID}/
5465
-H 'Authorization: Bearer {API_KEY or JWT}' \
5566
-H 'Content-Type: application/json' \
5667
-H 'Ocp-Apim-Subscription-Key: {subscriptions key}' \
57-
--header 'Content-Type: application/json' \
58-
--header 'Merchant-Serial-Number: {MSN}'
68+
-H 'Merchant-Serial-Number: {MSN}'
5969
-d '{
6070
"phoneNumber": {string}
6171
}'

0 commit comments

Comments
 (0)