Skip to content

Commit

Permalink
Update latest definitions files
Browse files Browse the repository at this point in the history
  • Loading branch information
AdyenAutomationBot authored and github-actions[bot] committed Feb 7, 2024
1 parent 069e0fc commit 966808b
Show file tree
Hide file tree
Showing 17 changed files with 33 additions and 133 deletions.
52 changes: 1 addition & 51 deletions postman/CheckoutService-v37.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
],
"body": {
"mode": "raw",
"raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reason\" : \"delayedCharge\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\"\n}",
"raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\"\n}",
"options": {
"raw": {
"language": "json"
Expand Down Expand Up @@ -1866,56 +1866,6 @@
},
"description": "Submits details for a payment created using `/payments`. This step is only needed when no final state has been reached on the `/payments` request, for example when the shopper was redirected to another page to complete the payment. "
}
},
{
"name": "Submit details for the payment with involved app switch",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"description": "",
"disabled": false
},
{
"key": "Accept",
"value": "application/json",
"description": "",
"disabled": false
},
{
"key": "Idempotency-Key",
"value": "",
"description": "A unique identifier for the message with a maximum of 64 characters (we recommend a UUID).",
"disabled": true
}
],
"body": {
"mode": "raw",
"raw": "{\n \"paymentData\" : \"Hee57361f99....\",\n \"details\" : {\n \"returnUrlQueryString\" : \"ref=eNrNV0mTo7gS&id=An78i...\"\n }\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/payments/details",
"host": [
"{{baseUrl}}"
],
"path": [
"payments",
"details"
],
"variable": [
],
"query": [
]
},
"description": "Submits details for a payment created using `/payments`. This step is only needed when no final state has been reached on the `/payments` request, for example when the shopper was redirected to another page to complete the payment. "
}
}
]
}
Expand Down
54 changes: 2 additions & 52 deletions postman/CheckoutService-v40.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
],
"body": {
"mode": "raw",
"raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reason\" : \"delayedCharge\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\"\n}",
"raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\"\n}",
"options": {
"raw": {
"language": "json"
Expand Down Expand Up @@ -1836,7 +1836,7 @@
],
"body": {
"mode": "raw",
"raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"klarna\"\n },\n \"amount\" : {\n \"currency\" : \"SEK\",\n \"value\" : 1000\n },\n \"shopperLocale\" : \"en_US\",\n \"countryCode\" : \"SE\",\n \"telephoneNumber\" : \"+46 840 839 298\",\n \"shopperEmail\" : \"youremail@email.com\",\n \"shopperName\" : {\n \"firstName\" : \"Testperson-se\",\n \"gender\" : \"UNKNOWN\",\n \"lastName\" : \"Approved\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"billingAddress\" : {\n \"city\" : \"Ankeborg\",\n \"country\" : \"SE\",\n \"houseNumberOrName\" : \"1\",\n \"postalCode\" : \"12345\",\n \"street\" : \"Stargatan\"\n },\n \"deliveryAddress\" : {\n \"city\" : \"Ankeborg\",\n \"country\" : \"SE\",\n \"houseNumberOrName\" : \"1\",\n \"postalCode\" : \"12345\",\n \"street\" : \"Stargatan\"\n },\n \"returnUrl\" : \"https://www.your-company.com/...\",\n \"lineItems\" : [ {\n \"quantity\" : 1,\n \"amountExcludingTax\" : 331,\n \"taxPercentage\" : 2100,\n \"description\" : \"Shoes\",\n \"id\" : \"Item #1\",\n \"taxAmount\" : 69,\n \"amountIncludingTax\" : 400,\n \"productUrl\" : \"URL_TO_PURCHASED_ITEM\",\n \"imageUrl\" : \"URL_TO_PICTURE_OF_PURCHASED_ITEM\"\n }, {\n \"quantity\" : 2,\n \"amountExcludingTax\" : 248,\n \"taxPercentage\" : 2100,\n \"description\" : \"Socks\",\n \"id\" : \"Item #2\",\n \"taxAmount\" : 52,\n \"amountIncludingTax\" : 300,\n \"productUrl\" : \"URL_TO_PURCHASED_ITEM\",\n \"imageUrl\" : \"URL_TO_PICTURE_OF_PURCHASED_ITEM\"\n } ]\n}",
"raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"klarna\"\n },\n \"amount\" : {\n \"currency\" : \"SEK\",\n \"value\" : 1000\n },\n \"shopperLocale\" : \"en_US\",\n \"countryCode\" : \"SE\",\n \"telephoneNumber\" : \"+46 840 839 298\",\n \"shopperEmail\" : \"youremail@email.com\",\n \"shopperName\" : {\n \"firstName\" : \"Testperson-se\",\n \"lastName\" : \"Approved\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"billingAddress\" : {\n \"city\" : \"Ankeborg\",\n \"country\" : \"SE\",\n \"houseNumberOrName\" : \"1\",\n \"postalCode\" : \"12345\",\n \"street\" : \"Stargatan\"\n },\n \"deliveryAddress\" : {\n \"city\" : \"Ankeborg\",\n \"country\" : \"SE\",\n \"houseNumberOrName\" : \"1\",\n \"postalCode\" : \"12345\",\n \"street\" : \"Stargatan\"\n },\n \"returnUrl\" : \"https://www.your-company.com/...\",\n \"lineItems\" : [ {\n \"quantity\" : 1,\n \"amountExcludingTax\" : 331,\n \"taxPercentage\" : 2100,\n \"description\" : \"Shoes\",\n \"id\" : \"Item #1\",\n \"taxAmount\" : 69,\n \"amountIncludingTax\" : 400,\n \"productUrl\" : \"URL_TO_PURCHASED_ITEM\",\n \"imageUrl\" : \"URL_TO_PICTURE_OF_PURCHASED_ITEM\"\n }, {\n \"quantity\" : 2,\n \"amountExcludingTax\" : 248,\n \"taxPercentage\" : 2100,\n \"description\" : \"Socks\",\n \"id\" : \"Item #2\",\n \"taxAmount\" : 52,\n \"amountIncludingTax\" : 300,\n \"productUrl\" : \"URL_TO_PURCHASED_ITEM\",\n \"imageUrl\" : \"URL_TO_PICTURE_OF_PURCHASED_ITEM\"\n } ]\n}",
"options": {
"raw": {
"language": "json"
Expand Down Expand Up @@ -2160,56 +2160,6 @@
},
"description": "Submits details for a payment created using `/payments`. This step is only needed when no final state has been reached on the `/payments` request, for example when the shopper was redirected to another page to complete the payment. "
}
},
{
"name": "Submit details for the payment with involved app switch",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"description": "",
"disabled": false
},
{
"key": "Accept",
"value": "application/json",
"description": "",
"disabled": false
},
{
"key": "Idempotency-Key",
"value": "",
"description": "A unique identifier for the message with a maximum of 64 characters (we recommend a UUID).",
"disabled": true
}
],
"body": {
"mode": "raw",
"raw": "{\n \"paymentData\" : \"Hee57361f99....\",\n \"details\" : {\n \"returnUrlQueryString\" : \"ref=eNrNV0mTo7gS&id=An78i...\"\n }\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/payments/details",
"host": [
"{{baseUrl}}"
],
"path": [
"payments",
"details"
],
"variable": [
],
"query": [
]
},
"description": "Submits details for a payment created using `/payments`. This step is only needed when no final state has been reached on the `/payments` request, for example when the shopper was redirected to another page to complete the payment. "
}
}
]
}
Expand Down
4 changes: 2 additions & 2 deletions postman/CheckoutService-v41.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
],
"body": {
"mode": "raw",
"raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reason\" : \"delayedCharge\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\"\n}",
"raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\"\n}",
"options": {
"raw": {
"language": "json"
Expand Down Expand Up @@ -1934,7 +1934,7 @@
],
"body": {
"mode": "raw",
"raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"klarna\"\n },\n \"amount\" : {\n \"currency\" : \"SEK\",\n \"value\" : 1000\n },\n \"shopperLocale\" : \"en_US\",\n \"countryCode\" : \"SE\",\n \"telephoneNumber\" : \"+46 840 839 298\",\n \"shopperEmail\" : \"youremail@email.com\",\n \"shopperName\" : {\n \"firstName\" : \"Testperson-se\",\n \"gender\" : \"UNKNOWN\",\n \"lastName\" : \"Approved\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"billingAddress\" : {\n \"city\" : \"Ankeborg\",\n \"country\" : \"SE\",\n \"houseNumberOrName\" : \"1\",\n \"postalCode\" : \"12345\",\n \"street\" : \"Stargatan\"\n },\n \"deliveryAddress\" : {\n \"city\" : \"Ankeborg\",\n \"country\" : \"SE\",\n \"houseNumberOrName\" : \"1\",\n \"postalCode\" : \"12345\",\n \"street\" : \"Stargatan\"\n },\n \"returnUrl\" : \"https://www.your-company.com/...\",\n \"lineItems\" : [ {\n \"quantity\" : 1,\n \"amountExcludingTax\" : 331,\n \"taxPercentage\" : 2100,\n \"description\" : \"Shoes\",\n \"id\" : \"Item #1\",\n \"taxAmount\" : 69,\n \"amountIncludingTax\" : 400,\n \"productUrl\" : \"URL_TO_PURCHASED_ITEM\",\n \"imageUrl\" : \"URL_TO_PICTURE_OF_PURCHASED_ITEM\"\n }, {\n \"quantity\" : 2,\n \"amountExcludingTax\" : 248,\n \"taxPercentage\" : 2100,\n \"description\" : \"Socks\",\n \"id\" : \"Item #2\",\n \"taxAmount\" : 52,\n \"amountIncludingTax\" : 300,\n \"productUrl\" : \"URL_TO_PURCHASED_ITEM\",\n \"imageUrl\" : \"URL_TO_PICTURE_OF_PURCHASED_ITEM\"\n } ]\n}",
"raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"klarna\"\n },\n \"amount\" : {\n \"currency\" : \"SEK\",\n \"value\" : 1000\n },\n \"shopperLocale\" : \"en_US\",\n \"countryCode\" : \"SE\",\n \"telephoneNumber\" : \"+46 840 839 298\",\n \"shopperEmail\" : \"youremail@email.com\",\n \"shopperName\" : {\n \"firstName\" : \"Testperson-se\",\n \"lastName\" : \"Approved\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"billingAddress\" : {\n \"city\" : \"Ankeborg\",\n \"country\" : \"SE\",\n \"houseNumberOrName\" : \"1\",\n \"postalCode\" : \"12345\",\n \"street\" : \"Stargatan\"\n },\n \"deliveryAddress\" : {\n \"city\" : \"Ankeborg\",\n \"country\" : \"SE\",\n \"houseNumberOrName\" : \"1\",\n \"postalCode\" : \"12345\",\n \"street\" : \"Stargatan\"\n },\n \"returnUrl\" : \"https://www.your-company.com/...\",\n \"lineItems\" : [ {\n \"quantity\" : 1,\n \"amountExcludingTax\" : 331,\n \"taxPercentage\" : 2100,\n \"description\" : \"Shoes\",\n \"id\" : \"Item #1\",\n \"taxAmount\" : 69,\n \"amountIncludingTax\" : 400,\n \"productUrl\" : \"URL_TO_PURCHASED_ITEM\",\n \"imageUrl\" : \"URL_TO_PICTURE_OF_PURCHASED_ITEM\"\n }, {\n \"quantity\" : 2,\n \"amountExcludingTax\" : 248,\n \"taxPercentage\" : 2100,\n \"description\" : \"Socks\",\n \"id\" : \"Item #2\",\n \"taxAmount\" : 52,\n \"amountIncludingTax\" : 300,\n \"productUrl\" : \"URL_TO_PURCHASED_ITEM\",\n \"imageUrl\" : \"URL_TO_PICTURE_OF_PURCHASED_ITEM\"\n } ]\n}",
"options": {
"raw": {
"language": "json"
Expand Down
Loading

0 comments on commit 966808b

Please sign in to comment.