diff --git a/docs/README.md b/docs/README.md
index c231927..8c87d89 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -247,20 +247,20 @@ Get transaction info. Payments are reported primarily via callbacks, and impleme
#### Response
-| Field | Type | Description |
-| ------------- | ------- | -------------------------------------------------------------------------------------------------------------------- |
-| transactionId | string | Assigned transaction ID for the payment |
-| status | string | `new`, `ok`, `fail`, `pending`, or `delayed`. Statuses are described [above](#statuses). |
-| amount | integer | Total amount of the payment in currency's minor units, e.g. for Euros use cents |
-| currency | alpha3 | Currency |
-| stamp | string | Merchant unique identifier for the order |
-| reference | string | Order reference |
-| createdAt | string | Transaction creation timestamp |
-| href | string | If transaction is in status `new`, link to the hosted payment gateway |
-| provider | string | If processed, the name of the payment method provider |
-| filingCode | string | If paid, the filing code issued by the payment method provider if any. Some providers do not return the filing code. |
-| paidAt | string | Timestamp when the transaction was paid |
-| settlementReference | string | If payment is settled, corresponding settlement reference is included |
+| Field | Type | Description |
+| ------------------- | ------- | -------------------------------------------------------------------------------------------------------------------- |
+| transactionId | string | Assigned transaction ID for the payment |
+| status | string | `new`, `ok`, `fail`, `pending`, or `delayed`. Statuses are described [above](#statuses). |
+| amount | integer | Total amount of the payment in currency's minor units, e.g. for Euros use cents |
+| currency | alpha3 | Currency |
+| stamp | string | Merchant unique identifier for the order |
+| reference | string | Order reference |
+| createdAt | string | Transaction creation timestamp |
+| href | string | If transaction is in status `new`, link to the hosted payment gateway |
+| provider | string | If processed, the name of the payment method provider |
+| filingCode | string | If paid, the filing code issued by the payment method provider if any. Some providers do not return the filing code. |
+| paidAt | string | Timestamp when the transaction was paid |
+| settlementReference | string | If payment is settled, corresponding settlement reference is included |
See [example response](/examples#get) from examples tab.
@@ -787,7 +787,7 @@ A Shop-in-Shop aggregate merchant can also fetch its submerchant's payment repor
| limit | integer |
| `50000` | Limit the amount of payments included in the report. Maximum 50000. |
| reportFields | string[] | | all | Limit the fields that will be included in the report. Leaving this empty will include all fields. Possible values: `entryDate`, `created`, `amount`, `status`, `firstname`, `familyname`, `description`, `reference`, `paymentMethod`, `stamp`, `address`, `postcode`, `postoffice`, `country`, `checkoutReference`, `archiveNumber`, `payerName`, `settlementId`, `settlementDate`, `settlementReference`, `originalTradeReference`, `vatPercentage`, `vatAmount`, `paymentMethodFee`, `paymentMethodCommission`, `shopInShopCommission`, `shopInShopCommissionVatPercentage`, `shopInShopCommissionVatAmount`, `companyName`, `vatId` and `refunditems` |
| submerchant | integer | | | Get submerchant's payment report (aggregate only) |
-| includeItems | boolean | | false | Include trade items in generated report. Only applicable when requestType is set to `json` |
+| includeItems | boolean | | false | Include trade items in generated report. Only applicable when requestType is set to `json` |
#### Response
@@ -855,7 +855,6 @@ Example of the refunditems serialised into CSV
...;"stamp1:-4,00|stamp2:-5,00"
```
-
!> When validating report signature, body must be in raw body format in order to signature match.
### Payment report request by settlement ID
diff --git a/docs/examples.md b/docs/examples.md
index 6ef23d1..786c2db 100644
--- a/docs/examples.md
+++ b/docs/examples.md
@@ -1386,7 +1386,7 @@ const responseToHtml = (response) =>
``
+ `,
)
.join('\n');
```
diff --git a/docs/index.html b/docs/index.html
index 83b3771..4653342 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -1,4 +1,4 @@
-
+
diff --git a/docs/payment-method-providers.md b/docs/payment-method-providers.md
index 05d9aba..5804c8c 100644
--- a/docs/payment-method-providers.md
+++ b/docs/payment-method-providers.md
@@ -6,28 +6,29 @@ The payment methods that can be tested without real money transactions have been
`checkout-provider` values are provided too, but they are subject to change without notice.
-| Provider | `checkout-provider` | Credentials |
-| ---------------------------------------------------- | ----------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Nordea | `nordea` | Username: 123456
Password: 1111
Security code: any |
-| OP | `osuuspankki` | No credentials needed, will not present an UI on OP side |
-| Handelsbanken
POP Pankki
Säästöpankki
OmaSP | `handelsbanken`
`pop`
`saastopankki`
`omasp` | Username: 11111111
Password: 123456
Security code: 123456 |
-| Aktia | `aktia` | Username: 12345678
Password: 123456
Security code: 1234 |
-| S-Pankki | `spankki` | Username: 12345678
Password: 9999
Security code: 1234 |
-| Danske | `danske` | Danske test account login requires using real Danske credentials |
-| Visa | `creditcard` | Card number: 4153013999700024
Expiry date: 11/2023
CVC: 024 |
-| Mastercard | `creditcard` | Card number: 5353299308701770
Expiry date: 11/2023
CVC: 770 |
-| American Express | `amex` | Card number: 373953192351004
Expiry date: 12/2023
CVC: 1004 |
-| Walley/Collector
Walley/Collector B2B | `collectorb2c`
`collectorb2b` | Social security number: 010380-000P |
-| Pivo | `pivo` | Testing is not possible |
-| MobilePay | `mobilepay` | Testing is not possible |
-| Siirto | `siirto` | Testing is not possible |
-| OP Lasku | `oplasku` | Testing is not possible |
-| Jousto | `jousto` | Testing is not possible |
-| Ålandsbanken | `alandsbanken` | Testing is not possible |
-| Nordea B2B | `nordea-business` | Testing is not possible |
-| Danske B2B | `danske-business` | Testing is not possible |
-| Alisa Yrityslasku | `alisa` | Testing is not possible |
-| PayPal | `paypal` | Testing is not possible |
+| Provider | `checkout-provider` | Credentials |
+| ---------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
+| Nordea | `nordea` | Username: `123456`
Password: `1111`
Security code: any |
+| OP | `osuuspankki` | No credentials needed, will not present an UI on OP side |
+| Handelsbanken
POP Pankki
Säästöpankki
OmaSP | `handelsbanken`
`pop`
`saastopankki`
`omasp` | Username: `11111111`
Password: `123456`
Security code: `123456` |
+| Aktia | `aktia` | Username: `12345678`
Password: `123456`
Security code: `1234` |
+| S-Pankki | `spankki` | Username: `12345678`
Password: `9999`
Security code: `1234` |
+| Danske | `danske` | Danske test account login requires using real Danske credentials |
+| Visa | `creditcard` | Card number: `4153013999700024`
Expiry date: `11/2023`
CVC: `024` |
+| Mastercard | `creditcard` | Card number: `5353299308701770`
Expiry date: `11/2023`
CVC: `770` |
+| American Express | `amex` | Card number: `373953192351004`
Expiry date: `12/2023`
CVC: `1004` |
+| Walley/Collector
Walley/Collector B2B | `collectorb2c`
`collectorb2b` | Social security number: `010380-000P` |
+| Pivo | `pivo` | Testing is not possible |
+| MobilePay | `mobilepay` | Testing is not possible |
+| Siirto | `siirto` | Testing is not possible |
+| OP Lasku | `oplasku` | Testing is not possible |
+| Jousto | `jousto` | Testing is not possible |
+| Ålandsbanken | `alandsbanken` | Testing is not possible |
+| Nordea B2B | `nordea-business` | Testing is not possible |
+| Danske B2B | `danske-business` | Testing is not possible |
+| Alisa Yrityslasku | `alisa` | Testing is not possible |
+| PayPal | `paypal` | Testing is not possible |
+| Maksu by Rahalaitos | `maksu-by-rahalaitos` | API key `p-2319906-a9958df16f566cf962`
Credit approved SSN: `080880-974N`
Credit declined SSN `030465-9364` |
## Test cards for tokenization
diff --git a/docs/paytrail-api.yaml b/docs/paytrail-api.yaml
index df1bfe5..a9a5100 100644
--- a/docs/paytrail-api.yaml
+++ b/docs/paytrail-api.yaml
@@ -1999,8 +1999,7 @@ components:
shopInShopCommissionVatPercentage,
shopInShopCommissionVatAmount,
refunditems,
- tradeitems
-
+ tradeitems,
]
submerchant:
type: integer
@@ -2489,9 +2488,9 @@ components:
description: Payment method commission VAT amount in Euros
example: 0.192
refunditems:
- type: string
- description: Contains a `|` (pipe) -delimited list of *stamp*:*amount* pairs. Pairs are delimited by a `:` (colon). Stamp refers to the payment item's stamp that was refunded.
- example: 'stamp1:400|stamp2:200'
+ type: string
+ description: Contains a `|` (pipe) -delimited list of *stamp*:*amount* pairs. Pairs are delimited by a `:` (colon). Stamp refers to the payment item's stamp that was refunded.
+ example: 'stamp1:400|stamp2:200'
GroupedPaymentProvidersResponse:
description: List grouped providers response body
diff --git a/package-lock.json b/package-lock.json
index 2486f05..8b459f0 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -9,9 +9,9 @@
"version": "1.0.0",
"license": "MIT",
"devDependencies": {
- "docsify": "4.13.0",
+ "docsify": "4.13.1",
"docsify-cli": "4.4.4",
- "prettier": "2.8.6"
+ "prettier": "3.0.3"
},
"engines": {
"node": "18"
@@ -480,9 +480,9 @@
"dev": true
},
"node_modules/docsify": {
- "version": "4.13.0",
- "resolved": "https://registry.npmjs.org/docsify/-/docsify-4.13.0.tgz",
- "integrity": "sha512-dM2D0LZKrhK9e5cPwzOTO8FJ2l9IxgiSmTgLBIMjkBlTs1rAUT5camzekbk2AhH0Tw+5lzkNrSb7dmKFuTiLCA==",
+ "version": "4.13.1",
+ "resolved": "https://registry.npmjs.org/docsify/-/docsify-4.13.1.tgz",
+ "integrity": "sha512-BsDypTBhw0mfslw9kZgAspCMZSM+sUIIDg5K/t1hNLkvbem9h64ZQc71e1IpY+iWsi/KdeqfazDfg52y2Lmm0A==",
"dev": true,
"hasInstallScript": true,
"dependencies": {
@@ -1452,15 +1452,15 @@
}
},
"node_modules/prettier": {
- "version": "2.8.6",
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.6.tgz",
- "integrity": "sha512-mtuzdiBbHwPEgl7NxWlqOkithPyp4VN93V7VeHVWBF+ad3I5avc0RVDT4oImXQy9H/AqxA2NSQH8pSxHW6FYbQ==",
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.3.tgz",
+ "integrity": "sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==",
"dev": true,
"bin": {
- "prettier": "bin-prettier.js"
+ "prettier": "bin/prettier.cjs"
},
"engines": {
- "node": ">=10.13.0"
+ "node": ">=14"
},
"funding": {
"url": "https://github.com/prettier/prettier?sponsor=1"
@@ -2563,9 +2563,9 @@
"dev": true
},
"docsify": {
- "version": "4.13.0",
- "resolved": "https://registry.npmjs.org/docsify/-/docsify-4.13.0.tgz",
- "integrity": "sha512-dM2D0LZKrhK9e5cPwzOTO8FJ2l9IxgiSmTgLBIMjkBlTs1rAUT5camzekbk2AhH0Tw+5lzkNrSb7dmKFuTiLCA==",
+ "version": "4.13.1",
+ "resolved": "https://registry.npmjs.org/docsify/-/docsify-4.13.1.tgz",
+ "integrity": "sha512-BsDypTBhw0mfslw9kZgAspCMZSM+sUIIDg5K/t1hNLkvbem9h64ZQc71e1IpY+iWsi/KdeqfazDfg52y2Lmm0A==",
"dev": true,
"requires": {
"marked": "^1.2.9",
@@ -3286,9 +3286,9 @@
"dev": true
},
"prettier": {
- "version": "2.8.6",
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.6.tgz",
- "integrity": "sha512-mtuzdiBbHwPEgl7NxWlqOkithPyp4VN93V7VeHVWBF+ad3I5avc0RVDT4oImXQy9H/AqxA2NSQH8pSxHW6FYbQ==",
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.3.tgz",
+ "integrity": "sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==",
"dev": true
},
"prismjs": {
diff --git a/package.json b/package.json
index ce9171a..3ed9c8c 100644
--- a/package.json
+++ b/package.json
@@ -7,9 +7,9 @@
"node": "18"
},
"devDependencies": {
- "docsify": "4.13.0",
+ "docsify": "4.13.1",
"docsify-cli": "4.4.4",
- "prettier": "2.8.6"
+ "prettier": "3.0.3"
},
"scripts": {
"serve": "docsify serve -p 8080 docs",